#include <gfx_gui.hh>

Public Member Functions | |
| GuiObject (GuiScreen &screen, fp x, fp y, fnMouseButtonCallback buttonCallback) | |
| virtual | ~GuiObject () |
| virtual void | Draw (void)=0 |
| void | SetVisi (bool f) |
| bool | IfVisi (void) |
| void | ToggleVisi (void) |
| void | SetSens (bool f) |
| void | ToggleSens (void) |
| bool | IfSens (void) |
| void | SetVisiSens (bool f) |
| Vector2 | GetPos (void) |
| void | SetPos (const Vector2 &pos) |
Protected Member Functions | |
| bool | IfHasArea (void) |
| void | SetZeroArea (void) |
Protected Attributes | |
| GuiBase & | mGui |
| GuiScreen & | mScreen |
| eGuiObject | mType |
| bool | mVisible |
| bool | mSensitive |
| fnMouseButtonCallback | mMouseButtonCallback |
| uint | mMouseEvent |
| Vector2 | mPos |
| Rect< fp > | mRect |
| Dlink< GuiObject > * | mLinkObject |
Friends | |
| class | GuiBase |
| class | GuiScreen |
| gfx::GuiObject::GuiObject | ( | GuiScreen & | screen, | |
| fp | x, | |||
| fp | y, | |||
| fnMouseButtonCallback | buttonCallback | |||
| ) |
ctor/dtor.
| gfx::GuiObject::~GuiObject | ( | ) | [virtual] |
| virtual void gfx::GuiObject::Draw | ( | void | ) | [pure virtual] |
Implemented in gfx::GuiPrint, and gfx::GuiButton.
| void gfx::GuiObject::SetVisi | ( | bool | f | ) | [inline] |
| bool gfx::GuiObject::IfVisi | ( | void | ) | [inline] |
| void gfx::GuiObject::ToggleVisi | ( | void | ) | [inline] |
| void gfx::GuiObject::SetSens | ( | bool | f | ) | [inline] |
| void gfx::GuiObject::ToggleSens | ( | void | ) | [inline] |
| bool gfx::GuiObject::IfSens | ( | void | ) | [inline] |
| void gfx::GuiObject::SetVisiSens | ( | bool | f | ) | [inline] |
| Vector2 gfx::GuiObject::GetPos | ( | void | ) |
Set/get object position.
| void gfx::GuiObject::SetPos | ( | const Vector2 & | pos | ) |
| bool gfx::GuiObject::IfHasArea | ( | void | ) | [inline, protected] |
| void gfx::GuiObject::SetZeroArea | ( | void | ) | [inline, protected] |
friend class GuiBase [friend] |
Reimplemented in gfx::GuiPrint, and gfx::GuiButton.
friend class GuiScreen [friend] |
Reimplemented in gfx::GuiPrint, and gfx::GuiButton.
GuiBase& gfx::GuiObject::mGui [protected] |
GuiScreen& gfx::GuiObject::mScreen [protected] |
eGuiObject gfx::GuiObject::mType [protected] |
bool gfx::GuiObject::mVisible [protected] |
bool gfx::GuiObject::mSensitive [protected] |
uint gfx::GuiObject::mMouseEvent [protected] |
Vector2 gfx::GuiObject::mPos [protected] |
Rect<fp> gfx::GuiObject::mRect [protected] |
Dlink<GuiObject>* gfx::GuiObject::mLinkObject [protected] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:26 2007