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


Public Member Functions | |
| Button (Window *parent, int x, int y, int width, int height, strconst label, int borderType=BEV_RIDGE, bool isRect=false) | |
| Button (Window *parent, int width, int height, strconst label, int borderType=BEV_RIDGE, bool isRect=false) | |
| void | SetButtonListener (ButtonListener *listener, void *listenerData=0) |
| void | SetButtonListener (ButtonListener *listener, int listenerData) |
| void | DoButtonSelectionEvent () |
| virtual void | InitDisplayFunc () |
| virtual void | DisplayFunc () |
| virtual void | MouseFunc (INT msg, INT but, INT state, INT x, INT y) |
| void | SetLabel (std::string label) |
| std::string | GetLabel () |
| virtual void | SetBorderType (int type) |
| void | SetUpBorderType (int type) |
| void | SetDownBorderType (int type) |
| virtual void | SetBorderFillShaded (int type=2) |
| void | SetRepeatMode (bool b=true) |
| bool | IsPressed () |
| void | SetPressed (bool pressed) |
| void | SetSelected (bool selected) |
| bool | IsSelected () |
| void | SetShowCancelState (bool mode) |
Private Member Functions | |
| void | Init (int borderType, bool isRect) |
Private Attributes | |
| ButtonListener * | mButtonListener |
| void * | mButtonListenerData |
| ULONG | mSelectedColor |
| bool | mRepeatMode |
| bool | mIsPressed |
| bool | mIsSelected |
| bool | mShowCancelState |
| int | mUpBorderType |
| int | mDownBorderType |
| int | mFillShadedType |
Definition at line 32 of file Button.h.
1.5.1