#include <Button.h>
Inheritance diagram for Teddy::PhysicalComponents::Button:
Public Methods | |
Button (std::string label) | |
Constructor. More... | |
virtual void | drawSelf () |
Area interface. More... | |
Protected Types | |
enum | e_state { up, pressed } |
Protected Attributes | |
e_state | state |
std::string | label |
Definition at line 37 of file Button.h.
|
|
|
Constructor.
Definition at line 41 of file Button.cpp. References Teddy::PhysicalComponents::Area::drawing_ordering, Teddy::PhysicalComponents::Area::event_ordering, Teddy::PhysicalComponents::Area::fill_base_pixels, Teddy::MixIn::Named::name, Teddy::PhysicalComponents::Area::post_self, state, Teddy::PhysicalComponents::Area::style, and up. |
|
Area interface.
Reimplemented from Teddy::PhysicalComponents::Area. Definition at line 64 of file Button.cpp. References Teddy::PhysicalComponents::Area::drawString, label, and Teddy::PhysicalComponents::Area::style. |
|
Definition at line 50 of file Button.h. Referenced by drawSelf. |
|
Definition at line 49 of file Button.h. Referenced by Button. |