MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / PopColormap

Function PopColormap

Source/3rdParty/implot/implot.cpp:4613–4622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4611}
4612
4613void 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
4624ImU32 NextColormapColorU32() {
4625 ImPlotContext& gp = *GImPlot;

Callers 7

Demo_BarStacksFunction · 0.85
Demo_PieChartsFunction · 0.85
Demo_HeatmapsFunction · 0.85
Demo_Histogram2DFunction · 0.85
Demo_TablesFunction · 0.85
Demo_OffsetAndStrideFunction · 0.85
Demo_CustomStylesFunction · 0.85

Calls 2

backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected