diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-16 16:41:48 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-16 16:41:48 +0000 |
| commit | 9ed48bd74a12e4fbe875ac6a10d208f9f6e29f92 (patch) | |
| tree | deb781e04cfd47f8e3f8a38b4ff986a1a77bc3b1 /FL/Fl_Color_Chooser.H | |
| parent | fc008c96c329ebbae7b03d8c4b6185e780b4d4af (diff) | |
Fix other widgets to use Fl::focus() instead of take_focus().
Add keyboard nav to Fl_Color_Chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Color_Chooser.H')
| -rw-r--r-- | FL/Fl_Color_Chooser.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FL/Fl_Color_Chooser.H b/FL/Fl_Color_Chooser.H index b089cccf4..96534dda5 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 2001/01/22 15:13:37 easysw Exp $" +// "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.1 2001/12/16 16:41:48 easysw Exp $" // // Color chooser header file for the Fast Light Tool Kit (FLTK). // @@ -40,6 +40,7 @@ class Flcc_HueBox : public Fl_Widget { int px, py; protected: FL_EXPORT void draw(); + FL_EXPORT int handle_key(int); public: FL_EXPORT int handle(int); Flcc_HueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { @@ -50,6 +51,7 @@ class Flcc_ValueBox : public Fl_Widget { int py; protected: FL_EXPORT void draw(); + FL_EXPORT int handle_key(int); public: FL_EXPORT int handle(int); Flcc_ValueBox(int X, int Y, int W, int H) : Fl_Widget(X,Y,W,H) { @@ -96,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 2001/01/22 15:13:37 easysw Exp $". +// End of "$Id: Fl_Color_Chooser.H,v 1.5.2.4.2.1 2001/12/16 16:41:48 easysw Exp $". // |
