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