| 213 | namespace ImPlot { |
| 214 | |
| 215 | const char* GetStyleColorName(ImPlotCol col) { |
| 216 | static const char* col_names[ImPlotCol_COUNT] = { |
| 217 | "Line", |
| 218 | "Fill", |
| 219 | "MarkerOutline", |
| 220 | "MarkerFill", |
| 221 | "ErrorBar", |
| 222 | "FrameBg", |
| 223 | "PlotBg", |
| 224 | "PlotBorder", |
| 225 | "LegendBg", |
| 226 | "LegendBorder", |
| 227 | "LegendText", |
| 228 | "TitleText", |
| 229 | "InlayText", |
| 230 | "AxisText", |
| 231 | "AxisGrid", |
| 232 | "AxisTick", |
| 233 | "AxisBg", |
| 234 | "AxisBgHovered", |
| 235 | "AxisBgActive", |
| 236 | "Selection", |
| 237 | "Crosshairs" |
| 238 | }; |
| 239 | return col_names[col]; |
| 240 | } |
| 241 | |
| 242 | const char* GetMarkerName(ImPlotMarker marker) { |
| 243 | switch (marker) { |
no outgoing calls
no test coverage detected