Some small-ish port matrix rendering improvements.

git-svn-id: svn://localhost/ardour2/branches/3.0@4430 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-01-22 03:38:40 +00:00
parent 95bd7ba716
commit 24cafcf8e6
5 changed files with 21 additions and 16 deletions

View file

@ -36,9 +36,15 @@ public:
void setup ();
GdkPixmap* get_pixmap (GdkDrawable *);
std::pair<uint32_t, uint32_t> dimensions ();
void require_render () {
_render_required = true;
}
void require_rebuild () {
_dimension_computation_required = true;
_render_required = true;
}
/** @return width of columns in the grid */
static uint32_t column_width () {