SDLPP::Control Class Reference
List of all members.
Public Member Functions |
virtual void | set_details (xml_element *details) |
virtual xml_element * | get_details () |
virtual void | enable (bool state=true) |
virtual void | disable () |
virtual bool | enabled () |
virtual void | invalidate () |
virtual void | validate () |
virtual bool | valid () const |
virtual void | set_name (const xstring &name) |
virtual const xstring & | get_name () const |
virtual void | set_rect (const iRect2 &r) |
virtual const iRect2 & | get_rect () const |
virtual Control * | get_parent () |
virtual const Control * | get_parent () const |
virtual void | draw (Bitmap &target=GraphicsManager::instance()->get_screen(), const iVec2 &offset=iVec2(0, 0)) |
virtual void | on_mouse_down (int button, const iVec2 &pos) |
virtual void | on_mouse_up (int button, const iVec2 &pos) |
virtual void | on_mouse_move (const iVec2 &pos) |
virtual void | on_mouse_enter (const iVec2 &pos) |
virtual void | on_mouse_leave (const iVec2 &pos) |
virtual void | on_char (Uint16 ch) |
virtual void | notify (Control *source, const xstring &message) |
virtual Control * | find_leaf (const iVec2 &pos) |
virtual Control * | find (const xstring &name) |
Protected Member Functions |
| Control (const Control &) |
Control & | operator= (const Control &) |
Protected Attributes |
xstring | m_Name |
iRect2 | m_Rect |
Control * | m_Parent |
bool | m_Enabled |
bool | m_Valid |
Friends |
class | Container |
The documentation for this class was generated from the following files:
- E:/prg/sdlpp/include/sdlpp_gui.h
- E:/prg/sdlpp/src/sdlpp_gui.cpp