MCPcopy Create free account
hub / github.com/SatDump/SatDump / ImPlotStyle

Method ImPlotStyle

src-core/imgui/implot/implot.cpp:169–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169ImPlotStyle::ImPlotStyle() {
170
171 LineWeight = 1;
172 Marker = ImPlotMarker_None;
173 MarkerSize = 4;
174 MarkerWeight = 1;
175 FillAlpha = 1;
176 ErrorBarSize = 5;
177 ErrorBarWeight = 1.5f;
178 DigitalBitHeight = 8;
179 DigitalBitGap = 4;
180
181 PlotBorderSize = 1;
182 MinorAlpha = 0.25f;
183 MajorTickLen = ImVec2(10,10);
184 MinorTickLen = ImVec2(5,5);
185 MajorTickSize = ImVec2(1,1);
186 MinorTickSize = ImVec2(1,1);
187 MajorGridSize = ImVec2(1,1);
188 MinorGridSize = ImVec2(1,1);
189 PlotPadding = ImVec2(10,10);
190 LabelPadding = ImVec2(5,5);
191 LegendPadding = ImVec2(10,10);
192 LegendInnerPadding = ImVec2(5,5);
193 LegendSpacing = ImVec2(5,0);
194 MousePosPadding = ImVec2(10,10);
195 AnnotationPadding = ImVec2(2,2);
196 FitPadding = ImVec2(0,0);
197 PlotDefaultSize = ImVec2(400,300);
198 PlotMinSize = ImVec2(200,150);
199
200 ImPlot::StyleColorsAuto(this);
201
202 Colormap = ImPlotColormap_Deep;
203
204 UseLocalTime = false;
205 Use24HourClock = false;
206 UseISO8601 = false;
207}
208
209//-----------------------------------------------------------------------------
210// Style

Callers

nothing calls this directly

Calls 2

ImVec2Function · 0.85
StyleColorsAutoFunction · 0.85

Tested by

no test coverage detected