https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    03/09/2023, 8:21 AM
    i use it all the time... this is what HaxeUIApp can help with btw... and yeah, you can use #if defs...
  • h

    happy-agent-4114

    03/09/2023, 8:25 AM
    I commented out the two macro lines that crashed things
  • h

    happy-agent-4114

    03/09/2023, 8:25 AM
    I think that broke it more
  • b

    bright-gpu-74537

    03/09/2023, 8:26 AM
    ah right, well, you shouldnt be commenting those out i guess... better to work out why they are erroring (and not for me for example)
  • b

    bright-gpu-74537

    03/09/2023, 8:26 AM
    what version of haxe?
  • b

    bright-gpu-74537

    03/09/2023, 8:26 AM
    does it work on command line?
  • h

    happy-agent-4114

    03/09/2023, 8:26 AM
    let me check
  • c

    cool-musician-79004

    03/09/2023, 8:30 AM
    My potential usage is to build my neovim configuration in Haxe, fully type safe, awesome, output to Lua, and then have a nice GUI to configure some aspects of the editor using haxe-ui
  • c

    cool-musician-79004

    03/09/2023, 8:30 AM
    Which will require native compilation
  • b

    bright-gpu-74537

    03/09/2023, 8:31 AM
    gui using what backend framework?
  • c

    cool-musician-79004

    03/09/2023, 8:32 AM
    ... Never thought about it. Probably Html, since browsers are everywhere, but I was thinking about whatever native alternative there is
  • h

    happy-agent-4114

    03/09/2023, 8:33 AM
    nvm it's still doing that and I'm building on a completely different system
  • h

    happy-agent-4114

    03/09/2023, 8:34 AM
    It only breaks if I type the space bar though, if I copy paste a space character it works
  • b

    bright-gpu-74537

    03/09/2023, 8:34 AM
    problem with html is you'll probably need file access, no? I mean, to save prefs, etc... you could use electron / tauri but that seems like a fairly big overhead for a config gui... maybe haxeui-hxwidgets is your best bet?
  • h

    happy-agent-4114

    03/09/2023, 8:34 AM
    here's the xml:
  • h

    happy-agent-4114

    03/09/2023, 8:34 AM
    Copy code
    xml
    <vbox style="padding: 5px;" width="100%" height="100%">
        <style>
            .button {
                font-size: 20px;
            }
        </style>
        <vbox width="100%" height="90%">
        </vbox>
        <hbox width="100%" height="10%">
            <textarea width="90%" height="100%" style="font-size:20px" />
            <button width="10%" height="100%" style="font-size:10%; font-name:'assets/icofont.ttf';" text=""/>
        </hbox>
    </vbox>
  • b

    bright-gpu-74537

    03/09/2023, 8:35 AM
    http://haxeui.org/api/getting-started/backends/native-backends/haxeui-hxwidgets.html
  • h

    happy-agent-4114

    03/09/2023, 8:39 AM
    huh
  • h

    happy-agent-4114

    03/09/2023, 8:39 AM
    why does it just fail for me 💀
  • h

    happy-agent-4114

    03/09/2023, 8:40 AM
    I'm on flixel git also, is that bad
  • b

    bright-gpu-74537

    03/09/2023, 8:40 AM
    i am too..
  • b

    bright-gpu-74537

    03/09/2023, 8:40 AM
    although not latest latest.... ill update later (this eve) but i got a bunch of other stuff i need to get done
  • h

    happy-agent-4114

    03/09/2023, 8:41 AM
    man I don't even have the vaguest understanding of why this is broken
  • b

    bright-gpu-74537

    03/09/2023, 8:42 AM
    alright, ive pull latest flixel, cleared by hxcpp cache - rebuilding
  • b

    bright-gpu-74537

    03/09/2023, 8:44 AM
    debug: fine
  • h

    happy-agent-4114

    03/09/2023, 8:44 AM
    are you targeting desktop or web
  • b

    bright-gpu-74537

    03/09/2023, 8:44 AM
    desktop
  • h

    happy-agent-4114

    03/09/2023, 8:45 AM
    oh I'm on html5
  • h

    happy-agent-4114

    03/09/2023, 8:45 AM
    I should have mentioned that
  • b

    bright-gpu-74537

    03/09/2023, 8:45 AM
    ok, ill check that in a moment
1...159015911592...1687Latest