kotlin-imgui icon indicating copy to clipboard operation
kotlin-imgui copied to clipboard

Mutable properties for classes in Common

Open nlbuescher opened this issue 4 years ago • 1 comments

Currently a system exists in codegen to generate setters for a selected whitelist of properties in ImGui classes. One notable property missing is ImGuiIO.configFlags, and modification of ImGuiStyle's properties is probably another good use case, but the question comes to mind: At what point might it be better to tweak the generation to make properties mutable based on whether they're const rather than explicitly following a whitelist?

nlbuescher avatar Jul 11 '20 17:07 nlbuescher

Not many of them are const and I don't know if some properties are only meant to be mutable internally. So I settled with an on-demand whitelist and moved on.

Dominaezzz avatar Jul 11 '20 21:07 Dominaezzz