Skip to content

Commit

Permalink
update imgui (see second fix in ocornut/imgui#8242)
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Dec 22, 2024
1 parent e5f7c3a commit 8dfcc00
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bindings/imgui_bundle/imgui/internal.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3397,14 +3397,14 @@ class Context:
frame_count_platform_ended: int
# int FrameCountRendered; /* original C++ signature */
frame_count_rendered: int
# ImGuiID WithinEndChildID; /* original C++ signature */
within_end_child_id: ID # Set within EndChild()
# bool WithinFrameScope; /* original C++ signature */
within_frame_scope: bool # Set by NewFrame(), cleared by EndFrame()
# bool WithinFrameScopeWithImplicitWindow; /* original C++ signature */
within_frame_scope_with_implicit_window: (
bool # Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed
)
# bool WithinEndChild; /* original C++ signature */
within_end_child: bool # Set within EndChild()
# bool GcCompactAll; /* original C++ signature */
gc_compact_all: bool # Request full GC
# bool TestEngineHookItems; /* original C++ signature */
Expand Down
2 changes: 1 addition & 1 deletion external/imgui/bindings/pybind_imgui_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2153,9 +2153,9 @@ void py_init_module_imgui_internal(nb::module_& m)
.def_rw("frame_count_ended", &ImGuiContext::FrameCountEnded, "")
.def_rw("frame_count_platform_ended", &ImGuiContext::FrameCountPlatformEnded, "")
.def_rw("frame_count_rendered", &ImGuiContext::FrameCountRendered, "")
.def_rw("within_end_child_id", &ImGuiContext::WithinEndChildID, "Set within EndChild()")
.def_rw("within_frame_scope", &ImGuiContext::WithinFrameScope, "Set by NewFrame(), cleared by EndFrame()")
.def_rw("within_frame_scope_with_implicit_window", &ImGuiContext::WithinFrameScopeWithImplicitWindow, "Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed")
.def_rw("within_end_child", &ImGuiContext::WithinEndChild, "Set within EndChild()")
.def_rw("gc_compact_all", &ImGuiContext::GcCompactAll, "Request full GC")
.def_rw("test_engine_hook_items", &ImGuiContext::TestEngineHookItems, "Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(), ImGuiTestEngineHook_Log()")
.def_rw("test_engine", &ImGuiContext::TestEngine, "Test engine user data")
Expand Down

0 comments on commit 8dfcc00

Please sign in to comment.