Evoral::PatchChange<Evoral::Beats> const &,
ARDOUR::InstrumentInfo&,
const Gtk::BuiltinStockID &,
- bool allow_delete = false
+ bool allow_delete = false,
+ bool modal = true
);
Evoral::PatchChange<Evoral::Beats> patch () const;
+protected:
+ void on_response (int);
+
private:
void fill_bank_combo ();
void set_active_bank_combo ();
void bank_changed ();
void program_changed ();
+ int get_14bit_bank () const;
+
const ARDOUR::BeatsFramesConverter* _time_converter;
- ARDOUR::InstrumentInfo& _info;
+ ARDOUR::InstrumentInfo& _info;
AudioClock _time;
Gtk::SpinButton _channel;
Gtk::SpinButton _program;
- Gtk::SpinButton _bank;
+ Gtk::SpinButton _bank_msb;
+ Gtk::SpinButton _bank_lsb;
Gtk::ComboBoxText _bank_combo;
Gtk::ComboBoxText _patch_combo;
boost::shared_ptr<MIDI::Name::PatchBank> _current_patch_bank;
bool _ignore_signals;
+ bool _keep_open;
- void instrument_info_changed ();
- PBD::ScopedConnection _info_changed_connection;
+ void instrument_info_changed ();
+ PBD::ScopedConnection _info_changed_connection;
};