progress bar


02-12-2010 13:01:09

hi all

anyopne know how can i made and use a dynamic progress bar made with mygui?




02-12-2010 13:32:53

Use Progress widget. ;) Create same way as any other widget.
And there is few methods to control it
/** Set progress range */
void setProgressRange(size_t _value);
/** Get progress range */
size_t getProgressRange() const;

/** Set progress position */
void setProgressPosition(size_t _value);
/** Get progress position */
size_t getProgressPosition() const;

/** Enable or disable progress auto tracking */
void setProgressAutoTrack(bool _value);
/** Get progress auto tracking flag */
bool getProgressAutoTrack() const;