How do I design a windowing library correctly?

Thanks, I’ll take a look when I add wayland support

I like it, it gives people a lot of choice to pick what matches their needs.
Passing in context as anytype for the context based methods is also nice, that way it is only relevant if you use that functionality and the window type can stay simpler.

1 Like

Alright, thanks!
I think I’ve gotten basically everything I was asking for now, but if anyone has anything more to add, please do!

1 Like

You may want to look at GitHub - david-vanderson/dvui. My app-framwork uses the dvui framework.

1 Like