summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-17 13:57:10 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-17 13:57:10 +0000
commitbe40312e01ea36e1aaa86cae8551e42353849bc2 (patch)
tree5ebd3bddfa0b78f2ccfb69a3a43acc6cf37c4624 /gtk2_ardour/port_matrix_component.cc
parent7eea227bcdfcd930458e7638502a4cc1194bae6d (diff)
Use dialog background colour for the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@5368 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r--gtk2_ardour/port_matrix_component.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc
index 3086e11e90..c6a26d41de 100644
--- a/gtk2_ardour/port_matrix_component.cc
+++ b/gtk2_ardour/port_matrix_component.cc
@@ -110,3 +110,8 @@ PortMatrixComponent::dimensions ()
return std::make_pair (_width, _height);
}
+Gdk::Color
+PortMatrixComponent::background_colour ()
+{
+ return _matrix->get_style()->get_bg (Gtk::STATE_NORMAL);
+}