From 24cafcf8e6fe3d4e303125037bd9efc534e61646 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Jan 2009 03:38:40 +0000 Subject: Some small-ish port matrix rendering improvements. git-svn-id: svn://localhost/ardour2/branches/3.0@4430 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix_body.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour/port_matrix_body.cc') 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 >::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 >::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 (); } -- cgit v1.2.3