MoAlyousef / zfltk

Zig bindings for the FLTK gui library
MIT License
58 stars 7 forks source link

Add tile group with example, rename setScollBar to setScrollbar #25

Closed mgord9518 closed 1 year ago

mgord9518 commented 1 year ago

This PR also includes the following other changes:

The thinking behind allowing signed X and Y values allows widgets to be pushed off-screen, which makes sense for animations and whatnot. However, negative sizes are undefined, so negative W and H should never be allowed. My guess as to why FLTK uses int for all 4 values is probably just because it's an easier type to work in C++ with than unsigned int without requiring constant casting

MoAlyousef commented 1 year ago

Thanks for this.