From fc1a878290197e5e4ec037e65662a90c8f5ce3a8 Mon Sep 17 00:00:00 2001 From: engelsman Date: Wed, 27 Oct 2010 22:07:55 +0000 Subject: 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 --- FL/Fl.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL') 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); -- cgit v1.2.3