diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-06-23 10:27:09 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-06-23 10:27:09 +0000 |
| commit | 3f5710ca721bfc81e60758613161b504c0cfa50f (patch) | |
| tree | ebe8600bd8c22b1528a254f21cb24e633a00c4fa /src/fl_scroll_area.cxx | |
| parent | 05bd3ade18e53762079994c41cbb953994d994c9 (diff) | |
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
Diffstat (limited to 'src/fl_scroll_area.cxx')
| -rw-r--r-- | src/fl_scroll_area.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |
