| 4611 | } |
| 4612 | |
| 4613 | void PopColormap(int count) { |
| 4614 | ImPlotContext& gp = *GImPlot; |
| 4615 | IM_ASSERT_USER_ERROR(count <= gp.ColormapModifiers.Size, "You can't pop more modifiers than have been pushed!"); |
| 4616 | while (count > 0) { |
| 4617 | const ImPlotColormap& backup = gp.ColormapModifiers.back(); |
| 4618 | gp.Style.Colormap = backup; |
| 4619 | gp.ColormapModifiers.pop_back(); |
| 4620 | count--; |
| 4621 | } |
| 4622 | } |
| 4623 | |
| 4624 | ImU32 NextColormapColorU32() { |
| 4625 | ImPlotContext& gp = *GImPlot; |
no test coverage detected