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
This commit is contained in:
Manolo Gouy 2010-08-22 09:11:51 +00:00
parent 5a1db672e1
commit 3f4a81bc88
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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_);
}