00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _FLU_COMBO_LIST_H
00017 #define _FLU_COMBO_LIST_H
00018
00019 #include <FL/Fl_Hold_Browser.H>
00020
00021 #include "FLU/Flu_Combo_Box.h"
00022
00024 class FLU_EXPORT Flu_Combo_List : public Flu_Combo_Box
00025 {
00026
00027 public:
00028
00030 Flu_Combo_List( int x, int y, int w, int h, const char *l = 0 );
00031
00033 ~Flu_Combo_List();
00034
00036 Fl_Hold_Browser list;
00037
00038 protected:
00039
00040 bool _value( const char *v );
00041 const char* _next();
00042 const char* _previous();
00043 void _hilight( int x, int y );
00044
00045 inline static void _cb( Fl_Widget *w, void *arg )
00046 { ((Flu_Combo_List*)arg)->cb(); }
00047 void cb();
00048
00049 };
00050
00051 #endif