summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorengelsman <engelsman>2010-10-27 22:07:55 +0000
committerengelsman <engelsman>2010-10-27 22:07:55 +0000
commitfc1a878290197e5e4ec037e65662a90c8f5ce3a8 (patch)
treee9bf12d97b919244116abe0d481c7d3bfa4e3edf /FL
parentb10ffb40d8e4b9eac1e47af53c8926e13d23d1a1 (diff)
reworked color documentation as suggested in STR #2373
part of the confusion was the main page link to Common Widgets and Attributes/Colors actually went to Drawing Things in FLTK/Colors therefore making it harder to find information. Common Widgets and Attribute/Colors now simplified Drawing Things in FLTK/Colors now expanded FLTK Enumerations/Colors now simplified git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index e94c9d1cc..95a340d51 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -718,15 +718,15 @@ public:
Sets an entry in the fl_color index table. You can set it to any
8-bit RGB color. The color is not allocated until fl_color(i) is used.
*/
- static void set_color(Fl_Color, unsigned); // platform dependent
- static Fl_Color get_color(Fl_Color);
- static void get_color(Fl_Color, uchar&, uchar&, uchar&);
+ static void set_color(Fl_Color i, unsigned c); // platform dependent
+ static unsigned get_color(Fl_Color i);
+ static void get_color(Fl_Color i, uchar &red, uchar &green, uchar &blue);
/**
Frees the specified color from the colormap, if applicable.
If overlay is non-zero then the color is freed from the
overlay colormap.
*/
- static void free_color(Fl_Color, int overlay = 0); // platform dependent
+ static void free_color(Fl_Color i, int overlay = 0); // platform dependent
// fonts:
static const char* get_font(Fl_Font);