brummer10 / XUiDesigner

A WYSIWYG LV2 GUI/plugin creator tool
BSD Zero Clause License
100 stars 3 forks source link

Intermediary save format #4

Closed falkTX closed 1 year ago

falkTX commented 2 years ago

Would be great to be possible to save the created UI in an intermediary format for later editing. Right now XUiDesigner is all or nothing - we export the UI as LV2 bundle or we don't. If we want to edit that UI further we need to redo them all again.

An intermediary format, whatever that may be, would allow to keep working on the GUI over a period of several days, tweaking stuff along the way.

brummer10 commented 2 years ago

I've done my first effort on create a json file for the LV2 UI description: https://pastebin.com/dpykrFXY

falkTX commented 2 years ago

NIce, that looks like something possible to use. I would recommend to perhaps just remove the "Port" index property altogether

brummer10 commented 2 years ago

Oh, Port index is something I need for my own toolkit. I know, from the host developer side, symbol will be the more save option to use, but that isn't true from the plugin developer side. On the plugin side, the port index is much faster and easier to iterate to find the corresponding control widget. As well you ain't run into trouble when the indexing change, as, you change it by yourself. Still, it's easy to ignore when not needed, hard to fetch when not given and needed.

brummer10 commented 1 year ago

So interim save format is implemented now. Ui description will be saved in json format file. Means, I close this issue now.