From 25fe8425db613e4eaeff7898e803dd0f68fe57a5 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 26 Aug 2004 00:18:43 +0000 Subject: Quartz implementation for FLTK 1.1: - added very crude font support - added line drawing support - added line color support - added filled shapes support - added some arc and circle support (no ovals) - attempt at getting the clipping working, however the stack oriented design of Quartz is starting to become a real hassle git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index 5bc56e79f..a5b0b8f7e 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.63 2004/08/25 00:20:25 matthiaswm Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.64 2004/08/26 00:18:42 matthiaswm Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -378,12 +378,14 @@ void Fl::flush() { QDFlushPortBuffer( port, 0 ); } #elif defined (__APPLE_QUARTZ__) -#warning quartz +# warning quartz: remove this GrafPtr port; GetPort( &port ); if ( port ) { QDFlushPortBuffer( port, 0 ); } +// end remove + if (fl_gc) CGContextSynchronize(fl_gc); #else if (fl_display) XFlush(fl_display); #endif @@ -1025,5 +1027,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.63 2004/08/25 00:20:25 matthiaswm Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.64 2004/08/26 00:18:42 matthiaswm Exp $". // -- cgit v1.2.3