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; |
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 |
|
|
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(); |