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

    bright-gpu-74537

    01/26/2023, 5:17 PM
    tables not working?
  • l

    late-engine-8731

    01/26/2023, 5:17 PM
    This is fixed in https://github.com/HxGodot/hxgodot/issues/44
  • c

    clever-yak-82528

    01/26/2023, 5:47 PM
    how to prevent editing the fields of a treeview while still allowing interaction with it
  • b

    bright-gpu-74537

    01/26/2023, 5:54 PM
    oh, is native treeview editable by default??
  • b

    bright-gpu-74537

    01/26/2023, 5:58 PM
    so it is
  • b

    bright-gpu-74537

    01/26/2023, 6:12 PM
    alright, fixed, latest haxeui-hxwidgets and hxWidgets (since i needed to add the vetoable NotifyEvent)
  • a

    ambitious-knife-25690

    01/26/2023, 6:13 PM
    lmao i just realised something
  • a

    ambitious-knife-25690

    01/26/2023, 6:13 PM
    Copy code
    hx
    case MouseEvent.MOUSE_UP:
      if (mapping.exists(MouseEvent.MOUSE_UP) == false) { ... }
  • a

    ambitious-knife-25690

    01/26/2023, 6:14 PM
    you unlink the listeners immediately right?
  • a

    ambitious-knife-25690

    01/26/2023, 6:14 PM
    these probably should be
    once
    as well
  • a

    ambitious-knife-25690

    01/26/2023, 6:14 PM
    I have them all set to
    on
    😂
  • b

    bright-gpu-74537

    01/26/2023, 6:16 PM
    no, you dont unlink listeners immediately - there is "unmapEvent" for that... the component will tell you when its done listening to a, for example, mouse up event
  • a

    ambitious-knife-25690

    01/26/2023, 6:16 PM
    ah okay
  • b

    bright-gpu-74537

    01/26/2023, 6:16 PM
    so i think you are fine there... it was just the calllaterimpl that was borked
  • a

    ambitious-knife-25690

    01/26/2023, 6:42 PM
    have you considered making
    haxeui-textinput
    and using your own input across all the composites?
  • a

    ambitious-knife-25690

    01/26/2023, 6:42 PM
    is that difficult to setup in a cross lib way
  • a

    ambitious-knife-25690

    01/26/2023, 6:42 PM
    it might stand the best chance at improvements as it is hitting a wide userbase
  • b

    bright-gpu-74537

    01/26/2023, 6:51 PM
    its not impossible, but its not the simplest thing to do either... i dont think you need many font type functions to do it, but its more effort than zero 🙂
  • m

    melodic-advantage-23638

    01/26/2023, 7:01 PM
    If you do make haxeui-textinput, please do it before I start looking creating my own, lol.
  • m

    melodic-advantage-23638

    01/26/2023, 7:05 PM
    It looks like lime has built in font rendering support so I'm going to dig in there and see if I can get it to work, but I'll have to borrow the rest from somewhere.
  • a

    ambitious-knife-25690

    01/26/2023, 7:05 PM
    i may explore the concept a bit myself, but, not that far into my backend just yet
  • m

    melodic-advantage-23638

    01/26/2023, 7:05 PM
    Oh I don't even have anything drawing yet, and definitely not text let alone input.
  • a

    ambitious-knife-25690

    01/26/2023, 7:06 PM
    cause what i'm thinking is essentially having the rendering done by a label + box
  • a

    ambitious-knife-25690

    01/26/2023, 7:06 PM
    which would be handled by the backend implementation
  • a

    ambitious-knife-25690

    01/26/2023, 7:06 PM
    then all the behaviours would be universal
  • b

    bright-gpu-74537

    01/26/2023, 7:08 PM
    heres a fairly functional one for kha, but to have it "universal" it would have to follow some type of abstraction / interface and thats not going to happen for a while (at least not by me 🙂 ): https://github.com/haxeui/haxeui-kha/blob/master/haxe/ui/backend/kha/TextField.hx
  • a

    ambitious-knife-25690

    01/26/2023, 7:09 PM
    i may explore custom components in the near future then, and maybe see if i can employ my idea as a backend agnostic textbox
  • a

    ambitious-knife-25690

    01/26/2023, 7:09 PM
    but still got more backend stuff to do 😄
  • m

    melodic-advantage-23638

    01/26/2023, 7:10 PM
    Thanks for that, it will be helpful
  • b

    billowy-waiter-28954

    01/26/2023, 7:16 PM
    @ambitious-knife-25690 The text input api provided by Ceramic should be helpful for haxe-ui integration, spent a lot of time on that specific feature to make it very similar to what you would have with a standard text input in web
1...141914201421...1687Latest