A few cleanups. Also make port matrix notice when routes or processors change.
[ardour.git] / gtk2_ardour / port_matrix_column_labels.h
index 213b760a25a9751eff422420b14f1c519610eea3..9021ec55e38b75a2b9551f1b5be73ee18ce43657 100644 (file)
@@ -57,6 +57,10 @@ private:
        double channel_x (PortMatrixBundleChannel const &) const;
        void queue_draw_for (PortMatrixNode const &);
 
+       double slanted_height () const {
+               return _height - _highest_group_name - 2 * name_pad();
+       }
+
        std::vector<boost::shared_ptr<ARDOUR::Bundle> > _bundles;
        double _longest_bundle_name;
        double _longest_channel_name;