From 3f5710ca721bfc81e60758613161b504c0cfa50f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 23 Jun 2006 10:27:09 +0000 Subject: Attempt to improve on fl_scroll for Quartz on Mac, but we probably already use the best function. Added comment noting this attempt. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_scroll_area.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/fl_scroll_area.cxx b/src/fl_scroll_area.cxx index abf7a0038..cf1947fa9 100644 --- a/src/fl_scroll_area.cxx +++ b/src/fl_scroll_area.cxx @@ -115,6 +115,7 @@ void fl_scroll(int X, int Y, int W, int H, int dx, int dy, GetPortBitMapForCopyBits( GetWindowPort(fl_window) ), &src, &dst, srcCopy, 0L); #elif defined(__APPLE_QUARTZ__) // warning: there does not seem to be an equivalent to this function in Quartz + // ScrollWindowRect is a QuickDraw function and won't work here. Rect src = { src_y, src_x, src_y+src_h, src_x+src_w }; Rect dst = { dest_y, dest_x, dest_y+src_h, dest_x+src_w }; static RGBColor bg = { 0xffff, 0xffff, 0xffff }; RGBBackColor( &bg ); -- cgit v1.2.3