From a8d32c57d63919bc0be43e7080d3a538f9731cb4 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 19 Mar 2016 16:56:57 +0000 Subject: Remove src/drivers/XXX/Fl_XXX_Image_Surface.H files that are no longer useful. Their content is now in src/drivers/XXX/Fl_XXX_Image_Surface.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/CMakeLists.txt | 5 --- src/drivers/GDI/Fl_GDI_Image_Surface.H | 48 ---------------------------- src/drivers/Quartz/Fl_Quartz_Image_Surface.H | 47 --------------------------- src/drivers/Xlib/Fl_Xlib_Image_Surface.H | 48 ---------------------------- 4 files changed, 148 deletions(-) delete mode 100644 src/drivers/GDI/Fl_GDI_Image_Surface.H delete mode 100644 src/drivers/Quartz/Fl_Quartz_Image_Surface.H delete mode 100644 src/drivers/Xlib/Fl_Xlib_Image_Surface.H (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2ed442236..b2ff204f5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -197,7 +197,6 @@ if (USE_X11) drivers/X11/Fl_X11_Window_Driver.H drivers/Quartz/Fl_Quartz_Graphics_Driver.H drivers/Xlib/Fl_Xlib_Copy_Surface.H - drivers/Xlib/Fl_Xlib_Image_Surface.H ) elseif (USE_SDL) @@ -224,13 +223,11 @@ elseif (USE_SDL) drivers/Pico/Fl_Pico_Window_Driver.H drivers/Pico/Fl_Pico_Graphics_Driver.H drivers/Pico/Fl_Pico_Copy_Surface.H - drivers/Pico/Fl_Pico_Image_Surface.H drivers/PicoSDL/Fl_PicoSDL_System_Driver.H drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.H drivers/PicoSDL/Fl_PicoSDL_Window_Driver.H drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H drivers/PicoSDL/Fl_PicoSDL_Copy_Surface.H - drivers/PicoSDL/Fl_PicoSDL_Image_Surface.H ) elseif (APPLE) @@ -260,7 +257,6 @@ elseif (APPLE) drivers/Cocoa/Fl_Cocoa_Window_Driver.H drivers/Quartz/Fl_Quartz_Graphics_Driver.H drivers/Quartz/Fl_Quartz_Copy_Surface.H - drivers/Quartz/Fl_Quartz_Image_Surface.H ) else () @@ -289,7 +285,6 @@ else () drivers/WinAPI/Fl_WinAPI_Window_Driver.H drivers/GDI/Fl_GDI_Graphics_Driver.H drivers/GDI/Fl_GDI_Copy_Surface.H - drivers/GDI/Fl_GDI_Image_Surface.H ) endif (USE_X11) diff --git a/src/drivers/GDI/Fl_GDI_Image_Surface.H b/src/drivers/GDI/Fl_GDI_Image_Surface.H deleted file mode 100644 index 4fed1b40a..000000000 --- a/src/drivers/GDI/Fl_GDI_Image_Surface.H +++ /dev/null @@ -1,48 +0,0 @@ -// -// "$Id: Fl_GDI_Image_Surface.H 11241 2016-02-27 13:52:27Z manolo $" -// -// Draw-to-image code for the Fast Light Tool Kit (FLTK). -// -// Copyright 1998-2016 by Bill Spitzak and others. -// -// This library is free software. Distribution and use rights are outlined in -// the file "COPYING" which should have been included with this file. If this -// file is missing or damaged, see the license at: -// -// http://www.fltk.org/COPYING.php -// -// Please report all bugs and problems on the following page: -// -// http://www.fltk.org/str.php -// - -#if !defined(FL_GDI_IMAGE_SURFACE_H) && !defined(FL_DOXYGEN) -#define FL_GDI_IMAGE_SURFACE_H 1 - -#include - -class Fl_Image_Surface::Helper : public Fl_Widget_Surface { - friend class Fl_Image_Surface; -public: - Fl_Offscreen offscreen; - int width; - int height; - Fl_Surface_Device *previous; - Window pre_window; - HDC _sgc; - int _savedc; - Helper(int w, int h, int high_res); - ~Helper(); - void set_current(); - void translate(int x, int y); - void untranslate(); - Fl_RGB_Image *image(); - void end_current(); - int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} -}; - -#endif // FL_GDI_IMAGE_SURFACE_H - -// -// End of "$Id: Fl_GDI_Image_Surface.H 11220 2016-02-26 12:51:47Z manolo $". -// diff --git a/src/drivers/Quartz/Fl_Quartz_Image_Surface.H b/src/drivers/Quartz/Fl_Quartz_Image_Surface.H deleted file mode 100644 index 8e9fc9cf2..000000000 --- a/src/drivers/Quartz/Fl_Quartz_Image_Surface.H +++ /dev/null @@ -1,47 +0,0 @@ -// -// "$Id: Fl_Quartz_Image_Surface.H 11241 2016-02-27 13:52:27Z manolo $" -// -// Draw-to-image code for the Fast Light Tool Kit (FLTK). -// -// Copyright 1998-2016 by Bill Spitzak and others. -// -// This library is free software. Distribution and use rights are outlined in -// the file "COPYING" which should have been included with this file. If this -// file is missing or damaged, see the license at: -// -// http://www.fltk.org/COPYING.php -// -// Please report all bugs and problems on the following page: -// -// http://www.fltk.org/str.php -// - -#if !defined(FL_QUARTZ_IMAGE_SURFACE_H) && !defined(FL_DOXYGEN) -#define FL_QUARTZ_IMAGE_SURFACE_H 1 - -#include - -class Fl_Image_Surface::Helper : public Fl_Widget_Surface { - friend class Fl_Image_Surface; -public: - Fl_Offscreen offscreen; - Fl_Surface_Device *previous; - Window pre_window; - int was_high; - int width; - int height; - Helper(int w, int h, int high_res); - ~Helper(); - void set_current(); - void translate(int x, int y); - void untranslate(); - int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} - Fl_RGB_Image *image(); - void end_current(); -}; - -#endif // FL_QUARTZ_IMAGE_SURFACE_H - -// -// End of "$Id: Fl_Quartz_Image_Surface.H 11220 2016-02-26 12:51:47Z manolo $". -// diff --git a/src/drivers/Xlib/Fl_Xlib_Image_Surface.H b/src/drivers/Xlib/Fl_Xlib_Image_Surface.H deleted file mode 100644 index 458424ccc..000000000 --- a/src/drivers/Xlib/Fl_Xlib_Image_Surface.H +++ /dev/null @@ -1,48 +0,0 @@ -// -// "$Id: Fl_Xlib_Image_Surface.H 11241 2016-02-27 13:52:27Z manolo $" -// -// Draw-to-image code for the Fast Light Tool Kit (FLTK). -// -// Copyright 1998-2016 by Bill Spitzak and others. -// -// This library is free software. Distribution and use rights are outlined in -// the file "COPYING" which should have been included with this file. If this -// file is missing or damaged, see the license at: -// -// http://www.fltk.org/COPYING.php -// -// Please report all bugs and problems on the following page: -// -// http://www.fltk.org/str.php -// - -#if !defined(FL_XLIB_IMAGE_SURFACE_H) && !defined(FL_DOXYGEN) -#define FL_XLIB_IMAGE_SURFACE_H 1 - -#include - -class Fl_Image_Surface::Helper : public Fl_Widget_Surface { - friend class Fl_Image_Surface; -public: - Fl_Offscreen offscreen; - Fl_Surface_Device *previous; - Window pre_window; - //?int was_high; - int width; - int height; - Helper(int w, int h, int high_res); - Helper(Fl_Offscreen pixmap, int w, int h); - ~Helper(); - void set_current(); - void translate(int x, int y); - void untranslate(); - int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} - Fl_RGB_Image *image(); - void end_current(); -}; - -#endif // FL_XLIB_IMAGE_SURFACE_H - -// -// End of "$Id: Fl_Xlib_Image_Surface.H 11220 2016-02-26 12:51:47Z manolo $". -// -- cgit v1.2.3