436 |
void add_region_to_dimregs(gig::Region* region, bool stereo, bool all_dimregs); |
void add_region_to_dimregs(gig::Region* region, bool stereo, bool all_dimregs); |
437 |
void update_dimregs(); |
void update_dimregs(); |
438 |
|
|
439 |
class ModelColumns : public Gtk::TreeModel::ColumnRecord { |
class InstrumentsModel : public Gtk::TreeModel::ColumnRecord { |
440 |
public: |
public: |
441 |
ModelColumns() { |
InstrumentsModel() { |
442 |
add(m_col_nr); |
add(m_col_nr); |
443 |
add(m_col_name); |
add(m_col_name); |
444 |
add(m_col_instr); |
add(m_col_instr); |
451 |
Gtk::TreeModelColumn<gig::Instrument*> m_col_instr; |
Gtk::TreeModelColumn<gig::Instrument*> m_col_instr; |
452 |
Gtk::TreeModelColumn<Glib::ustring> m_col_scripts; |
Gtk::TreeModelColumn<Glib::ustring> m_col_scripts; |
453 |
Gtk::TreeModelColumn<Glib::ustring> m_col_tooltip; |
Gtk::TreeModelColumn<Glib::ustring> m_col_tooltip; |
454 |
} m_Columns; |
} m_InstrumentsModel; |
455 |
|
|
456 |
VBox m_VBox; |
VBox m_VBox; |
457 |
Gtk::HPaned m_HPaned; |
Gtk::HPaned m_HPaned; |
458 |
|
|
459 |
Gtk::ScrolledWindow m_ScrolledWindow; |
Gtk::ScrolledWindow m_ScrolledWindow; |
460 |
|
|
461 |
Gtk::TreeView m_TreeView; |
Gtk::TreeView m_TreeViewInstruments; |
462 |
Glib::RefPtr<Gtk::ListStore> m_refTreeModel; |
Glib::RefPtr<Gtk::ListStore> m_refInstrumentsTreeModel; |
463 |
Glib::RefPtr<Gtk::TreeModelFilter> m_refTreeModelFilter; //FIXME: I really would love to get rid of TreeModelFilter, because it causes behavior conflicts with get_model() all over the place (see the respective comments regarding get_model()), however I found no other way to filter a treeview effectively. |
Glib::RefPtr<Gtk::TreeModelFilter> m_refInstrumentsModelFilter; //FIXME: I really would love to get rid of TreeModelFilter, because it causes behavior conflicts with get_model() all over the place (see the respective comments regarding get_model()), however I found no other way to filter a treeview effectively. |
464 |
|
|
465 |
#if USE_GTKMM_BUILDER |
#if USE_GTKMM_BUILDER |
466 |
Gtk::Menu* menuMacro; |
Gtk::Menu* menuMacro; |