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

    bright-gpu-74537

    09/28/2022, 4:00 PM
    im not sure thats what the
    haxeui-core create
    creates though
  • a

    ambitious-knife-25690

    09/28/2022, 4:00 PM
    ahh okay
  • b

    bright-gpu-74537

    09/28/2022, 4:00 PM
    it creates things consistently (ie, a src dir, etc)
  • a

    ambitious-knife-25690

    09/28/2022, 4:01 PM
    the template on github doesn't show anything more than the khafile.js so i wasn't sure
  • b

    bright-gpu-74537

    09/28/2022, 4:01 PM
    which template?
  • a

    ambitious-knife-25690

    09/28/2022, 4:01 PM
  • e

    elegant-twilight-61392

    09/28/2022, 4:02 PM
    look in
    shared
    folder
  • b

    bright-gpu-74537

    09/28/2022, 4:02 PM
    so the way the projects work is they build up a project from there: https://github.com/haxeui/haxeui-core/blob/master/cli/projects/kha/project.json
  • b

    bright-gpu-74537

    09/28/2022, 4:03 PM
    ie, that also includes the "shared" and the "kha-shared" (and any sub projects in those project.json's)
  • b

    bright-gpu-74537

    09/28/2022, 4:03 PM
    (which in this case is none)
  • b

    bright-gpu-74537

    09/28/2022, 4:04 PM
    so for kha, its an amalgamation of: https://github.com/haxeui/haxeui-core/blob/master/cli/projects/kha/project.json https://github.com/haxeui/haxeui-core/blob/master/cli/projects/kha-shared/project.json https://github.com/haxeui/haxeui-core/blob/master/cli/projects/shared/project.json
  • a

    ambitious-knife-25690

    09/28/2022, 4:05 PM
    ahh okay
  • a

    able-action-74275

    09/28/2022, 5:43 PM
    @bright-gpu-74537 did you get pd curses going on linux?
  • b

    bright-gpu-74537

    09/28/2022, 5:45 PM
    ☝️
  • a

    able-action-74275

    09/28/2022, 5:47 PM
    ah yes that's what I remember as well, we had it compiling, linking but crashing
  • b

    bright-gpu-74537

    09/28/2022, 5:48 PM
    ill have to try and find the messages too, no doubt they are miles back now (i think it was casual chat)
  • e

    elegant-twilight-61392

    09/28/2022, 5:50 PM
    ctrl+f :)
  • b

    bright-gpu-74537

    09/28/2022, 5:51 PM
    yeah, its just sifting through... not complex, but just often unexpected noise
  • b

    best-agent-85158

    09/28/2022, 5:51 PM
    ah thats not possible. haxeui does not offer a framework agnostic way to get/set pixels from
    haxe.ui.components.Image
  • b

    best-agent-85158

    09/28/2022, 5:52 PM
    how hard would that be to actuall add that? or is that impossible??
  • b

    bright-gpu-74537

    09/28/2022, 5:52 PM
    not image, no, but there is a canvas component that can take a byte array (rgba)
  • b

    best-agent-85158

    09/28/2022, 5:53 PM
    how can i do that? i dont see any prop on canvas for that
  • b

    bright-gpu-74537

    09/28/2022, 5:54 PM
    canvas.componentGraphics
  • b

    best-agent-85158

    09/28/2022, 5:54 PM
    lets go! found it
  • b

    best-agent-85158

    09/28/2022, 5:55 PM
    is there a way to turn an image into a canvas?
  • b

    bright-gpu-74537

    09/28/2022, 5:55 PM
    nope, you can use a canvas as an image.resource though
  • b

    best-agent-85158

    09/28/2022, 5:55 PM
    wait so whats
    canvas.componentGraphics.image(x, y, width, height)
    ?
  • b

    bright-gpu-74537

    09/28/2022, 5:57 PM
    i think it draws an ImageData onto the canvas
  • b

    bright-gpu-74537

    09/28/2022, 5:57 PM
    actually, thinking about it... that would work exactly the same as image.resource
  • b

    best-agent-85158

    09/28/2022, 5:57 PM
    so technically i can turn an image into a canvas
1...128712881289...1687Latest