summaryrefslogtreecommitdiff
path: root/documentation/Fl.html
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-12-19 13:33:08 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-12-19 13:33:08 +0000
commita31071deb496bdf1b9a932e4bfc15b11687c93fd (patch)
treea7b853b70aea7bc3f013aafd68897be3e904578a /documentation/Fl.html
parent3a635d78846ede7be867281a6a7db972bd0d478c (diff)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl.html')
-rw-r--r--documentation/Fl.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html
index 3b3f7e790..a66e3fe39 100644
--- a/documentation/Fl.html
+++ b/documentation/Fl.html
@@ -392,16 +392,17 @@ any pending redraws can be processed.
<H4><A NAME="Fl.background2">void background2(uchar, uchar, uchar);</A></H4>
-<P>Changes <tt>fl_color(FL_WHITE)</tt> and the same colors as <tt>
-Fl::foreground()</tt>. This color is used as a background by <tt>
-Fl_Input</tt> and other text widgets.
+<P>Changes the alternative background color. This color is used as a
+background by <tt>Fl_Input</tt> and other text widgets.
+<P>This call may change <tt>fl_color(FL_FOREGROUND_COLOR)</tt> if it
+does not provide sufficient contrast to FL_BACKGROUND2_COLOR.
<H4><A NAME="Fl.background">void background(uchar, uchar, uchar);</A></H4>
-<P>Changes <tt>fl_color(FL_GRAY)</tt> to the given color, and changes the
-gray ramp from 32 to 56 to black to white. These are the colors used
-as backgrounds by almost all widgets and used to draw the edges of all
-the boxtypes.
+<P>Changes <tt>fl_color(FL_BACKGROUND_COLOR)</tt> to the given color,
+and changes the gray ramp from 32 to 56 to black to white. These are
+the colors used as backgrounds by almost all widgets and used to draw
+the edges of all the boxtypes.
<H4><A NAME="Fl.belowmouse">Fl_Widget* belowmouse();<BR>
void belowmouse(Fl_Widget*);</A></H4>
@@ -760,9 +761,7 @@ test</I> if the widget wants the focus (by it returning non-zero from
<H4><A NAME="Fl.foreground">void foreground(uchar, uchar, uchar);</A></H4>
-<P>Changes <tt>fl_color(FL_BLACK)</tt>. Also changes <tt>
-FL_INACTIVE_COLOR</tt> and <tt>FL_SELECTION_COLOR</tt> to be a ramp
-between this and <tt>FL_WHITE</tt>.
+<P>Changes <tt>fl_color(FL_FOREGROUND_COLOR)</tt>.
<H4><A NAME="Fl.free_color">void free_color(Fl_Color c, int overlay = 0);</A></H4>