Settings

Theme

So you want to build an ECS-backed GUI framework

leafwing-studios.com

3 points by GenericCanadian 2 years ago · 1 comment

Reader

davexunit 2 years ago

I've been tinkering with ECS lately and thinking about UI. The questions on my mind are: Do you really want each widget to be an entity? What if the UI overlay was a component of one entity? What if that UI was then described in an "immediate mode" similar to Dear ImGui to avoid state sync issues? They mention immediate vs. retained early in the article but it's not explored as a possible design change.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection