From 079082ef7c67377f8e24fcec6cadaa4c49e3af2b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 29 Oct 2001 03:44:33 +0000 Subject: 32-bit color (RGB0 or 000I), a la FLTK 2.0, including fl_rgb_color() function to generate an RGB Fl_Color value. Sort button names in FLUID. Fix focus and scroll problems in Fl_Text_Display/Editor. Fix radio/button demo. Removed D2 menubar.H header... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Input_.H | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'FL/Fl_Input_.H') diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index d44a3f8e3..d8146348a 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.H,v 1.6.2.4 2001/01/22 15:13:37 easysw Exp $" +// "$Id: Fl_Input_.H,v 1.6.2.4.2.1 2001/10/29 03:44:31 easysw Exp $" // // Input base class header file for the Fast Light Tool Kit (FLTK). // @@ -50,11 +50,11 @@ class Fl_Input_ : public Fl_Widget { int mu_p; int maximum_size_; + uchar erase_cursor_only; uchar textfont_; uchar textsize_; - uchar textcolor_; - uchar cursor_color_; - uchar erase_cursor_only; + unsigned textcolor_; + unsigned cursor_color_; FL_EXPORT const char* expand(const char*, char*) const; FL_EXPORT double expandpos(const char*, const char*, const char*, int*) const; @@ -114,13 +114,13 @@ public: uchar textsize() const {return textsize_;} void textsize(uchar s) {textsize_ = s;} Fl_Color textcolor() const {return (Fl_Color)textcolor_;} - void textcolor(uchar n) {textcolor_ = n;} + void textcolor(unsigned n) {textcolor_ = n;} Fl_Color cursor_color() const {return (Fl_Color)cursor_color_;} - void cursor_color(uchar n) {cursor_color_ = n;} + void cursor_color(unsigned n) {cursor_color_ = n;} }; #endif // -// End of "$Id: Fl_Input_.H,v 1.6.2.4 2001/01/22 15:13:37 easysw Exp $". +// End of "$Id: Fl_Input_.H,v 1.6.2.4.2.1 2001/10/29 03:44:31 easysw Exp $". // -- cgit v1.2.3