|
Public Member Functions |
| GTextButton (GContainer *parent=NULL) |
| Simple constructor for GButton.
|
virtual void | Create (float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, ResourceID font, std::string text="", GButtonType type=GBT_PRESS) |
| GButton's create function, must be called to set up actual button.
|
virtual void | Show () |
| Draws static label to the screen.
|
void | SetText (std::string text) |
| Set text of button.
|
std::string | GetText () |
| Get current text of button label.
|
Protected Attributes |
std::string | rText |
| Text label for button.
|
ZE::ZImage | rTextBuf |
| Text Buffer, used internally.
|
int | rXOff |
| X offset of text.
|
int | rYOff |
| Y offset of text.
|
ResourceID | rFont |
| Font ID for text label.
|