From acf6c881d36b675d755433d3cf48613bc46ed78d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 3 Jan 2016 22:54:29 +0000 Subject: Updated platform specific #if's to report unimplemented code when compiling with FL_PORTING defined and WIN32 and __APPLE__ undefined> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 83af44b62..397507a95 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -108,6 +108,8 @@ void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx ((Fl_GDI_Graphics_Driver*)fl_graphics_driver)->copy_offscreen(x, y, w, h, pixmap, srcx, srcy); #elif defined(__APPLE__) ((Fl_Quartz_Graphics_Driver*)fl_graphics_driver)->copy_offscreen(x, y, w, h, pixmap, srcx, srcy); +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: call our version of fl_copy_offscreen" #endif } else { // when copy is not to the display @@ -379,6 +381,7 @@ void fl_end_offscreen() { #else +# pragma message "FL_PORTING: implement offscreen render space generation and management" # error unsupported platform #endif @@ -416,6 +419,7 @@ void Fl_Double_Window::flush(int eraseoverlay) { clear_damage(FL_DAMAGE_ALL); } #else +# pragma message "FL_PORTING: call a function to clear any graphics port damage flags" # error unsupported platform #endif } @@ -467,6 +471,8 @@ void Fl_Double_Window::flush(int eraseoverlay) { } else { draw(); } +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: manage double buffered drawing" #else // X: fl_window = myi->other_xid; draw(); -- cgit v1.2.3