Author: manolo
Date: 2011-02-22 09:50:25 -0800 (Tue, 22 Feb 2011)
New Revision: 8463
Log:
Fl_Text_Display widget: added a call to paint all the widget area with its 
background color
when it's fully redrawn, to avoid thin grey lines that appear when this widget 
is printed.

Modified:
   branches/branch-1.3/src/Fl_Text_Display.cxx

Modified: branches/branch-1.3/src/Fl_Text_Display.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Text_Display.cxx 2011-02-22 09:41:26 UTC (rev 
8462)
+++ branches/branch-1.3/src/Fl_Text_Display.cxx 2011-02-22 17:50:25 UTC (rev 
8463)
@@ -3359,6 +3359,8 @@
   // draw the non-text, non-scrollbar areas.
   if (damage() & FL_DAMAGE_ALL) {
     //    printf("drawing all (box = %d)\n", box());
+    // draw the background
+    fl_rectf(text_area.x, text_area.y, text_area.w, text_area.h, color() );
     // draw the box()
     int W = w(), H = h();
     draw_box(box(), x(), y(), W, H, color());

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

Reply via email to