summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-01 17:20:25 +0000
committerManolo Gouy <Manolo>2016-03-01 17:20:25 +0000
commit7decb3d3b226854175b99ff0173ed7136e9f2176 (patch)
tree95149f69f1c6a0a8de6acca4bc706ebad21d0566 /src/Fl_cocoa.mm
parent4af165781fbaec69533b6db933e3e46778a81797 (diff)
Rewrite the Fl_Copy_Surface class with strict separation of public API and platform-related code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 291efdf19..2da202e7e 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -40,7 +40,6 @@ extern "C" {
#include <FL/Fl_Window.H>
#include <FL/Fl_Tooltip.H>
#include <FL/Fl_Printer.H>
-#include <FL/Fl_Copy_Surface.H>
#include <FL/Fl_Shared_Image.H>
#include "drivers/Quartz/Fl_Quartz_Graphics_Driver.h"
#include "drivers/Cocoa/Fl_Cocoa_Screen_Driver.h"
@@ -3322,7 +3321,7 @@ void Fl_X::set_high_resolution(bool new_val)
Fl_Display_Device::high_res_window_ = new_val;
}
-void Fl_Copy_Surface::complete_copy_pdf_and_tiff()
+void Fl_X::complete_copy_pdf_and_tiff(CGContextRef gc, CFMutableDataRef pdfdata)
{
CGContextRestoreGState(gc);
CGContextEndPage(gc);