1 // puList.hxx - a scrolling PUI list box.
12 # define PUCLASS_LIST 0x80000000 // Hopefully this value will never be used by plib
13 # define PUCLASS_LIST 0x80000000 // Hopefully this value will never be used by plib
16 * A scrolling list for PUI.
18 * Believe it or not, PUI does not have one of these.
20 class puList : public puGroup
23 puList (int x, int y, int w, int h);
24 puList (int x, int y, int w, int h, char ** contents);
27 virtual void newList (char ** contents);
28 // TODO: other string value funcs
29 virtual char * getListStringValue ();
30 virtual int getListIntegerValue();
33 virtual void init (int w, int h);
38 puListBox * _list_box;
40 puArrowButton * _up_arrow;
41 puArrowButton * _down_arrow;
44 #endif // __PULIST_HXX