This class is the base of gui controls.
More...
#include <Control.h>
Public Member Functions |
virtual | ~Control () |
virtual bool | CheckClick (int X, int Y) |
| Checks if control clicked.
|
virtual void | Connect (EventType eventtype, core::Functor2< void, Control *, EventArgs * > *Function) |
| Connect an event.
|
virtual void | Render ()=0 |
| Renders the control.
|
virtual void | SetPosistion (int X, int Y) |
| Sets the control position.
|
virtual void | SetSize (int Width, int Height) |
| Sets Control size.
|
virtual void | SetRect (int X, int Y, int Width, int Height) |
| Sets the control rect.
|
virtual void | SetRect (core::RectI rect) |
| Sets the control rect.
|
virtual bool | GetFocus () |
| Gets The Focuse Status.
|
virtual void | SetFocus (bool FocusStatus) |
| Set The Focuse Status.
|
| KgeUnknown () |
| Constructor.
|
virtual | ~KgeUnknown () |
| Destructor.
|
virtual void | AddRef () |
| Add a reference to the object.
|
virtual void | DecRef () |
| Decrease a reference from the object. if its reference count get 0 then the object will destroy.
|
u32 | GetRefCount () |
| Return resource reference count.
|
const char * | GetDebugText () |
| returns the instance debug text.
|
Detailed Description
This class is the base of gui controls.
Definition at line 26 of file Control.h.
Constructor & Destructor Documentation
virtual kge::gui::Control::~Control |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual bool kge::gui::Control::CheckClick |
( |
int |
X, |
|
|
int |
Y |
|
) |
| |
|
virtual |
Checks if control clicked.
virtual bool kge::gui::Control::GetFocus |
( |
| ) |
|
|
inlinevirtual |
Gets The Focuse Status.
Definition at line 62 of file Control.h.
virtual void kge::gui::Control::Render |
( |
| ) |
|
|
pure virtual |
virtual void kge::gui::Control::SetFocus |
( |
bool |
FocusStatus | ) |
|
|
inlinevirtual |
Set The Focuse Status.
Definition at line 65 of file Control.h.
virtual void kge::gui::Control::SetPosistion |
( |
int |
X, |
|
|
int |
Y |
|
) |
| |
|
virtual |
Sets the control position.
virtual void kge::gui::Control::SetRect |
( |
int |
X, |
|
|
int |
Y, |
|
|
int |
Width, |
|
|
int |
Height |
|
) |
| |
|
virtual |
virtual void kge::gui::Control::SetRect |
( |
core::RectI |
rect | ) |
|
|
virtual |
virtual void kge::gui::Control::SetSize |
( |
int |
Width, |
|
|
int |
Height |
|
) |
| |
|
virtual |
virtual void kge::gui::Control::Update |
( |
| ) |
|
|
inlineprotectedvirtual |
Friends And Related Function Documentation
Member Data Documentation
bool kge::gui::Control::m_bFocus |
|
protected |
bool kge::gui::Control::m_bMouseOver |
|
protected |
std::vector<EventType> kge::gui::Control::m_vEventTypes |
|
protected |
The documentation for this class was generated from the following file: