Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still a lot of GUI code in the repository. #4

Open
bjorndm opened this issue Mar 11, 2024 · 2 comments
Open

Still a lot of GUI code in the repository. #4

bjorndm opened this issue Mar 11, 2024 · 2 comments

Comments

@bjorndm
Copy link

bjorndm commented Mar 11, 2024

There's still a lot of GUI code in the repository. If you are OK I'll make a PR to get rid of it.

@bjorndm
Copy link
Author

bjorndm commented Mar 11, 2024

Actually, the GIO code might not be the best place to start to write a GLFW replacement in Go seeing how messy it is. I am now thinking it would be cleaner to port SDL from C to Go perhaps using the modernc C to Go transpiler, and then wrap that with a GLFW API. SDL already supports IME it seems.

@kanryu
Copy link
Owner

kanryu commented Mar 11, 2024

As you point out, all the code for the gio library is currently left in Mado. This is the fastest way for my changes to be applied.

I respect your idea that you want to use SDL as the base code, but programming that is typical of Go and being transcodable to Go code are two different things.

For now, I'll remove the widget package from the current Mado and dismantled the app package,
I think the best roadmap is to leave behind the following.

  • Window
  • Framebuffer(renderer)
  • io(events)

So I think it will suit your needs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants