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

    bright-gpu-74537

    02/06/2023, 3:38 PM
    haxeui is a discrete set of components (that can be instantiated via xml, or other mark ups), but i dont see how that is going to map to this "user generated html page"
  • b

    bright-gpu-74537

    02/06/2023, 3:39 PM
    especially so if the user wanted to do more complex html type stuff, that would almost certainly not work (even if you managed to hack in an html parser)
  • b

    bumpy-engineer-49082

    02/06/2023, 3:40 PM
    Is there a reason you maintain xml?
  • a

    ambitious-knife-25690

    02/06/2023, 3:41 PM
    yeah, but, you can provide a user with the option to adjust the styling options of the ui components
  • a

    ambitious-knife-25690

    02/06/2023, 3:41 PM
    But I guess I don't understand the usecase very well
  • b

    bumpy-engineer-49082

    02/06/2023, 3:42 PM
    It's not the point. Users should be able to code main menu of the game themselves.
  • b

    bumpy-engineer-49082

    02/06/2023, 3:42 PM
    Like a debug file in old games.
  • a

    ambitious-knife-25690

    02/06/2023, 3:42 PM
    yeah, that's possible
  • b

    bright-gpu-74537

    02/06/2023, 3:42 PM
    because its the best markup format for UI's (i would say)
  • b

    bumpy-engineer-49082

    02/06/2023, 3:44 PM
    I thought html could be the best option due to its popularity, functionality and readability.
  • b

    bright-gpu-74537

    02/06/2023, 3:45 PM
    erm, so how would you, in html5, say "i want a tabview with 4 pages, the first tabpage should have a scrollview with 20 buttons"...
  • s

    square-angle-35096

    02/06/2023, 3:45 PM
    aren't xml and html almost identical tho
  • s

    square-angle-35096

    02/06/2023, 3:45 PM
    as for syntax
  • b

    bright-gpu-74537

    02/06/2023, 3:45 PM
    html5 isnt a UI framework
  • b

    bright-gpu-74537

    02/06/2023, 3:46 PM
    they are totally different things
  • s

    square-angle-35096

    02/06/2023, 3:46 PM
    .
  • s

    square-angle-35096

    02/06/2023, 3:46 PM
    dont get how xml would be less readable
  • b

    bright-gpu-74537

    02/06/2023, 3:46 PM
    well, thats true, yeah... syntax wise they are similar... xml is more strict, but i get what you mean
  • b

    bumpy-engineer-49082

    02/06/2023, 3:47 PM
    It's possible in html.
  • b

    bright-gpu-74537

    02/06/2023, 3:47 PM
    no its not, there are no such things as tabviews in html5
  • b

    bright-gpu-74537

    02/06/2023, 3:48 PM
    not without a lib like jquery ui or something (which is a UI framework)
  • b

    bumpy-engineer-49082

    02/06/2023, 3:48 PM
    Um, probably I misunderstood what you mean by tabview.
  • b

    bumpy-engineer-49082

    02/06/2023, 3:48 PM
    What is it?
  • b

    bright-gpu-74537

    02/06/2023, 3:50 PM
    http://haxeui.org/builder/?fa0b544c
  • b

    bumpy-engineer-49082

    02/06/2023, 3:50 PM
    As far as I see, html gives enough functionality to build ui. But I'm not that into ui coding.
  • b

    bright-gpu-74537

    02/06/2023, 3:50 PM
    you cant do that in "raw" html5 because its not a UI framework... there are no discrete components (except basic form type ones)
  • b

    bright-gpu-74537

    02/06/2023, 3:51 PM
    well, ofc you can build UIs... i mean, haxeui-html5 outputs html5 dom nodes
  • a

    ambitious-knife-25690

    02/06/2023, 3:51 PM
  • a

    ambitious-knife-25690

    02/06/2023, 3:51 PM
    like so?
  • b

    bright-gpu-74537

    02/06/2023, 3:52 PM
    you were asking why it uses xml, and im saying because haxeui is built out of discrete components where as html5 isnt
1...146914701471...1687Latest