#include <gfx_gui_opengl.hh>

Private Types | |
| typedef GuiButtonBase | Parent |
Private Member Functions | |
| GuiButton (GuiScreen &screen, fp x, fp y, eFontMode fontMode, fnMouseButtonCallback callback) | |
| ~GuiButton () | |
| void | Draw (void) |
| void | ResetRGBA (void) |
Private Attributes | |
| Refresh | mRefresh |
| determines if recomputing rectangle is needed | |
| Font::PrintArgs | mPrintArgs |
| associated with button text | |
Friends | |
| class | Gui |
| class | GuiBase |
| class | GuiScreen |
| class | Refresh |
Classes | |
| class | Refresh |
| State to determine when button's rectangle needs recomputing. This class is an optimization to bypass recomputing rectangle. More... | |
Applications instead should use Gui::NewButton() and Gui::DeleteButton().
typedef GuiButtonBase gfx::GuiButton::Parent [private] |
Reimplemented from gfx::GuiButtonBase.
| gfx::GuiButton::GuiButton | ( | GuiScreen & | screen, | |
| fp | x, | |||
| fp | y, | |||
| eFontMode | fontMode, | |||
| fnMouseButtonCallback | callback | |||
| ) | [private] |
ctor/dtor. Button (x,y) is scaled to account for overdraw from button's rectangle.
| gfx::GuiButton::~GuiButton | ( | ) | [private] |
| void gfx::GuiButton::Draw | ( | void | ) | [private, virtual] |
Draw this button.
Implements gfx::GuiObject.
| void gfx::GuiButton::ResetRGBA | ( | void | ) | [private, virtual] |
Reset button color.
Implements gfx::GuiButtonBase.
friend class Gui [friend] |
friend class GuiBase [friend] |
Reimplemented from gfx::GuiObject.
friend class GuiScreen [friend] |
Reimplemented from gfx::GuiObject.
friend class Refresh [friend] |
Refresh gfx::GuiButton::mRefresh [private] |
determines if recomputing rectangle is needed
Font::PrintArgs gfx::GuiButton::mPrintArgs [private] |
associated with button text
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:27 2007