deech / fltkhs

Haskell bindings to FLTK GUI toolkit.
MIT License
190 stars 24 forks source link

Adding a Scrolled via FLUID generates wrong "scrollNew" call instead of "scrolledNew" #156

Closed oswald2 closed 5 years ago

oswald2 commented 5 years ago

Adding a Scrolled in a FLUID file issues a call to "scrollNew" which is not known and should be "scrolledNew"

Issued message:

aurisi> • Variable not in scope: aurisi> scrollNew :: Rectangle -> Maybe a0 -> IO (Ref a3) aurisi> • Perhaps you meant ‘scrolledNew’ (imported from Graphics.UI.FLTK.LowLevel.FLTKHS) aurisi> | aurisi> 25 | mainScrolled <- scrollNew (toRectangle (25,25,1730,1000)) Nothing; aurisi> | ^^^^^^^^^

Version: fltkhs-0.8.0.2

deech commented 5 years ago

Fixed. https://github.com/deech/fltkhs/commit/0dc7dd47528c6851a540a3b227bbe063586c0b6c