From a1d63bc1580b40a7a0462a25b3f235dbbe57a540 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 26 Oct 2011 11:17:31 +0000 Subject: [PATCH] Mac OS: removed unused type Fl_XMap and global variable fl_current_xmap. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 4 ---- src/fl_color_mac.cxx | 5 ----- 2 files changed, 9 deletions(-) diff --git a/FL/mac.H b/FL/mac.H index 3fd52669d..cd2054172 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -131,10 +131,6 @@ private: bool subwindow; }; -extern struct Fl_XMap { - RGBColor rgb; - ulong pen; -} *fl_current_xmap; extern Window fl_window; #endif // FL_LIBRARY || FL_INTERNALS diff --git a/src/fl_color_mac.cxx b/src/fl_color_mac.cxx index 600fd8f7f..52957d4d7 100644 --- a/src/fl_color_mac.cxx +++ b/src/fl_color_mac.cxx @@ -33,11 +33,6 @@ static unsigned fl_cmap[256] = { #include "fl_cmap.h" // this is a file produced by "cmap.cxx": }; -// Translations to mac data structures: -Fl_XMap fl_xmap[256]; - -Fl_XMap* fl_current_xmap; - void Fl_Quartz_Graphics_Driver::color(Fl_Color i) { Fl_Graphics_Driver::color(i); int index;