diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-08-14 16:49:38 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-08-14 16:49:38 +0000 |
| commit | e136d5e1454d406ac458f5503bdb6b4a76f03232 (patch) | |
| tree | 75fa297ba180eb97b06493c68e243ee66bdc8bf9 /FL/Fl_Color_Chooser.H | |
| parent | 1aecada52cd42120137dda305c263fde27518352 (diff) | |
More FL_EXPORT fun...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Color_Chooser.H')
| -rw-r--r-- | FL/Fl_Color_Chooser.H | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/FL/Fl_Color_Chooser.H b/FL/Fl_Color_Chooser.H index ffb693c67..1a40cdc46 100644 --- a/FL/Fl_Color_Chooser.H +++ b/FL/Fl_Color_Chooser.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.2 2002/01/01 15:11:27 easysw Exp $" +// "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.3 2002/08/14 16:49:37 easysw Exp $" // // Color chooser header file for the Fast Light Tool Kit (FLTK). // @@ -36,35 +36,35 @@ #include <FL/Fl_Choice.H> #include <FL/Fl_Value_Input.H> -class Flcc_HueBox : public Fl_Widget { +class FL_EXPORT Flcc_HueBox : public Fl_Widget { int px, py; protected: - FL_EXPORT void draw(); - FL_EXPORT int handle_key(int); + void draw(); + int handle_key(int); public: - FL_EXPORT int handle(int); + int handle(int); Flcc_HueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { px = py = 0;} }; -class Flcc_ValueBox : public Fl_Widget { +class FL_EXPORT Flcc_ValueBox : public Fl_Widget { int py; protected: - FL_EXPORT void draw(); - FL_EXPORT int handle_key(int); + void draw(); + int handle_key(int); public: - FL_EXPORT int handle(int); + int handle(int); Flcc_ValueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { py = 0;} }; -class Flcc_Value_Input : public Fl_Value_Input { +class FL_EXPORT Flcc_Value_Input : public Fl_Value_Input { public: - FL_EXPORT int format(char*); + int format(char*); Flcc_Value_Input(int X, int Y, int W, int H) : Fl_Value_Input(X,Y,W,H) {} }; -class Fl_Color_Chooser : public Fl_Group { +class FL_EXPORT Fl_Color_Chooser : public Fl_Group { Flcc_HueBox huebox; Flcc_ValueBox valuebox; Fl_Choice choice; @@ -74,9 +74,9 @@ class Fl_Color_Chooser : public Fl_Group { Fl_Box resize_box; double hue_, saturation_, value_; double r_, g_, b_; - FL_EXPORT void set_valuators(); - static FL_EXPORT void rgb_cb(Fl_Widget*, void*); - static FL_EXPORT void mode_cb(Fl_Widget*, void*); + void set_valuators(); + static void rgb_cb(Fl_Widget*, void*); + static void mode_cb(Fl_Widget*, void*); public: int mode() {return choice.value();} double hue() const {return hue_;} @@ -85,11 +85,11 @@ public: double r() const {return r_;} double g() const {return g_;} double b() const {return b_;} - FL_EXPORT int hsv(double,double,double); - FL_EXPORT int rgb(double,double,double); - static FL_EXPORT void hsv2rgb(double, double, double,double&,double&,double&); - static FL_EXPORT void rgb2hsv(double, double, double,double&,double&,double&); - FL_EXPORT Fl_Color_Chooser(int,int,int,int,const char* = 0); + int hsv(double,double,double); + int rgb(double,double,double); + static void hsv2rgb(double, double, double,double&,double&,double&); + static void rgb2hsv(double, double, double,double&,double&,double&); + Fl_Color_Chooser(int,int,int,int,const char* = 0); }; FL_EXPORT int fl_color_chooser(const char* name, double& r, double& g, double& b); @@ -98,5 +98,5 @@ FL_EXPORT int fl_color_chooser(const char* name, uchar& r, uchar& g, uchar& b); #endif // -// End of "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.2 2002/01/01 15:11:27 easysw Exp $". +// End of "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.3 2002/08/14 16:49:37 easysw Exp $". // |
