Mac OS only: simpler definition of the pdfdata private member of the Fl_Copy_Surface class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
364dfaf802
commit
0d2517331c
@ -54,7 +54,7 @@ private:
|
|||||||
int height;
|
int height;
|
||||||
Fl_Paged_Device *helper;
|
Fl_Paged_Device *helper;
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
Fl_CFMutableDataRef pdfdata;
|
CFMutableDataRef pdfdata;
|
||||||
CGContextRef oldgc;
|
CGContextRef oldgc;
|
||||||
CGContextRef gc;
|
CGContextRef gc;
|
||||||
void prepare_copy_pdf_and_tiff(int w, int h);
|
void prepare_copy_pdf_and_tiff(int w, int h);
|
||||||
|
3
FL/mac.H
3
FL/mac.H
@ -41,7 +41,7 @@ typedef struct OpaquePMPrintSettings* PMPrintSettings;
|
|||||||
typedef struct OpaquePMPageFormat* PMPageFormat;
|
typedef struct OpaquePMPageFormat* PMPageFormat;
|
||||||
typedef struct OpaquePMPrintSession* PMPrintSession;
|
typedef struct OpaquePMPrintSession* PMPrintSession;
|
||||||
typedef struct CGImage* CGImageRef;
|
typedef struct CGImage* CGImageRef;
|
||||||
typedef void *Fl_CFMutableDataRef; // used in Fl_Copy_Surface.H
|
typedef struct __CFData* CFMutableDataRef; // used in Fl_Copy_Surface.H
|
||||||
typedef CGContextRef Fl_Offscreen;
|
typedef CGContextRef Fl_Offscreen;
|
||||||
|
|
||||||
#else // this part must be compiled when building the FLTK libraries
|
#else // this part must be compiled when building the FLTK libraries
|
||||||
@ -96,7 +96,6 @@ class NSOpenGLContext;
|
|||||||
#endif // __OBJC__
|
#endif // __OBJC__
|
||||||
|
|
||||||
typedef CGContextRef Fl_Offscreen;
|
typedef CGContextRef Fl_Offscreen;
|
||||||
typedef CFMutableDataRef Fl_CFMutableDataRef;
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
|
||||||
typedef CGImageAlphaInfo CGBitmapInfo;
|
typedef CGImageAlphaInfo CGBitmapInfo;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user