kas-gui / kas

Another GUI toolkit
Apache License 2.0
902 stars 25 forks source link

Merge WidgetCore into Layout; NodeMut → Node → dyn Layout #398

Closed dhardy closed 1 year ago

dhardy commented 1 year ago

It turns out that the (non-mut) Node does not need a data ref at all. Simplify by replacing with &dyn Layout, then rename NodeMutNode.

This also cleans up widget traits a little, reducing to just Layout, Events and Widget.