diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-17 13:57:10 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-17 13:57:10 +0000 |
commit | be40312e01ea36e1aaa86cae8551e42353849bc2 (patch) | |
tree | 5ebd3bddfa0b78f2ccfb69a3a43acc6cf37c4624 /gtk2_ardour/port_matrix_component.h | |
parent | 7eea227bcdfcd930458e7638502a4cc1194bae6d (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.h')
-rw-r--r-- | gtk2_ardour/port_matrix_component.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gtk2_ardour/port_matrix_component.h b/gtk2_ardour/port_matrix_component.h index fcb3c8da8e..d28299b8ef 100644 --- a/gtk2_ardour/port_matrix_component.h +++ b/gtk2_ardour/port_matrix_component.h @@ -88,13 +88,13 @@ protected: } /** @return width of thin lines in the grid */ - static uint32_t thin_grid_line_width () { - return 1; + static double thin_grid_line_width () { + return 0.5; } /** @return width of thick lines in the grid */ - static uint32_t thick_grid_line_width () { - return 2; + static double thick_grid_line_width () { + return 1; } /** @return space around the connection indicator */ @@ -111,12 +111,10 @@ protected: return M_PI / 4; } - /* XXX I guess these colours should come from a theme, or something */ - /** @return background colour */ - static Gdk::Color background_colour () { - return Gdk::Color ("#000000"); - } + Gdk::Color background_colour (); + + /* XXX I guess these colours should come from a theme, or something */ /** @return text colour */ static Gdk::Color text_colour () { @@ -125,7 +123,7 @@ protected: /** @return grid line colour */ static Gdk::Color grid_colour () { - return Gdk::Color ("#333333"); + return Gdk::Color ("#000000"); } /** @return colour of association blobs */ |