MCPcopy Create free account
hub / github.com/MyGUI/mygui / setProgressPosition

Method setProgressPosition

MyGUIEngine/src/MyGUI_ProgressBar.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 void ProgressBar::setProgressPosition(size_t _pos)
83 {
84 if (mAutoTrack)
85 return;
86 mEndPosition = _pos;
87 if (mEndPosition > mRange)
88 mEndPosition = mRange;
89 updateTrack();
90 }
91
92 void ProgressBar::setProgressAutoTrack(bool _auto)
93 {

Callers 5

updateMethod · 0.80
notifyChangePropertyMethod · 0.80
actionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected