MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / DebugFlashStyleColor

Method DebugFlashStyleColor

include/imgui/imgui.cpp:16367–16374  ·  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

16365
16366// Flash a given style color for some + inhibit modifications of this color via PushStyleColor() calls.
16367void ImGui::DebugFlashStyleColor(ImGuiCol idx)
16368{
16369 ImGuiContext& g = *GImGui;
16370 DebugFlashStyleColorStop();
16371 g.DebugFlashStyleColorTime = 0.5f;
16372 g.DebugFlashStyleColorIdx = idx;
16373 g.DebugFlashStyleColorBackup = g.Style.Colors[idx];
16374}
16375
16376void ImGui::UpdateDebugToolFlashStyleColor()
16377{

Callers

nothing calls this directly

Calls 1

DebugFlashStyleColorStopFunction · 0.85

Tested by

no test coverage detected