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

Function PopStyleColor

Source/3rdParty/implot/implot.cpp:4476–4486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4474}
4475
4476void PopStyleColor(int count) {
4477 ImPlotContext& gp = *GImPlot;
4478 IM_ASSERT_USER_ERROR(count <= gp.ColorModifiers.Size, "You can't pop more modifiers than have been pushed!");
4479 while (count > 0)
4480 {
4481 ImGuiColorMod& backup = gp.ColorModifiers.back();
4482 gp.Style.Colors[backup.Col] = backup.BackupValue;
4483 gp.ColorModifiers.pop_back();
4484 count--;
4485 }
4486}
4487
4488void PushStyleVar(ImPlotStyleVar idx, float val) {
4489 ImPlotContext& gp = *GImPlot;

Callers 15

imgui__pop_style_colorFunction · 0.85
TableHeaderMethod · 0.85
DebugNodeTableMethod · 0.85
BeginChildExMethod · 0.85
BeginErrorTooltipMethod · 0.85
DebugNodeTabBarMethod · 0.85
DebugNodeWindowMethod · 0.85
ShowDebugLogFlagFunction · 0.85
TextColoredVMethod · 0.85
TextDisabledVMethod · 0.85

Calls 2

backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected