narui
narui copied to clipboard
A react-inspired UI library for building multimedia desktop apps with rust and vulkan.
zooming in particuliar needs some design work. I would vote for a solution, that allows widgets to change the scale factor of their children
this should improve input latency (see https://raphlinus.github.io/ui/graphics/gpu/2021/10/22/swapchain-frame-pacing.html)
Widgets should be able to do some cleanup when they get remove from the widget tree, for example, deregistering themselves from a `FocusParent`.
Context providers should give a way to search for a given thing identified by type up in the widget tree. This would be usefull for e.g. themes. Children that depend...
After some discussions with @rroohhh we came up with a design that uses a (to be invented) context provider that tracks the keyboard focus. Focusable inputs should register with that...
Currently we use the depth buffer for clipping and depth testing, which is a bit awkward and requires some user intervention (the `is_clipper` attribute of `rect`s for example). We probably...
It seems like the font rendering does not to optimal anti aliasing due to broken blending
Just benchmarked your freelist implementation, and it is remarkably fast. Sadly, it lacks a way to preallocate the memory which tanks performance early on. Could you please add the with_capacity...