summaryrefslogtreecommitdiff
path: root/src/Fl_Tree_Prefs.cxx
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/Fl_Tree_Prefs.cxx
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/Fl_Tree_Prefs.cxx')
-rw-r--r--src/Fl_Tree_Prefs.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Fl_Tree_Prefs.cxx b/src/Fl_Tree_Prefs.cxx
index 783787704..1cf91bd06 100644
--- a/src/Fl_Tree_Prefs.cxx
+++ b/src/Fl_Tree_Prefs.cxx
@@ -28,7 +28,7 @@
// These can be replaced via prefs.openicon()/closeicon()
//
static const char * const L_open_xpm[] = {
-#ifdef __APPLE__
+#ifdef __APPLE__ // PORTME: platform look and feel
"11 11 2 1",
". c None",
"@ c #000000",
@@ -43,7 +43,7 @@ static const char * const L_open_xpm[] = {
"...@@@.....",
"...@@......",
"...@......."
-#else /* __APPLE__ */
+#else /* __APPLE__ */ // PORTME: platform look and feel
"11 11 3 1",
". c #fefefe",
"# c #444444",
@@ -59,12 +59,12 @@ static const char * const L_open_xpm[] = {
"#.........#",
"#.........#",
"###########"
-#endif /* __APPLE__ */
+#endif /* __APPLE__ */ // PORTME: platform look and feel
};
static Fl_Pixmap L_openpixmap(L_open_xpm);
static const char * const L_close_xpm[] = {
-#ifdef __APPLE__
+#ifdef __APPLE__ // PORTME: platform look and feel
"11 11 2 1",
". c None",
"@ c #000000",
@@ -79,7 +79,7 @@ static const char * const L_close_xpm[] = {
".....@.....",
"...........",
"..........."
-#else /* __APPLE__ */
+#else /* __APPLE__ */ // PORTME: platform look and feel
"11 11 3 1",
". c #fefefe",
"# c #444444",
@@ -95,7 +95,7 @@ static const char * const L_close_xpm[] = {
"#.........#",
"#.........#",
"###########"
-#endif /* __APPLE__ */
+#endif /* __APPLE__ */ // PORTME: platform look and feel
};
static Fl_Pixmap L_closepixmap(L_close_xpm);
@@ -157,7 +157,7 @@ Fl_Tree_Prefs::Fl_Tree_Prefs() {
_labelfgcolor = FL_BLACK;
_labelbgcolor = 0xffffffff; // we use this as 'transparent'
_connectorcolor = Fl_Color(43);
-#ifdef __APPLE__
+#ifdef __APPLE__ // PORTME: platform look and feel
_connectorstyle = FL_TREE_CONNECTOR_NONE;
#else /* __APPLE__ */
_connectorstyle = FL_TREE_CONNECTOR_DOTTED;