|
Public Types |
typedef OglGui::Window | Window |
typedef OglGui::StaticText | StaticText |
typedef OglGui::TextEdit | TextEdit |
typedef OglGui::Button | Button |
Public Member Functions |
| ShowNextFromControl (Window *parent, int w, int h, int nrShow, int margin=0) |
void | SetListener (ShowNextFromControlListener *l, void *lData=0) |
int | NrToShow () |
void | NrToShow (int n) |
int | StartVal () |
void | StartVal (int v) |
int | MaxVal () |
void | MaxVal (int m) |
StaticText * | TotalText () |
StaticText * | ShowFromText () |
TextEdit * | ShowNrTextEdit () |
TextEdit * | ValTextEdit () |
Button * | PlusButton () |
Button * | MinButton () |
void | ChangeValText (TextEdit *txtEdit, int val) |
void | Clamp (int &ref, int minVal, int maxVal) |
void | UpdateStartValText () |
void | UpdateShowNrText () |
void | ShowNextFromChanged () |
virtual void | WindowKeyboardEvent (OglGui::Window *src, int c, int state, void *userData) |
virtual void | ButtonSelectionEvent (OglGui::Button *src, void *userData) |
Private Member Functions |
void | Init (int w, int h, int nrShow, int m) |
Private Attributes |
ShowNextFromControlListener * | mListener |
void * | mListenerData |
StaticText * | mTotalText |
StaticText * | mShowFromText |
TextEdit * | mValTextEdit |
TextEdit * | mShowNrTextEdit |
Button * | mPlusButton |
Button * | mMinButton |
int | mStartVal |
int | mMax |
int | mNrToShow |