--- gigedit/trunk/src/dimensionmanager.h 2007/03/22 21:12:10 1110 +++ gigedit/trunk/src/dimensionmanager.h 2007/03/23 00:22:44 1111 @@ -32,6 +32,9 @@ class DimensionManager : public Gtk::Window { public: + // triggered on all changes (i.e. dimension added or removed) + sigc::signal articulation_changed_signal; + DimensionManager(); void show(gig::Region* region); protected: @@ -50,14 +53,27 @@ add(m_bits); add(m_zones); add(m_description); + add(m_definition); } Gtk::TreeModelColumn m_dim_type; Gtk::TreeModelColumn m_bits; Gtk::TreeModelColumn m_zones; Gtk::TreeModelColumn m_description; + Gtk::TreeModelColumn m_definition; } tableModel; + class ComboModelColumns : public Gtk::TreeModel::ColumnRecord { + public: + ComboModelColumns() { + add(m_type_id); + add(m_type_name); + } + + Gtk::TreeModelColumn m_type_id; + Gtk::TreeModelColumn m_type_name; + } comboModel; + Glib::RefPtr refTableModel; void addDimension();