Ongoing developments #49
Replies: 8 comments 18 replies
-
I need to inform you about important and fruitful changes I just applied: see 1d98595 By changing the generator option You will see that we got This code now works: vec2 = ImVec2(1, 2)
x = vec2[0]
y = vec2[1] ImVec2 is still not iterable, no |
Beta Was this translation helpful? Give feedback.
-
Cool! Will check the diff in detail, and see if i can make it iterable, may be just another missing function. |
Beta Was this translation helpful? Give feedback.
-
You will be happy: 4f4d25e : ImGuiStyle.Colors is now bound as an python list/array Beware, I forked imgui_toggle (and had to update it). You may need to |
Beta Was this translation helpful? Give feedback.
-
This is strange. See http://www.giphy.com/gifs/IzoZ6z0xCGUgm16i8R This is with the sandbox app: demos_python/sandbox_app.py |
Beta Was this translation helpful? Give feedback.
-
Hi Dee, I merged your to PRs this morning. Yesterday I took a day as I was very tired. Also, see 567eb10: I removed the access to ImGuiStyle.colors as an array, as it was broken. With your cast ImVec2 from list, imgui.color_edit_4 now works perfectly, see sandbox_app.py |
Beta Was this translation helpful? Give feedback.
-
Please see #52 where I opened a discussion concerning array-like access to C array members. There is an initial study to do about the feasibility if you feel like investigating :-) Concerning the generator and your attempts to compile it, it was never compiled under windows. Before going further, I'd like to discuss this with you by telephone (and may be help a little by remote access). I could be available at 3PM or 5PM. |
Beta Was this translation helpful? Give feedback.
-
@dcnieho : warning concerning the latest commits to the dev and main branch. I reorganized all the external libraries folder structure: see 8673434 The external folder structure now looks like this:
(The intent was to try to group the sources by library as much as possible). Also see more comprehesive doc about bindings inside https://github.com/pthom/imgui_bundle/blob/main/external/_doc/Howto_Bindings.md As a consequence, git will very probably choke when you run git update. Your solutions are
(this will happen only once) thanks! |
Beta Was this translation helpful? Give feedback.
-
Indeed, it choked. So i recloned, seemed easiest. Current dev HEAD built
fine with pip install .
… Message ID: <pthom/imgui_bundle/repo-discussions/49/comments/4576524@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi @dcnieho :
I just opened this discussion so that we can exchange about ongoing development in a dedicated zone. I hope it will be OK for you.
Superb!
Beta Was this translation helpful? Give feedback.
All reactions