Hi Yoshimi-devs,
implementation of the GUI status update went well and seems to work nicely --
the "Apply Changes" button now changes colour to reflect the various states.
DIRTY = red (parameter changes necessitate a wavetable rebuild)
BUILDING = magenta (background build underway)
PENDING = light blue (a new wavetable is ready to be picked up)
FADING = yellow (only when a currently sounding note does an X-Fade)
CLEAN = gray
The new PADStatus component, which handles these changes, is rather generic
and does not contain any connection to GUI code. The actual widget manipulation
is then installed in the PADnoteUI-ctor, packaged into lambda functions.
In the end, I decided to indicate only the changes for the currently open
PADSynth item, since I'd expect that would be most relevant for the user.
In theory we could integrate and show all ongoing status changes, but I'm afraid
this might produce somewhat confusing mixed states at times, esp. when loading
an instrument into another part, which is not currently played and thus won't
pick up the wavetable until receiving the first real note.
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel