summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-08-22 09:11:51 +0000
committerManolo Gouy <Manolo>2010-08-22 09:11:51 +0000
commit3f4a81bc88e2056025b2d4e7c5439b62431ec7c4 (patch)
treeb19ae782680448f5c15ca53b83a44806e57f15d0
parent5a1db672e15d98ebff2a6d5133899031a576e21d (diff)
Fl_PostScript_Graphics_Driver : removed useless member variable color_ because equals to fl_color_
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_PostScript.H3
-rw-r--r--src/Fl_PostScript.cxx1
2 files changed, 0 insertions, 4 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H
index c753a7776..447a8bd1c 100644
--- a/FL/Fl_PostScript.H
+++ b/FL/Fl_PostScript.H
@@ -109,7 +109,6 @@ class Clip {
int lang_level_;
int font_;
int size_;
- Fl_Color color_;
int gap_;
int pages_;
@@ -164,9 +163,7 @@ class Clip {
char *ps_filename_;
// implementation of drawing methods
void color(Fl_Color c);
- //void bg_color(Fl_Color bg);
void color(uchar r, uchar g, uchar b);
- Fl_Color color(){return color_;};
void push_clip(int x, int y, int w, int h);
int clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H);
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx
index ce6e6ae33..4f6eb2c10 100644
--- a/src/Fl_PostScript.cxx
+++ b/src/Fl_PostScript.cxx
@@ -915,7 +915,6 @@ void Fl_PostScript_Graphics_Driver::font(int f, int s) {
};
void Fl_PostScript_Graphics_Driver::color(Fl_Color c) {
- color_=c;
Fl::get_color(c, cr_, cg_, cb_);
color(cr_, cg_, cb_);
}