From cc0e8f62b2448ad670d95e00570c8479c66b4504 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 22 Mar 2015 10:58:30 +0000
Subject: [PATCH]

---
 Fltk/FlGui.cpp       | 7 +++----
 Fltk/onelabGroup.cpp | 1 +
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp
index fd8ed0d7a0..a2e94115c9 100644
--- a/Fltk/FlGui.cpp
+++ b/Fltk/FlGui.cpp
@@ -98,7 +98,6 @@ static void simple_top_box_draw(int x, int y, int w, int h, Fl_Color c)
 {
   fl_color(c); fl_rectf(x, y, w, h);
   fl_color(FL_DARK2); fl_line(x, y, x + w, y);
-  //fl_color(FL_LIGHT2); fl_line(x, y+1, x + w, y+1);
 }
 
 // Icons for the satus bar
@@ -256,10 +255,10 @@ FlGui::FlGui(int argc, char **argv)
 //#define DARK_SCHEME
 #if defined(DARK_SCHEME)
   Fl::background(50, 50, 50);
-  Fl::background2(145, 145, 145);
-  Fl::foreground(250, 250, 250);
+  Fl::background2(130, 130, 130);
+  Fl::foreground(245, 245, 245);
   for (int i = 0; i < FL_NUM_GRAY; i++) {
-    double min = 0., max = 165.;
+    double min = 0., max = 135.;
     int d = (int)(min + i * (max - min) / (FL_NUM_GRAY - 1.));
     Fl::set_color(fl_gray_ramp(i), d, d, d);
   }
diff --git a/Fltk/onelabGroup.cpp b/Fltk/onelabGroup.cpp
index fabb78e718..596ec685e0 100644
--- a/Fltk/onelabGroup.cpp
+++ b/Fltk/onelabGroup.cpp
@@ -401,6 +401,7 @@ onelabGroup::onelabGroup(int x, int y, int w, int h, const char *l)
 
   _tree = new Fl_Tree(x + dx, y + dy, w - dw, h - dh - BH - 2 * WB);
   _tree->color(col);
+  //_tree->connectorcolor(fl_contrast(FL_WHITE, col));
   _tree->callback(onelab_tree_cb);
   _tree->connectorstyle(FL_TREE_CONNECTOR_SOLID);
   // _tree->marginleft(0);
-- 
GitLab