Skip to content
Snippets Groups Projects
Commit cc0e8f62 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 39437758
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,6 @@ static void simple_top_box_draw(int x, int y, int w, int h, Fl_Color c) ...@@ -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(c); fl_rectf(x, y, w, h);
fl_color(FL_DARK2); fl_line(x, y, x + w, y); 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 // Icons for the satus bar
...@@ -256,10 +255,10 @@ FlGui::FlGui(int argc, char **argv) ...@@ -256,10 +255,10 @@ FlGui::FlGui(int argc, char **argv)
//#define DARK_SCHEME //#define DARK_SCHEME
#if defined(DARK_SCHEME) #if defined(DARK_SCHEME)
Fl::background(50, 50, 50); Fl::background(50, 50, 50);
Fl::background2(145, 145, 145); Fl::background2(130, 130, 130);
Fl::foreground(250, 250, 250); Fl::foreground(245, 245, 245);
for (int i = 0; i < FL_NUM_GRAY; i++) { 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.)); int d = (int)(min + i * (max - min) / (FL_NUM_GRAY - 1.));
Fl::set_color(fl_gray_ramp(i), d, d, d); Fl::set_color(fl_gray_ramp(i), d, d, d);
} }
......
...@@ -401,6 +401,7 @@ onelabGroup::onelabGroup(int x, int y, int w, int h, const char *l) ...@@ -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 = new Fl_Tree(x + dx, y + dy, w - dw, h - dh - BH - 2 * WB);
_tree->color(col); _tree->color(col);
//_tree->connectorcolor(fl_contrast(FL_WHITE, col));
_tree->callback(onelab_tree_cb); _tree->callback(onelab_tree_cb);
_tree->connectorstyle(FL_TREE_CONNECTOR_SOLID); _tree->connectorstyle(FL_TREE_CONNECTOR_SOLID);
// _tree->marginleft(0); // _tree->marginleft(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment