summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-27 22:35:58 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-27 22:35:58 +0000
commit780f43a4f14f56678c503fa279517c418b697877 (patch)
treefdb76e5f5b0b47ca652b497e5c096d60d0a67c54 /src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
parent6177c23d901c8748fd908b3bd1106b403f017d7f (diff)
Removed all references to Quartz driver files from library headers in Xcode. Works in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
index 150e51358..829c3dd5e 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
@@ -22,8 +22,11 @@
\brief Definition of Apple Quartz graphics driver.
*/
-#ifndef FL_CFG_GFX_QUARTZ_H
-#define FL_CFG_GFX_QUARTZ_H
+#include "config_lib.h"
+#ifdef FL_CFG_GFX_QUARTZ
+
+#ifndef FL_QUARTZ_GRAPHICS_DRIVER_H
+#define FL_QUARTZ_GRAPHICS_DRIVER_H
#include <FL/Fl_Device.H>
@@ -117,15 +120,9 @@ protected:
};
-/** Graphics driver used for Mac OS X printing. */
-class Fl_Quartz_Printer_Graphics_Driver : public Fl_Quartz_Graphics_Driver {
-public:
- virtual int has_feature(driver_feature mask) { return mask & (NATIVE | PRINTER); }
-};
-
-
+#endif // FL_QUARTZ_GRAPHICS_DRIVER_H
-#endif // FL_CFG_GFX_QUARTZ_H
+#endif // FL_CFG_GFX_QUARTZ
//
// End of "$Id: quartz.H 11017 2016-01-20 21:40:12Z matt $".