diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-22 03:38:40 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-22 03:38:40 +0000 |
commit | 24cafcf8e6fe3d4e303125037bd9efc534e61646 (patch) | |
tree | d209408f8087bc6a0779203bb67eb764b7af7b62 /gtk2_ardour/port_matrix_component.h | |
parent | 95bd7ba71695bbe0334239751266674f9ce1a6b7 (diff) |
Some small-ish port matrix rendering improvements.
git-svn-id: svn://localhost/ardour2/branches/3.0@4430 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.h')
-rw-r--r-- | gtk2_ardour/port_matrix_component.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix_component.h b/gtk2_ardour/port_matrix_component.h index a041c807e8..cd836f82ee 100644 --- a/gtk2_ardour/port_matrix_component.h +++ b/gtk2_ardour/port_matrix_component.h @@ -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 () { |