Add global port matrix dialogs.

git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-01-23 21:24:11 +00:00
parent 9245b7f959
commit f6652f07ae
20 changed files with 434 additions and 153 deletions

View file

@ -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) {