| 4384 | } |
| 4385 | |
| 4386 | void PushStyleColor(ImPlotCol idx, ImU32 col) { |
| 4387 | ImPlotContext& gp = *GImPlot; |
| 4388 | ImGuiColorMod backup; |
| 4389 | backup.Col = (ImGuiCol)idx; |
| 4390 | backup.BackupValue = gp.Style.Colors[idx]; |
| 4391 | gp.ColorModifiers.push_back(backup); |
| 4392 | gp.Style.Colors[idx] = ImGui::ColorConvertU32ToFloat4(col); |
| 4393 | } |
| 4394 | |
| 4395 | void PushStyleColor(ImPlotCol idx, const ImVec4& col) { |
| 4396 | ImPlotContext& gp = *GImPlot; |
no outgoing calls
no test coverage detected