Author: manolo
Date: 2010-08-22 02:11:51 -0700 (Sun, 22 Aug 2010)
New Revision: 7684
Log:
Fl_PostScript_Graphics_Driver :  removed useless member variable color_ because 
equals to fl_color_

Modified:
   branches/branch-1.3/FL/Fl_PostScript.H
   branches/branch-1.3/src/Fl_PostScript.cxx

Modified: branches/branch-1.3/FL/Fl_PostScript.H
===================================================================
--- branches/branch-1.3/FL/Fl_PostScript.H      2010-08-22 08:24:37 UTC (rev 
7683)
+++ branches/branch-1.3/FL/Fl_PostScript.H      2010-08-22 09:11:51 UTC (rev 
7684)
@@ -109,7 +109,6 @@
   int lang_level_;
   int font_;
   int size_;
-  Fl_Color color_;
   int gap_;
   int pages_;
   
@@ -164,9 +163,7 @@
   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);

Modified: branches/branch-1.3/src/Fl_PostScript.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PostScript.cxx   2010-08-22 08:24:37 UTC (rev 
7683)
+++ branches/branch-1.3/src/Fl_PostScript.cxx   2010-08-22 09:11:51 UTC (rev 
7684)
@@ -915,7 +915,6 @@
 };
 
 void Fl_PostScript_Graphics_Driver::color(Fl_Color c) {
-  color_=c;
   Fl::get_color(c, cr_, cg_, cb_);
   color(cr_, cg_, cb_);
 }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to