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

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

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

revision 3339 by schoenebeck, Sun Jul 30 18:57:35 2017 UTC revision 3340 by schoenebeck, Mon Jul 31 11:20:18 2017 UTC
# Line 39  Line 39 
39  #include <gtkmm/radiomenuitem.h>  #include <gtkmm/radiomenuitem.h>
40  #include <gtkmm/scrolledwindow.h>  #include <gtkmm/scrolledwindow.h>
41  #include <gtkmm/treestore.h>  #include <gtkmm/treestore.h>
42    #include <gtkmm/treemodelfilter.h>
43  #include <gtkmm/uimanager.h>  #include <gtkmm/uimanager.h>
44  #include <gtkmm/window.h>  #include <gtkmm/window.h>
45  #include <gtkmm/statusbar.h>  #include <gtkmm/statusbar.h>
46  #include <gtkmm/image.h>  #include <gtkmm/image.h>
47    #include <gtkmm/entry.h>
48    
49  #include <sstream>  #include <sstream>
50    
# Line 321  protected: Line 323  protected:
323    
324      Gtk::TreeView m_TreeView;      Gtk::TreeView m_TreeView;
325      Glib::RefPtr<Gtk::ListStore> m_refTreeModel;      Glib::RefPtr<Gtk::ListStore> m_refTreeModel;
326        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.
327    
328      Gtk::Menu* instrument_menu;      Gtk::Menu* instrument_menu;
329      Gtk::Menu* assign_scripts_menu;      Gtk::Menu* assign_scripts_menu;
# Line 402  protected: Line 405  protected:
405      Gtk::Label labelSomeLoops;      Gtk::Label labelSomeLoops;
406      DimRegionEdit dimreg_edit;      DimRegionEdit dimreg_edit;
407    
408        Gtk::VBox m_left_vbox;
409      Gtk::Notebook m_TreeViewNotebook;      Gtk::Notebook m_TreeViewNotebook;
410        Gtk::HBox m_searchField;
411        Gtk::Label m_searchLabel;
412        Gtk::Entry m_searchText;
413    
414      struct SampleImportItem {      struct SampleImportItem {
415          gig::Sample*  gig_sample;  // pointer to the gig::Sample to          gig::Sample*  gig_sample;  // pointer to the gig::Sample to
# Line 433  protected: Line 440  protected:
440      void on_action_move_root_note_with_region_moved();      void on_action_move_root_note_with_region_moved();
441      void on_action_help_about();      void on_action_help_about();
442    
443        void on_notebook_tab_switched(GtkNotebookPage* page, guint page_num);
444    
445      // sample right-click popup actions      // sample right-click popup actions
446      void on_sample_treeview_button_release(GdkEventButton* button);      void on_sample_treeview_button_release(GdkEventButton* button);
447      void on_action_sample_properties();      void on_action_sample_properties();
# Line 538  protected: Line 547  protected:
547      void instrument_name_changed(const Gtk::TreeModel::Path& path,      void instrument_name_changed(const Gtk::TreeModel::Path& path,
548                                   const Gtk::TreeModel::iterator& iter);                                   const Gtk::TreeModel::iterator& iter);
549      void instr_name_changed_by_instr_props(Gtk::TreeModel::iterator& it);      void instr_name_changed_by_instr_props(Gtk::TreeModel::iterator& it);
550        bool instrument_row_visible(const Gtk::TreeModel::const_iterator& iter);
551      sigc::connection instrument_name_connection;      sigc::connection instrument_name_connection;
552    
553      void on_action_combine_instruments();      void on_action_combine_instruments();

Legend:
Removed from v.3339  
changed lines
  Added in v.3340

  ViewVC Help
Powered by ViewVC