From b709b2a2d3451ec48d454a895a459dadf7c184e5 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 16 Feb 2021 15:48:50 +0100 Subject: Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Tree_Prefs.cxx --- src/Fl_Tree_Prefs.cxx | 59 +-------------------------------------------------- 1 file changed, 1 insertion(+), 58 deletions(-) (limited to 'src/Fl_Tree_Prefs.cxx') diff --git a/src/Fl_Tree_Prefs.cxx b/src/Fl_Tree_Prefs.cxx index a42923560..4bfe484ec 100644 --- a/src/Fl_Tree_Prefs.cxx +++ b/src/Fl_Tree_Prefs.cxx @@ -18,74 +18,17 @@ // https://www.fltk.org/bugs.php // -#include "config_lib.h" +#include #include "Fl_System_Driver.H" #include #include #include -#ifdef FL_CFG_WIN_COCOA -#include "drivers/Darwin/Fl_Darwin_System_Driver.H" -#endif - // INTERNAL: BUILT IN OPEN/STOW XPMS // These can be replaced via prefs.openicon()/closeicon() // -#ifdef FL_CFG_WIN_COCOA - -const char * const Fl_Darwin_System_Driver::tree_open_xpm_darwin[] = { - "11 11 2 1", - ". c None", - "@ c #000000", - "...@.......", - "...@@......", - "...@@@.....", - "...@@@@....", - "...@@@@@...", - "...@@@@@@..", - "...@@@@@...", - "...@@@@....", - "...@@@.....", - "...@@......", - "...@......." -}; - -const char * const Fl_Darwin_System_Driver::tree_close_xpm_darwin[] = { - "11 11 2 1", - ". c None", - "@ c #000000", - "...........", - "...........", - "...........", - "@@@@@@@@@@@", - ".@@@@@@@@@.", - "..@@@@@@@..", - "...@@@@@...", - "....@@@....", - ".....@.....", - "...........", - "..........." -}; - -Fl_Pixmap *Fl_Darwin_System_Driver::tree_openpixmap() { - static Fl_Pixmap *pixmap = new Fl_Pixmap(tree_open_xpm_darwin); - return pixmap; -} - -Fl_Pixmap *Fl_Darwin_System_Driver::tree_closepixmap() { - static Fl_Pixmap *pixmap = new Fl_Pixmap(tree_close_xpm_darwin); - return pixmap; -} - -int Fl_Darwin_System_Driver::tree_connector_style() { - return FL_TREE_CONNECTOR_NONE; -} - -#endif // FL_CFG_WIN_COCOA - - /** \cond DriverDev \addtogroup DriverDeveloper -- cgit v1.2.3