Some years ago, I enjoyed developing a small fan game based on Haxe/OpenFL.
So, when a mission requested a desktop, I took the opportunity to get back to Haxe with HaxeUI-hxWidgets this time.
After some hours lost with vscode, project template and others hxwidget issue, I’m finally ready to develop my app.
And so came the first questions
How do you handle multi “steps”/states ?
Let’s take a wizard for exemple, how do you handle screen1 then screen2 … ?
I tried with addComponent, button.click, removeComponent/addComponent but it crashes with segfault 11 on MacOS :
It seems I can’t remove a component from within a listener to an event dispatched by the component’s child.
So I used the hide/show method, but I fear it consumes too much memory …
What is the best approach ?
Does @:bind(component, MouseEvent.CLICK) use registerEvent or onClick ?
From what I understand here, registerEvent allows multiple listeners so I’d like to use the right way to register to an event
Compile a Windows app on MacOS
Is it possible to compile a Windows desktop app on MacOS ? it seems no, but since there is a lot of hidden feature, post or tricks, I ask