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

Method ImPlotStyle

Source/3rdParty/implot/implot.cpp:237–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237ImPlotStyle::ImPlotStyle() {
238 PlotDefaultSize = ImVec2(400,300);
239 PlotMinSize = ImVec2(200,150);
240 PlotBorderSize = 1;
241 MinorAlpha = 0.25f;
242 MajorTickLen = ImVec2(10,10);
243 MinorTickLen = ImVec2(5,5);
244 MajorTickSize = ImVec2(1,1);
245 MinorTickSize = ImVec2(1,1);
246 MajorGridSize = ImVec2(1,1);
247 MinorGridSize = ImVec2(1,1);
248 PlotPadding = ImVec2(10,10);
249 LabelPadding = ImVec2(5,5);
250 LegendPadding = ImVec2(10,10);
251 LegendInnerPadding = ImVec2(5,5);
252 LegendSpacing = ImVec2(5,0);
253 MousePosPadding = ImVec2(10,10);
254 AnnotationPadding = ImVec2(2,2);
255 FitPadding = ImVec2(0,0);
256 DigitalPadding = 20;
257 DigitalSpacing = 4;
258
259 ImPlot::StyleColorsAuto(this);
260
261 Colormap = ImPlotColormap_Deep;
262
263 UseLocalTime = false;
264 Use24HourClock = false;
265 UseISO8601 = false;
266}
267
268//-----------------------------------------------------------------------------
269// Style

Callers

nothing calls this directly

Calls 2

ImVec2Function · 0.85
StyleColorsAutoFunction · 0.85

Tested by

no test coverage detected