#include <Button.h>
Public Member Functions | |
| Button (Shell *const shell) | |
| virtual | ~Button (void) |
| const cl7::string_type & | GetCaption () const |
| const Image & | GetImage () const |
| Image & | GetImage () |
| bool | GetPressed () const |
| void | SetCaption (const cl7::string_type &caption) |
| void | SetImage (const Image &image) |
| void | SetPressed (bool pressed) |
Public Attributes | |
| EventHandler< EventArgs > | OnClickEventHandler |
| EventHandler< EventArgs > | OnPeriodicActionEventHandler |
| friend | Shell |
The class for clickable buttons.
| fl7::Button::Button | ( | Shell *const | shell | ) |
Explicit constructor.
| fl7::Button::~Button | ( | void | ) | [virtual] |
Destructor.
| const cl7::string_type& fl7::Button::GetCaption | ( | ) | const [inline] |
Returns the caption of this button.
| Image& fl7::Button::GetImage | ( | ) | [inline] |
Returns the image to eventually display on this button.
| const Image& fl7::Button::GetImage | ( | ) | const [inline] |
Returns the image to eventually display on this button.
| bool fl7::Button::GetPressed | ( | ) | const [inline] |
Returns the flag indicating whether this button is pressed.
| void fl7::Button::SetCaption | ( | const cl7::string_type & | caption | ) | [inline] |
Sets the caption of this button.
| void fl7::Button::SetImage | ( | const Image & | image | ) | [inline] |
Sets the image to eventually display on this button.
| void fl7::Button::SetPressed | ( | bool | pressed | ) | [inline] |
Sets the flag indicating whether this button is pressed.
Will be called after this button has been clicked.
Will be called after a certain amount of time while this button is in action.
| friend fl7::Button::Shell |
Reimplemented from fl7::Control.
1.6.1