Closed jpsamaroo closed 8 months ago
Which version are you working on? Those examples are not upgraded to v1.82.
I'm on v1.82, so I guess we probably should update the generator to provide those flags?
We need to update those examples.
Maybe we should remove some outdated examples.
Ah, I was about to make an issue about this but found this thread.
The following line of code in the demos is also a problem: unsafe_load(io.Fonts.TexID)
; the Fonts
pointer does not appear to have an overloaded getproperty()
like many other ImGUI pointers.
For the record, the snippet I was using to run the demo window is: julia --project=. -e 'include(\"examples/Renderer.jl\"); include(\"examples/demo_window.jl\"); Renderer.render(() -> begin; p = Ref(false); ShowDemoWindow(p); end)'
If there is a reference somewhere for the breaking changes that were made, I can update these demos?
EDIT: Found the main thread: https://github.com/Gnimuc/CImGui.jl/discussions/52
Once I can get my own renderer backend working again, I'll take a whack at these demos.
The code in
examples
/ is apparently unused, with the real demo window being provided byCImGui.ShowDemoWindow
. Is there a reason for this? I've noticed that the code in the examples doesn't all work; for example,ImDrawCornerFlags_*
are no longer defined in CImGui, causing the custom rendering examples to break.