260 |
m_VBox.pack_start(*menuBar, Gtk::PACK_SHRINK); |
m_VBox.pack_start(*menuBar, Gtk::PACK_SHRINK); |
261 |
m_VBox.pack_start(m_HPaned); |
m_VBox.pack_start(m_HPaned); |
262 |
m_VBox.pack_start(m_RegionChooser, Gtk::PACK_SHRINK); |
m_VBox.pack_start(m_RegionChooser, Gtk::PACK_SHRINK); |
263 |
|
m_VBox.pack_start(m_RegionChooser.m_VirtKeybPropsBox, Gtk::PACK_SHRINK); |
264 |
m_VBox.pack_start(m_DimRegionChooser, Gtk::PACK_SHRINK); |
m_VBox.pack_start(m_DimRegionChooser, Gtk::PACK_SHRINK); |
265 |
m_VBox.pack_start(m_StatusBar, Gtk::PACK_SHRINK); |
m_VBox.pack_start(m_StatusBar, Gtk::PACK_SHRINK); |
266 |
|
|
1049 |
eFineTune("Fine tune", -8400, 8400), |
eFineTune("Fine tune", -8400, 8400), |
1050 |
ePitchbendRange("Pitchbend range", 0, 12), |
ePitchbendRange("Pitchbend range", 0, 12), |
1051 |
ePianoReleaseMode("Piano release mode"), |
ePianoReleaseMode("Piano release mode"), |
1052 |
eDimensionKeyRangeLow("Dimension key range low"), |
eDimensionKeyRangeLow("Keyswitching range low"), |
1053 |
eDimensionKeyRangeHigh("Dimension key range high"), |
eDimensionKeyRangeHigh("Keyswitching range high"), |
1054 |
update_model(0) |
update_model(0) |
1055 |
{ |
{ |
1056 |
set_title("Instrument Properties"); |
set_title("Instrument Properties"); |
1057 |
|
|
1058 |
|
eDimensionKeyRangeLow.set_tip( |
1059 |
|
_("start of the keyboard area which should switch the " |
1060 |
|
"\"keyswitching\" dimension") |
1061 |
|
); |
1062 |
|
eDimensionKeyRangeHigh.set_tip( |
1063 |
|
_("end of the keyboard area which should switch the " |
1064 |
|
"\"keyswitching\" dimension") |
1065 |
|
); |
1066 |
|
|
1067 |
connect(eIsDrum, &InstrumentProps::set_IsDrum); |
connect(eIsDrum, &InstrumentProps::set_IsDrum); |
1068 |
connect(eMIDIBank, &InstrumentProps::set_MIDIBank); |
connect(eMIDIBank, &InstrumentProps::set_MIDIBank); |
1069 |
connect(eMIDIProgram, &InstrumentProps::set_MIDIProgram); |
connect(eMIDIProgram, &InstrumentProps::set_MIDIProgram); |
1760 |
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_note_off() { |
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_note_off() { |
1761 |
return note_off_signal; |
return note_off_signal; |
1762 |
} |
} |
1763 |
|
|
1764 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_keyboard_key_hit() { |
1765 |
|
return m_RegionChooser.signal_keyboard_key_hit(); |
1766 |
|
} |
1767 |
|
|
1768 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_keyboard_key_released() { |
1769 |
|
return m_RegionChooser.signal_keyboard_key_released(); |
1770 |
|
} |