Author: matt Date: 2007-12-18 01:41:12 -0800 (Tue, 18 Dec 2007) New Revision: 6003 Log: STR #1729: fixed ovelay offset for Quartz rendering
Modified: branches/branch-1.1/CHANGES branches/branch-1.1/src/Fl_mac.cxx Modified: branches/branch-1.1/CHANGES =================================================================== --- branches/branch-1.1/CHANGES 2007-12-16 23:34:06 UTC (rev 6002) +++ branches/branch-1.1/CHANGES 2007-12-18 09:41:12 UTC (rev 6003) @@ -4,6 +4,7 @@ STR #1457, STR #1458, STR #1460, STR #1481, STR #1578, STR #1639, STR #1645, STR #1644, STR #1792, STR #1793, STR #1742, STR #1777, STR #1794, STR #1827, STR #1843) + - Fixed overlay offset for OS X Quartz (STR #1729) - gl_font() support for Xft+X11 (STR #1809) - Fl_Gl_Window::mode() needed to hide and show the window when toggling stereo mode (STR #1846) Modified: branches/branch-1.1/src/Fl_mac.cxx =================================================================== --- branches/branch-1.1/src/Fl_mac.cxx 2007-12-16 23:34:06 UTC (rev 6002) +++ branches/branch-1.1/src/Fl_mac.cxx 2007-12-18 09:41:12 UTC (rev 6003) @@ -2235,8 +2235,8 @@ CGContextClipToRect(fl_gc, r2); mx.d = -1.0; mx.tx = -mx.tx; CGContextConcatCTM(fl_gc, mx); - rect.origin.x = rect.origin.x - cx; - rect.origin.y = (mx.ty+0.5f) - rect.origin.y - h + cy; + rect.origin.x = -(mx.tx+0.5f) + rect.origin.x - cx; + rect.origin.y = (mx.ty+0.5f) - rect.origin.y - h + cy; rect.size.width = w; rect.size.height = h; } _______________________________________________ fltk-commit mailing list fltk-commit@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-commit