MCPcopy Create free account
hub / github.com/clementgallet/libTAS / AddTicksCustom

Function AddTicksCustom

src/external/imgui/implot.cpp:834–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834void AddTicksCustom(const double* values, const char* const labels[], int n, ImPlotTicker& ticker, ImPlotFormatter formatter, void* data) {
835 for (int i = 0; i < n; ++i) {
836 if (labels != nullptr)
837 ticker.AddTick(values[i], false, 0, true, labels[i]);
838 else
839 ticker.AddTick(values[i], false, 0, true, formatter, data);
840 }
841}
842
843//-----------------------------------------------------------------------------
844// Time Ticks and Utils

Callers 1

SetupAxisTicksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected