nui
nui copied to clipboard
Create Dedicated Graphics Engine
This has already begun in a small sense with NUIGraphics
. The next big step might be to support a box model that supports properties like margin
, padding
, border-*
, box-shadow
, and use this for all UI elements. Setting up support for custom graphics allows for many other applications, too, of course.
If anyone has thoughts on what the most valuable features would be for this, feel free to chime in.
I'm not sure about a dedicated box model at this point, but I highly see the benefits of a graphics engine and would love to contribute.
The features I think matter most are border
, background
(multiple?), box-shadow
(with inset
support), text-shadow
, text-color
and border-radius
.
I would love to see features like this implemented, but please do not bring the entire mess that is CSS into NUI. Each property you add, the steeper is the learning curve.
I have a Dedicated Graphics Engine:
https://github.com/eonist/swift-utils#graphicskit-️
