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

    bright-gpu-74537

    07/10/2019, 7:50 AM
    might make sense to post about it in the openfl forums... i mean, about wxwidgets + openfl / lime specifically - im not 100% sure how it would work... wxwidgets needs to create a frame and start an event loop, and, presumably after that, lime would need to be supplied that window rather than create its own (which i think it does via SDL) - then somehow create a glContext after that... so quite alot of question marks... i think @bright-yak-48460 has done something along these lines (although different) so may well have more insight
  • b

    bright-yak-48460

    07/10/2019, 6:56 PM
    SDL has a createWindowFrom method for creating your own window, context, etc and passing the window handle to this method. Openfl/Lime do not expose this method, however. Exposing this method and making it all actually work in openfl is pretty dang involved. However, we're working on a fork of lime and openfl to do exactly that. As we progress, we're making PRs to official lime and openfl. With any luck, this will become officially supported.
  • a

    agreeable-airline-16232

    07/10/2019, 6:59 PM
    so, is there any way to have a native menu with openfl on desktop targets?
  • b

    bright-yak-48460

    07/10/2019, 7:04 PM
    I believe so. The whole idea behind our fork is to be able to support things like C# app with a separate openfl window. So, if I'm following the requirements, it should be possible.
  • b

    bright-yak-48460

    07/10/2019, 7:07 PM
    Our fork has a couple weeks to go before it's of too much use to anyone besides ourselves. Once it's closer, maybe @bright-gpu-74537 and I can experiment.
  • a

    agreeable-airline-16232

    07/10/2019, 7:08 PM
    I understand that now it is not possible, correct?
  • b

    bright-yak-48460

    07/10/2019, 7:10 PM
    I don't believe it is at this moment. In a week or so, we'd be able to find out.
  • a

    agreeable-airline-16232

    07/10/2019, 7:11 PM
    ok that's great
  • a

    agreeable-airline-16232

    07/10/2019, 7:11 PM
    thank you
  • b

    bright-yak-48460

    07/10/2019, 7:12 PM
    No problem. I'm interested myself.
  • g

    gray-state-19680

    07/12/2019, 9:45 AM
    Haxeui.org seems down - anyone knows anything about it?
  • b

    bright-gpu-74537

    07/12/2019, 11:50 AM
    damn... yeah
  • b

    bright-gpu-74537

    07/12/2019, 11:51 AM
    ¡m away for the weekend also
  • b

    bright-gpu-74537

    07/12/2019, 11:51 AM
    dont have a backup of the site either
  • b

    bright-gpu-74537

    07/12/2019, 11:51 AM
    :/
  • b

    bright-gpu-74537

    07/12/2019, 11:52 AM
    looks like a partition failed on the server
  • b

    bright-gpu-74537

    07/12/2019, 11:52 AM
    bugger... thats pretty shitty news
  • g

    gray-state-19680

    07/12/2019, 1:09 PM
    You could make a short Tweet so ppl know ;)
  • q

    quick-king-64105

    07/12/2019, 11:18 PM
    Data recovery time!
  • l

    limited-advantage-32748

    07/13/2019, 11:20 PM
    So I've never been able to get Haxeui to work for me, as this has always been the results I get when I make something as innocuous as a button
  • l

    limited-advantage-32748

    07/13/2019, 11:20 PM
    What am I doing wrong
  • l

    limited-advantage-32748

    07/13/2019, 11:20 PM
    I see no documentation that includes any extra steps I need to be performing
  • b

    bitter-family-72722

    07/13/2019, 11:22 PM
    it looks like there's a button there at y = 20?
  • l

    limited-advantage-32748

    07/13/2019, 11:23 PM
    Not the problem.
  • l

    limited-advantage-32748

    07/13/2019, 11:23 PM
    Notice that I explicitly set the text of the buttons, yet I get a textless button
  • b

    bitter-family-72722

    07/13/2019, 11:23 PM
    I doubt "name" is the text, that sounds like some kind of ID
  • l

    limited-advantage-32748

    07/13/2019, 11:23 PM
    typo, same results when fixed
  • l

    limited-advantage-32748

    07/13/2019, 11:24 PM
    as you'll notice there's a loop of ten buttons that both set name and text
  • a

    ambitious-knife-25690

    07/14/2019, 12:23 AM
    @limited-advantage-32748 are you using the new-component branch?
  • l

    limited-advantage-32748

    07/14/2019, 12:23 AM
    I'm not sure how to check that
1...798081...1687Latest