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

    bright-gpu-74537

    02/10/2023, 6:58 PM
    im not too familiar with hxasync, but i wouldnt expect it to be too different?
  • b

    bright-gpu-74537

    02/10/2023, 6:59 PM
    Copy code
    haxe
      @:bind(myButton, MouseEvent.CLICK)
      @async public function onButton(_) {
        @await var result = fetch(...);
        something.text = result.whatever
      }
  • b

    bright-gpu-74537

    02/10/2023, 7:00 PM
    i have no idea if that would work
  • b

    bright-gpu-74537

    02/10/2023, 7:01 PM
    i dont really know what @async does to a function or if it would then be compatible with
    myButton.registerEvent(MouseEvent.CLICK, onButton)
  • b

    bright-gpu-74537

    02/10/2023, 7:02 PM
    (looking at the generated js from the readme, i dont think it will play nice)
  • c

    cuddly-finland-31869

    02/10/2023, 7:04 PM
    alright, callbacks it is then. Thanks for the insight! 🙂
  • b

    bright-gpu-74537

    02/10/2023, 7:04 PM
    np, ill give a deeper look when i get a moment
  • b

    bumpy-engineer-49082

    02/10/2023, 10:22 PM
    Is it possible to insert svg in xml for HaxeUI?
  • b

    bright-gpu-74537

    02/10/2023, 11:01 PM
    this very much depends... haxeui-html5, sure browser will take care of it... haxeui-openfl... yes(ish), lib will take care of it... anything else, no... not with out an internal svg lib that would use haxeui canvas
  • b

    bright-gpu-74537

    02/10/2023, 11:03 PM
    what backend?
  • c

    clever-yak-82528

    02/11/2023, 12:23 AM
    i quite like what i did in welsh for combining options
  • c

    clever-yak-82528

    02/11/2023, 12:23 AM
    3 | 6
  • c

    clever-yak-82528

    02/11/2023, 12:24 AM
    we don't need the full complexities of algebraic expressions (i hope), so we can take a few shortcuts with the syntax
  • c

    clever-yak-82528

    02/11/2023, 12:24 AM
    welsh is not agglutinative
  • c

    clever-yak-82528

    02/11/2023, 12:25 AM
    i did german, but im not a native speaker and i havent practised grammar in a while so i might have got the endings wrong
  • o

    orange-van-60470

    02/11/2023, 1:17 AM
    Ian now have pixelimage drawing to hxcpp ( creating png with no other toolkit ), code needs tidying up and much to fix etc.. I suspect it is a very heavy but it is a large image! AA lines need to be added or another solution much in flux, but now atleast it is more multiplatform. All recent code checked in.
  • m

    miniature-summer-93860

    02/11/2023, 1:24 AM
    You're right, my mistake, I thought there was some language around the north channel that was also.
  • b

    bumpy-engineer-49082

    02/11/2023, 11:09 AM
    Kha.
  • b

    bright-gpu-74537

    02/11/2023, 11:10 AM
    then, nope, 'fraid not
  • b

    bright-gpu-74537

    02/11/2023, 11:18 AM
    ok, so first draft of the locale string stuff... it probably needs some work, but its _something_: http://haxeui.org/builder/?3c6a42dc
  • b

    bright-gpu-74537

    02/11/2023, 11:18 AM
    lemme know if its working! (revisions more than welcome 🙂 )
  • b

    bright-gpu-74537

    02/11/2023, 11:19 AM
    @clever-yak-82528 @miniature-summer-93860 @big-angle-82801 @flat-musician-80308 @full-journalist-82607 @icy-zebra-52882
  • f

    flat-musician-80308

    02/11/2023, 11:35 AM
    I broke it 🤣
  • b

    bright-gpu-74537

    02/11/2023, 11:35 AM
    i mean, if you are trying to break it im sure you can 🙂
  • f

    flat-musician-80308

    02/11/2023, 11:35 AM
    that wasn't on purpose 🙂 if you delete the number (so you can enter another one) it doesn't ever work again
  • b

    bright-gpu-74537

    02/11/2023, 11:36 AM
    ah, ok, thats just a UI bug then
  • f

    flat-musician-80308

    02/11/2023, 11:37 AM
    yeah, works well as long as I stay off the backspace 😄
  • b

    bright-gpu-74537

    02/11/2023, 11:39 AM
    alright, UI fixed... backspace away http://haxeui.org/builder/?f3482e29 😄
  • b

    bright-gpu-74537

    02/11/2023, 11:39 AM
    so the polish ones look right? They are the more complex ones, so thats great
  • f

    flat-musician-80308

    02/11/2023, 11:40 AM
    yeah, they work good
1...150115021503...1687Latest