Author: manolo
Date: 2010-04-05 13:23:38 -0700 (Mon, 05 Apr 2010)
New Revision: 7438
Log:
device.cxx: set one dashed line to 1-pixel width
This line, and those below, will be ignored--
M device.cxx
Modified:
branches/branch-1.3-Fl_Printer/test/device.cxx
Modified: branches/branch-1.3-Fl_Printer/test/device.cxx
===================================================================
--- branches/branch-1.3-Fl_Printer/test/device.cxx 2010-04-05 20:22:43 UTC
(rev 7437)
+++ branches/branch-1.3-Fl_Printer/test/device.cxx 2010-04-05 20:23:38 UTC
(rev 7438)
@@ -172,7 +172,7 @@
fl_xyline(x()+5,y()+61,x()+48);
fl_line_style(FL_DASHDOTDOT);
fl_xyline(x()+5,y()+64,x()+48);
- fl_line_style(0,0,"\7\3\7\2");
+ fl_line_style(0,0,(char*)"\7\3\7\2");
fl_xyline(x()+5,y()+67,x()+48);
@@ -358,7 +358,7 @@
fl_line_style(0);
fl_color(FL_BLACK);
- fl_line_style(FL_DASH , 5);
+ fl_line_style(FL_DASH , 1);
fl_begin_line();
fl_vertex(10, 120);
fl_vertex(80, 120);
@@ -460,7 +460,7 @@
fl_color(FL_BLUE);
- fl_line_style(0, 5, "\12\3\4\2\2\1");
+ fl_line_style(0, 5, (char*)"\12\3\4\2\2\1");
fl_begin_line();
fl_vertex(10, 10);
fl_vertex(190, 10);
@@ -598,7 +598,6 @@
void print(Fl_Widget *, void *w) {
Fl_Widget * g = (Fl_Widget *)w;
- //Fl_Printer * p = new Fl_PS_Printer(f, 3);
Fl_Printer * p = new Fl_Printer();
//p->page(Fl_Printer::A4);
//p->place(g, 70, 70, p->page_width() - 140, p->page_height() - 140,
FL_ALIGN_CENTER);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit