From 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 13 Feb 2016 12:57:00 +0000 Subject: Details on PORTME items. Move fl_parse_color() to screen drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Copy_Surface.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Fl_Copy_Surface.cxx') diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx index 56cf4d14f..b1cc00b8b 100644 --- a/src/Fl_Copy_Surface.cxx +++ b/src/Fl_Copy_Surface.cxx @@ -21,7 +21,7 @@ #include -#if defined(__APPLE__) // PORTME: platform copy surface +#if defined(__APPLE__) // PORTME: Fl_Surface_Driver - platform copy surface #include Fl_Quartz_Surface_::Fl_Quartz_Surface_(int w, int h) : Fl_System_Printer(), width(w), height(h) { @@ -75,7 +75,7 @@ Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Surface_Device(NULL) { width = w; height = h; -#ifdef __APPLE__ // PORTME: platform copy surface +#ifdef __APPLE__ // PORTME: Fl_Surface_Driver - platform copy surface helper = new Fl_Quartz_Surface_(width, height); driver(helper->driver()); prepare_copy_pdf_and_tiff(w, h); @@ -120,7 +120,7 @@ Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Surface_Device(NULL) */ Fl_Copy_Surface::~Fl_Copy_Surface() { -#ifdef __APPLE__ // PORTME: platform copy surface +#ifdef __APPLE__ // PORTME: Fl_Surface_Driver - platform copy surface complete_copy_pdf_and_tiff(); fl_gc = oldgc; delete (Fl_Quartz_Surface_*)helper; @@ -165,7 +165,7 @@ void Fl_Copy_Surface::draw(Fl_Widget* widget, int delta_x, int delta_y) void Fl_Copy_Surface::set_current() { -#if defined(__APPLE__) || defined(WIN32) // PORTME: platform copy surface +#if defined(__APPLE__) || defined(WIN32) // PORTME: Fl_Surface_Driver - platform copy surface fl_gc = gc; fl_window = (Window)1; Fl_Surface_Device::set_current(); @@ -180,7 +180,7 @@ void Fl_Copy_Surface::set_current() } -#if defined(__APPLE__) // PORTME: platform copy surface +#if defined(__APPLE__) // PORTME: Fl_Surface_Driver - platform copy surface size_t Fl_Copy_Surface::MyPutBytes(void* info, const void* buffer, size_t count) { @@ -218,7 +218,7 @@ void Fl_Copy_Surface::prepare_copy_pdf_and_tiff(int w, int h) CGContextSaveGState(gc); } -#endif // __APPLE__ // PORTME: platform copy surface +#endif // __APPLE__ // PORTME: Fl_Surface_Driver - platform copy surface /** Copies a window and its borders and title bar to the clipboard. @@ -232,7 +232,7 @@ void Fl_Copy_Surface::draw_decorated_window(Fl_Window* win, int delta_x, int del } #if defined(WIN32) -#elif defined(__APPLE__) // PORTME: platform copy surface +#elif defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform copy surface #elif defined(FL_PORTING) # pragma message "FL_PORTING: do you need a helper class for your graphics driver" #elif !defined(FL_DOXYGEN) -- cgit v1.2.3