Author: manolo
Date: 2010-08-22 01:24:37 -0700 (Sun, 22 Aug 2010)
New Revision: 7683
Log:
Fl_PostScript_Graphics_Driver::color() : fl_color_ global var should be set
for fl_color() call to be correct.
Fixes STR 2401
Modified:
branches/branch-1.3/src/Fl_PostScript.cxx
Modified: branches/branch-1.3/src/Fl_PostScript.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PostScript.cxx 2010-08-22 07:53:24 UTC (rev
7682)
+++ branches/branch-1.3/src/Fl_PostScript.cxx 2010-08-22 08:24:37 UTC (rev
7683)
@@ -921,6 +921,7 @@
}
void Fl_PostScript_Graphics_Driver::color(unsigned char r, unsigned char g,
unsigned char b) {
+ fl_color_ = fl_rgb_color(r, g, b);
cr_ = r; cg_ = g; cb_ = b;
if (r == g && g == b) {
double gray = r/255.0;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit