mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Some refactoring. Add port group headers to the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4443 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a9d67a2cc9
commit
49510ba1d7
27 changed files with 486 additions and 328 deletions
|
|
@ -124,8 +124,18 @@ protected:
|
|||
}
|
||||
}
|
||||
|
||||
/* XXX */
|
||||
static Gdk::Color get_a_group_colour (int x) {
|
||||
if ((x % 2) == 0) {
|
||||
return Gdk::Color ("#222222");
|
||||
} else {
|
||||
return Gdk::Color ("#444444");
|
||||
}
|
||||
}
|
||||
|
||||
void set_source_rgb (cairo_t *, Gdk::Color const &);
|
||||
void set_source_rgba (cairo_t *, Gdk::Color const &, double);
|
||||
std::pair<std::string, double> display_port_name (cairo_t*, std::string const &, double) const;
|
||||
|
||||
/** Render the complete component to a cairo context. */
|
||||
virtual void render (cairo_t *) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue