diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-16 02:16:17 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-16 02:16:17 +0000 |
| commit | af1ec00483000fe92ad902a599779863f42b1e17 (patch) | |
| tree | ecd30493cfa8b66d18547ed144ca410478b63ee9 /src/fl_color_win32.cxx | |
| parent | 83c0e840baff12c31d46f818bcb645511a0767a0 (diff) | |
More color fixes for Xft (fl_color_ wasn't always set)
Fix plastic boxtype (1 pixel too high)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_color_win32.cxx')
| -rw-r--r-- | src/fl_color_win32.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fl_color_win32.cxx b/src/fl_color_win32.cxx index 122f5ab05..5915cf807 100644 --- a/src/fl_color_win32.cxx +++ b/src/fl_color_win32.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_color_win32.cxx,v 1.14.2.3.2.3 2002/01/01 15:11:32 easysw Exp $" +// "$Id: fl_color_win32.cxx,v 1.14.2.3.2.4 2002/05/16 02:16:17 easysw Exp $" // // WIN32 color functions for the Fast Light Tool Kit (FLTK). // @@ -109,6 +109,7 @@ void fl_color(Fl_Color i) { void fl_color(uchar r, uchar g, uchar b) { static Fl_XMap xmap; COLORREF c = RGB(r,g,b); + fl_color_ = fl_rgb_color(r, g, b); if (!xmap.pen || c != xmap.rgb) { clear_xmap(xmap); set_xmap(xmap, c); @@ -221,5 +222,5 @@ fl_select_palette(void) #endif // -// End of "$Id: fl_color_win32.cxx,v 1.14.2.3.2.3 2002/01/01 15:11:32 easysw Exp $". +// End of "$Id: fl_color_win32.cxx,v 1.14.2.3.2.4 2002/05/16 02:16:17 easysw Exp $". // |
