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

    bitter-family-72722

    06/04/2020, 5:55 PM
    "well, basically, i just means if cant cast it, it returns null rather than throws an exception" - no, you can't rely on this with unsafe casts. they're called that for a reason
  • b

    bitter-family-72722

    06/04/2020, 5:55 PM
    anything could happen
  • b

    bitter-family-72722

    06/04/2020, 5:57 PM
    I'd recommend using
    Std.downcast()
    if possible
  • b

    bitter-family-72722

    06/04/2020, 5:57 PM
    there you really can rely on a
    null
    return in case of failure
  • b

    bright-yak-48460

    06/04/2020, 5:59 PM
    If the scrollview contents is a label, textfield, or textarea And text is being actively selected, then the scrollMode drag behavior should be inverted. This will allow it to scroll during text selection so you can continue the text selection beyond the current view.
  • c

    clever-oil-61353

    06/04/2020, 7:19 PM
    @User thanks for the tip
  • c

    clever-oil-61353

    06/04/2020, 7:20 PM
    i like that idea intox
  • b

    bright-gpu-74537

    06/04/2020, 9:53 PM
    why label? text inputs i can understand, but not labels
  • c

    clever-oil-61353

    06/04/2020, 10:55 PM
    i didnt think about that, your right..... labels generally, don't scroll.
  • b

    bright-yak-48460

    06/05/2020, 1:35 AM
    Well, any text component that allows selection and extends beyond the scrollview box.
  • c

    clever-oil-61353

    06/05/2020, 1:53 AM
    @User i may be wrong, but currently it seems that, i cant use any of the backends and compile to hl.
  • c

    clever-oil-61353

    06/05/2020, 1:55 AM
    the haxeui backends
  • c

    clever-oil-61353

    06/05/2020, 2:23 AM
    pdcurses worked 🙂
  • b

    bright-gpu-74537

    06/05/2020, 7:10 AM
    ive used hl for openfl and heaps
  • c

    clever-oil-61353

    06/05/2020, 7:23 AM
    everytime i attempt to.... even just including haxeui-openfl lib.... it will tell me i cant compile to hl because its flash related
  • b

    bright-gpu-74537

    06/05/2020, 7:25 AM
    ¯\_(ツ)_/¯
  • b

    bright-gpu-74537

    06/05/2020, 7:25 AM
    what about a non haxeui openfl app?
  • c

    clever-oil-61353

    06/05/2020, 7:25 AM
    compiling to the hl bytecode..... same with compiling to neko
  • c

    clever-oil-61353

    06/05/2020, 7:26 AM
    it lets me compile fine as long as i dont include anything html or flash related.
  • c

    clever-oil-61353

    06/05/2020, 7:26 AM
    like js.browser and js.html...... or haxeui-html5 or haxeui-openfl
  • b

    bright-gpu-74537

    06/05/2020, 7:27 AM
    well, i mean, you cant use js.* in hl...
  • b

    bright-gpu-74537

    06/05/2020, 7:27 AM
    but haxeui-openfl doesnt
  • b

    bright-gpu-74537

    06/05/2020, 7:28 AM
    but you certainly wouldnt be able to use haxeui-html5 in hl
  • c

    clever-oil-61353

    06/05/2020, 7:29 AM
    i assumed that with html related stuff...... i'll show you the error real quick.... and all i have to do is include the haxeui backend in the project.xml
  • c

    clever-oil-61353

    06/05/2020, 7:39 AM
    cant remember which work folder i had it in, i really need to organize my folders lol
  • c

    clever-oil-61353

    06/05/2020, 7:40 AM
    found it.... jeesh
  • c

    clever-oil-61353

    06/05/2020, 7:42 AM
    about to add the haxeui-openfl to it and run
  • c

    clever-oil-61353

    06/05/2020, 7:46 AM
    thanks for working your magick Ian 🙂
  • c

    clever-oil-61353

    06/05/2020, 7:48 AM
    i spent the last couple hours working on figuring out what i needed to do to create a backend for haxeui that i could use.... so as always, i still learned me something.
  • c

    clever-oil-61353

    06/05/2020, 7:49 AM
    i must have something open in the background that was messing with it or something.
1...264265266...1687Latest