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

    bright-gpu-74537

    03/17/2023, 7:38 PM
    it was, but the signature is still wrong
  • h

    happy-agent-4114

    03/17/2023, 7:38 PM
    oh my god I literally spent an hour on this
  • b

    billowy-train-84579

    03/18/2023, 1:43 AM
    How does haxe ui work?
  • a

    ambitious-knife-25690

    03/18/2023, 1:44 AM
    wdym
  • b

    billowy-train-84579

    03/18/2023, 1:45 AM
    As I'm wondering if i should get people to directly instantiate actual ui based on given properties Or convert properties into an abstract ui representation for users to then instantiate actual ui based on the representation
  • a

    ambitious-knife-25690

    03/18/2023, 1:46 AM
    well, you can modify properties of existing components at any point, you can also create any component at any point
  • b

    billowy-train-84579

    03/18/2023, 1:47 AM
    Mainly allowing for optimisations based on the properties
  • a

    ambitious-knife-25690

    03/18/2023, 1:47 AM
    there is a "special" runtime api but I have absolutely no idea how that api works myself
  • a

    ambitious-knife-25690

    03/18/2023, 1:47 AM
    (for special cases)
  • a

    ambitious-knife-25690

    03/18/2023, 1:47 AM
    i don't understand this sentence 🤔
  • a

    ambitious-knife-25690

    03/18/2023, 1:48 AM
    by properties are you talking about haxeui component properties?
  • a

    ambitious-knife-25690

    03/18/2023, 1:48 AM
    i know nothing about what you're doing, give the context!
  • b

    billowy-train-84579

    03/18/2023, 1:49 AM
    Eg, some properties may be able to be represented in a specialised way Say a list of list of floats This might, if requirements are met, be able to be represented as a grid of floats instead of a list of a list of floats
  • b

    billowy-train-84579

    03/18/2023, 1:50 AM
    Yea
  • a

    ambitious-knife-25690

    03/18/2023, 1:52 AM
    are you asking (in a very roundabout way) if you can change the data displayed in a component?
  • a

    ambitious-knife-25690

    03/18/2023, 1:52 AM
    or how said data is displayed?
  • a

    ambitious-knife-25690

    03/18/2023, 1:53 AM
    so you have data displayed in a list in one section then a table on another?
  • b

    billowy-train-84579

    03/18/2023, 1:54 AM
    Maybe i should provide a way for users to be able to optimize the generated ui based on the type given Tho, ill need to figure out how to get this to be recursive Eg, a list of matrices, List List List float The first list does not meet the optimisation but the second list does
  • b

    billowy-train-84579

    03/18/2023, 1:56 AM
    Tho theres still the problem of figuring out how to actually properly abstract the ui like haxe-ui does
  • b

    billowy-train-84579

    03/18/2023, 1:56 AM
    Yea
  • a

    ambitious-knife-25690

    03/18/2023, 1:57 AM
    yeah, you could do that
  • a

    ambitious-knife-25690

    03/18/2023, 1:58 AM
    you can interact with haxeui programmatically or via xml, the xml way to do this is something i don't know how to do
  • a

    ambitious-knife-25690

    03/18/2023, 1:59 AM
    but the programmatic way, would be you could store references to component classes and just provide an interface or api for setting up the ui components
  • b

    billowy-train-84579

    03/18/2023, 1:59 AM
    How does the backend system work?
  • b

    billowy-train-84579

    03/18/2023, 2:00 AM
    For example, ui placement and layout
  • a

    ambitious-knife-25690

    03/18/2023, 2:01 AM
    the backend essentially stores how to perform "actions" on a given backend
  • a

    ambitious-knife-25690

    03/18/2023, 2:01 AM
    core tells the backend impl what it wants to do
  • b

    billowy-train-84579

    03/18/2023, 2:02 AM
    Also is it possible to like, provide and interact with a ui component that is only available in X backend?
  • a

    ambitious-knife-25690

    03/18/2023, 2:02 AM
    so backend may expose an api like
    handleSize
    and
    handlePos
    , you have position and size of a box
  • a

    ambitious-knife-25690

    03/18/2023, 2:02 AM
    core can now tell a backend to render a box
1...160216031604...1687Latest