00001 #ifndef cbwidget_h 00002 #define cbwidget_h 00003 00004 #include <InterViews/action.h> 00005 class Graph; 00006 00007 class ColorBrushWidget : public Action , public Observer { 00008 public: 00009 static void start(Graph*); 00010 virtual ~ColorBrushWidget(); 00011 void execute(); 00012 virtual void update(Observable*); 00013 private: 00014 ColorBrushWidget(Graph*); 00015 void map(); 00016 private: 00017 Graph* g_; 00018 PolyGlyph* cb_; 00019 PolyGlyph* bb_; 00020 DismissableWindow* w_; 00021 }; 00022 00023 #endif
1.6.3