#include <sdlradiobutton.h>
Inheritance diagram for SDLRadioButton
Public Methods | |
SDLRadioButton (SDLWidget* parent, int id, SDL_Rect& r, char* text, SDLRadioButton* firstOfGroup = NULL) | |
~SDLRadioButton () | |
void | LoadThemeStyle (const char* widgettype) |
Load a style from the theme definition. More... | |
bool | GetPressed () |
void | SetPressed () |
void | SetTextFormat (char* text, ...) |
Sets formated text (like printf). More... | |
void | SetText (char* text) |
char* | GetText () |
Protected Methods | |
void | AddToGroup (SDLRadioButton* w) |
void | ReleaseButton () |
void | eventMouseEnter () |
void | eventMouseLeave () |
bool | eventMouseButtonUp (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
bool | eventButtonClick (int id, SDLWidget* widget) |
Protected Attributes | |
SDLRadioButton* | my_groupFirst |
SDLRadioButton* | my_groupNext |
SDLButton* | my_widgetButton |
SDLLabel* | my_widgetLabel |
bool | my_isPressed |
A single radio button, which has an attribute to signify what group it belongs to.
Definition at line 59 of file sdlradiobutton.h.
|
|
|
|
|
|
|
|
|
|
|
Load a style from the theme definition.
Reimplemented from SDLGradientWidget. |
|
|
|
|
|
|
|
Sets formated text (like printf).
|
|
Reimplemented from SDLMessageObject. Reimplemented in SDLCheckButton. |
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLWidgetDnD. Reimplemented in SDLCheckButton. |
|
Reimplemented from SDLWidget. |
|
Reimplemented from SDLWidget. |
|
Definition at line 107 of file sdlradiobutton.h. |
|
Definition at line 108 of file sdlradiobutton.h. |
|
Definition at line 112 of file sdlradiobutton.h. |
|
Definition at line 110 of file sdlradiobutton.h. |
|
Definition at line 111 of file sdlradiobutton.h. |