--- gigedit/trunk/src/gigedit/mainwindow.h 2017/01/02 22:13:01 3068 +++ gigedit/trunk/src/gigedit/mainwindow.h 2017/05/03 19:00:11 3144 @@ -22,8 +22,10 @@ #ifdef LIBGIG_HEADER_FILE # include LIBGIG_HEADER_FILE(gig.h) +# include LIBGIG_HEADER_FILE(serialization.h) #else # include +# include #endif #include @@ -364,6 +366,17 @@ Gtk::CheckButton dimreg_all_regions; Gtk::CheckButton dimreg_all_dimregs; Gtk::CheckButton dimreg_stereo; + + Gtk::HBox legend_hbox; + Gtk::Label labelLegend; + Gtk::Image imageNoSample; + Gtk::Label labelNoSample; + Gtk::Image imageMissingSample; + Gtk::Label labelMissingSample; + Gtk::Image imageLooped; + Gtk::Label labelLooped; + Gtk::Image imageSomeLoops; + Gtk::Label labelSomeLoops; DimRegionEdit dimreg_edit; Gtk::Notebook m_TreeViewNotebook; @@ -375,7 +388,7 @@ Glib::ustring sample_path; // file name of the sample to be // imported }; - std::list m_SampleImportQueue; + std::map m_SampleImportQueue; void on_action_file_new(); @@ -422,6 +435,28 @@ void show_intruments_tab(); void show_scripts_tab(); + void select_prev_region(); + void select_next_region(); + + void select_next_dim_rgn_zone(); + void select_prev_dim_rgn_zone(); + void select_add_next_dim_rgn_zone(); + void select_add_prev_dim_rgn_zone(); + void select_prev_dimension(); + void select_next_dimension(); + + Serialization::Archive m_serializationArchive; + + void copy_selected_dimrgn(); + void paste_copied_dimrgn(); + void updateClipboardCopyAvailable(); + void updateClipboardPasteAvailable(); + void on_clipboard_owner_change(GdkEventOwnerChange* event); + void on_clipboard_get(Gtk::SelectionData& selection_data, guint info); + void on_clipboard_clear(); + void on_clipboard_received(const Gtk::SelectionData& selection_data); + void on_clipboard_received_targets(const std::vector& targets); + void add_instrument(gig::Instrument* instrument); Gtk::RadioMenuItem* add_instrument_to_menu(const Glib::ustring& name, int position = -1);