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

    bright-gpu-74537

    09/20/2022, 9:27 AM
    was like the simplest thing i could think of to draw... maybe ill just wait and see if anyone says anything (im guessing they wont)
  • l

    loud-salesclerk-7438

    09/20/2022, 9:30 AM
    I don't think they give out warnings
  • f

    future-iron-61487

    09/20/2022, 9:33 AM
    that could work - I'm not looking to make a full code editor/ide or anything, just something to edit markdown side-by-side and have some syntax highlighting
  • f

    future-iron-61487

    09/20/2022, 9:33 AM
    what does 'native' mean?
  • b

    bright-gpu-74537

    09/20/2022, 9:33 AM
    haxeui-hxwidgets
  • f

    future-iron-61487

    09/20/2022, 9:33 AM
    I assume you don't mean
    sys
    targets
  • f

    future-iron-61487

    09/20/2022, 9:34 AM
    got it
  • f

    fast-rain-20339

    09/20/2022, 1:03 PM
    Congrats Ian! 💍 Amazing work with Haxe UI as always.
  • b

    bright-gpu-74537

    09/20/2022, 1:04 PM
    thanks! 🙂
  • b

    best-agent-85158

    09/20/2022, 1:06 PM
    nice timing - i also started working on suppport for haxeui text things through
    texter
    (im not trying to self promo i swear 😂)
  • p

    purple-businessperson-14467

    09/20/2022, 6:28 PM
    Can you use css to reference an embedded resource?
  • p

    purple-businessperson-14467

    09/20/2022, 6:29 PM
    I have an "open" icon and a "closed" icon and I was coding the change but decided to use css.
  • b

    bright-gpu-74537

    09/20/2022, 6:44 PM
    like this you mean: http://haxeui.org/builder/?kkdznc ?
  • p

    purple-businessperson-14467

    09/20/2022, 6:45 PM
    yep, must be an issue on my end.
  • p

    purple-businessperson-14467

    09/20/2022, 6:48 PM
    ya, it was me. I forgot you made it so simple.
  • b

    bright-gpu-74537

    09/20/2022, 6:49 PM
    heh heh, what was the issue?
  • p

    purple-businessperson-14467

    09/20/2022, 6:52 PM
    inkscape had saved to wrong location....
  • p

    purple-businessperson-14467

    09/20/2022, 6:52 PM
    I just assumed it was there
  • p

    purple-businessperson-14467

    09/20/2022, 6:52 PM
    Ass out of me
  • w

    witty-island-52596

    09/21/2022, 7:00 PM
    finally got around to this. tbh this wasn't what I was expecting. HaxeUIApp creates the FlxGame instance and the initial state and I add a view component to that HxUIApp?
  • w

    witty-island-52596

    09/21/2022, 7:01 PM
    I was planning to add haxeui-flixel to an existing flixel project that had some UI needs, and this seems like I would need to rebuild from scratch
  • b

    bright-gpu-74537

    09/21/2022, 7:01 PM
    this is just for a so called "universal" app... ie, haxeuiapp takes care of all the bits for you, if you were just adding it to an existing project you dont need to use haxeuiapp (its an optional helper)
  • w

    witty-island-52596

    09/21/2022, 7:02 PM
    good to know
  • b

    bright-gpu-74537

    09/21/2022, 7:02 PM
    you should just be able to .add(button) in your flxscene since, in haxeui-flixel components end up as FlxSpriteGroups
  • b

    bright-gpu-74537

    09/21/2022, 7:02 PM
    oh, make sure you init the toolkit (
    Toolkit.init()
    )
  • b

    bright-gpu-74537

    09/21/2022, 7:03 PM
    i usuall do it in Main.hx... but anywhere is technically fine... you cant "double init" anyway
  • w

    witty-island-52596

    09/21/2022, 7:03 PM
    cool
  • w

    witty-island-52596

    09/21/2022, 7:46 PM
    re:` @:build(haxe.ui.ComponentBuilder.build("assets/main-view.xml"))` say I want to add everything in main-view.xml into a scene
  • w

    witty-island-52596

    09/21/2022, 7:48 PM
    fromFile?
  • b

    bright-gpu-74537

    09/21/2022, 7:48 PM
    so your MainView.hx (or whatever its called) presumably extends from sometype of component (in fact, it must)... so then you can just add the MainView directly into the scene
1...126212631264...1687Latest