| 294 | } |
| 295 | |
| 296 | const 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 | |
| 314 | ImVec4 GetAutoColor(ImPlotCol idx) { |
| 315 | ImVec4 col(0,0,0,1); |