MCPcopy Create free account
hub / github.com/brenocq/implot3d / GetStyleColorName

Function GetStyleColorName

implot3d.cpp:3416–3422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3414}
3415
3416const char* GetStyleColorName(ImPlot3DCol idx) {
3417 static const char* color_names[ImPlot3DCol_COUNT] = {
3418 "TitleText", "InlayText", "FrameBg", "PlotBg", "PlotBorder", "LegendBg", "LegendBorder",
3419 "LegendText", "AxisText", "AxisGrid", "AxisTick", "AxisBg", "AxisBgHovered", "AxisBgActive",
3420 };
3421 return color_names[idx];
3422}
3423
3424const ImPlot3DNextItemData& GetItemData() { return GImPlot3D->NextItemData; }
3425

Callers 1

ShowStyleEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected