vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
36 stars 14 forks source link

Save / Load UI State #45

Open antongit opened 2 years ago

antongit commented 2 years ago

There is a new Save/LoadSettings nodes. See HowTo Save UI State.

SaveSettings

ImGui also autosaves the state into io.InitFilename (defaults to "imgui.ini") if io.InitFilename != NULL. The documentation says also "... imgui.ini is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables)." Should we provide an option to the ImGui (Skia) so the User can setup this default InitFilename (in order to have autosave)? https://github.com/ocornut/imgui/blob/873e9d35acb4d629a5ba06a312201edff8b9d0f6/imgui.h#L913