How is this used I have looked at the gif repository, and it looks exactly like the default fltk library. Does this compile with an emcc *.cpp -o demo.html command?
On Wednesday, September 25, 2024 at 8:29:42 AM UTC-7 Mo_Al_ wrote: > Hi all, > > I'm working on getting FLTK to work on the browser. Support code here: > https://github.com/MoAlyousef/fltk_wasm32_emscripten/tree/emscripten > (under the emscripten branch) > > Demo here: > https://moalyousef.github.io/fltk_emscripten/ > > I use emscripten_sleep() in the event loop. This is needed for shown > dialogs and menu windows. However due to it not supporting reentrancy, I > sometimes get crashes/errors when spawning a dialog or menu window. > > I'm wondering if you have suggestions to work around that? > Is there a way to detect that emscripten_sleep() is currently waiting and > avoiding reentrancy? > > I appreciate all suggestions. > Thank you > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/27adbf6e-f4eb-46bf-9b3f-bf06b581fdb1n%40googlegroups.com.
