summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_body.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-02-04 17:05:26 +0000
committerCarl Hetherington <carl@carlh.net>2009-02-04 17:05:26 +0000
commitee4e28751edae18bc2c2d3960472f15446b17306 (patch)
treeade076f93c2fe7ec252e28619a167909fcd06c73 /gtk2_ardour/port_matrix_body.h
parentdc6571fb29e120b24a3ce3665dd04d291623ecc4 (diff)
Reduce header dependencies.
git-svn-id: svn://localhost/ardour2/branches/3.0@4490 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_body.h')
-rw-r--r--gtk2_ardour/port_matrix_body.h14
1 files changed, 8 insertions, 6 deletions
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 <gtkmm/eventbox.h>
#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