Skip to content

Commit

Permalink
Corrected accidental variable name change
Browse files Browse the repository at this point in the history
Revised example presets
  • Loading branch information
abrolag committed Oct 12, 2019
1 parent 9ae9310 commit edd71d6
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ yoshimi 1.6.0 M
* Revised GUI bank instrument names.
Previously a rename performed a complete
bank refetch. Now set the name in place.
* Corrected accidental variable name change.
* Revised example presets.

2019-10-11 Will
* Minor corrections for headless build.
Expand Down
Binary file removed presets/AddnoteArp1.Padsyth.xpz
Binary file not shown.
Binary file added presets/Advoice.Padsythn.xpz
Binary file not shown.
Binary file added presets/Bubbly.Padsyth.xpz
Binary file not shown.
Binary file added presets/Pulse Mod.Padsyth.xpz
Binary file not shown.
Binary file added presets/TinkleBell.Padsythn.xpz
Binary file not shown.
Binary file modified presets/alienWah21.Peffect.xpz
Binary file not shown.
Binary file added presets/ampenv.Penvamplitude.xpz
Binary file not shown.
Binary file added presets/disty.Peffect.xpz
Binary file not shown.
Binary file added presets/echo.Peffect.xpz
Binary file not shown.
Binary file added presets/phase.Peffect.xpz
Binary file not shown.
Binary file added presets/systype.Peffect.xpz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Misc/ConfBuild.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ConfBuild.h
*/

#define BUILD_NUMBER 1682
#define BUILD_NUMBER 1683
10 changes: 5 additions & 5 deletions src/UI/PresetsUI.fl
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ class PresetsUI {selected
callback {int val = o->value();
if (val)
{
premoveInstrument->cut(0, premoveInstrument->maximum_size());
premoveInstrument->insert(o->text(val));
presetname->cut(0, presetname->maximum_size());
presetname->insert(o->text(val));
}}
xywh {10 25 245 320} type Select
}
Fl_Button copypbutton {
label {Copy to Preset}
callback {//
const char *tmp = premoveInstrument->value();
const char *tmp = presetname->value();
if (tmp != NULL)
{
if (strlen(tmp) > 0)
Expand Down Expand Up @@ -123,7 +123,7 @@ class PresetsUI {selected
Fl_Box copytypetext {
xywh {50 5 205 15} box FLAT_BOX color 238 labelfont 1 labelsize 11 align 20
}
Fl_Input premoveInstrument {
Fl_Input presetname {
callback {//
const char *tmp = o->value();
if (tmp == NULL)
Expand Down Expand Up @@ -216,7 +216,7 @@ class PresetsUI {selected
this->p = p;
this->pui = NULL;
bool but = (Fl::event_button() != FL_LEFT_MOUSE);
premoveInstrument->cut(0, premoveInstrument->maximum_size());
presetname->cut(0, presetname->maximum_size());
if (but)
p->copy(NULL);
else
Expand Down

0 comments on commit edd71d6

Please sign in to comment.