/[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 1582 by persson, Sat Dec 8 12:28:53 2007 UTC revision 1853 by schoenebeck, Sun Mar 1 22:26:36 2009 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006, 2007 Andreas Persson   * Copyright (C) 2006 - 2008 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 209  public: Line 209  public:
209      sigc::signal<void, gig::Region*>& signal_region_changed();      sigc::signal<void, gig::Region*>& signal_region_changed();
210      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_to_be_changed();      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_to_be_changed();
211      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed();      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed();
212        sigc::signal<void, gig::Sample*>& signal_sample_changed();
213      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed();      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed();
214    
215        sigc::signal<void, int/*key*/, int/*velocity*/>& signal_note_on();
216        sigc::signal<void, int/*key*/, int/*velocity*/>& signal_note_off();
217    
218        sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_hit();
219        sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();
220    
221  protected:  protected:
222      Glib::RefPtr<Gtk::ActionGroup> actionGroup;      Glib::RefPtr<Gtk::ActionGroup> actionGroup;
223      Glib::RefPtr<Gtk::UIManager> uiManager;      Glib::RefPtr<Gtk::UIManager> uiManager;
# Line 233  protected: Line 240  protected:
240      sigc::signal<void, gig::Region*> region_changed_signal;      sigc::signal<void, gig::Region*> region_changed_signal;
241      sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal;      sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal;
242      sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal;      sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal;
243        sigc::signal<void, gig::Sample*> sample_changed_signal;
244      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;      sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/> sample_ref_changed_signal;
245    
246        sigc::signal<void, int/*key*/, int/*velocity*/> note_on_signal;
247        sigc::signal<void, int/*key*/, int/*velocity*/> note_off_signal;
248    
249      void on_instrument_selection_change(int index);      void on_instrument_selection_change(int index);
250      void on_sel_change();      void on_sel_change();
251      void region_changed();      void region_changed();
# Line 327  protected: Line 338  protected:
338      void on_action_sample_properties();      void on_action_sample_properties();
339      void on_action_add_group();      void on_action_add_group();
340      void on_action_add_sample();      void on_action_add_sample();
341        void on_action_replace_all_samples_in_all_groups();
342      void on_action_remove_sample();      void on_action_remove_sample();
343    
344      void on_action_add_instrument();      void on_action_add_instrument();
# Line 341  protected: Line 353  protected:
353      bool file_has_name;      bool file_has_name;
354      bool file_is_changed;      bool file_is_changed;
355      std::string filename;      std::string filename;
356      std::string current_dir;      std::string current_gig_dir;
357        std::string current_sample_dir;
358    
359      void set_file_is_shared(bool);      void set_file_is_shared(bool);
360    

Legend:
Removed from v.1582  
changed lines
  Added in v.1853

  ViewVC Help
Powered by ViewVC