summaryrefslogtreecommitdiff
path: root/src/fl_color.cxx
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/fl_color.cxx
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/fl_color.cxx')
-rw-r--r--src/fl_color.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/fl_color.cxx b/src/fl_color.cxx
index c4ab6e869..d2d737bbb 100644
--- a/src/fl_color.cxx
+++ b/src/fl_color.cxx
@@ -24,18 +24,16 @@
// Implementation of fl_color(i), fl_color(r,g,b).
#include <FL/Fl_Device.H>
+#include <FL/Fl.H>
#include <config.h>
#include "config_lib.h"
+// Apple Quartz driver in "drivers/Quartz/Fl_Quartz_Graphics_Driver_color.cxx"
-// -----------------------------------------------------------------------------
-
-
-#ifdef FL_CFG_GFX_QUARTZ
-# include "drivers/Quartz/Fl_Quartz_Graphics_Driver_color.cxx"
-
-#endif
+static unsigned fl_cmap[256] = {
+#include "fl_cmap.h" // this is a file produced by "cmap.cxx":
+};
// -----------------------------------------------------------------------------