| 15947 | } |
| 15948 | |
| 15949 | void ImGui::UpdateDebugToolFlashStyleColor() |
| 15950 | { |
| 15951 | ImGuiContext& g = *GImGui; |
| 15952 | if (g.DebugFlashStyleColorTime <= 0.0f) |
| 15953 | return; |
| 15954 | 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); |
| 15955 | g.Style.Colors[g.DebugFlashStyleColorIdx].w = 1.0f; |
| 15956 | if ((g.DebugFlashStyleColorTime -= g.IO.DeltaTime) <= 0.0f) |
| 15957 | DebugFlashStyleColorStop(); |
| 15958 | } |
| 15959 | |
| 15960 | static const char* FormatTextureIDForDebugDisplay(char* buf, int buf_size, ImTextureID tex_id) |
| 15961 | { |
nothing calls this directly
no test coverage detected