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

    full-journalist-82607

    01/30/2023, 8:51 PM
    I think you just need to have an xml file like " '" and the css file. Then with load in haxe ui.
  • f

    full-journalist-82607

    01/30/2023, 8:51 PM
    It will be simpler.
  • f

    full-journalist-82607

    01/30/2023, 8:54 PM
    you can load a file
    Copy code
    haxe
    var myXml = sys.io.File.getContent("blblablabl.xml" ) ; 
    var main = Toolkit.componentFromString(myXml, "xml");
  • b

    bumpy-engineer-49082

    01/30/2023, 9:01 PM
    I need html, so I probably should convert it.
  • f

    full-journalist-82607

    01/30/2023, 9:06 PM
    why do you need html ? Do you need just the extension to be .html ?
  • e

    elegant-twilight-61392

    01/30/2023, 9:09 PM
    if your trying to embed a website, you probably shouldnt
  • c

    clever-yak-82528

    01/30/2023, 11:00 PM
    @bright-gpu-74537 does the canvas element work in wxwidgets? if so, how do i set the pixels? the noise example seems to use html5 stuff
  • a

    ambitious-knife-25690

    01/30/2023, 11:06 PM
    I believe canvas is html only atm
  • c

    clever-yak-82528

    01/30/2023, 11:07 PM
    dangit
  • a

    ambitious-knife-25690

    01/30/2023, 11:11 PM
    i he does have plans to make it multi platform but I think that's on the soonℒ️ list
  • b

    bright-gpu-74537

    01/30/2023, 11:16 PM
    canvas isnt just for html5, it works with openfl, nme (i think), raylib, heaps, html5
  • b

    bright-gpu-74537

    01/30/2023, 11:16 PM
    i think the missing ones are kha and hxwidgets
  • c

    clever-yak-82528

    01/30/2023, 11:20 PM
    bleh
  • c

    clever-yak-82528

    01/30/2023, 11:20 PM
    guess ill have to use the annoying hacky workaround from ages ago for displaying my image
  • a

    ambitious-knife-25690

    01/30/2023, 11:31 PM
    oh dang, my bad
  • b

    bumpy-engineer-49082

    01/30/2023, 11:40 PM
    No, I just want user workspace to be customizable, like, you know, all that Unix desktop screenshots. And from my point of view, the best idea is to use .html + css because it's customizable yet simple.
  • e

    elegant-twilight-61392

    01/30/2023, 11:41 PM
    you can load haxeui xml + its variation of css at runtime
  • e

    elegant-twilight-61392

    01/30/2023, 11:41 PM
    if you want to use html, why not just use electron?
  • b

    bumpy-engineer-49082

    01/30/2023, 11:42 PM
    No, It is not meant for games.
  • b

    bumpy-engineer-49082

    01/30/2023, 11:42 PM
    Game has just one single part with this stuff.
  • a

    ambitious-knife-25690

    01/31/2023, 12:59 AM
    this is a neat effect πŸ˜„
  • a

    ambitious-knife-25690

    01/31/2023, 12:59 AM
    it is meant to be circles but ah well
  • r

    refined-laptop-39041

    01/31/2023, 1:28 AM
    Guess you have to implement it for ceramic πŸ˜†
  • a

    ambitious-knife-25690

    01/31/2023, 1:33 AM
    Copy code
    hx
    working
    
    basic 
    - buttons
    - button bar
    - checkboxes
    - option boxes
    - progress bars
    - sliders
    - scrollbars
    - classic scroll bars
    - calendars
    - labels
    
    containers
    - tabs (glitchy tho)
    - frames
    - scroll views
    - table views
    - accordian
    
    layouts
    - absolute
    - box
    - horizontal
    - vertial
    - grid
    
    misc
    - tooltips
    - drag
    - animations
    
    not working/bugged
    
    - collision
    - clipping
    - images
    
    - canvas
    - right arrow on classic scroll bar disappears
    - number stepper
    - dropdown
    - menubars
    - list view
    - tree view
    - property grid
    - dialogs
    - card (bg doesn't render?)
    - splitter
  • a

    ambitious-knife-25690

    01/31/2023, 1:33 AM
    a list of what works and doesn't work that i've just finished
  • b

    brave-kangaroo-30399

    01/31/2023, 4:22 AM
    This +
    component.getImageDisplay().sprite
    , which is a Bitmap, gives me the control I need for some of these
  • b

    brave-kangaroo-30399

    01/31/2023, 4:24 AM
    These sprites are coming from a spritesheet and don't need to be styled or manipulated beyond alpha, visibility, and xy
  • b

    bright-gpu-74537

    01/31/2023, 8:04 AM
    noice, nice it "just works" πŸ™‚
  • b

    billowy-waiter-28954

    01/31/2023, 9:22 AM
    @bright-gpu-74537 How easy/difficult is it to change haxe-ui style? Like, what if I want to make it look more like flat design, or no rounded corners?
  • b

    bright-gpu-74537

    01/31/2023, 9:29 AM
    everything is css... even the core components, haxeui-core doesnt really make any assumptions, in fact, if you dont include the default theme you wont see anything, nothing at all > what if I want to make it look more like flat design, or no rounded corners? sure all doable.. eg: http://haxeui.org/builder/?c31b0461
1...145014511452...1687Latest