MCPcopy Create free account
hub / github.com/SatDump/SatDump / GetStyleColorName

Function GetStyleColorName

src-core/imgui/implot/implot.cpp:215–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213namespace ImPlot {
214
215const 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
242const char* GetMarkerName(ImPlotMarker marker) {
243 switch (marker) {

Callers 4

ShowStyleEditorMethod · 0.85
ShowExampleMenuFileFunction · 0.85
ShowStyleEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected