#include <sdlwidgetlist.h>
Inheritance diagram for SDLWidgetList
Public Methods | |
SDLWidgetList (SDLWidget* parent, SDL_Rect& r) | |
Constructor of the SDLWidget class. More... | |
~SDLWidgetList () | |
Destructor of the SDLWidget class. More... | |
void | AddWidget (SDLWidget* w) |
Add a widget to the list. More... | |
bool | RemoveWidget (SDLWidget* w) |
Remove a widget from the list. More... | |
SDLWidget* | FindWidget (int index) |
Find a widget by a given index. More... | |
void | RemoveAll () |
Remove all widgets from the list (without deletion). More... | |
void | DeleteAll () |
Delete (destroy) all widgets in the list. More... | |
int | GetWidgetCount () |
Get the number of widgets in the list. More... | |
Protected Methods | |
void | eventShow () |
void | eventSizeWindow (int w, int h) |
bool | eventScrollPos (int id, SDLWidget* widget, unsigned long data) |
bool | eventScrollTrack (int id, SDLWidget* widget, unsigned long data) |
void | ScrollToY (Sint32 position) |
SDLWidget* | GetWidgetFromPos (Sint32 y) |
Search for a widget at a given y-position. More... | |
Protected Attributes | |
SDLScrollBar* | my_objScrollbar |
SDL_Rect | my_rectScrollbar |
SDL_Rect | my_rectList |
int | my_widthScrollbar |
std::vector< SDLWidget* > | my_widgetList |
swig doesn't understand vectors... More... | |
int | my_widgetCount |
int | my_firstWidget |
Uint32 | my_height |
Generally used to make a large 'pane' of widgets that can be scrolled through in a smaller 'portal' with scrollbars.
Definition at line 54 of file sdlwidgetlist.h.
|
Constructor of the SDLWidget class.
|
|
Destructor of the SDLWidget class.
|
|
Add a widget to the list.
|
|
Delete (destroy) all widgets in the list.
Reimplemented in SDLListBox. |
|
Find a widget by a given index.
|
|
Get the number of widgets in the list.
|
|
Search for a widget at a given y-position.
|
|
Remove all widgets from the list (without deletion).
Reimplemented in SDLListBox. |
|
Remove a widget from the list.
|
|
|
|
Reimplemented from SDLMessageObject. |
|
Reimplemented from SDLMessageObject. |
|
Reimplemented from SDLWidget. |
|
Reimplemented from SDLDrawObject. |
|
Definition at line 142 of file sdlwidgetlist.h. |
|
Definition at line 143 of file sdlwidgetlist.h. |
|
Definition at line 129 of file sdlwidgetlist.h. |
|
Definition at line 132 of file sdlwidgetlist.h. |
|
Definition at line 131 of file sdlwidgetlist.h. |
|
Definition at line 141 of file sdlwidgetlist.h. |
|
swig doesn't understand vectors...
Definition at line 138 of file sdlwidgetlist.h. |
|
Definition at line 134 of file sdlwidgetlist.h. |