summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Display_Device.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
commit50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch)
tree4b62978d21ee57df7027461b8ea2846c17308d11 /src/drivers/Quartz/Fl_Quartz_Display_Device.h
parenta3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (diff)
Mark places that need to be refactored with // PORTME:
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Display_Device.h')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Display_Device.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Display_Device.h b/src/drivers/Quartz/Fl_Quartz_Display_Device.h
index 221b80478..15724cc84 100644
--- a/src/drivers/Quartz/Fl_Quartz_Display_Device.h
+++ b/src/drivers/Quartz/Fl_Quartz_Display_Device.h
@@ -26,41 +26,6 @@
#define FL_QUARTZ_DISPLAY_DEVICE_H
// FIXME: implement this
-#if 0
-#include <FL/x.H>
-#include <FL/Fl_Plugin.H>
-#include <FL/Fl_Image.H>
-#include <FL/Fl_Bitmap.H>
-#include <FL/Fl_Pixmap.H>
-#include <FL/Fl_RGB_Image.H>
-#include <stdlib.h>
-
-/**
- A display to which the computer can draw.
- When the program begins running, an Fl_Display_Device instance has been created and made the current drawing surface.
- There is no need to create any other object of this class.
- */
-class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device {
- friend class Fl_Quartz_Graphics_Driver;
- static Fl_Display_Device *_display; // the platform display device
-#ifdef __APPLE__
- friend class Fl_X;
- friend class Fl_Graphics_Driver;
- static bool high_res_window_; //< true when drawing to a window of a retina display (Mac OS X only)
- static bool high_resolution() {return high_res_window_;}
-#elif defined(WIN32)
-#elif defined(FL_PORTING)
-# pragma message "FL_PORTING: implement functions for extra high res drawing if your platform supports it"
-#else
-#endif
-public:
- static const char *class_id;
- const char *class_name() {return class_id;};
- Fl_Display_Device(Fl_Graphics_Driver *graphics_driver);
- static Fl_Display_Device *display_device();
-};
-
-#endif
#endif // FL_QUARTZ_DISPLAY_DEVICE_H