diff options
| author | Manolo Gouy <Manolo> | 2011-02-06 12:32:23 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-06 12:32:23 +0000 |
| commit | 6a5feafe23e6e37009312aa40b63d19ad9cff886 (patch) | |
| tree | a5d1d7b429cec1ae3f21647e9777a5bc66c0b8c3 /src/Fl_PostScript.cxx | |
| parent | 5e7232e776d3325ecc1a336453a3f846a1872ff1 (diff) | |
Replaced global variable fl_color_ by a private member of the Fl_Graphics_Driver class,
and a public getter to it: Fl_Graphics_Driver::color().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_PostScript.cxx')
| -rw-r--r-- | src/Fl_PostScript.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index 178d2b479..6aea75ba7 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -940,7 +940,7 @@ void Fl_PostScript_Graphics_Driver::color(Fl_Color c) { } void Fl_PostScript_Graphics_Driver::color(unsigned char r, unsigned char g, unsigned char b) { - fl_color_ = fl_rgb_color(r, g, b); + Fl_Graphics_Driver::color( fl_rgb_color(r, g, b) ); cr_ = r; cg_ = g; cb_ = b; if (r == g && g == b) { double gray = r/255.0; |
