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:
parent
5a1db672e1
commit
3f4a81bc88
@ -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);
|
||||
|
@ -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_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user