ice1000 / jimgui

:sparkling_heart: Pure Java binding for dear-imgui
Apache License 2.0
185 stars 13 forks source link

ImGui::SetCursorPosY, ImGui::SetCursorPosX missing? #58

Closed newk5 closed 3 years ago

newk5 commented 3 years ago

I can't seem to find these functions inside the JImGui instance, are they missing?

ice1000 commented 3 years ago

I don't think so

ice1000 commented 3 years ago

No helpful information provided like versions and stuffs, closing

newk5 commented 3 years ago

I can see the functions here: https://github.com/ocornut/imgui/blob/eb7849b477ff96d8d0cc9f2f4a304b5fc0f3ac1a/imgui.h#L350 But I cant see it inside the JImGui instance

newk5 commented 3 years ago

I'm using 0.9 version, I'm on windows 10 64bit

newk5 commented 3 years ago

I notice they seem to be in the source kotlin files here : https://github.com/ice1000/jimgui/blob/159087e3d55386d794e66498d173d5d6efe578fe/buildSrc/src/GenGenTask.kt#L86

But I can't access them from the JImGui instance, am I doing something wrong? @ice1000

ice1000 commented 3 years ago

image I guess you can. They are made static

ice1000 commented 3 years ago

image You can do it, it's just absent from the completion menu.

If you type setCur and hit Ctrl+Space, it'll show up: image

newk5 commented 3 years ago

ohh they're static, sorry I did not notice. Thank you for your help!

ice1000 commented 3 years ago

I'm sorry for making 'em static :(

newk5 commented 3 years ago

It's ok, that works too 😃