SDLPP::Button Class Reference

Inheritance diagram for SDLPP::Button:
SDLPP::Control SDLPP::Checkbox

List of all members.

Public Member Functions

 Button (xml_element *details)
virtual Bitmapget_bitmap ()
virtual void draw (Bitmap &target, const iVec2 &offset)
virtual void enable (bool state)
virtual void on_mouse_leave (const iVec2 &pos)
virtual void on_mouse_down (int button, const iVec2 &pos)
virtual void on_mouse_up (int button, const iVec2 &pos)
virtual void on_click ()

Protected Member Functions

virtual void create_bitmap ()

Protected Attributes

xstring m_Text
Uint32 m_TextColor
Bitmap m_Bitmap
iVec2 m_Offset

The documentation for this class was generated from the following file:
Generated on Wed May 26 17:41:02 2010 for SDLPP by  doxygen 1.6.3