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_body.cc | |
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_body.cc')
-rw-r--r-- | gtk2_ardour/port_matrix_body.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/port_matrix_body.cc b/gtk2_ardour/port_matrix_body.cc index 3a69c4ccf2..8ce1d8b635 100644 --- a/gtk2_ardour/port_matrix_body.cc +++ b/gtk2_ardour/port_matrix_body.cc @@ -232,14 +232,14 @@ PortMatrixBody::setup ( for (std::vector<boost::shared_ptr<ARDOUR::Bundle> >::iterator i = _row_bundles.begin(); i != _row_bundles.end(); ++i) { _bundle_connections.push_back ( - (*i)->NameChanged.connect (sigc::mem_fun (*this, &PortMatrixBody::repaint_row_labels)) + (*i)->NameChanged.connect (sigc::mem_fun (*this, &PortMatrixBody::rebuild_and_draw_row_labels)) ); } for (std::vector<boost::shared_ptr<ARDOUR::Bundle> >::iterator i = _column_bundles.begin(); i != _column_bundles.end(); ++i) { _bundle_connections.push_back ( - (*i)->NameChanged.connect (sigc::mem_fun (*this, &PortMatrixBody::repaint_column_labels)) + (*i)->NameChanged.connect (sigc::mem_fun (*this, &PortMatrixBody::rebuild_and_draw_column_labels)) ); } @@ -318,22 +318,22 @@ PortMatrixBody::on_button_press_event (GdkEventButton* ev) } void -PortMatrixBody::repaint_grid () +PortMatrixBody::rebuild_and_draw_grid () { - _grid.require_render (); + _grid.require_rebuild (); queue_draw (); } void -PortMatrixBody::repaint_column_labels () +PortMatrixBody::rebuild_and_draw_column_labels () { - _column_labels.require_render (); + _column_labels.require_rebuild (); queue_draw (); } void -PortMatrixBody::repaint_row_labels () +PortMatrixBody::rebuild_and_draw_row_labels () { - _row_labels.require_render (); + _row_labels.require_rebuild (); queue_draw (); } |