summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-23 21:24:11 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-23 21:24:11 +0000
commitf6652f07ae2bfa9d7984c5b6feffd6479faec034 (patch)
tree8f02ca41d0f56eb20be3f684eefdf29e218c3a1e /gtk2_ardour/port_matrix_component.h
parent9245b7f95947ae196b8bb734ecb9767a362cccfe (diff)
Add global port matrix dialogs.
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.h')
-rw-r--r--gtk2_ardour/port_matrix_component.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk2_ardour/port_matrix_component.h b/gtk2_ardour/port_matrix_component.h
index cd836f82ee..7c836ee96f 100644
--- a/gtk2_ardour/port_matrix_component.h
+++ b/gtk2_ardour/port_matrix_component.h
@@ -90,26 +90,31 @@ protected:
/* XXX I guess these colours should come from a theme, or something */
- /* @return background colour */
+ /** @return background colour */
static Gdk::Color background_colour () {
return Gdk::Color ("#000000");
}
- /* @return text colour */
+ /** @return text colour */
static Gdk::Color text_colour () {
return Gdk::Color ("#ffffff");
}
- /* @return grid line colour */
+ /** @return grid line colour */
static Gdk::Color grid_colour () {
return Gdk::Color ("#333333");
}
- /* @return colour of association blobs */
+ /** @return colour of association blobs */
static Gdk::Color association_colour () {
return Gdk::Color ("#00ff00");
}
+ /** @return colour to paint grid squares when they can't be associated */
+ static Gdk::Color unknown_colour () {
+ return Gdk::Color ("#cccccc");
+ }
+
/* XXX */
static Gdk::Color get_a_bundle_colour (int x) {
if ((x % 2) == 0) {