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

    bright-gpu-74537

    02/20/2020, 6:36 PM
    haxeui using haxeui-hxwidgets would probably be your best bet
  • b

    bright-gpu-74537

    02/20/2020, 6:36 PM
    will get proper native components then
  • a

    ambitious-knife-25690

    02/20/2020, 6:36 PM
    > cant really share screens without permission though
  • a

    ambitious-knife-25690

    02/20/2020, 6:36 PM
    what do you mean?
  • b

    bright-gpu-74537

    02/20/2020, 6:37 PM
    i mean, permission from the person who showed me screens, not discord permissions
  • b

    bright-gpu-74537

    02/20/2020, 6:37 PM
    oh, just fired up my elementary OS VM, and forgot about the double border issue with wxwidgets there
  • b

    bright-gpu-74537

    02/20/2020, 6:37 PM
    i opened and issue about it with wxwidgets ages ago and they dont seem bothered
  • b

    bright-gpu-74537

    02/20/2020, 6:38 PM
    which is a shame really as its a super nice looking flavour
  • a

    ambitious-knife-25690

    02/20/2020, 6:39 PM
    ooff
  • a

    ambitious-knife-25690

    02/20/2020, 6:40 PM
    that is not something "ignorable" 😂
  • b

    bright-gpu-74537

    02/20/2020, 6:41 PM
    https://github.com/wxwidgets/Phoenix/issues/698
  • b

    bright-gpu-74537

    02/20/2020, 6:41 PM
    yeah
  • b

    bright-gpu-74537

    02/20/2020, 6:43 PM
    if things did work, i would use that os all the time... i really like(d) it
  • b

    bored-sandwich-20283

    02/20/2020, 7:23 PM
    If i use openFL as my target is there anyway to use openFL display objects together with haxeUI, say i want to show an animation on a loading screen or something like that.
  • b

    bored-sandwich-20283

    02/20/2020, 7:26 PM
    if not, would it be difficult to create my own custom-component that could use those kind of animations ? i am just asking as i don't want to spend the entire weekend attempting something that is impossible to do.
  • b

    bright-gpu-74537

    02/20/2020, 7:27 PM
    well, for the openfl backend
    class Component extends Sprite
    (essentially)
  • b

    bored-sandwich-20283

    02/20/2020, 7:27 PM
    well then it should be possible in some form i guess 🙂
  • b

    bright-gpu-74537

    02/20/2020, 7:28 PM
    yeah, you should be able to add haxeui components to openfl with just addChild, and openfl sprites to haxeui components, also with addChild...
  • b

    bright-gpu-74537

    02/20/2020, 7:28 PM
    haxeui wont manage those sprites for you btw, so, for example:
  • b

    bright-gpu-74537

    02/20/2020, 7:29 PM
    Copy code
    var vbox = new vbox();
    vbox.addComponent(new Button());
    vbox.addComponent(new Sprite());
    vbox.addComponent(new Button());
  • b

    bright-gpu-74537

    02/20/2020, 7:30 PM
    as far as haxeui layouts are concerned, there is just two things to layout there
  • b

    bored-sandwich-20283

    02/20/2020, 7:30 PM
    my "plan" is to make a tool that i can use to visually place spritesheet elements and animations inside a movieclip. i am tired of adobe flash making bloated swf for my openFL projects, so if i could make a small "asset builder" that would be nice 😄
  • b

    bright-gpu-74537

    02/20/2020, 7:30 PM
    sounds good 🙂
  • b

    bored-sandwich-20283

    02/20/2020, 7:32 PM
    i guess if i move an haxeUI object on screen all children will also move as they are part of that sprite. i will probably have to calculate sizes when stuff is resized but simple move should work right
  • b

    bright-gpu-74537

    02/20/2020, 7:33 PM
    yeah
  • b

    bored-sandwich-20283

    02/20/2020, 7:33 PM
    how does haxeUI handle "tab-ing" trough elements. last time i tried to use tab index in openFL it never worked
  • b

    bright-gpu-74537

    02/20/2020, 7:33 PM
    you can tab, but it doesnt work as well as it could... FocusManager needs work for sure
  • b

    bored-sandwich-20283

    02/20/2020, 7:34 PM
    ok, so it relies on openFLs implementation then. oh well i cant get everything for free 😄
  • b

    bright-gpu-74537

    02/20/2020, 7:36 PM
    im not sure it doesnt rely on openfls impl tbh... iirc it tries to actively stop the backend (i could be wrong though)... its just the impl i came up with was always relatively placeholder / PoC and havent got round to redoing it
  • b

    bored-sandwich-20283

    02/20/2020, 7:38 PM
    cool, ill dive into haxeUI this weekend :D thanks for all the info, i could not find much online, just very basic stuff. (not complaining, i hate writing docs my self 😛 )
1...181182183...1687Latest