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

InvisibleButton should take three arguments #50

Closed
PinkMushroom opened this issue May 16, 2021 · 4 comments
Closed

InvisibleButton should take three arguments #50

PinkMushroom opened this issue May 16, 2021 · 4 comments

Comments

@PinkMushroom
Copy link

If you look at this issue in imgui (NOT CImGui)

ocornut/imgui#3370

you will see that InvisibleButton should take 3 arguments, the last being flags.

However when I execute InvisibleButton with 3 arguments I get:

│ MethodError: no method matching InvisibleButton(::String, ::ImVec2, ::UInt32)
│ Closest candidates are:
│ InvisibleButton(::Any, ::Any) at /home/briand/.julia/packages/CImGui/vVLHW/src/wrapper.jl:1104
└ @ Renderer ~/src/julia/imgui/test1/Renderer.jl:77

Seeing that the 3rd argument change was in mid-2020, i'm wondering if maybe CImGui may need a minor update ?

@Gnimuc
Copy link
Owner

Gnimuc commented May 16, 2021

Which version are you using?

@PinkMushroom
Copy link
Author

someday i'll remember to put that information in the issue...

[5d785b6c] CImGui v1.77.1

@Gnimuc
Copy link
Owner

Gnimuc commented May 17, 2021

This is fixed on v1.79, would you mind doing an upgrade? If not, I can backport those commits.

@PinkMushroom
Copy link
Author

I upgraded to Julia 1.6.1 and that pulled in 1.79. Thank you !

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