Skip to content
Snippets Groups Projects
Unverified Commit 0bb15dea authored by sam's avatar sam Committed by GitHub
Browse files

Simplify main render system (#106)

* add TODOs

* separate CosmicEdit from display

breaks loads of stuff: sizing, click functions, cursor hovering just a few

Only tested on login example

not optimized; spams handle weak clones to ensure got correct handle (will be fixed by new handle swapping routine)

not sure about the API changes but might just need to get used to it, is much more extensible

* break render function apart

centered padding now broken, not tested other text positions

* reshape earlier in render to fix padding issue

* move image creation to own system

* resize internal sprite to computed UI size

* prevent panic on zero size UI elements

* clicks + editor-display one-to-many relationships

* add render systemset

* fix hoverable invisible sprites

* update examples

* fix auto-height bugs

* clippy
parent 91ba7561
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment