#include <mmsbuttonwidget.h>
Public Member Functions | |
MMSButtonWidget (MMSWindow *root, string className, MMSTheme *theme=NULL) | |
~MMSButtonWidget () | |
MMSWidget * | copyWidget () |
void | updateFromThemeClass (MMSButtonWidgetClass *themeClass) |
Private Member Functions | |
bool | create (MMSWindow *root, string className, MMSTheme *theme) |
bool | init () |
bool | release () |
bool | draw (bool *backgroundFilled=NULL) |
Private Attributes | |
string | className |
MMSButtonWidgetClass * | buttonWidgetClass |
MMSButtonWidgetClass | myButtonWidgetClass |
In most cases the button widget works as a container for other widgets. For example: You want to have a focusable MMSArrow widget. But the arrow widget itself cannot be focused. So you create a button widget and add the arrow widget to the button. As result the arrow widget is the child widget of the button.
Definition at line 47 of file mmsbuttonwidget.h.
Definition at line 35 of file mmsbuttonwidget.cpp.
MMSButtonWidget::~MMSButtonWidget | ( | ) |
Definition at line 39 of file mmsbuttonwidget.cpp.
Definition at line 42 of file mmsbuttonwidget.cpp.
bool MMSButtonWidget::init | ( | ) | [private, virtual] |
bool MMSButtonWidget::release | ( | ) | [private, virtual] |
bool MMSButtonWidget::draw | ( | bool * | backgroundFilled = NULL |
) | [private, virtual] |
MMSWidget * MMSButtonWidget::copyWidget | ( | ) | [virtual] |
void MMSButtonWidget::updateFromThemeClass | ( | MMSButtonWidgetClass * | themeClass | ) |
Definition at line 121 of file mmsbuttonwidget.cpp.
string MMSButtonWidget::className [private] |
Definition at line 49 of file mmsbuttonwidget.h.
Definition at line 50 of file mmsbuttonwidget.h.
Definition at line 51 of file mmsbuttonwidget.h.