summaryrefslogtreecommitdiff
path: root/FL/Fl_Input_.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2009-09-27 11:06:56 +0000
committerMatthias Melcher <fltk@matthiasm.com>2009-09-27 11:06:56 +0000
commitc8adc2fdded2081cb8dd8ba4b72b2703fc74889b (patch)
treebb59bec7b0ab67547e857e2a47bb6753684a9e96 /FL/Fl_Input_.H
parente91ec4b3b300c9c1b1e5b54aded1cab5c7e1a571 (diff)
Fixed a few minor issues with Xcode builds. Fixed all color related call to Fl_Color type (STR #2208). Changed Fl_Color back to typedef unsigned.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Input_.H')
-rw-r--r--FL/Fl_Input_.H14
1 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H
index dc7a319d1..e93dd4c13 100644
--- a/FL/Fl_Input_.H
+++ b/FL/Fl_Input_.H
@@ -143,10 +143,10 @@ class FL_EXPORT Fl_Input_ : public Fl_Widget {
Fl_Fontsize textsize_;
/** \internal color of the entire text */
- unsigned textcolor_;
+ Fl_Color textcolor_;
/** \internal color of the text cursor */
- unsigned cursor_color_;
+ Fl_Color cursor_color_;
/** \internal Horizontal cursor position in pixels while movin up or down. */
static double up_down_pos;
@@ -397,23 +397,23 @@ public:
/** Gets the color of the text in the input field.
\return the text color
- \see textcolor(unsigned) */
- Fl_Color textcolor() const {return (Fl_Color)textcolor_;}
+ \see textcolor(Fl_Color) */
+ Fl_Color textcolor() const {return textcolor_;}
/** Sets the color of the text in the input field.
The text color defaults to \c FL_FOREGROUND_COLOR.
\param [in] n new text color
\see textcolor() */
- void textcolor(unsigned n) {textcolor_ = n;}
+ void textcolor(Fl_Color n) {textcolor_ = n;}
/** Gets the color of the cursor.
\return the current cursor color */
- Fl_Color cursor_color() const {return (Fl_Color)cursor_color_;}
+ Fl_Color cursor_color() const {return cursor_color_;}
/** Sets the color of the cursor.
The default color for the cursor is \c FL_BLACK.
\param [in] n the new cursor color */
- void cursor_color(unsigned n) {cursor_color_ = n;}
+ void cursor_color(Fl_Color n) {cursor_color_ = n;}
/** Gets the input field type.
\return the current input type */