MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / getBack

Method getBack

launcher/ui/ColorCache.h:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 QColor getBack(int key)
51 {
52 auto iter = m_colors.find(key);
53 if(iter == m_colors.end())
54 {
55 return QColor();
56 }
57 return (*iter).back;
58 }
59
60 /**
61 * Blend the color with the front color, adapting to the back color

Callers 1

dataMethod · 0.45

Calls 3

QColorClass · 0.85
endMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected