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

Method EndDisabled

tutorials/common/imgui/imgui.cpp:7254–7265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7252}
7253
7254void ImGui::EndDisabled()
7255{
7256 ImGuiContext& g = *GImGui;
7257 IM_ASSERT(g.DisabledStackSize > 0);
7258 g.DisabledStackSize--;
7259 bool was_disabled = (g.CurrentItemFlags & ImGuiItemFlags_Disabled) != 0;
7260 //PopItemFlag();
7261 g.ItemFlagsStack.pop_back();
7262 g.CurrentItemFlags = g.ItemFlagsStack.back();
7263 if (was_disabled && (g.CurrentItemFlags & ImGuiItemFlags_Disabled) == 0)
7264 g.Style.Alpha = g.DisabledAlphaBackup; //PopStyleVar();
7265}
7266
7267// FIXME: Look into renaming this once we have settled the new Focus/Activation/TabStop system.
7268void ImGui::PushAllowKeyboardFocus(bool allow_keyboard_focus)

Callers

nothing calls this directly

Calls 1

pop_backMethod · 0.45

Tested by

no test coverage detected