go-fltk icon indicating copy to clipboard operation
go-fltk copied to clipboard

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

Open mappu opened this issue 1 year ago • 1 comments

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?

mappu avatar Jul 14 '24 03:07 mappu

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.

MoAlyousef avatar Jul 19 '24 11:07 MoAlyousef