diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-17 17:14:15 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-03-17 17:14:15 +0000 |
commit | 3b1a0655841bd6c7ba864dc9220c0e29ecfd4a9f (patch) | |
tree | abc034c4863c592a4a144197aa233127ff50f6a1 /gtk2_ardour/group_tabs.cc | |
parent | 1c6ebde9f64f8c1b5c8363d9800923425175e975 (diff) |
group tabs background/base color taken from the theme base. in the dark theme, its not quite so black and matches other base color areas
git-svn-id: svn://localhost/ardour2/branches/3.0@11723 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/group_tabs.cc')
-rw-r--r-- | gtk2_ardour/group_tabs.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/group_tabs.cc b/gtk2_ardour/group_tabs.cc index a7cd274a30..9fa9c8bf73 100644 --- a/gtk2_ardour/group_tabs.cc +++ b/gtk2_ardour/group_tabs.cc @@ -243,10 +243,12 @@ GroupTabs::render (cairo_t* cr) /* background */ - cairo_set_source_rgb (cr, 0, 0, 0); + Gdk::Color c = get_style()->get_base (Gtk::STATE_NORMAL); + + cairo_set_source_rgb (cr, c.get_red_p(), c.get_green_p(), c.get_blue_p()); cairo_rectangle (cr, 0, 0, get_width(), get_height()); cairo_fill (cr); - + /* tabs */ for (list<Tab>::const_iterator i = _tabs.begin(); i != _tabs.end(); ++i) { |