Author: manolo
Date: 2012-05-01 07:33:30 -0700 (Tue, 01 May 2012)
New Revision: 9421
Log:
Fix STR#2831: regression in Fl_Pixmap drawing under X11.
Modified:
branches/branch-1.3/FL/Fl_Pixmap.H
branches/branch-1.3/src/Fl_Pixmap.cxx
Modified: branches/branch-1.3/FL/Fl_Pixmap.H
===================================================================
--- branches/branch-1.3/FL/Fl_Pixmap.H 2012-05-01 00:43:56 UTC (rev 9420)
+++ branches/branch-1.3/FL/Fl_Pixmap.H 2012-05-01 14:33:30 UTC (rev 9421)
@@ -46,7 +46,7 @@
void copy_data();
void delete_data();
void set_data(const char * const *p);
- int prepare(int XP, int YP, int WP, int HP, int cx, int cy,
+ int prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
int &X, int &Y, int &W, int &H);
protected:
Modified: branches/branch-1.3/src/Fl_Pixmap.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Pixmap.cxx 2012-05-01 00:43:56 UTC (rev
9420)
+++ branches/branch-1.3/src/Fl_Pixmap.cxx 2012-05-01 14:33:30 UTC (rev
9421)
@@ -92,7 +92,7 @@
return 0;
}
-int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int cx, int cy,
+int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
int &X, int &Y, int &W, int &H) {
if (w() < 0) measure();
int code = start(this, XP, YP, WP, HP, w(), h(), cx, cy, X, Y, W, H);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit