Take a look at the following GUI framework written in Odin using SDL. I have already talked about this in another discussion: