Automatically determines wether to be horizontal or vertical based on dimensions. Progress ranges from 0 to 1, or from 0 to -1 if you want it to go the other way.
|
| GWidgetProgressBar (GWidgetGroup *pParent, int x, int y, int w, int h) |
|
virtual | ~GWidgetProgressBar () |
|
virtual void | draw (GImage *pCanvas, int x, int y) |
| Draws this widget on pCanvas at (x,y) More...
|
|
float | progress () |
| Gets the current position of the progress bar (from 0 to 1) More...
|
|
void | setProgress (float fProgress) |
| Sets the current position of the progress bar (from 0 to 1) More...
|
|
virtual WidgetType | type () |
|
| GWidgetAtomic (GWidgetGroup *pParent, int x, int y, int w, int h) |
|
virtual | ~GWidgetAtomic () |
|
virtual bool | isAtomic () |
|
virtual bool | isClickable () |
|
virtual void | onChar (char c) |
|
virtual void | onGetFocus () |
|
virtual void | onLoseFocus () |
|
virtual void | onMouseMove (int dx, int dy) |
|
virtual void | onSpecialKey (int key) |
|
| GWidget (GWidgetGroup *m_pParent, int x, int y, int w, int h) |
|
virtual | ~GWidget () |
|
int | id () |
|
GWidgetGroup * | parent () |
|
GRect * | rect () |
|
void | setPos (int x, int y) |
|