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

    bright-gpu-74537

    08/29/2022, 6:57 AM
    ¯\_(ツ)_/¯
  • c

    clever-yak-82528

    08/29/2022, 6:57 AM
    i didnt
  • b

    bright-gpu-74537

    08/29/2022, 6:58 AM
    so you havent managed to get wxwidgets to link... ... ever?
  • c

    clever-yak-82528

    08/29/2022, 6:58 AM
    it used to link fine
  • c

    clever-yak-82528

    08/29/2022, 6:58 AM
    then i didnt mess around with it for a while
  • c

    clever-yak-82528

    08/29/2022, 6:58 AM
    came back and now it vomits link errors at me
  • b

    bright-gpu-74537

    08/29/2022, 6:58 AM
    do you get a "using wxwidgets from ...." at the very top of the output?
  • c

    clever-yak-82528

    08/29/2022, 6:59 AM
    one moment please
  • b

    bright-gpu-74537

    08/29/2022, 6:59 AM
    something like this:
    Using wxWidgets from: C:\SDK\wxWidgets-3.1.4\lib\vc_lib (version: 3.1.4)
  • c

    clever-yak-82528

    08/29/2022, 7:08 AM
    ...it now works
  • c

    clever-yak-82528

    08/29/2022, 7:08 AM
    what the fuck
  • b

    bright-gpu-74537

    08/29/2022, 7:08 AM
    ¯\_(ツ)_/¯
  • b

    bright-gpu-74537

    08/29/2022, 7:09 AM
    the cpp gods smile fondly upon you today 😄
  • c

    clever-yak-82528

    08/29/2022, 7:13 AM
    yeet
  • c

    clever-yak-82528

    08/29/2022, 7:13 AM
    can't remember if this code uses the nightmarish workarounds for loading an image from binary data or not
  • b

    bright-gpu-74537

    08/29/2022, 7:14 AM
    no idea, but if memory serves, it doesnt need to, even if it does
  • c

    clever-yak-82528

    08/29/2022, 7:14 AM
    what was the system for doing that properly?
  • b

    bright-gpu-74537

    08/29/2022, 7:15 AM
    i dont fully remember now, it was just to load an image from bytes, right?
  • c

    clever-yak-82528

    08/29/2022, 7:15 AM
    yeah
  • b

    bright-gpu-74537

    08/29/2022, 7:16 AM
    so i think you can just do
    ToolkitAssets.instance.imageFromBytes(bytes, function(imageInfo) { ... })
  • c

    clever-yak-82528

    08/29/2022, 7:19 AM
    errr
  • c

    clever-yak-82528

    08/29/2022, 7:19 AM
    hm
  • c

    clever-yak-82528

    08/29/2022, 7:25 AM
    i cannot remember how to use this
  • b

    bright-gpu-74537

    08/29/2022, 7:36 AM
    ... you'll have to expand on that, it doesnt mean much to me 🙂
  • c

    clever-yak-82528

    08/29/2022, 7:37 AM
    i surely don't just give it bytes
  • c

    clever-yak-82528

    08/29/2022, 7:37 AM
    it needs height and width
  • b

    bright-gpu-74537

    08/29/2022, 7:37 AM
    what is the image format?
  • c

    clever-yak-82528

    08/29/2022, 7:37 AM
    rgba
  • b

    bright-gpu-74537

    08/29/2022, 7:37 AM
    ah, ok, then yeah, imageFromBytes isnt the right call
  • b

    bright-gpu-74537

    08/29/2022, 7:38 AM
    i think you'll have build up a the image
1...123012311232...1687Latest