summaryrefslogtreecommitdiff
path: root/src/Fl_get_system_colors.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-10-29 03:44:33 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-10-29 03:44:33 +0000
commit079082ef7c67377f8e24fcec6cadaa4c49e3af2b (patch)
tree6967ed6788ff20429fd5fd9c132517c676cb942f /src/Fl_get_system_colors.cxx
parenta00b52a6760c83414a518a69d91761389d9db322 (diff)
32-bit color (RGB0 or 000I), a la FLTK 2.0, including fl_rgb_color()
function to generate an RGB Fl_Color value. Sort button names in FLUID. Fix focus and scroll problems in Fl_Text_Display/Editor. Fix radio/button demo. Removed D2 menubar.H header... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_get_system_colors.cxx')
-rw-r--r--src/Fl_get_system_colors.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx
index 5904d84d0..7fde64290 100644
--- a/src/Fl_get_system_colors.cxx
+++ b/src/Fl_get_system_colors.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7 2001/03/20 18:02:52 spitzak Exp $"
+// "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.1 2001/10/29 03:44:32 easysw Exp $"
//
// System color support for the Fast Light Tool Kit (FLTK).
//
@@ -50,7 +50,7 @@ void Fl::foreground(uchar r, uchar g, uchar b) {
void Fl::background2(uchar r, uchar g, uchar b) {
Fl::set_color(FL_WHITE,r,g,b);
- Fl::set_color(FL_BLACK,get_color(contrast(FL_BLACK,FL_WHITE)));
+ Fl::set_color(FL_BLACK,get_color(fl_contrast(FL_BLACK,FL_WHITE)));
}
// these are set by Fl::args() and override any system colors:
@@ -150,5 +150,5 @@ void Fl::get_system_colors()
#endif
//
-// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7 2001/03/20 18:02:52 spitzak Exp $".
+// End of "$Id: Fl_get_system_colors.cxx,v 1.6.2.7.2.1 2001/10/29 03:44:32 easysw Exp $".
//