haxeui / haxeui-kha

The Kha backend of the HaxeUI framework -
http://haxeui.org
MIT License
45 stars 16 forks source link

Couldn't use in Krom #22

Open kevinresol opened 6 years ago

kevinresol commented 6 years ago

Was caught by Class<kha.Image> has no field fromEncodedBytes

But since fromEncodedBytes does exist in Kore, I think Krom should also expose the method

cc @robdangerous

RobDangerous commented 6 years ago

Aye, somebody assign this to me.

kevinresol commented 6 years ago

Please~ 🙂

jrdoughty commented 5 years ago

@ianharrigan can you assign this to @RobDangerous? I'm hoping to move to Kha for my tool, but this is a blocker for me

ianharrigan commented 5 years ago

Im not sure how i can assign this to @RobDangerous here... i mean, he's not part of the haxeui org (although i can put him on it if he wants)... that said, this isnt technically a haxeui issue - i mean, once krom exposes the correct Image::fromEncodedBytes funtion (as it does in html5 and hxcpp) then it should just "work"

Edit: i hit the same problem when trying to use haxeui-kha inside armory3d using krom

jrdoughty commented 5 years ago

Ah, I gotcha, thanks for making the issue in the correct space :)

ianharrigan commented 5 years ago

This seems to have been fixed a week or so ago... I think armory3d (if thats what you are testing) has a bundled kha / krom (i think) so maybe that needs updating?

https://github.com/Kode/Kha/pull/924/commits/0c855b628013a1d02367baf1062fae0539863411

RobDangerous commented 5 years ago

You'll have to compile Krom yourself until I update the binaries. Compiling Krom is fun though.