Author: AlbrechtS
Date: 2011-11-28 04:53:18 -0800 (Mon, 28 Nov 2011)
New Revision: 9189
Log:
Fixed broken Windows compilation.
Modified:
branches/branch-3.0/src/fltk3/Pixmap.cxx
Modified: branches/branch-3.0/src/fltk3/Pixmap.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/Pixmap.cxx 2011-11-28 12:32:56 UTC (rev
9188)
+++ branches/branch-3.0/src/fltk3/Pixmap.cxx 2011-11-28 12:53:18 UTC (rev
9189)
@@ -127,6 +127,9 @@
}
#elif defined(WIN32)
+
+extern UINT win_pixmap_bg_color; // computed by fltk3::draw_pixmap()
+
void fltk3::GDIGraphicsDriver::draw(fltk3::Pixmap *pxm, int XP, int YP, int
WP, int HP, int cx, int cy) {
int X, Y, W, H;
if (pxm->w() < 0) pxm->measure();
@@ -168,7 +171,6 @@
int save = SaveDC(new_gc);
SelectObject(new_gc, (void*)tmp_id);
// print all of offscreen but its parts in background color
- extern UINT win_pixmap_bg_color; // computed by fltk3::draw_pixmap()
fl_TransparentBlt(fl_gc, X, Y, W, H, new_gc, cx, cy, pxm->w(), pxm->h(),
win_pixmap_bg_color );
RestoreDC(new_gc,save);
DeleteDC(new_gc);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit