#include <ActionButton.h>
Inheritance diagram for Teddy::PhysicalComponents::ActionButton:


Public Methods | |
| ActionButton (std::string name, Teddy::Signals::Functor0< bool > *f, const int type=Teddy::PhysicalComponents::Event::MouseButtonUpEvent_ID) | |
| Constructor. More... | |
| ActionButton (std::string name, Teddy::Signals::Functor1< bool, const Event & > *f, const int type=Teddy::PhysicalComponents::Event::MouseButtonUpEvent_ID) | |
| ActionButton (std::string name, Teddy::Signals::Functor1< bool, void * > *f, void *data, const int type=Teddy::PhysicalComponents::Event::MouseButtonUpEvent_ID) | |
| virtual | ~ActionButton () |
| Destructor. More... | |
| virtual void | event (const Event &e) |
| virtual bool | doesEvent (int type) |
| virtual void | drawSelf () |
| Drawing code. More... | |
Protected Attributes | |
| std::string | label |
| int | v_type |
| int | e_type |
| int | d_type |
| Teddy::Signals::Holder0< bool > | v_holder |
| Teddy::Signals::Holder1< bool, const Event & > | e_holder |
| Teddy::Signals::Holder1< bool, void * > | d_holder |
| void * | d_data |
Definition at line 43 of file ActionButton.h.
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||||||
|
|
Destructor.
Definition at line 119 of file ActionButton.cpp. |
|
|
Reimplemented from Teddy::PhysicalComponents::EventListener. Definition at line 110 of file ActionButton.cpp. |
|
|
Drawing code.
Reimplemented from Teddy::PhysicalComponents::Area. Definition at line 124 of file ActionButton.cpp. References Teddy::PhysicalComponents::Area::drawBiColRect, Teddy::PhysicalComponents::Area::drawFillRect, Teddy::PhysicalComponents::Area::drawString, label, Teddy::PhysicalComponents::Area::size, Teddy::PhysicalComponents::Area::style, and Teddy::Graphics::ViewClient::view. |
|
|
Reimplemented from Teddy::PhysicalComponents::EventListener. Definition at line 98 of file ActionButton.cpp. References d_data, d_holder, d_type, e_holder, e_type, v_holder, and v_type. |
|
|
Definition at line 65 of file ActionButton.h. Referenced by ActionButton, and event. |
|
|
Definition at line 64 of file ActionButton.h. Referenced by ActionButton, and event. |
|
|
Definition at line 61 of file ActionButton.h. Referenced by ActionButton, doesEvent, and event. |
|
|
Definition at line 63 of file ActionButton.h. Referenced by ActionButton, and event. |
|
|
Definition at line 60 of file ActionButton.h. Referenced by ActionButton, doesEvent, and event. |
|
|
Definition at line 58 of file ActionButton.h. Referenced by drawSelf. |
|
|
Definition at line 62 of file ActionButton.h. Referenced by ActionButton, and event. |
|
|
Definition at line 59 of file ActionButton.h. Referenced by ActionButton, doesEvent, and event. |