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

    bright-gpu-74537

    12/19/2022, 4:19 PM
    yeah, the app (and ui) has defo jumped forward hugely in the last few weeks... 👏
  • b

    bright-gpu-74537

    12/19/2022, 4:21 PM
    oh, i see what you mean about the toggle buttons
  • f

    full-journalist-82607

    12/19/2022, 4:21 PM
    I mean button with groups, I thought the logic would be in haxeui. Basically if it's selects a button, it unselects the other one.
  • b

    bright-gpu-74537

    12/19/2022, 4:22 PM
    that might just be implemented for composites... but i agree, regardless, it could (and should) work with native too
  • b

    bright-gpu-74537

    12/19/2022, 4:24 PM
    it traces when it shouldn't and doesn't when it should
    ... dunno why but that made me laugh... like a nursey rhyme or a fable or something 😄
  • b

    bright-gpu-74537

    12/19/2022, 4:27 PM
    whats the goal of
    @:bind(button2, UIEvent.SHOWN)
    in A001, cant you just use the
    UIEvent.CHANGE
    event on the tabview itself?
  • f

    full-journalist-82607

    12/19/2022, 4:28 PM
    That's what I tried: to compare with a selectedPage after a CHANGE, but selectedPage crashes ^^
  • b

    bright-gpu-74537

    12/19/2022, 4:29 PM
    there is also pageIndex
  • b

    bright-gpu-74537

    12/19/2022, 4:29 PM
    (but selectedPage shouldnt crash anyway as you say)
  • f

    full-journalist-82607

    12/19/2022, 4:30 PM
    Yes, good idea, I'll try.
  • b

    bright-gpu-74537

    12/19/2022, 4:30 PM
    ill fix selectedPage anyway ofc, certainly shouldnt be crashing
  • f

    full-journalist-82607

    12/19/2022, 4:36 PM
    Thanks ! SelectedPage is simple rto use than pageIndex for my usage 🙂
  • b

    bright-gpu-74537

    12/19/2022, 4:37 PM
    yeah, i guess ive always just used pageIndex... selectedPage isnt mapped at all in native.xml, so its presumably trying to use the composite behaviour
  • b

    bright-gpu-74537

    12/19/2022, 4:48 PM
    alright, selected page fixed in latest haxeui-hxwidgets
  • b

    bright-gpu-74537

    12/19/2022, 4:49 PM
    Copy code
    haxe
            tabs1.onChange = (_) -> {
                selectedPageText.text = "selection: " + tabs1.selectedPage.text;
            }
    
            setPageSelection.onClick = (_) -> {
                tabs1.selectedPage = page3;
            }
  • f

    full-journalist-82607

    12/19/2022, 4:49 PM
    Awesome ! Updating now !
  • f

    full-journalist-82607

    12/19/2022, 4:54 PM
    Works, and is a good workaround for the UIEvent.SHOWN . Thanks !!! 👍
  • b

    bright-gpu-74537

    12/19/2022, 4:54 PM
    🥳
  • b

    bright-gpu-74537

    12/19/2022, 5:25 PM
    also fixed now, latest core also for this one as i needed to expose some of the stuff in ButtonGroups for haxeui-hxwidgets to use
  • f

    full-journalist-82607

    12/19/2022, 5:31 PM
    Tested and it works well !
  • f

    fierce-soccer-8550

    12/19/2022, 8:31 PM
    Looking forward to seeing what you put together for the OpenGL walk through. I had messed with opengl with Lime a while back and have been tinkering around lately here and there again, but, I get stumped here and there quite a bit with it. webglacademy is also an interesting site if you haven't checked it out.
  • f

    fierce-soccer-8550

    12/19/2022, 8:31 PM
    just in case, here is the link.... http://www.webglacademy.com/courses.php#0
  • h

    hallowed-ocean-84954

    12/19/2022, 8:35 PM
    I think I've seen that once or twice but I've not spent any substantial time on it. It covers a good bit of the same ground by the look of it. I'll probably go back and look once I get a bit further on. If you want to see what I've been up to check out . And the code is on github. I am just about at the end of Part I.
  • f

    fierce-soccer-8550

    12/19/2022, 8:39 PM
    Looking good.
  • h

    hallowed-ocean-84954

    12/19/2022, 8:40 PM
    thanx - I'm a bit concerned with the model loading coming - I need something like assimp but I don't think there is anything like that on Haxe that isn't bound to a specific framework - something to look into
  • f

    fierce-soccer-8550

    12/19/2022, 8:49 PM
    the mini mighty engine that uses lime, has an import routine for obj and fbx files if I remember correctly that you may be able to implement.
  • f

    fierce-soccer-8550

    12/19/2022, 8:50 PM
    Give me a sec and i'll check that out real quick
  • f

    fierce-soccer-8550

    12/19/2022, 8:51 PM
    Ok, Stl and obj files
  • f

    fierce-soccer-8550

    12/19/2022, 8:52 PM
    let me grab the link to the actual repository instead for you
  • f

    fierce-soccer-8550

    12/19/2022, 8:52 PM
    https://gitlab.com/ravendyne-haxe
1...134313441345...1687Latest