summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-14 14:32:46 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-14 14:32:46 +0100
commitc44bea787fe86a493c53498f5b3e33cba5e8bdaa (patch)
tree53f8bccfc0f361f1a95529c3c81ec932f239027c /src/Fl_arg.cxx
parent5c90938aa3aa6dcb6f941e8f07937ae1d8951c17 (diff)
#842 - cont'd: fix typos in documentation.
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index 3693b6675..f0ec4d543 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -1,7 +1,7 @@
//
// Optional argument initialization code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2022 by Bill Spitzak and others.
+// Copyright 1998-2024 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -107,25 +107,24 @@ extern const char *fl_bg2;
Enables or disables tooltips using Fl_Tooltip::enable().
Color values are commonly given as three digit or six digit hex numbers.
-
- * the order of fg, bg, and bg2 in the command line does not matter
- * there is no way at the moment to set the selection color
- * setting the bg2 color also changes the fg color to have sufficient contrast
- * explicitly setting fg color overrides the bg2/contrast constraint
- * setting the bg color will update the color lookup table for the gray ramp,
+ - The order of fg, bg, and bg2 in the command line does not matter
+ - There is no way at the moment to set the selection color.
+ - Setting the bg2 color also changes the fg color to have sufficient contrast
+ - Explicitly setting fg color overrides the bg2/contrast constraint.
+ - Setting the bg color will update the color lookup table for the gray ramp,
so color index values can stay the same for all apps, it's just mapped to
- different RGB values
- * the calculation of the gray ramp is only based on the bg color, so there is
- no way at the moment to create an inverted (dark mode) ramp
- * consequently, setting bg to black creates a an all-black ramp, setting a
- somewhat dark bg color creates a extremely dark ramp
- * setting the bg has no influence on bg2 or fg
+ different RGB values.
+ - The calculation of the gray ramp is only based on the bg color, so there is
+ no way at the moment to create an inverted (dark mode) ramp.
+ - Consequently, setting bg to black creates a an all-black ramp, setting a
+ somewhat dark bg color creates a extremely dark ramp.
+ - Setting the bg has no influence on bg2 or fg.
If your program requires other switches in addition to the standard
FLTK options, you will need to pass your own argument handler to
Fl::args(int,char**,int&,Fl_Args_Handler) explicitly.
- \see fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b) to see how
+ \see \ref fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b) to see how
color values can be defined
*/
int Fl::arg(int argc, char **argv, int &i) {