#include <gfx_gui.hh>

Public Member Functions | |
| GuiButtonBase (GuiScreen &screen, fp x, fp y, eFontMode fontMode, fnMouseButtonCallback callback) | |
| virtual | ~GuiButtonBase () |
| void | SetText (const char *text, uint textLen) |
| void | SetText (const string &text) |
| const string & | GetText (void) |
| void | SetRGBA (const RGBA rgba) |
| virtual void | ResetRGBA (void)=0 |
Protected Attributes | |
| eFontMode | mFontMode |
| string | mText |
| RGBA | mRgbaBase |
Private Types | |
| typedef GuiObject | Parent |
Users should call GuiScreen::NewButton().
typedef GuiObject gfx::GuiButtonBase::Parent [private] |
Reimplemented in gfx::GuiButton.
| gfx::GuiButtonBase::GuiButtonBase | ( | GuiScreen & | screen, | |
| fp | x, | |||
| fp | y, | |||
| eFontMode | fontMode, | |||
| fnMouseButtonCallback | callback | |||
| ) |
ctor/dtor.
| gfx::GuiButtonBase::~GuiButtonBase | ( | ) | [virtual] |
| void gfx::GuiButtonBase::SetText | ( | const char * | text, | |
| uint | textLen | |||
| ) |
Set button text.
| void gfx::GuiButtonBase::SetText | ( | const string & | text | ) |
| const string& gfx::GuiButtonBase::GetText | ( | void | ) | [inline] |
| void gfx::GuiButtonBase::SetRGBA | ( | const RGBA | rgba | ) | [inline] |
| virtual void gfx::GuiButtonBase::ResetRGBA | ( | void | ) | [pure virtual] |
Implemented in gfx::GuiButton.
eFontMode gfx::GuiButtonBase::mFontMode [protected] |
string gfx::GuiButtonBase::mText [protected] |
RGBA gfx::GuiButtonBase::mRgbaBase [protected] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:26 2007