From 98a0be39654892de753912045a36bd7f66eac31c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 31 Aug 2004 22:00:49 +0000 Subject: Quartz for FLTK1.1 - Pixmaps now correctly support transparency/masking - subimage drawing aligned correctly - lines with a size over 1 always anti-alias - fl_begin_points/fl_end_points works - fixed refresh problem for multiple open windows Will check Linux compile right after this commit to make sure that I didn't destroy anything. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_overlay.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/fl_overlay.cxx') diff --git a/src/fl_overlay.cxx b/src/fl_overlay.cxx index 14ab40961..0baf8b69f 100644 --- a/src/fl_overlay.cxx +++ b/src/fl_overlay.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_overlay.cxx,v 1.4.2.3.2.5 2004/08/25 00:20:27 matthiaswm Exp $" +// "$Id: fl_overlay.cxx,v 1.4.2.3.2.6 2004/08/31 22:00:48 matthiaswm Exp $" // // Overlay support for the Fast Light Tool Kit (FLTK). // @@ -46,10 +46,9 @@ static void draw_current_rect() { fl_rect(px, py, pw, ph); PenMode( patCopy ); #elif defined(__APPLE_QUARTZ__) -#warning quartz - PenMode( patXor ); + // warning: Quartz does not support xor drawing + // Use the Fl_Overlay_Window instead. fl_rect(px, py, pw, ph); - PenMode( patCopy ); #else XSetFunction(fl_display, fl_gc, GXxor); XSetForeground(fl_display, fl_gc, 0xffffffff); @@ -74,5 +73,5 @@ void fl_overlay_rect(int x, int y, int w, int h) { } // -// End of "$Id: fl_overlay.cxx,v 1.4.2.3.2.5 2004/08/25 00:20:27 matthiaswm Exp $". +// End of "$Id: fl_overlay.cxx,v 1.4.2.3.2.6 2004/08/31 22:00:48 matthiaswm Exp $". // -- cgit v1.2.3