summaryrefslogtreecommitdiff
path: root/FL/Fl_Paged_Device.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-03 22:54:29 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-03 22:54:29 +0000
commitacf6c881d36b675d755433d3cf48613bc46ed78d (patch)
tree13cebc8f8fd918767595da12fafb5a600db2feb3 /FL/Fl_Paged_Device.H
parent933b00b9c9fe55d01a7f1c4831f171482806f85b (diff)
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
Diffstat (limited to 'FL/Fl_Paged_Device.H')
-rw-r--r--FL/Fl_Paged_Device.H9
1 files changed, 8 insertions, 1 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index 5869018b5..9dd6b7d8d 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -36,7 +36,14 @@
or Fl_PostScript_File_Device instead.
*/
class FL_EXPORT Fl_Paged_Device : public Fl_Surface_Device {
-#ifndef __APPLE__
+#ifdef __APPLE__
+ // not needed
+#elif defined(WIN32)
+ friend class Fl_Copy_Surface;
+ void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset, Fl_Surface_Device *toset);
+#elif defined(FL_PORTING)
+# pragma message "FL_PORTING: define member variables to support Fl_Copy_Surface in Fl_Paged_Device"
+#else // X11
friend class Fl_Copy_Surface;
void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset, Fl_Surface_Device *toset);
#endif