MMSButtonWidget Class Reference

With this class you can get a focusable button. More...

#include <mmsbuttonwidget.h>

Inheritance diagram for MMSButtonWidget:

List of all members.


Public Member Functions

 MMSButtonWidget (MMSWindow *root, string className, MMSTheme *theme=NULL)
 ~MMSButtonWidget ()
MMSWidgetcopyWidget ()
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
MMSButtonWidgetClassbuttonWidgetClass
MMSButtonWidgetClass myButtonWidgetClass

Detailed Description

With this class you can get a focusable button.

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.

Author:
Jens Schneider

Definition at line 47 of file mmsbuttonwidget.h.


Constructor & Destructor Documentation

MMSButtonWidget::MMSButtonWidget ( MMSWindow root,
string  className,
MMSTheme theme = NULL 
)

Definition at line 35 of file mmsbuttonwidget.cpp.

MMSButtonWidget::~MMSButtonWidget (  ) 

Definition at line 39 of file mmsbuttonwidget.cpp.


Member Function Documentation

bool MMSButtonWidget::create ( MMSWindow root,
string  className,
MMSTheme theme 
) [private]

Definition at line 42 of file mmsbuttonwidget.cpp.

bool MMSButtonWidget::init (  )  [private, virtual]

Reimplemented from MMSWidget.

Definition at line 72 of file mmsbuttonwidget.cpp.

bool MMSButtonWidget::release (  )  [private, virtual]

Reimplemented from MMSWidget.

Definition at line 80 of file mmsbuttonwidget.cpp.

bool MMSButtonWidget::draw ( bool *  backgroundFilled = NULL  )  [private, virtual]

Reimplemented from MMSWidget.

Definition at line 88 of file mmsbuttonwidget.cpp.

MMSWidget * MMSButtonWidget::copyWidget (  )  [virtual]

Implements MMSWidget.

Definition at line 56 of file mmsbuttonwidget.cpp.

void MMSButtonWidget::updateFromThemeClass ( MMSButtonWidgetClass themeClass  ) 

Definition at line 121 of file mmsbuttonwidget.cpp.


Member Data Documentation

string MMSButtonWidget::className [private]

Definition at line 49 of file mmsbuttonwidget.h.


The documentation for this class was generated from the following files: