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

Function GetMarkerName

Source/3rdParty/implot/implot.cpp:296–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296const char* GetMarkerName(ImPlotMarker marker) {
297 switch (marker) {
298 case ImPlotMarker_None: return "None";
299 case ImPlotMarker_Auto: return "Auto";
300 case ImPlotMarker_Circle: return "Circle";
301 case ImPlotMarker_Square: return "Square";
302 case ImPlotMarker_Diamond: return "Diamond";
303 case ImPlotMarker_Up: return "Up";
304 case ImPlotMarker_Down: return "Down";
305 case ImPlotMarker_Left: return "Left";
306 case ImPlotMarker_Right: return "Right";
307 case ImPlotMarker_Cross: return "Cross";
308 case ImPlotMarker_Plus: return "Plus";
309 case ImPlotMarker_Asterisk: return "Asterisk";
310 default: return "";
311 }
312}
313
314ImVec4 GetAutoColor(ImPlotCol idx) {
315 ImVec4 col(0,0,0,1);

Callers 1

ShowMetricsWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected