#include <sdllistboxbaseitem.h>
Inheritance diagram for SDLListBoxBaseItem
Public Methods | |
SDLListBoxBaseItem (int height, void* userdata = NULL) | |
~SDLListBoxBaseItem () | |
void | SetUserData (void* userdata) |
void* | GetUserData () |
bool | IsSelected () |
void | Select (bool select = true) |
int | Height () |
SDLListBox* | GetParent () |
Get the parentwidget of a widget. More... | |
Protected Methods | |
void | eventMouseEnter () |
void | eventMouseLeave () |
bool | eventMouseButtonUp (const SDL_MouseButtonEvent* button) |
Overridable Eventhandler for a SDL_MouseButtonEvent message. More... | |
Protected Attributes | |
void* | my_userdata |
bool | my_selected |
bool | my_hover |
int | my_height |
|
|
|
|
|
Get the parentwidget of a widget.
Reimplemented from SDLWidget. |
|
|
|
Reimplemented from SDLWidget. |
|
|
|
|
|
|
|
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 SDLMessageObject. |
|
Reimplemented from SDLWidget. |
|
Reimplemented from SDLWidget. |
|
Definition at line 77 of file sdllistboxbaseitem.h. |
|
Definition at line 76 of file sdllistboxbaseitem.h. |
|
Definition at line 75 of file sdllistboxbaseitem.h. |
|
Definition at line 74 of file sdllistboxbaseitem.h. |