Nalay is a c++ layout library targeted to support many backends like Raylib, Sdl3, Vulkan etc
Nalay is a layout library so you can also use it plug and play or use it with your own backend to fit your own use
32 messages · Page 1 of 1 (latest)
Nalay is a c++ layout library targeted to support many backends like Raylib, Sdl3, Vulkan etc
Nalay is a layout library so you can also use it plug and play or use it with your own backend to fit your own use
Star me pls there is a lot of work to be done still
The todolist also includes cascading styles and string style parsing
Dyamic rendering and dynamic states with signals and event handlers
And many more
I'll be following this btw 👍
i added a flexbox
this is the rendering of the flexbox using the raylib renderer backend
i also added a slab allocator for dynamic allocations of ui nodes
next step: dynamic rendering, signals, event handlers, and cascading styles
if its just a layout library why does it come with a buttload of notlayoutisms?
strange commit history too
Well i want it to be functional and plug n play as well
The layout logic is decoupled from the rest of the logic
Meaning it can be used in various contexts
its kind of like clay, its a layout library in its core, but also provides some backends out of the box which is what i plan to do
then move it into examples and have the layout completely separate, it doesnt really look decoupled at all
that was indeed in my todo list
alright
i added event listeners for current available elements
moved the raylib backend in include/backends
added examples
added dynamic rendering
the todolist currently:
whats the difference between css support and cascading stylesheets?
i meant cascading styles sorry
wait i typed it correctly
yes so implementing the cascading styles on the ui elements themselves where setting display_font property would actually affect all tree
your right, i meant style inheritance by the first one and parsing styles from string for the second one