summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.h
diff options
context:
space:
mode:
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) {