Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for Kha not up-to-date #10

Open
tienery opened this issue Apr 25, 2022 · 1 comment
Open

Test for Kha not up-to-date #10

tienery opened this issue Apr 25, 2022 · 1 comment

Comments

@tienery
Copy link

tienery commented Apr 25, 2022

I have been looking at using this project now that you support docking (which is awesome by the way), however I've noticed the test for Kha has not been updated in a while.

I fixed some minor issues myself, but compiling again has resulted in a multitude of errors:

e:\...\test\kha\Sources/ImGuiDemo.hx:81: characters 31-44 : cpp.Star<imgui.ImFontAtlas> should be cpp.RawPointer<Unknown<0>>
e:\...\test\kha\Sources/ImGuiDemo.hx:81: characters 31-44 : Null<imgui.ImFontAtlas> should be cpp.RawPointer<Unknown<0>>
e:\...\test\kha\Sources/ImGuiDemo.hx:81: characters 31-44 : imgui.ImFontAtlas should be cpp.RawPointer<Unknown<0>>
e:\....\test\kha\Sources/ImGuiDemo.hx:81: characters 31-44 : For function argument 'ptr'
e:\...\test\kha\Sources/ImGuiDemo.hx:167: characters 21-56 : cpp.RawPointer<Unknown<0>> should be imgui.ImTextureID
e:\...\test\kha\Sources/ImGuiDemo.hx:167: characters 21-56 : cpp.RawPointer<Unknown<0>> should be cpp.Star<cpp.Void>
e:\...\test\kha\Sources/ImGuiDemo.hx:167: characters 21-56 : cpp.RawPointer<Unknown<0>> should be Null<cpp.Void>
e:\...\test\kha\Sources/ImGuiDemo.hx:167: characters 21-56 : cpp.RawPointer<Unknown<0>> should be cpp.Void
e:\...\test\kha\Sources/ImGuiDemo.hx:167: characters 21-56 : For function argument '_user_texture_id'
e:\...\test\kha\Sources/ImGuiDemo.hx:246: characters 34-54 : cpp.Star<imgui.ImDrawList> should be cpp.RawPointer<Unknown<0>>
e:\...\test\kha\Sources/ImGuiDemo.hx:246: characters 34-54 : Null<imgui.ImDrawList> should be cpp.RawPointer<Unknown<0>>
e:\...\test\kha\Sources/ImGuiDemo.hx:246: characters 34-54 : imgui.ImDrawList should be cpp.RawPointer<Unknown<0>>
e:\...\test\kha\Sources/ImGuiDemo.hx:246: characters 34-54 : For function argument 'ptr'
e:\...\test\kha\Sources/ImGuiDemo.hx:182: characters 16-35 : cpp.Star<imgui.ImDrawData> should be cpp.RawPointer<imgui.ImDrawData>
e:\...\test\kha\Sources/ImGuiDemo.hx:182: characters 16-35 : Null<imgui.ImDrawData> should be cpp.RawPointer<imgui.ImDrawData>
e:\...\test\kha\Sources/ImGuiDemo.hx:182: characters 16-35 : imgui.ImDrawData should be cpp.RawPointer<imgui.ImDrawData>
e:\...\test\kha\Sources/ImGuiDemo.hx:182: characters 16-35 : For function argument '_dataRawPtr'

Although I will look into fixing this myself, it may be worth investigating and updating the current Test for Kha to ensure it works with the current version of linc_imgui. If possible, I will make a PR if I manage to fix these issues myself.

@Aidan63
Copy link
Owner

Aidan63 commented Apr 28, 2022

I don't use kha myself and that sample was provided by a another contributor so I'm not surprised its fallen into disrepair. I'll try and make time on the weekend to look into getting it updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants