|
|
@@ -437,11 +437,10 @@ class MasterUI {open |
|
|
|
} { |
|
|
|
Fl_Window masterwindow { |
|
|
|
label zynaddsubfx |
|
|
|
callback {\#ifdef PLUGINVERSION |
|
|
|
fl_alert("ZynAddSubFX could not be closed this way, because it's a plugin. Please use the host aplication to close it."); |
|
|
|
\#else |
|
|
|
if (( |
|
|
|
\#if USE_NSM |
|
|
|
callback {if (( |
|
|
|
\#ifdef PLUGINVERSION |
|
|
|
1 |
|
|
|
\#elif USE_NSM |
|
|
|
(nsm && nsm->is_active()) |
|
|
|
\#else |
|
|
|
0 |
|
|
@@ -450,7 +449,7 @@ if (( |
|
|
|
config.save(); |
|
|
|
*exitprogram=1; |
|
|
|
}; |
|
|
|
\#endif} open |
|
|
|
} open |
|
|
|
xywh {80 370 390 525} type Double xclass zynaddsubfx visible |
|
|
|
} { |
|
|
|
Fl_Menu_Bar mastermenu { |
|
|
@@ -1121,14 +1120,14 @@ updatepanel();} |
|
|
|
} |
|
|
|
Fl_Window simplemasterwindow { |
|
|
|
label ZynAddSubFX |
|
|
|
callback {\#ifdef PLUGINVERSION |
|
|
|
fl_alert("ZynAddSubFX could not be closed this way, because it's a plugin. Please use the host aplication to close it."); |
|
|
|
\#else |
|
|
|
if (fl_choice("Exit and leave the unsaved data?","No","Yes",NULL)) { |
|
|
|
callback {\#ifndef PLUGINVERSION |
|
|
|
if (fl_choice("Exit and leave the unsaved data?","No","Yes",NULL)) |
|
|
|
\#endif |
|
|
|
{ |
|
|
|
config.save(); |
|
|
|
*exitprogram=1; |
|
|
|
}; |
|
|
|
\#endif} open |
|
|
|
} open |
|
|
|
xywh {283 262 600 335} type Double visible |
|
|
|
} { |
|
|
|
Fl_Menu_Bar simplemastermenu { |
|
|
|