Closed vlappa closed 1 year ago
I'm wondering whether I should add all the screen sizing functions, or maybe some are not that useful.
@vlappa maybe it would be enough to use ScreenWorkArea
for some particular screen.
My problem with Fl::w
is that the documentation does not specifies that it "Returns the width in pixels of the main screen work area.", but does not specify what the "main screen" really is... :/
ScreenWorkArea does the job fine for me atm.
https://www.fltk.org/doc-1.4/group__fl__screen.html
Functions like Fl::h (), are missing if I'm not mistaken.
I was looking for Fl::w()
https://github.com/pwiecz/go-fltk/blob/bb29d08ae9a231d7cfb9fc77e95ea21738089c83/fltk.go#L250