1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2006 - 2017 Andreas Persson |
* Copyright (C) 2006 - 2019 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 |
70 |
public PropEditor<DLS::Info> { |
public PropEditor<DLS::Info> { |
71 |
public: |
public: |
72 |
PropDialog(); |
PropDialog(); |
|
void set_info(DLS::Info* info); |
|
73 |
void set_file(gig::File* file); |
void set_file(gig::File* file); |
74 |
|
|
75 |
// implementation for abstract methods of interface class "ManagedWindow" |
// implementation for abstract methods of interface class "ManagedWindow" |
103 |
|
|
104 |
gig::File* m_file; |
gig::File* m_file; |
105 |
|
|
106 |
void onFileFormatChanged(); |
void set_FileFormat(int value); |
107 |
}; |
}; |
108 |
|
|
109 |
class InstrumentProps : public ManagedWindow, |
class InstrumentProps : public ManagedWindow, |
352 |
add(m_col_name); |
add(m_col_name); |
353 |
add(m_col_instr); |
add(m_col_instr); |
354 |
add(m_col_scripts); |
add(m_col_scripts); |
355 |
|
add(m_col_tooltip); |
356 |
} |
} |
357 |
|
|
358 |
Gtk::TreeModelColumn<int> m_col_nr; |
Gtk::TreeModelColumn<int> m_col_nr; |
359 |
Gtk::TreeModelColumn<Glib::ustring> m_col_name; |
Gtk::TreeModelColumn<Glib::ustring> m_col_name; |
360 |
Gtk::TreeModelColumn<gig::Instrument*> m_col_instr; |
Gtk::TreeModelColumn<gig::Instrument*> m_col_instr; |
361 |
Gtk::TreeModelColumn<Glib::ustring> m_col_scripts; |
Gtk::TreeModelColumn<Glib::ustring> m_col_scripts; |
362 |
|
Gtk::TreeModelColumn<Glib::ustring> m_col_tooltip; |
363 |
} m_Columns; |
} m_Columns; |
364 |
|
|
365 |
VBox m_VBox; |
VBox m_VBox; |
565 |
int position = -1); |
int position = -1); |
566 |
void remove_instrument_from_menu(int index); |
void remove_instrument_from_menu(int index); |
567 |
#endif |
#endif |
568 |
|
bool onQueryTreeViewTooltip(int x, int y, bool keyboardTip, const Glib::RefPtr<Gtk::Tooltip>& tooltip); |
569 |
|
|
570 |
ProgressDialog* progress_dialog; |
ProgressDialog* progress_dialog; |
571 |
Loader* loader; |
Loader* loader; |
637 |
void __refreshEntireGUI(); |
void __refreshEntireGUI(); |
638 |
void updateScriptListOfMenu(); |
void updateScriptListOfMenu(); |
639 |
void assignScript(gig::Script* pScript); |
void assignScript(gig::Script* pScript); |
640 |
|
void dropAllScriptSlots(); |
641 |
|
|
642 |
bool close_confirmation_dialog(); |
bool close_confirmation_dialog(); |
643 |
bool leaving_shared_mode_dialog(); |
bool leaving_shared_mode_dialog(); |
651 |
bool on_delete_event(GdkEventAny* event); |
bool on_delete_event(GdkEventAny* event); |
652 |
|
|
653 |
bool first_call_to_drag_data_get; |
bool first_call_to_drag_data_get; |
654 |
|
|
655 |
bool is_copy_samples_unity_note_enabled() const; |
bool is_copy_samples_unity_note_enabled() const; |
656 |
bool is_copy_samples_fine_tune_enabled() const; |
bool is_copy_samples_fine_tune_enabled() const; |
657 |
bool is_copy_samples_loop_enabled() const; |
bool is_copy_samples_loop_enabled() const; |