mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-04 11:35:06 +03:00
816 B
816 B
Nuake engine
UI system
The UI system uses yoga layout and custom styling properties. The styling properties will mimick the standard css properties but will be rendererd using a shader. Since the layout system is based on yoga, the actual writting of the layout will look a lot like html, the differences will lie in the actual components.
The UI pipeline maybe
- load xml file containing pseudo html with components Potential nodes
- Canvas basically a container for UI.
- Button with basic state and event
- Texture which display a engine texture(can use framebuffer!!)
- Slider(ouch)
-
Create an in engien structure of the layout
-
Create a yoga layotu from node and calculate when changes occurs
-
Draw each node in the structure using styling loaded somewhere idk.
Styling
TODO MAN