20 #ifndef SDLTK_LIST_ITEM_H 21 #define SDLTK_LIST_ITEM_H 38 void setOrigin(Sint16
x, Sint16
y) {
mOrigin.set(x, y);}
50 #endif // SDLTK_LIST_ITEM_H void setPos(Sint16 x, Sint16 y)
Definition: rect.h:85
void reset()
Definition: listitem.h:39
virtual void onMouseButton(SDL_MouseButtonEvent *event)
Catch MouseButton events.
Definition: listitem.cpp:37
Point mOrigin
Definition: listitem.h:44
Represents an item which can be hold by a List.
Definition: listitem.h:31
ListItem()
Definition: listitem.cpp:28
virtual ~ListItem() ROLAND_DEFAULT void setOrigin(Sint16 x
#define ROLAND_DEFAULT
Definition: compspec.h:46
Defines a 2D point (x, y)
Definition: point.h:28
Sint16 y
Definition: point.h:35
the SDL based Stuff
Definition: audio.cpp:22