MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / ClearEventsQueue

Method ClearEventsQueue

imgui_tiny_app/imgui/imgui.cpp:1793–1798  ·  view source on GitHub ↗

Clear all incoming events.

Source from the content-addressed store, hash-verified

1791
1792// Clear all incoming events.
1793void ImGuiIO::ClearEventsQueue()
1794{
1795 IM_ASSERT(Ctx != NULL);
1796 ImGuiContext& g = *Ctx;
1797 g.InputEventsQueue.clear();
1798}
1799
1800// Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons.
1801void ImGuiIO::ClearInputKeys()

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected