| 1212 | }; |
| 1213 | |
| 1214 | inline 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 | |
| 1222 | void 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!"); |
no outgoing calls
no test coverage detected