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

Function GetLastItemColor

Source/3rdParty/implot/implot_items.cpp:363–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363ImVec4 GetLastItemColor() {
364 ImPlotContext& gp = *GImPlot;
365 if (gp.PreviousItem)
366 return ImGui::ColorConvertU32ToFloat4(gp.PreviousItem->Color);
367 return ImVec4();
368}
369
370void BustItemCache() {
371 ImPlotContext& gp = *GImPlot;

Callers 3

Demo_TimeScaleFunction · 0.85
Demo_SubplotItemSharingFunction · 0.85
Demo_AnnotationsFunction · 0.85

Calls 1

ImVec4Class · 0.85

Tested by

no test coverage detected