78 |
loadBuiltInPix(); |
loadBuiltInPix(); |
79 |
|
|
80 |
// set_border_width(5); |
// set_border_width(5); |
81 |
// set_default_size(400, 200); |
|
82 |
|
if (!Settings::singleton()->autoRestoreWindowDimension) { |
83 |
|
set_default_size(800, 600); |
84 |
|
set_position(Gtk::WIN_POS_CENTER); |
85 |
|
} |
86 |
|
|
87 |
add(m_VBox); |
add(m_VBox); |
88 |
|
|
1820 |
dialog.set_comments(sComment.c_str()); |
dialog.set_comments(sComment.c_str()); |
1821 |
dialog.set_website("http://www.linuxsampler.org"); |
dialog.set_website("http://www.linuxsampler.org"); |
1822 |
dialog.set_website_label("http://www.linuxsampler.org"); |
dialog.set_website_label("http://www.linuxsampler.org"); |
1823 |
|
dialog.set_position(Gtk::WIN_POS_CENTER); |
1824 |
dialog.run(); |
dialog.run(); |
1825 |
} |
} |
1826 |
|
|
1846 |
table(2, 1), |
table(2, 1), |
1847 |
m_file(NULL) |
m_file(NULL) |
1848 |
{ |
{ |
1849 |
|
if (!Settings::singleton()->autoRestoreWindowDimension) { |
1850 |
|
set_default_size(470, 390); |
1851 |
|
set_position(Gtk::WIN_POS_MOUSE); |
1852 |
|
} |
1853 |
|
|
1854 |
set_title(_("File Properties")); |
set_title(_("File Properties")); |
1855 |
eName.set_width_chars(50); |
eName.set_width_chars(50); |
1856 |
|
|
1985 |
eDimensionKeyRangeLow(_("Keyswitching range low")), |
eDimensionKeyRangeLow(_("Keyswitching range low")), |
1986 |
eDimensionKeyRangeHigh(_("Keyswitching range high")) |
eDimensionKeyRangeHigh(_("Keyswitching range high")) |
1987 |
{ |
{ |
1988 |
|
if (!Settings::singleton()->autoRestoreWindowDimension) { |
1989 |
|
//set_default_size(470, 390); |
1990 |
|
set_position(Gtk::WIN_POS_MOUSE); |
1991 |
|
} |
1992 |
|
|
1993 |
set_title(_("Instrument Properties")); |
set_title(_("Instrument Properties")); |
1994 |
|
|
1995 |
eDimensionKeyRangeLow.set_tip( |
eDimensionKeyRangeLow.set_tip( |
3573 |
void MainWindow::on_action_combine_instruments() { |
void MainWindow::on_action_combine_instruments() { |
3574 |
CombineInstrumentsDialog* d = new CombineInstrumentsDialog(*this, file); |
CombineInstrumentsDialog* d = new CombineInstrumentsDialog(*this, file); |
3575 |
d->show_all(); |
d->show_all(); |
|
d->resize(500, 400); |
|
3576 |
d->run(); |
d->run(); |
3577 |
if (d->fileWasChanged()) { |
if (d->fileWasChanged()) { |
3578 |
// update GUI with new instrument just created |
// update GUI with new instrument just created |