2 ms·
ImGuiWindow is an exception to the rule in that it basically serves as a canvas for other widgets to be drawn on. Regarding complex widgets like TextInput or T
by AussieWog93 5y ago
ImGuiWindow is an exception to the rule in that it basically serves as a canvas for other widgets to be drawn on.
Regarding complex widgets like TextInput or Tables having state, I'm completely OK with that. The problem with state in a retained-mode GUI is that it's stored in two places and can easily fall out of sync/create performance-related footguns/create unnecessary work building widgets. Whether or not they're "pure" immediate mode is not the point.