--- gigedit/trunk/src/gigedit/mainwindow.h 2018/01/23 16:30:56 3409 +++ gigedit/trunk/src/gigedit/mainwindow.h 2019/02/12 18:54:58 3469 @@ -1,5 +1,5 @@ /* -*- c++ -*- - * Copyright (C) 2006 - 2017 Andreas Persson + * Copyright (C) 2006 - 2019 Andreas Persson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -70,7 +70,6 @@ public PropEditor { public: PropDialog(); - void set_info(DLS::Info* info); void set_file(gig::File* file); // implementation for abstract methods of interface class "ManagedWindow" @@ -104,7 +103,7 @@ gig::File* m_file; - void onFileFormatChanged(); + void set_FileFormat(int value); }; class InstrumentProps : public ManagedWindow, @@ -353,12 +352,14 @@ add(m_col_name); add(m_col_instr); add(m_col_scripts); + add(m_col_tooltip); } Gtk::TreeModelColumn m_col_nr; Gtk::TreeModelColumn m_col_name; Gtk::TreeModelColumn m_col_instr; Gtk::TreeModelColumn m_col_scripts; + Gtk::TreeModelColumn m_col_tooltip; } m_Columns; VBox m_VBox; @@ -564,6 +565,7 @@ int position = -1); void remove_instrument_from_menu(int index); #endif + bool onQueryTreeViewTooltip(int x, int y, bool keyboardTip, const Glib::RefPtr& tooltip); ProgressDialog* progress_dialog; Loader* loader; @@ -635,6 +637,7 @@ void __refreshEntireGUI(); void updateScriptListOfMenu(); void assignScript(gig::Script* pScript); + void dropAllScriptSlots(); bool close_confirmation_dialog(); bool leaving_shared_mode_dialog(); @@ -648,7 +651,7 @@ bool on_delete_event(GdkEventAny* event); bool first_call_to_drag_data_get; - + bool is_copy_samples_unity_note_enabled() const; bool is_copy_samples_fine_tune_enabled() const; bool is_copy_samples_loop_enabled() const;