/[svn]/gigedit/trunk/src/dimensionmanager.h
ViewVC logotype

Diff of /gigedit/trunk/src/dimensionmanager.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1110 by schoenebeck, Thu Mar 22 20:00:10 2007 UTC revision 1111 by schoenebeck, Fri Mar 23 00:22:44 2007 UTC
# Line 32  Line 32 
32    
33  class DimensionManager : public Gtk::Window {  class DimensionManager : public Gtk::Window {
34  public:  public:
35        // triggered on all changes (i.e. dimension added or removed)
36        sigc::signal<void> articulation_changed_signal;
37    
38      DimensionManager();      DimensionManager();
39      void show(gig::Region* region);      void show(gig::Region* region);
40  protected:  protected:
# Line 50  protected: Line 53  protected:
53              add(m_bits);              add(m_bits);
54              add(m_zones);              add(m_zones);
55              add(m_description);              add(m_description);
56                add(m_definition);
57          }          }
58    
59          Gtk::TreeModelColumn<Glib::ustring> m_dim_type;          Gtk::TreeModelColumn<Glib::ustring> m_dim_type;
60          Gtk::TreeModelColumn<int> m_bits;          Gtk::TreeModelColumn<int> m_bits;
61          Gtk::TreeModelColumn<int> m_zones;          Gtk::TreeModelColumn<int> m_zones;
62          Gtk::TreeModelColumn<Glib::ustring> m_description;          Gtk::TreeModelColumn<Glib::ustring> m_description;
63            Gtk::TreeModelColumn<gig::dimension_def_t*> m_definition;
64      } tableModel;      } tableModel;
65    
66        class ComboModelColumns : public Gtk::TreeModel::ColumnRecord {
67        public:
68            ComboModelColumns() {
69                add(m_type_id);
70                add(m_type_name);
71            }
72    
73            Gtk::TreeModelColumn<int> m_type_id;
74            Gtk::TreeModelColumn<Glib::ustring> m_type_name;
75        } comboModel;
76    
77      Glib::RefPtr<Gtk::ListStore> refTableModel;      Glib::RefPtr<Gtk::ListStore> refTableModel;
78    
79      void addDimension();      void addDimension();

Legend:
Removed from v.1110  
changed lines
  Added in v.1111

  ViewVC Help
Powered by ViewVC