-
Notifications
You must be signed in to change notification settings - Fork 29
Calzini.md
Calzini ("socks" in Italian) is the name of the HTML drawable renderer (to render Shoes drawables into HTML) used by Scarpe-Webview and Scarpe-Wasm by default.
You can see the original Calzini Pull Request to get a basic understanding of what it is and what it does. But the idea is that an HTML-based display service can just ask the HTML renderer for a drawable (e.g. render("alert")) and pass the appropriate display properties through, and get an HTML rendering of that drawable with those properties.
That permits saving a lot of repeated code between Scarpe-Webview and Scarpe-Wasm, and possibly other HTML-based display services in the future.
If you wanted a "reskinned" Scarpe, it would make sense to replace (only) the HTML renderer, while changing no other behaviour.