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

    brave-kangaroo-30399

    08/15/2019, 4:04 AM
    I haven’t done anything, prioritizing text and my own project
  • b

    brave-kangaroo-30399

    08/15/2019, 4:04 AM
    Aside from your fundamental structural issue, it was working fine last I checked
  • q

    quick-king-64105

    08/15/2019, 8:30 AM
    Ah geez. So then neither issue got resolved? Is that what I understand?
  • b

    brave-kangaroo-30399

    08/15/2019, 11:56 AM
    I don’t remember what the issues plural were
  • q

    quick-king-64105

    08/15/2019, 10:51 PM
    Not ignoring the semi-implied query. Not in a condition to human interaction. I'll get back to you in a few days about it.
  • b

    brave-kangaroo-30399

    08/16/2019, 2:47 AM
    That’s fine take your time
  • b

    bitter-family-72722

    08/18/2019, 9:07 AM
    monaco?
  • b

    bright-gpu-74537

    08/18/2019, 9:08 AM
    the editor is yeah, wrapped in a haxeui custom component
  • b

    bitter-family-72722

    08/18/2019, 9:08 AM
    the minimap gives it away 🙂
  • b

    bright-gpu-74537

    08/18/2019, 9:09 AM
    🙂
  • b

    bright-gpu-74537

    08/18/2019, 9:09 AM
    not trying to hide thats its monaco 🙂
  • b

    bright-gpu-74537

    08/18/2019, 9:10 AM
    at some point id like to create a full haxeui editor component that will work for all backends... sctintilla on wx for example
  • b

    bright-gpu-74537

    08/18/2019, 9:11 AM
    the harder ones are the composite backends (openfl, kha, nme, etc)
  • b

    bright-gpu-74537

    08/18/2019, 9:11 AM
    and also creating an API that works for monaco and scintilla
  • h

    handsome-television-62908

    08/19/2019, 1:20 AM
    Do you think it would be possible for it to translate the XML to valid Haxe code? I'm working with MVCoconut and it works really nicely with HaxeUI unless some abstractions start coming into play with the HaxeUI xml format. I think it's because MVCoconut tries to match the XML components with their Haxe-Class counterparts and sometimes the child structure doesn't really match how the Haxe-based code does it . . . . Or maybe there could be an option to translate it the standard XML to a format that represents the XML component structure literally? But aren't custom components a thing already that can use XML in Haxe code? Perhaps this means we can get an even smoother MVCoconut + HaxeUI integration? Thanks!
  • b

    bright-gpu-74537

    08/19/2019, 7:06 AM
    hey, could you elaborate a little, im not sure i follow what "translate the XML to valid Haxe code" means exactly
  • h

    handsome-television-62908

    08/19/2019, 7:09 AM
    like what would the qualifying haxeui XML represent if you wrote it by hand in Haxe
  • h

    handsome-television-62908

    08/19/2019, 7:09 AM
    @bright-gpu-74537
  • b

    bright-gpu-74537

    08/19/2019, 7:09 AM
    the component macros already do this
  • b

    bright-gpu-74537

    08/19/2019, 7:10 AM
    ComponentMacros.buildComponent("assets/main.xml")
  • b

    bright-gpu-74537

    08/19/2019, 7:10 AM
    Copy code
    xml
    <vbox width="100%" height="100%">
        <hbox width="100%" height="10%" backgroundColor="0xff0000" style="min-height:50px" />
        <vbox width="100%" height="90%" backgroundColor="0x00ff00"/>
    </vbox>
  • b

    bright-gpu-74537

    08/19/2019, 7:11 AM
    Copy code
    haxe
    {
        var c0 = new haxe.ui.containers.VBox();
        c0.percentWidth = 100.;
        c0.percentHeight = 100.;
        var c1 = new haxe.ui.containers.HBox();
        c1.percentWidth = 100.;
        c1.percentHeight = 10.;
        c1.styleString = "min-height:50px";
        c1.backgroundColor = "0xff0000";
        c0.addComponent(c1);
        var c2 = new haxe.ui.containers.VBox();
        c2.percentWidth = 100.;
        c2.percentHeight = 90.;
        c2.backgroundColor = "0x00ff00";
        c0.addComponent(c2);
        c0.bindingRoot = true;
        c0;
    }
  • h

    handsome-television-62908

    08/19/2019, 7:11 AM
    That's what I was thinking -- I wonder if this can be combined with MVCoconut HaxeUI
  • h

    handsome-television-62908

    08/19/2019, 7:12 AM
    Right now I think MVCoconut tries to hack its own version of that, which is less than favorable making only basic containers and components compatible
  • b

    bright-gpu-74537

    08/19/2019, 7:13 AM
    hmmm, right, im not 100% how coconut works to be honest, never used it, just looked at examples...
  • h

    handsome-television-62908

    08/19/2019, 7:26 AM
    This is the repo that it uses to wrap with HaxeUI This is single page example of a working demo: And this is along the lines of the kind of macro it's using to get it working: I want to take a deeper look into both eventually. Something tells me that that macro you have there could be the gate opener. I would love to combine HaxeUI and MVCoconut together to get the workflow of Coconut with the UI system of HaxeUI. Hopefully when I'm investigating both I can work with you and Juraj enough to get it rolling in a better direction semi-quickly.
  • b

    bright-gpu-74537

    08/19/2019, 8:36 AM
    sounds good... ill jump into coconut at some point to at least understand what its doing under the hood a little, but i think you might be right in the sense that maybe the haxeui macros (or some derivative of them) might help
  • b

    bright-gpu-74537

    08/20/2019, 10:52 AM
    any thoughts on how this looks? (websites are not my thing)... ive probably been looking at it too long, so some general "that looks wrong" type of feedback would be useful:
  • b

    bright-gpu-74537

    08/20/2019, 10:53 AM
    (the component explorer - "Components" - im especially unsure of)
  • h

    handsome-television-62908

    08/20/2019, 12:05 PM
    The generator looks nice - I think it should expand to the full screen-width though! And perhaps a draggable border . . . The components explorer looks like it gets the job done nicely enough! If it feels a little awkward maybe something can be placed above the components like a title-bar or a search bar or something. I think the documentation section looks production ready for a first version 😁
1...979899...1687Latest