summaryrefslogtreecommitdiff
path: root/FL/Fl_Browser_.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_Browser_.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_Browser_.H')
-rw-r--r--FL/Fl_Browser_.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H
index 26db76358..725564485 100644
--- a/FL/Fl_Browser_.H
+++ b/FL/Fl_Browser_.H
@@ -74,7 +74,7 @@ class FL_EXPORT Fl_Browser_ : public Fl_Group {
uchar has_scrollbar_; // which scrollbars are enabled
Fl_Font textfont_;
Fl_Fontsize textsize_;
- unsigned textcolor_;
+ Fl_Color textcolor_;
void* top_; // which item scrolling position is in
void* selection_; // which is selected (except for FL_MULTI_BROWSER)
void *redraw1,*redraw2; // minimal update pointers
@@ -297,11 +297,11 @@ public:
/**
Gets the default text color for the lines in the browser.
*/
- Fl_Color textcolor() const { return (Fl_Color)textcolor_; }
+ Fl_Color textcolor() const { return textcolor_; }
/**
Sets the default text color for the lines in the browser to color \p col.
*/
- void textcolor(unsigned col) { textcolor_ = col; }
+ void textcolor(Fl_Color col) { textcolor_ = col; }
/**
Gets the current size of the scrollbars' troughs, in pixels.