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

    full-journalist-82607

    12/31/2022, 5:49 PM
    you can use the openfl (and surely heaps) backend which can publish on IOS
  • f

    famous-alarm-22563

    12/31/2022, 5:49 PM
    It isn't a huge issue (fiddling with libs is fun) but its nice to know beforehand.
  • f

    famous-alarm-22563

    12/31/2022, 5:50 PM
    I'm using flixel atm..
  • f

    full-journalist-82607

    12/31/2022, 5:50 PM
    So it should be good 🙂
  • f

    famous-alarm-22563

    12/31/2022, 5:50 PM
    __should__
  • f

    famous-alarm-22563

    12/31/2022, 5:50 PM
    fiddling with android/ios libs sounds like fun.. I've always been really weak in that area of development.
  • f

    full-journalist-82607

    12/31/2022, 5:51 PM
    Haxeui supports the platforms the backends supports, if flixel supports IOS which is the case, haxeui should work there.
  • f

    famous-alarm-22563

    12/31/2022, 5:52 PM
    I've already ran into a few weirdnesses when working with haxeui (mac os click events) so I'm expecting to need to spend a while testing to make sure there aren't any game breaking bugs.
  • f

    famous-alarm-22563

    12/31/2022, 5:53 PM
    Thanks for pointing out the backend thing for me. I'm off to doing more stuff.
  • r

    refined-greece-48002

    12/31/2022, 7:38 PM
    Hmm, I think I'm missing something, but is there no way to get the path of the file the user just saved from a SaveFileDialog back in a callback?
  • a

    ambitious-knife-25690

    12/31/2022, 8:35 PM
    best to report them if you come across them
  • f

    full-journalist-82607

    01/01/2023, 5:18 PM
    Is there a reason (like for mac or windows) that in main.css for hxwidgets
    Copy code
    .textarea {
        width: auto;
        height: auto;
        color: black;
        initial-width: none;
        initial-height: none;
    }
    That color is black and not none ? None works better for me for example if I use a dark theme.
  • b

    bright-gpu-74537

    01/01/2023, 7:41 PM
    defo sounds like it should be
    none
  • r

    refined-greece-48002

    01/01/2023, 7:41 PM
    @bright-gpu-74537 Happy new year 🙂 Would you be open to having fileSaveDialog's show method's callback also giving the path of the saved file if it's available?
  • b

    bright-gpu-74537

    01/01/2023, 7:41 PM
    `black`(or any colour) doesnt really sense here
  • f

    full-journalist-82607

    01/01/2023, 7:42 PM
    Happy new year @bright-gpu-74537
  • b

    bright-gpu-74537

    01/01/2023, 7:42 PM
    Happy new year to you too 🙂 Certainly, im surprised it isnt already there
  • r

    refined-greece-48002

    01/01/2023, 7:42 PM
    It's in there in the implemented targets as fullPath, but not kept after the operation completes
  • f

    full-journalist-82607

    01/01/2023, 7:42 PM
    and @refined-greece-48002
  • r

    refined-greece-48002

    01/01/2023, 7:43 PM
    I have added it locally, at least to core and heaps backend, but do you have a way in mind you'd like it done or would you like me to pr it? I notice the result boolean is getting stored on the instance instead of getting passed around, so I assume this should be as well
  • f

    full-journalist-82607

    01/01/2023, 7:43 PM
    Okay that's what I thought, but I preferred to ask 🙂
  • b

    bright-gpu-74537

    01/01/2023, 7:44 PM
    PR seems like the best way forward, it could have just been an oversight on my part, but a PR will clear that up if that is the case
  • b

    bright-gpu-74537

    01/01/2023, 7:45 PM
    yeah, seems like some left over from somewhere... no reason haxeui-hxwidgets should be colouring pretty much anything
  • b

    bright-gpu-74537

    01/02/2023, 8:50 AM
    @full-journalist-82607 - the menu system is more consistent between native / composites now, you can use either way:
    Copy code
    haxe
    var menu = new MyMenu();
    menu.left = ...
    menu.top = ...
    menu.show();
    or
    Copy code
    haxe
    var menu = new MyMenu();
    menu.left = ...
    menu.top = ...
    Screen.instance.addComponent(menu);
  • b

    bright-gpu-74537

    01/02/2023, 8:51 AM
    these both to the same thing now (ie, "show" just adds it to the screen, and for native there is special handling for if a menu is "added to the screen")
  • b

    bright-gpu-74537

    01/02/2023, 8:51 AM
    latest haxeui-core and haxeui-hxwidgets
  • f

    full-journalist-82607

    01/02/2023, 9:16 AM
    Nice to have it both ways !
  • b

    bright-gpu-74537

    01/02/2023, 9:16 AM
    agreed
  • b

    bright-gpu-74537

    01/02/2023, 9:42 AM
    also fixed then the disabled thing, and removed forcing color for text area to black
  • b

    bright-gpu-74537

    01/02/2023, 9:42 AM
    (latest core and backend)
1...136313641365...1687Latest