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

Method DebugFlashStyleColor

imgui_tiny_app/imgui/imgui.cpp:22069–22076  ·  view source on GitHub ↗

Flash a given style color for some + inhibit modifications of this color via PushStyleColor() calls.

Source from the content-addressed store, hash-verified

22067
22068// Flash a given style color for some + inhibit modifications of this color via PushStyleColor() calls.
22069void ImGui::DebugFlashStyleColor(ImGuiCol idx)
22070{
22071 ImGuiContext& g = *GImGui;
22072 DebugFlashStyleColorStop();
22073 g.DebugFlashStyleColorTime = 0.5f;
22074 g.DebugFlashStyleColorIdx = idx;
22075 g.DebugFlashStyleColorBackup = g.Style.Colors[idx];
22076}
22077
22078void ImGui::UpdateDebugToolFlashStyleColor()
22079{

Callers

nothing calls this directly

Calls 1

DebugFlashStyleColorStopFunction · 0.85

Tested by

no test coverage detected