summaryrefslogtreecommitdiff
path: root/FL/Fl_Color_Chooser.H
diff options
context:
space:
mode:
authorCarl E. Thompson <devel-fltk@carlthompson.net>2000-06-10 19:30:01 +0000
committerCarl E. Thompson <devel-fltk@carlthompson.net>2000-06-10 19:30:01 +0000
commitb3d9c227bc6d167fe24fc21e318c04a05d810be8 (patch)
tree8732955c8905678c3aa0aaa7c879915bd03a9b00 /FL/Fl_Color_Chooser.H
parent8e5c8b50d3f480265cdea227186ece0b1c29fc15 (diff)
Made sure all draw()s were protected and all handle()s were public. (Most
were already.) Looks like I forgot to commit those changes to eliminate Mesa dependancy in the code. Here it is. Carl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Color_Chooser.H')
-rw-r--r--FL/Fl_Color_Chooser.H14
1 files changed, 8 insertions, 6 deletions
diff --git a/FL/Fl_Color_Chooser.H b/FL/Fl_Color_Chooser.H
index 4dc02d072..d882a3891 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.2 2000/06/05 21:20:21 mike Exp $"
+// "$Id: Fl_Color_Chooser.H,v 1.5.2.3 2000/06/10 19:29:59 carl Exp $"
//
// Color chooser header file for the Fast Light Tool Kit (FLTK).
//
@@ -37,19 +37,21 @@
#include <FL/Fl_Value_Input.H>
class Flcc_HueBox : public Fl_Widget {
- FL_EXPORT int handle(int);
- FL_EXPORT void draw();
int px, py;
+protected:
+ FL_EXPORT void draw();
public:
+ FL_EXPORT 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 {
- FL_EXPORT int handle(int);
- FL_EXPORT void draw();
int py;
+protected:
+ FL_EXPORT void draw();
public:
+ FL_EXPORT int handle(int);
Flcc_ValueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) {
py = 0;}
};
@@ -94,5 +96,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.2 2000/06/05 21:20:21 mike Exp $".
+// End of "$Id: Fl_Color_Chooser.H,v 1.5.2.3 2000/06/10 19:29:59 carl Exp $".
//