|
Crazy Eddie's GUI System
0.8.4
|
Base class to provide logic for push button type widgets. More...
Inheritance diagram for CEGUI::PushButton:
Collaboration diagram for CEGUI::PushButton:Public Member Functions | |
| PushButton (const String &type, const String &name) | |
| Constructor for base PushButton class. | |
| virtual | ~PushButton (void) |
| Destructor for PushButton class. | |
Static Public Attributes | |
| static const String | EventNamespace |
| Namespace for global events. | |
| static const String | WidgetTypeName |
| Window factory name. | |
| static const String | EventClicked |
Protected Member Functions | |
| virtual void | onClicked (WindowEventArgs &e) |
| handler invoked internally when the button is clicked. | |
| virtual void | onMouseButtonUp (MouseEventArgs &e) |
| Handler called when a mouse button has been released within this window's area. | |
Base class to provide logic for push button type widgets.
| virtual void CEGUI::PushButton::onMouseButtonUp | ( | MouseEventArgs & | e | ) | [protected, virtual] |
Handler called when a mouse button has been released within this window's area.
| e | MouseEventArgs object. All fields are valid. |
Reimplemented from CEGUI::ButtonBase.
const String CEGUI::PushButton::EventClicked [static] |
Event fired when the button is clicked. Handlers are passed a const WindowEventArgs reference with WindowEventArgs::window set to the PushButton that was clicked.