| 3046 | } |
| 3047 | |
| 3048 | void PushStyleColor(ImPlot3DCol idx, ImU32 col) { |
| 3049 | ImPlot3DContext& gp = *GImPlot3D; |
| 3050 | ImGuiColorMod backup; |
| 3051 | backup.Col = (ImGuiCol)idx; |
| 3052 | backup.BackupValue = gp.Style.Colors[idx]; |
| 3053 | gp.ColorModifiers.push_back(backup); |
| 3054 | gp.Style.Colors[idx] = ImGui::ColorConvertU32ToFloat4(col); |
| 3055 | } |
| 3056 | |
| 3057 | void PushStyleColor(ImPlot3DCol idx, const ImVec4& col) { |
| 3058 | ImPlot3DContext& gp = *GImPlot3D; |
no outgoing calls
no test coverage detected