Author: manolo
Date: 2010-06-15 10:44:51 -0700 (Tue, 15 Jun 2010)
New Revision: 7643
Log:
Removed commented-out debugging statements
Modified:
branches/branch-1.3/src/Fl_Double_Window.cxx
Modified: branches/branch-1.3/src/Fl_Double_Window.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Double_Window.cxx 2010-06-15 08:20:15 UTC
(rev 7642)
+++ branches/branch-1.3/src/Fl_Double_Window.cxx 2010-06-15 17:44:51 UTC
(rev 7643)
@@ -143,7 +143,6 @@
DeleteDC(new_gc);
}
-//#include <FL/fl_ask.H>
void fl_copy_offscreen_with_alpha(int x,int y,int w,int h,HBITMAP bitmap,int
srcx,int srcy) {
HDC new_gc = CreateCompatibleDC(fl_gc);
int save = SaveDC(new_gc);
@@ -152,10 +151,8 @@
// first try to alpha blend
// if to printer, always try alpha_blend
int to_display = Fl_Surface_Device::surface()->type() ==
Fl_Display_Device::device_type; // true iff display output
-//fl_alert("to_display=%d ",to_display);
if ( (to_display && fl_can_do_alpha_blending()) ||
Fl_Surface_Device::surface()->type() == Fl_Printer::device_type) {
alpha_ok = fl_alpha_blend(fl_gc, x, y, w, h, new_gc, srcx, srcy, w, h,
blendfunc);
-//fl_alert("alpha_ok=%d",alpha_ok);
}
// if that failed (it shouldn't), still copy the bitmap over, but now alpha
is 1
if (!alpha_ok) {
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit