summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_group_tabs.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-30 10:14:06 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-30 10:14:06 -0400
commita0e399f7dd15a69c25660f4a4bb58b12f27297a6 (patch)
treeea72d54f631b3b49bd1ecc546576f48ebbbc6e35 /gtk2_ardour/editor_group_tabs.cc
parent4df566782c377b3161218daf279effff11010521 (diff)
make inactive group tab color be themeable and update it dynamically
Diffstat (limited to 'gtk2_ardour/editor_group_tabs.cc')
-rw-r--r--gtk2_ardour/editor_group_tabs.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_group_tabs.cc b/gtk2_ardour/editor_group_tabs.cc
index fb7081df2c..af5e63bd55 100644
--- a/gtk2_ardour/editor_group_tabs.cc
+++ b/gtk2_ardour/editor_group_tabs.cc
@@ -23,6 +23,7 @@
#include "canvas/utils.h"
+#include "ardour_ui.h"
#include "editor.h"
#include "editor_group_tabs.h"
#include "editor_route_groups.h"
@@ -94,9 +95,7 @@ EditorGroupTabs::draw_tab (cairo_t* cr, Tab const & tab) const
if (tab.group && tab.group->is_active()) {
ArdourCanvas::color_to_rgba (tab.color, r, g, b, a);
} else {
- r = 0.0;
- g = 0.0;
- b = 0.0;
+ ArdourCanvas::color_to_rgba (ARDOUR_UI::config()->get_canvasvar_InactiveGroupTab(), r, g, b, a);
}
a = 1.0;