Skip to content

Commit 8dfcc00

Browse files
committed
update imgui (see second fix in ocornut/imgui#8242)
1 parent e5f7c3a commit 8dfcc00

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

bindings/imgui_bundle/imgui/internal.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3397,14 +3397,14 @@ class Context:
33973397
frame_count_platform_ended: int
33983398
# int FrameCountRendered; /* original C++ signature */
33993399
frame_count_rendered: int
3400+
# ImGuiID WithinEndChildID; /* original C++ signature */
3401+
within_end_child_id: ID # Set within EndChild()
34003402
# bool WithinFrameScope; /* original C++ signature */
34013403
within_frame_scope: bool # Set by NewFrame(), cleared by EndFrame()
34023404
# bool WithinFrameScopeWithImplicitWindow; /* original C++ signature */
34033405
within_frame_scope_with_implicit_window: (
34043406
bool # Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed
34053407
)
3406-
# bool WithinEndChild; /* original C++ signature */
3407-
within_end_child: bool # Set within EndChild()
34083408
# bool GcCompactAll; /* original C++ signature */
34093409
gc_compact_all: bool # Request full GC
34103410
# bool TestEngineHookItems; /* original C++ signature */

external/imgui/bindings/pybind_imgui_internal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2153,9 +2153,9 @@ void py_init_module_imgui_internal(nb::module_& m)
21532153
.def_rw("frame_count_ended", &ImGuiContext::FrameCountEnded, "")
21542154
.def_rw("frame_count_platform_ended", &ImGuiContext::FrameCountPlatformEnded, "")
21552155
.def_rw("frame_count_rendered", &ImGuiContext::FrameCountRendered, "")
2156+
.def_rw("within_end_child_id", &ImGuiContext::WithinEndChildID, "Set within EndChild()")
21562157
.def_rw("within_frame_scope", &ImGuiContext::WithinFrameScope, "Set by NewFrame(), cleared by EndFrame()")
21572158
.def_rw("within_frame_scope_with_implicit_window", &ImGuiContext::WithinFrameScopeWithImplicitWindow, "Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed")
2158-
.def_rw("within_end_child", &ImGuiContext::WithinEndChild, "Set within EndChild()")
21592159
.def_rw("gc_compact_all", &ImGuiContext::GcCompactAll, "Request full GC")
21602160
.def_rw("test_engine_hook_items", &ImGuiContext::TestEngineHookItems, "Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(), ImGuiTestEngineHook_Log()")
21612161
.def_rw("test_engine", &ImGuiContext::TestEngine, "Test engine user data")

0 commit comments

Comments
 (0)