From ee4e28751edae18bc2c2d3960472f15446b17306 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 Feb 2009 17:05:26 +0000 Subject: Reduce header dependencies. git-svn-id: svn://localhost/ardour2/branches/3.0@4490 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix_body.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour/port_matrix_body.h') diff --git a/gtk2_ardour/port_matrix_body.h b/gtk2_ardour/port_matrix_body.h index cbf985dd0b..50a656522a 100644 --- a/gtk2_ardour/port_matrix_body.h +++ b/gtk2_ardour/port_matrix_body.h @@ -20,13 +20,14 @@ #ifndef __gtk_ardour_port_matrix_body_h__ #define __gtk_ardour_port_matrix_body_h__ -#include "port_matrix_column_labels.h" -#include "port_matrix_row_labels.h" -#include "port_matrix_grid.h" +#include #include "port_group.h" #include "port_matrix_types.h" class PortMatrix; +class PortMatrixColumnLabels; +class PortMatrixRowLabels; +class PortMatrixGrid; /** The main body of the port matrix. It is made up of three parts: * column labels, grid and row labels, each drawn using cairo. @@ -35,6 +36,7 @@ class PortMatrixBody : public Gtk::EventBox { public: PortMatrixBody (PortMatrix *); + ~PortMatrixBody (); void setup (); @@ -78,9 +80,9 @@ private: void set_cairo_clip (cairo_t *, Gdk::Rectangle const &) const; PortMatrix* _matrix; - PortMatrixColumnLabels _column_labels; - PortMatrixRowLabels _row_labels; - PortMatrixGrid _grid; + PortMatrixColumnLabels* _column_labels; + PortMatrixRowLabels* _row_labels; + PortMatrixGrid* _grid; uint32_t _alloc_width; ///< allocated width uint32_t _alloc_height; ///< allocated height -- cgit v1.2.3