MCPcopy Create free account
hub / github.com/RenderKit/embree / PopItemFlag

Method PopItemFlag

tutorials/common/imgui/imgui.cpp:7225–7231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7223}
7224
7225void ImGui::PopItemFlag()
7226{
7227 ImGuiContext& g = *GImGui;
7228 IM_ASSERT(g.ItemFlagsStack.Size > 1); // Too many calls to PopItemFlag() - we always leave a 0 at the bottom of the stack.
7229 g.ItemFlagsStack.pop_back();
7230 g.CurrentItemFlags = g.ItemFlagsStack.back();
7231}
7232
7233// BeginDisabled()/EndDisabled()
7234// - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled)

Callers

nothing calls this directly

Calls 1

pop_backMethod · 0.45

Tested by

no test coverage detected