Open aquafir opened 2 years ago
It looks like something quite easy to add.
Just to know what ImGui implementation shares themes through a JSON file?
Also for enums like ImGuiDir
do you expect a string or an integer?
Just to know what ImGui implementation shares themes through a JSON file?
UtilityBelt is currently using it.
The person working on ImGui support doesn't have any problems with adding support for toml, but I thought JSON support might be useful for others as a common choice for serialization.
Also for enums like ImGuiDir do you expect a string or an integer?
I think typically this defaults to an integer but either way would be fine. A string might be more useful to anyone reading the JSON?
Would it be possible to add support for exporting JSON?
The
toml
export wouldn't be hard to convert from, but JSON is already supported for sharing themes by the implementation of ImGui I'm looking at.It would look like:
Thanks for the great tool!