/[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 3068 by schoenebeck, Mon Jan 2 22:13:01 2017 UTC revision 3157 by schoenebeck, Mon May 8 17:30:10 2017 UTC
# Line 22  Line 22 
22    
23  #ifdef LIBGIG_HEADER_FILE  #ifdef LIBGIG_HEADER_FILE
24  # include LIBGIG_HEADER_FILE(gig.h)  # include LIBGIG_HEADER_FILE(gig.h)
25    # include LIBGIG_HEADER_FILE(Serialization.h)
26  #else  #else
27  # include <gig.h>  # include <gig.h>
28    # include <Serialization.h>
29  #endif  #endif
30    
31  #include <gtkmm/box.h>  #include <gtkmm/box.h>
# Line 271  protected: Line 273  protected:
273      void on_saver_progress();      void on_saver_progress();
274      void on_saver_error();      void on_saver_error();
275      void on_saver_finished();      void on_saver_finished();
276        void updateMacroMenu();
277        void onMacroSelected(int iMacro);
278        void setupMacros();
279        void onMacrosSetupChanged(const std::vector<Serialization::Archive>& macros);
280        void applyMacro(Serialization::Archive& macro);
281    
282      void dimreg_all_dimregs_toggled();      void dimreg_all_dimregs_toggled();
283      gig::Instrument* get_instrument();      gig::Instrument* get_instrument();
# Line 364  protected: Line 371  protected:
371      Gtk::CheckButton dimreg_all_regions;      Gtk::CheckButton dimreg_all_regions;
372      Gtk::CheckButton dimreg_all_dimregs;      Gtk::CheckButton dimreg_all_dimregs;
373      Gtk::CheckButton dimreg_stereo;      Gtk::CheckButton dimreg_stereo;
374    
375        Gtk::HBox legend_hbox;
376        Gtk::Label labelLegend;
377        Gtk::Image imageNoSample;
378        Gtk::Label labelNoSample;
379        Gtk::Image imageMissingSample;
380        Gtk::Label labelMissingSample;
381        Gtk::Image imageLooped;
382        Gtk::Label labelLooped;
383        Gtk::Image imageSomeLoops;
384        Gtk::Label labelSomeLoops;
385      DimRegionEdit dimreg_edit;      DimRegionEdit dimreg_edit;
386    
387      Gtk::Notebook m_TreeViewNotebook;      Gtk::Notebook m_TreeViewNotebook;
# Line 375  protected: Line 393  protected:
393          Glib::ustring sample_path; // file name of the sample to be          Glib::ustring sample_path; // file name of the sample to be
394                                     // imported                                     // imported
395      };      };
396      std::list<SampleImportItem> m_SampleImportQueue;      std::map<gig::Sample*, SampleImportItem> m_SampleImportQueue;
397    
398    
399      void on_action_file_new();      void on_action_file_new();
# Line 422  protected: Line 440  protected:
440      void show_intruments_tab();      void show_intruments_tab();
441      void show_scripts_tab();      void show_scripts_tab();
442    
443        void select_prev_region();
444        void select_next_region();
445    
446        void select_next_dim_rgn_zone();
447        void select_prev_dim_rgn_zone();
448        void select_add_next_dim_rgn_zone();
449        void select_add_prev_dim_rgn_zone();
450        void select_prev_dimension();
451        void select_next_dimension();
452    
453        Serialization::Archive m_serializationArchive; ///< Clipboard content.
454        std::vector<Serialization::Archive> m_macros; ///< User configured list of macros.
455    
456        void copy_selected_dimrgn();
457        void paste_copied_dimrgn();
458        void adjust_clipboard_content();
459        void updateClipboardCopyAvailable();
460        void updateClipboardPasteAvailable();
461        void on_clipboard_owner_change(GdkEventOwnerChange* event);
462        void on_clipboard_get(Gtk::SelectionData& selection_data, guint info);
463        void on_clipboard_clear();
464        void on_clipboard_received(const Gtk::SelectionData& selection_data);
465        void on_clipboard_received_targets(const std::vector<Glib::ustring>& targets);
466    
467      void add_instrument(gig::Instrument* instrument);      void add_instrument(gig::Instrument* instrument);
468      Gtk::RadioMenuItem* add_instrument_to_menu(const Glib::ustring& name,      Gtk::RadioMenuItem* add_instrument_to_menu(const Glib::ustring& name,
469                                                 int position = -1);                                                 int position = -1);

Legend:
Removed from v.3068  
changed lines
  Added in v.3157

  ViewVC Help
Powered by ViewVC