1
/* Do not edit this file. It was automatically genarated. */
7
(C) 2004 Hisham H. Muhammad
8
Released under the GNU GPL, see the COPYING file
9
in the source distribution for its full text.
13
#include "TypedVector.h"
15
#include "RichString.h"
21
#include <sys/param.h>
27
typedef struct ListBox_ {
38
ListBox* ListBox_new(int x, int y, int w, int h, char* type);
40
void ListBox_setHeader(ListBox* this, RichString header);
42
void ListBox_delete(ListBox* this);
44
void ListBox_move(ListBox* this, int x, int y);
46
void ListBox_resize(ListBox* this, int w, int h);
48
void ListBox_prune(ListBox* this);
50
void ListBox_add(ListBox* this, Object* o);
52
void ListBox_set(ListBox* this, int i, Object* o);
54
Object* ListBox_get(ListBox* this, int i);
56
Object* ListBox_getSelected(ListBox* this);
58
int ListBox_getSelectedIndex(ListBox* this);
60
int ListBox_getSize(ListBox* this);
62
void ListBox_setSelected(ListBox* this, int selected);
64
void ListBox_draw(ListBox* this);
66
void ListBox_onKey(ListBox* this, int key);