diff options
author | corvid <corvid@lavabit.com> | 2011-09-16 21:32:12 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-09-16 21:32:12 +0000 |
commit | 0124552c47cf81e1274c8f6125634df0959d7bb2 (patch) | |
tree | 506623d57faf8519bee3edebea5d71177653117b /src | |
parent | 79d994285e609eaa319e9c492d47ab5ad5016a49 (diff) |
a compromise on tab appearance for the moment
It looks like plastic just _insists_ on mixing lots and lots of grey in,
so if you pick a color that you like in plain/gtk+, it gets seriously washed
out in plastic. There is a problem of getting nearly indistinguishable
colors.
Diffstat (limited to 'src')
-rw-r--r-- | src/uicmd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc index c5ce6578..35463c57 100644 --- a/src/uicmd.cc +++ b/src/uicmd.cc @@ -107,7 +107,7 @@ public: Fl_Group(0,0,ww,th,lbl) { Pack = NULL; tab_w = 50, tab_h = th, ctab_h = 1, btn_w = 20, ctl_w = 1*btn_w+2; - tabcolor_active = FL_DARK_CYAN; tabcolor_inactive = 206; + tabcolor_active = 0x87aca700; tabcolor_inactive = 0xb7beb700; resize(0,0,ww,ctab_h); /* tab buttons go inside a pack within a scroll */ Scroll = new Fl_Scroll(0,0,ww-ctl_w,ctab_h); @@ -252,7 +252,7 @@ UI *CustTabs::add_new_tab(UI *old_ui, int focus) btn->labelsize(btn->labelsize()-2); btn->copy_label(DEFAULT_TAB_LABEL); btn->clear_visible_focus(); - btn->box(FL_THIN_UP_BOX); + btn->box(FL_GTK_THIN_UP_BOX); btn->color(focus ? tabcolor_active : tabcolor_inactive); btn->ui(new_ui); btn->callback(tab_btn_cb, this); |