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

Port or import native OS themes from fltk-rs/fltk-theme #132

Open
mappu opened this issue Jul 14, 2024 · 1 comment
Open

Port or import native OS themes from fltk-rs/fltk-theme #132

mappu opened this issue Jul 14, 2024 · 1 comment

Comments

@mappu
Copy link

mappu commented Jul 14, 2024

Hi, thanks for all your work on this project. These bindings are super easy to use.

Have you seen the work at https://github.com/fltk-rs/fltk-theme by @MoAlyousef ? In my opinion this is a phenomenal improvement to FLTK's UI/UX. I'd really love to see these become available in the Go binding.

The fltk-theme implementation uses set_frame_type_cb which isn't exposed in this binding.

What do you think would be the most practical way to use these extra schemes in Go? Expose the set_frame_type_cb equivalent and write the callback in Go? Or, port the schemes to C and rebuild the bindings against a custom FLTK fork?

@MoAlyousef
Copy link
Contributor

MoAlyousef commented Jul 19, 2024

Hello

Probably exposing the necessary functionality in Go would be ideal. It would allow others to also create their own themes/schemes, which can also be provided in external go packages.

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