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

Method LoadXImage

rEFIt_UEFI/libeg/XImage.cpp:584–587  ·  view source on GitHub ↗

* IconName is just func_about for example * will search files * icons/iconname.icns - existing themes * icons/iconname.png - it will be more correct * iconname.png - for example checkbox.png * if not found use embedded. It should be decoded again after theme change * SVG themes filled separately after ThemeName defined so the procedure just return EFI_SUCCESS * The function always cr

Source from the content-addressed store, hash-verified

582 * The function always create new image and will not be used to get a link to existing image
583 */
584EFI_STATUS XImage::LoadXImage(EFI_FILE *BaseDir, const char* IconName)
585{
586 return LoadXImage(BaseDir, XStringW().takeValueFrom(IconName));
587}
588
589EFI_STATUS XImage::LoadXImage(EFI_FILE *BaseDir, const wchar_t* LIconName)
590{

Callers

nothing calls this directly

Calls 6

egLoadFileFunction · 0.85
XStringWClass · 0.50
efiStrErrorFunction · 0.50
FreePoolFunction · 0.50
isEmptyMethod · 0.45
wc_strMethod · 0.45

Tested by

no test coverage detected