| 272 | namespace ImPlot { |
| 273 | |
| 274 | const char* GetStyleColorName(ImPlotCol col) { |
| 275 | static const char* col_names[ImPlotCol_COUNT] = { |
| 276 | "FrameBg", |
| 277 | "PlotBg", |
| 278 | "PlotBorder", |
| 279 | "LegendBg", |
| 280 | "LegendBorder", |
| 281 | "LegendText", |
| 282 | "TitleText", |
| 283 | "InlayText", |
| 284 | "AxisText", |
| 285 | "AxisGrid", |
| 286 | "AxisTick", |
| 287 | "AxisBg", |
| 288 | "AxisBgHovered", |
| 289 | "AxisBgActive", |
| 290 | "Selection", |
| 291 | "Crosshairs" |
| 292 | }; |
| 293 | return col_names[col]; |
| 294 | } |
| 295 | |
| 296 | const char* GetMarkerName(ImPlotMarker marker) { |
| 297 | switch (marker) { |
no outgoing calls
no test coverage detected