| 22076 | } |
| 22077 | |
| 22078 | void ImGui::UpdateDebugToolFlashStyleColor() |
| 22079 | { |
| 22080 | ImGuiContext& g = *GImGui; |
| 22081 | if (g.DebugFlashStyleColorTime <= 0.0f) |
| 22082 | return; |
| 22083 | ColorConvertHSVtoRGB(ImCos(g.DebugFlashStyleColorTime * 6.0f) * 0.5f + 0.5f, 0.5f, 0.5f, g.Style.Colors[g.DebugFlashStyleColorIdx].x, g.Style.Colors[g.DebugFlashStyleColorIdx].y, g.Style.Colors[g.DebugFlashStyleColorIdx].z); |
| 22084 | g.Style.Colors[g.DebugFlashStyleColorIdx].w = 1.0f; |
| 22085 | if ((g.DebugFlashStyleColorTime -= g.IO.DeltaTime) <= 0.0f) |
| 22086 | DebugFlashStyleColorStop(); |
| 22087 | } |
| 22088 | |
| 22089 | ImU64 ImGui::DebugTextureIDToU64(ImTextureID tex_id) |
| 22090 | { |
nothing calls this directly
no test coverage detected