/[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 3177 by schoenebeck, Thu May 11 20:59:46 2017 UTC revision 3339 by schoenebeck, Sun Jul 30 18:57:35 2017 UTC
# Line 291  protected: Line 291  protected:
291      void setupMacros();      void setupMacros();
292      void onMacrosSetupChanged(const std::vector<Serialization::Archive>& macros);      void onMacrosSetupChanged(const std::vector<Serialization::Archive>& macros);
293      void applyMacro(Serialization::Archive& macro);      void applyMacro(Serialization::Archive& macro);
294        void onScriptSlotsModified(gig::Instrument* pInstrument);
295        void bringToFront();
296    
297      void dimreg_all_dimregs_toggled();      void dimreg_all_dimregs_toggled();
298      gig::Instrument* get_instrument();      gig::Instrument* get_instrument();
# Line 303  protected: Line 305  protected:
305            add(m_col_nr);            add(m_col_nr);
306            add(m_col_name);            add(m_col_name);
307            add(m_col_instr);            add(m_col_instr);
308              add(m_col_scripts);
309          }          }
310    
311          Gtk::TreeModelColumn<int> m_col_nr;          Gtk::TreeModelColumn<int> m_col_nr;
312          Gtk::TreeModelColumn<Glib::ustring> m_col_name;          Gtk::TreeModelColumn<Glib::ustring> m_col_name;
313          Gtk::TreeModelColumn<gig::Instrument*> m_col_instr;          Gtk::TreeModelColumn<gig::Instrument*> m_col_instr;
314            Gtk::TreeModelColumn<Glib::ustring> m_col_scripts;
315      } m_Columns;      } m_Columns;
316    
317      Gtk::VBox m_VBox;      Gtk::VBox m_VBox;
# Line 319  protected: Line 323  protected:
323      Glib::RefPtr<Gtk::ListStore> m_refTreeModel;      Glib::RefPtr<Gtk::ListStore> m_refTreeModel;
324    
325      Gtk::Menu* instrument_menu;      Gtk::Menu* instrument_menu;
326        Gtk::Menu* assign_scripts_menu;
327    
328      std::map<gig::Sample*,int> sample_ref_count;      std::map<gig::Sample*,int> sample_ref_count;
329    
# Line 453  protected: Line 458  protected:
458      void show_intruments_tab();      void show_intruments_tab();
459      void show_scripts_tab();      void show_scripts_tab();
460    
461        void select_prev_instrument();
462        void select_next_instrument();
463        void select_instrument_by_dir(int dir);
464    
465      void select_prev_region();      void select_prev_region();
466      void select_next_region();      void select_next_region();
467    
# Line 545  protected: Line 554  protected:
554      void __import_queued_samples();      void __import_queued_samples();
555      void __clear();      void __clear();
556      void __refreshEntireGUI();      void __refreshEntireGUI();
557        void updateScriptListOfMenu();
558        void assignScript(gig::Script* pScript);
559    
560      bool close_confirmation_dialog();      bool close_confirmation_dialog();
561      bool leaving_shared_mode_dialog();      bool leaving_shared_mode_dialog();

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

  ViewVC Help
Powered by ViewVC