MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / IsColorAuto

Function IsColorAuto

Source/3rdParty/implot/implot_internal.h:1467–1467  ·  view source on GitHub ↗

Returns true if a color is set to be automatically determined

Source from the content-addressed store, hash-verified

1465
1466// Returns true if a color is set to be automatically determined
1467static inline bool IsColorAuto(const ImVec4& col) { return col.w == -1; }
1468// Returns true if a style color is set to be automatically determined
1469static inline bool IsColorAuto(ImPlotCol idx) { return IsColorAuto(GImPlot->Style.Colors[idx]); }
1470// Returns the automatically deduced style color

Callers 9

DragPointFunction · 0.85
DragLineXFunction · 0.85
DragLineYFunction · 0.85
DragRectFunction · 0.85
ShowStyleEditorFunction · 0.85
GetStyleColorVec4Function · 0.85
BeginItemFunction · 0.85
PlotErrorBarsVExFunction · 0.85
PlotErrorBarsHExFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected