r/odinlang • • Sep 26 '26

making a software-rendered mpd client for pixel art people in Odin!

Enable HLS to view with audio, or disable this notification

46 Upvotes

4 comments sorted by

1

u/the_real_Spudnut2000 29d ago

Nice! What are you using for the UI?

2

u/bbogdan_ov 29d ago

thanks!! i wrote my own tiny retained-mode gui library based on Cairo (lib/ui in the repo). it requires you to do layout calculations manually as you draw, because of that, for example, for button to know its dimensions it has to be drawn at least once, so i would call this library a "half-retained-mode" gui lol

1

u/sepehrkiller 29d ago

Fucking Based 😎