MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / GetIconP

Method GetIconP

rEFIt_UEFI/libeg/XTheme.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147XIcon* XTheme::GetIconP(const XString8& Name)
148{
149 for (size_t i = 0; i < Icons.size(); i++)
150 {
151 if (Icons[i].Name == Name) //night icon has same name as daylight icon
152 {
153 return GetIconP(Icons[i].Id);
154 }
155 }
156 return &NullIcon; //if name is not found
157}
158
159bool XTheme::CheckNative(INTN Id)
160{

Callers 1

MouseBirthMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected