diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-10-29 03:44:33 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-10-29 03:44:33 +0000 |
| commit | 079082ef7c67377f8e24fcec6cadaa4c49e3af2b (patch) | |
| tree | 6967ed6788ff20429fd5fd9c132517c676cb942f /FL/Fl_Input_.H | |
| parent | a00b52a6760c83414a518a69d91761389d9db322 (diff) | |
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
Diffstat (limited to 'FL/Fl_Input_.H')
| -rw-r--r-- | FL/Fl_Input_.H | 14 |
1 files changed, 7 insertions, 7 deletions
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 $". // |
