haxeui-kha icon indicating copy to clipboard operation
haxeui-kha copied to clipboard

Couldn't use in Krom

Open kevinresol opened this issue 6 years ago • 7 comments

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

kevinresol avatar Mar 08 '18 13:03 kevinresol

Aye, somebody assign this to me.

RobDangerous avatar Mar 08 '18 13:03 RobDangerous

Please~~~~~ 🙂

kevinresol avatar Mar 08 '18 13:03 kevinresol

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

jrdoughty avatar Dec 10 '18 21:12 jrdoughty

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

ianharrigan avatar Dec 10 '18 22:12 ianharrigan

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

jrdoughty avatar Dec 11 '18 14:12 jrdoughty

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

ianharrigan avatar Dec 11 '18 14:12 ianharrigan

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

RobDangerous avatar Dec 11 '18 15:12 RobDangerous