#include <UpDownNumber.h>
Inheritance diagram for OglGui::UpDownNumber:


Public Member Functions | |
| UpDownNumber (Window *parent, int x, int y, int width, int height, int val, int upDownW=24, bool leftRight=false, int margin=1) | |
| UpDownNumber (Window *parent, int width, int height, int val, int upDownW=24, bool leftRight=false, int margin=1) | |
| UpDownNumber (Window *parent, int x, int y, int width, int height, float val, int upDownW=24, bool leftRight=false, int margin=1) | |
| UpDownNumber (Window *parent, int width, int height, float val, int upDownW=24, bool leftRight=false, int margin=1) | |
| void | SetUpDownNumberListener (UpDownNumberListener *listener, void *listenerData=0) |
| void | SetUpDownNumberListener (UpDownNumberListener *listener, int listenerData) |
| virtual void | MouseFunc (int msg, int but, int state, int x, int y) |
| This function is called by the event handling system everytime the user has moved or clicked the mouse. | |
| virtual void | KeyboardFunc (int c, int state) |
| void | ChangeValue (float delta) |
| virtual void | UpDownButtonSelectionEvent (UpDownButton *src, bool isUpBtn, void *userData) |
| float | Value () |
| float | GetValue () |
| void | SetValue (float value) |
| UpDownButton * | UpDownBtn () |
| StaticText * | Txt () |
| void | SetRange (float minVal, float maxVal) |
| void | SetIncrement (float inc) |
Private Member Functions | |
| void | Init (int w, int h, float val, bool asInt, int upDownW, bool leftRight, int margin) |
Private Attributes | |
| UpDownButton * | mUpDownBtn |
| StaticText * | mStatTxt |
| UpDownNumberListener * | mListener |
| void * | mListenerData |
| bool | mAsInt |
| float | mValue |
| float | mMinVal |
| float | mMaxVal |
| float | mIncrement |
Definition at line 16 of file UpDownNumber.h.
1.5.1