diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-03 22:54:29 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-03 22:54:29 +0000 |
| commit | acf6c881d36b675d755433d3cf48613bc46ed78d (patch) | |
| tree | 13cebc8f8fd918767595da12fafb5a600db2feb3 /FL/Fl_PostScript.H | |
| parent | 933b00b9c9fe55d01a7f1c4831f171482806f85b (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_PostScript.H')
| -rw-r--r-- | FL/Fl_PostScript.H | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index c635e88ef..1c048391f 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -201,6 +201,12 @@ class Clip { void draw(const char* s, int nBytes, int x, int y) {transformed_draw(s,nBytes,x,y); }; #ifdef __APPLE__ void draw(const char* s, int nBytes, float x, float y) {transformed_draw(s,nBytes,x,y); }; +#elif defined(WIN32) + // not needed +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: define floating point position text drawing if you have it" +#else // X11 + // not needed #endif void draw(int angle, const char *str, int n, int x, int y); void rtl_draw(const char* s, int n, int x, int y); @@ -226,6 +232,12 @@ class Clip { class FL_EXPORT Fl_PostScript_File_Device : public Fl_Paged_Device { #ifdef __APPLE__ CGContextRef gc; +#elif defined(WIN32) + // not needed +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: define storage for your graphics context in Fl_Postscript_File_Device if needed" +#else // X11 + // not needed #endif protected: Fl_PostScript_Graphics_Driver *driver(); @@ -252,6 +264,12 @@ public: void end_job(void); #ifdef __APPLE__ void set_current() { fl_gc = gc; Fl_Paged_Device::set_current(); } +#elif defined(WIN32) + // not needed +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: set access to your graphics context in Fl_Postscript_File_Device if needed" +#else // X11 + // not needed #endif static const char *file_chooser_title; |
