|
Public Types |
| enum | { EVENT_DRAG = 0,
EVENT_ACTION
} |
Public Member Functions |
| | ScrollingList (int x, int y, int w, int h, GLuint highlight, DragAndDropHandler *dragAndDropHandler=NULL, int lineHeight=15) |
|
int | getLineCount () |
|
void | setLines (int count, const char *s[], const Color *colors=NULL, const GLuint *icon=NULL) |
|
const char * | getLine (int index) |
|
int | getSelectedLine () |
|
void | setSelectedLine (int n) |
|
void | drawWidget (Widget *parent) |
|
int | getEventType () |
| bool | handleEvent (Widget *parent, SDL_Event *event, int x, int y) |
| | Return true, if the event activated this widget.
|
|
void | removeEffects (Widget *parent) |
|
virtual bool | hasSound () |
|
bool | canGetFocus () |
|
void | setCanGetFocus (bool b) |
Data Fields |
|
bool | debug |
Protected Attributes |
|
int | count |
|
const char ** | list |
|
const Color * | colors |
|
const GLuint * | icons |
|
int | value |
|
int | scrollerWidth |
|
int | scrollerHeight |
|
int | listHeight |
|
float | alpha |
|
float | alphaInc |
|
GLint | lastTick |
|
bool | inside |
|
int | scrollerY |
|
bool | dragging |
|
int | dragX |
|
int | dragY |
|
int | selectedLine |
|
DragAndDropHandler * | dragAndDropHandler |
|
bool | innerDrag |
|
int | innerDragX |
|
int | innerDragY |
|
bool | highlightBorders |
|
GLuint | highlight |
|
bool | canGetFocusVar |
|
int | lineHeight |
|
int | eventType |