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 |
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; |
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(); |
358 |
void show_midi_rules(); |
void show_midi_rules(); |
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_refresh_all(); |
362 |
void on_action_warn_user_on_extensions(); |
void on_action_warn_user_on_extensions(); |
363 |
|
void on_action_sync_sampler_instrument_selection(); |
364 |
void on_action_help_about(); |
void on_action_help_about(); |
365 |
|
|
366 |
// sample right-click popup actions |
// sample right-click popup actions |
368 |
void on_action_sample_properties(); |
void on_action_sample_properties(); |
369 |
void on_action_add_group(); |
void on_action_add_group(); |
370 |
void on_action_add_sample(); |
void on_action_add_sample(); |
371 |
|
void on_action_replace_sample(); |
372 |
void on_action_replace_all_samples_in_all_groups(); |
void on_action_replace_all_samples_in_all_groups(); |
373 |
void on_action_remove_sample(); |
void on_action_remove_sample(); |
374 |
|
void on_action_remove_unused_samples(); |
375 |
|
|
376 |
// script right-click popup actions |
// script right-click popup actions |
377 |
void on_script_treeview_button_release(GdkEventButton* button); |
void on_script_treeview_button_release(GdkEventButton* button); |
378 |
void on_action_add_script_group(); |
void on_action_add_script_group(); |
414 |
bool check_if_savable(); |
bool check_if_savable(); |
415 |
|
|
416 |
void on_button_release(GdkEventButton* button); |
void on_button_release(GdkEventButton* button); |
417 |
|
void on_instruments_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context); |
418 |
|
void on_instruments_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&, |
419 |
|
Gtk::SelectionData& selection_data, guint, guint); |
420 |
|
void on_instruments_treeview_drop_drag_data_received( |
421 |
|
const Glib::RefPtr<Gdk::DragContext>& context, int, int, |
422 |
|
const Gtk::SelectionData& selection_data, guint, guint time |
423 |
|
); |
424 |
void on_scripts_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context); |
void on_scripts_treeview_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context); |
425 |
void on_scripts_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&, |
void on_scripts_treeview_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&, |
426 |
Gtk::SelectionData& selection_data, guint, guint); |
Gtk::SelectionData& selection_data, guint, guint); |
451 |
void on_sample_ref_count_incremented(gig::Sample* sample, int offset); |
void on_sample_ref_count_incremented(gig::Sample* sample, int offset); |
452 |
void on_samples_to_be_removed(std::list<gig::Sample*> samples); |
void on_samples_to_be_removed(std::list<gig::Sample*> samples); |
453 |
|
|
454 |
|
void add_or_replace_sample(bool replace); |
455 |
|
|
456 |
void __import_queued_samples(); |
void __import_queued_samples(); |
457 |
void __clear(); |
void __clear(); |
458 |
void __refreshEntireGUI(); |
void __refreshEntireGUI(); |