SDLPP::Component Class Reference
List of all members.
Public Member Functions |
|
| Component (Component *parent=0) |
|
virtual void | draw (Bitmap target) |
|
Component & | add_child (const Component &c) |
|
virtual void | draw () |
|
const iRect2 & | get_rect () const |
|
const Component * | get_parent () const |
|
bool | inside (const iVec2 &p) const |
|
virtual void | button_down (int button, const iVec2 &position) |
|
virtual void | button_up (int button, const iVec2 &position) |
|
virtual void | mouse_move (int button, const iVec2 &position) |
Protected Types |
|
typedef std::vector< Component > | comp_seq |
Protected Member Functions |
|
iVec2 | get_global_position () const |
|
iVec2 | get_local_position (const iVec2 &p) const |
|
void | set_bitmap (Bitmap bmp) |
|
void | set_position (const iVec2 &p) |
|
void | set_parent (Component *parent) |
|
virtual void | set_capture (Component *child) |
Protected Attributes |
|
Bitmap | m_Image |
|
iRect2 | m_Rect |
|
Component * | m_Parent |
|
comp_seq | m_Children |
The documentation for this class was generated from the following files:
- E:/prg/sdlpp/include/sdlpp_ui.h
- E:/prg/sdlpp/src/sdlpp_ui.cpp