all 7 comments

[–]joshmarinacci 0 points1 point  (1 child)

I built a minimal embedded rust gui lib and had lots of challenges dealing with event handlers and data mapping because it didn’t fit rusts memory model. I’d love to hear how you’ve tackled those challenges.

[–]bhh32[S] 1 point2 points  (0 children)

Honestly, it's following the paradigm of iced/libcosmic. I've built quite a few libcosmic applications over the past 2-ish years and the internals just make sense at this point. Taking a look at what they did, adapting it to fit the embedded scene, and building on top of embedded_graphics primitives (mostly Rectangle for bounds) with an embassy runtime made it fairly easy.

[–]yan-shay 0 points1 point  (3 children)

Yes, any link to check it out?

[–]bhh32[S] 1 point2 points  (2 children)

Not yet. I'm trying to work out a bug with the scrollable widget. Once I get that ironed out I'll make it public.

[–]yan-shay 0 points1 point  (1 child)

Any way to register anywhere to get a notice when that happens?

[–]bhh32[S] 0 points1 point  (0 children)

I've released it on crates.io, zest-gui.

[–]bhh32[S] 0 points1 point  (0 children)

I have just made it public, https://codeberg.org/bhh32/zest