MCPcopy Create free account
hub / github.com/ShenCiao/CialloResearch / PopStyleColor

Function PopStyleColor

imgui/implot.cpp:4253–4263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4251}
4252
4253void PopStyleColor(int count) {
4254 ImPlotContext& gp = *GImPlot;
4255 IM_ASSERT_USER_ERROR(count <= gp.ColorModifiers.Size, "You can't pop more modifiers than have been pushed!");
4256 while (count > 0)
4257 {
4258 ImGuiColorMod& backup = gp.ColorModifiers.back();
4259 gp.Style.Colors[backup.Col] = backup.BackupValue;
4260 gp.ColorModifiers.pop_back();
4261 count--;
4262 }
4263}
4264
4265void PushStyleVar(ImPlotStyleVar idx, float val) {
4266 ImPlotContext& gp = *GImPlot;

Callers 15

TableHeaderMethod · 0.85
DebugNodeTableMethod · 0.85
Demo_StairstepPlotsFunction · 0.85
Demo_ErrorBarsFunction · 0.85
Demo_MarkersAndTextFunction · 0.85
Demo_DragAndDropFunction · 0.85
ShowDemoWindowFunction · 0.85
EndSubplotsFunction · 0.85
ColormapSliderFunction · 0.85
ColormapButtonFunction · 0.85
ShowMetricsWindowFunction · 0.85
ShowDatePickerFunction · 0.85

Calls 2

backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected