51 virtual bool onKeyboard(SDL_KeyboardEvent * event);
54 virtual bool onUser(SDL_UserEvent * event);
79 #endif // SDLTK_LIST_H virtual bool onKeyboard(SDL_KeyboardEvent *event)
This member catches keyboard events.
Definition: list.cpp:68
Gui * mGui
Definition: list.h:71
author Fred Klaus development@fkweb.de
Definition: gui.h:34
void init()
Definition: roland.cpp:97
virtual void onMouseButton(SDL_MouseButtonEvent *event)
This member catches mousebutton events.
Definition: list.cpp:47
virtual bool onUser(SDL_UserEvent *event)
Tis member catches user events.
Definition: list.cpp:130
void reposition(Sint16 val)
Manages the scrolling.
Definition: list.cpp:179
Represents an item which can be hold by a List.
Definition: listitem.h:31
Clock mClock
Definition: list.h:72
void add(ListItem *item)
Adds a ListItem to the List.
Definition: list.cpp:161
Uint8 mMotion
Definition: list.h:69
Sint8 mSpeed
Definition: list.h:68
Time measurement in ms.
Definition: clock.h:29
List(Gui *gui)
Some initialization.
Definition: list.h:40
Uint16 mPosH
Definition: list.h:70
sdltk::Gui * gui
Definition: roland.cpp:79
Color mTmpColor
Definition: list.h:73
std::list< ListItem * >::iterator mSelected
Definition: list.h:74
#define ROLAND_DEFAULT
Definition: compspec.h:46
virtual ~List() ROLAND_DEFAULT void init()
Deafault destructor.
RGBA Color Type.
Definition: color.h:30
void draw()
Draw the List and visible elements.
Definition: list.cpp:236
A list that can hold several ListItem s.
Definition: list.h:35
the SDL based Stuff
Definition: audio.cpp:22
ListItem * selected() const
Returns a pointer to the selected Item.
Definition: list.h:57