#include <sdlwindow.h>
Inheritance diagram for SDLWindow
Public Methods | |
SDLWindow (SDLWidget* parent, SDL_Rect& r, char* windowtext) | |
~SDLWindow () | |
void | LoadThemeStyle (const char* widgettype) |
Load a style from the theme definition. More... | |
void | SetColorTitlebar (Uint32 color) |
Protected Methods | |
void | eventDraw (SDL_Surface* surface, SDL_Rect* rect) |
void | eventSizeWindow (int w, int h) |
bool | eventButtonClick (int id, SDLWidget* widget) |
bool | eventMouseButtonDown (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
bool | eventMouseButtonUp (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
bool | eventMouseMotion (const SDL_MouseMotionEvent* motion) |
Overridable Eventhandler for a SDL_MouseMotionEvent message. More... |
Creates a small 'fake' window entirely inside ParaGUI (ie has a ParaGUI widget as a parent)
Definition at line 57 of file sdlwindow.h.
|
|
|
|
|
Load a style from the theme definition.
Reimplemented from SDLGradientWidget. |
|
|
|
Reimplemented from SDLMessageObject. |
|
Reimplemented from SDLGradientWidget. |
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLWidgetDnD. |
|
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. |
|
Overridable Eventhandler for a SDL_MouseMotionEvent message. This handler is called when mouse movement is detected. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from SDLWidgetDnD. |
|
Reimplemented from SDLDrawObject. |