/[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 2683 by schoenebeck, Mon Dec 29 16:30:21 2014 UTC revision 2715 by schoenebeck, Tue Jan 20 18:48:15 2015 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006 - 2014 Andreas Persson   * Copyright (C) 2006 - 2015 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 196  public: Line 196  public:
196      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();
197      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();
198    
199        sigc::signal<void, gig::Instrument*>& signal_switch_sampler_instrument();
200    
201  protected:  protected:
202      Glib::RefPtr<Gtk::ActionGroup> actionGroup;      Glib::RefPtr<Gtk::ActionGroup> actionGroup;
203      Glib::RefPtr<Gtk::UIManager> uiManager;      Glib::RefPtr<Gtk::UIManager> uiManager;
# Line 225  protected: Line 227  protected:
227      sigc::signal<void, int/*key*/, int/*velocity*/> note_on_signal;      sigc::signal<void, int/*key*/, int/*velocity*/> note_on_signal;
228      sigc::signal<void, int/*key*/, int/*velocity*/> note_off_signal;      sigc::signal<void, int/*key*/, int/*velocity*/> note_off_signal;
229    
230        sigc::signal<void, gig::Instrument*> switch_sampler_instrument_signal;
231    
232      void on_instrument_selection_change(Gtk::RadioMenuItem* item);      void on_instrument_selection_change(Gtk::RadioMenuItem* item);
233      void on_sel_change();      void on_sel_change();
234      void region_changed();      void region_changed();
235      void dimreg_changed();      void dimreg_changed();
236        void select_instrument(gig::Instrument* instrument);
237        bool select_dimension_region(gig::DimensionRegion* dimRgn);
238        void select_sample(gig::Sample* sample);
239      void on_loader_progress();      void on_loader_progress();
240      void on_loader_finished();      void on_loader_finished();
241      void on_loader_error();      void on_loader_error();
# Line 352  protected: Line 359  protected:
359      void show_script_slots();      void show_script_slots();
360      void on_action_view_status_bar();      void on_action_view_status_bar();
361      void on_action_warn_user_on_extensions();      void on_action_warn_user_on_extensions();
362        void on_action_sync_sampler_instrument_selection();
363      void on_action_help_about();      void on_action_help_about();
364    
365      // sample right-click popup actions      // sample right-click popup actions
# Line 359  protected: Line 367  protected:
367      void on_action_sample_properties();      void on_action_sample_properties();
368      void on_action_add_group();      void on_action_add_group();
369      void on_action_add_sample();      void on_action_add_sample();
370        void on_action_replace_sample();
371      void on_action_replace_all_samples_in_all_groups();      void on_action_replace_all_samples_in_all_groups();
372      void on_action_remove_sample();      void on_action_remove_sample();
373            
# Line 403  protected: Line 412  protected:
412      bool check_if_savable();      bool check_if_savable();
413    
414      void on_button_release(GdkEventButton* button);      void on_button_release(GdkEventButton* button);
415        void on_instruments_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
416        void on_instruments_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,
417                                                   Gtk::SelectionData& selection_data, guint, guint);
418        void on_instruments_treeview_drop_drag_data_received(
419            const Glib::RefPtr<Gdk::DragContext>& context, int, int,
420            const Gtk::SelectionData& selection_data, guint, guint time
421        );
422      void on_scripts_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);      void on_scripts_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
423      void on_scripts_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,      void on_scripts_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,
424                                             Gtk::SelectionData& selection_data, guint, guint);                                             Gtk::SelectionData& selection_data, guint, guint);
# Line 433  protected: Line 449  protected:
449      void on_sample_ref_count_incremented(gig::Sample* sample, int offset);      void on_sample_ref_count_incremented(gig::Sample* sample, int offset);
450      void on_samples_to_be_removed(std::list<gig::Sample*> samples);      void on_samples_to_be_removed(std::list<gig::Sample*> samples);
451    
452        void add_or_replace_sample(bool replace);
453    
454      void __import_queued_samples();      void __import_queued_samples();
455      void __clear();      void __clear();
456      void __refreshEntireGUI();      void __refreshEntireGUI();

Legend:
Removed from v.2683  
changed lines
  Added in v.2715

  ViewVC Help
Powered by ViewVC