On 15.01.24 13:22, Will Godfrey wrote:
I'll move on to some of the inserts, which will keep out of your way. The first will be Envelopes. I think the 'freemode' graphic here is done entirely within the GUI as straight lines, although it dives into the main code a lot.
...and if my plan works out as intended, we'll be able to package this bare envelope data and transport it into a MirrorData object in the GUI; the drawing code will then just use this data directly. Since you'll be looking into this code next days anyway -- maybe you could, in preparation for such a future refactoring, already ask the question: What envelope data does the GUI really need for its drawing tasks? which data does the GUI actually access and need? Ideally we'll be able then to arrange this data into a compact block in memory, and as a last step, we'd then switch to the new communication mechanism when it's ready for use. -- Hermann _______________________________________________ Yoshimi-devel mailing list Yoshimi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/yoshimi-devel