#ifndef _ollist_ #define _ollist_ #include #include typedef struct ollist ollist; struct ollist : text { olscrollbar @scroll; name choicemode; int defaultchoice; int nritems(); boolean itemselected(int n); displayitem itemlabel(int n); boolean scrollautorepeat; /* scoped */ int scrollthreshold; /* scoped */ int scrolllinedelay; /* scoped */ void settop(int n); void setitems(displayitem *list); void setselection(int *sel); void setchoicemode(name mode); void setdefaultchoice(int n); char **selected_strings(); int *selected_items(); void Preview(int *); void Action(char **); }; #endif