/[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 2442 by persson, Sun Apr 14 07:29:59 2013 UTC revision 2445 by persson, Sun Apr 28 06:07:22 2013 UTC
# Line 81  class InstrumentProps : public Gtk::Wind Line 81  class InstrumentProps : public Gtk::Wind
81  public:  public:
82      InstrumentProps();      InstrumentProps();
83      void set_instrument(gig::Instrument* instrument);      void set_instrument(gig::Instrument* instrument);
84        gig::Instrument* get_instrument() { return m; }
85        void update_name();
86        sigc::signal<void>& signal_name_changed() {
87            return sig_name_changed;
88        }
89  protected:  protected:
90        void set_Name(const gig::String& name);
91      void set_IsDrum(bool value);      void set_IsDrum(bool value);
92      void set_MIDIBank(uint16_t value);      void set_MIDIBank(uint16_t value);
93      void set_MIDIProgram(uint32_t value);      void set_MIDIProgram(uint32_t value);
94    
95        sigc::signal<void> sig_name_changed;
96      Gtk::VBox vbox;      Gtk::VBox vbox;
97      Gtk::HButtonBox buttonBox;      Gtk::HButtonBox buttonBox;
98      Gtk::Button quitButton;      Gtk::Button quitButton;
# Line 269  protected: Line 276  protected:
276      void on_action_file_properties();      void on_action_file_properties();
277      void on_action_quit();      void on_action_quit();
278      void show_instr_props();      void show_instr_props();
279        bool instr_props_set_instrument();
280      void on_action_view_status_bar();      void on_action_view_status_bar();
281      void on_action_help_about();      void on_action_help_about();
282    
# Line 320  protected: Line 328  protected:
328                               const Gtk::TreeModel::iterator& iter);                               const Gtk::TreeModel::iterator& iter);
329      void instrument_name_changed(const Gtk::TreeModel::Path& path,      void instrument_name_changed(const Gtk::TreeModel::Path& path,
330                                   const Gtk::TreeModel::iterator& iter);                                   const Gtk::TreeModel::iterator& iter);
331        void instr_name_changed_by_instr_props(Gtk::TreeModel::iterator& it);
332      sigc::connection instrument_name_connection;      sigc::connection instrument_name_connection;
333    
334      void __import_queued_samples();      void __import_queued_samples();

Legend:
Removed from v.2442  
changed lines
  Added in v.2445

  ViewVC Help
Powered by ViewVC