1 // puList.hxx - a scrolling PUI list box.
12 # define PUCLASS_LIST 0x80000000 // Hopefully this value will never be used by plib
15 * A scrolling list for PUI.
17 * Believe it or not, PUI does not have one of these.
19 class puList : public puGroup
22 puList (int x, int y, int w, int h);
23 puList (int x, int y, int w, int h, char ** contents);
26 virtual void newList (char ** contents);
27 // TODO: other string value funcs
28 virtual char * getListStringValue ();
29 virtual int getListIntegerValue();
30 virtual void setColourScheme (float r, float g, float b, float a);
31 virtual void setColour (int which, float r, float g, float b, float a);
35 virtual void init (int w, int h);
40 puListBox * _list_box;
42 puArrowButton * _up_arrow;
43 puArrowButton * _down_arrow;
46 #endif // __PULIST_HXX