| 3064 | } |
| 3065 | |
| 3066 | void PopStyleColor(int count) { |
| 3067 | ImPlot3DContext& gp = *GImPlot3D; |
| 3068 | IM_ASSERT_USER_ERROR(count <= gp.ColorModifiers.Size, "You can't pop more modifiers than have been pushed!"); |
| 3069 | while (count > 0) { |
| 3070 | ImGuiColorMod& backup = gp.ColorModifiers.back(); |
| 3071 | gp.Style.Colors[backup.Col] = backup.BackupValue; |
| 3072 | gp.ColorModifiers.pop_back(); |
| 3073 | count--; |
| 3074 | } |
| 3075 | } |
| 3076 | |
| 3077 | void PushStyleVar(ImPlot3DStyleVar idx, float val) { |
| 3078 | ImPlot3DContext& gp = *GImPlot3D; |
no outgoing calls
no test coverage detected