#include <sdlbutton.h>
Inheritance diagram for SDLButton
Public Methods | |
SDLButton (SDLWidget* parent, int id, SDL_Rect& r, char* text = NULL) | |
virtual | ~SDLButton () |
void | LoadThemeStyle (const char* widgettype) |
Load a style from the theme definition. More... | |
void | LoadThemeStyle (const char* widgettype, const char* objectname) |
Load a style from the theme definition. More... | |
void | SetGradient (int state, SDL_Gradient& gradient) |
void | SetBackground (int state, SDL_Surface* background, int mode = BKMODE_TILE) |
Protected Methods | |
void | OnButtonSurface (SDL_Surface** surface, int newstate, int w, int h) |
This should be integrated with SDLUserButton once the themeing engine is implemented, this is very unclear at the moment.
Definition at line 155 of file sdlbutton.h.
|
|
|
|
|
Load a style from the theme definition.
Reimplemented from SDLWidget. |
|
Load a style from the theme definition.
Reimplemented from SDLWidget. |
|
Reimplemented from SDLUserButton. |
|
|
|
|