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

Function GetDateTimeFmt

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

Source from the content-addressed store, hash-verified

1212};
1213
1214inline ImPlotDateTimeSpec GetDateTimeFmt(const ImPlotDateTimeSpec* ctx, ImPlotTimeUnit idx) {
1215 ImPlotStyle& style = GetStyle();
1216 ImPlotDateTimeSpec fmt = ctx[idx];
1217 fmt.UseISO8601 = style.UseISO8601;
1218 fmt.Use24HourClock = style.Use24HourClock;
1219 return fmt;
1220}
1221
1222void Locator_Time(ImPlotTicker& ticker, const ImPlotRange& range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatter_data) {
1223 IM_ASSERT_USER_ERROR(vertical == false, "Cannot locate Time ticks on vertical axis!");

Callers 2

Locator_TimeFunction · 0.85
LabelAxisValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected