| 435 | } |
| 436 | |
| 437 | EFI_STATUS XTheme::LoadSvgFrame(INTN i, OUT XImage* XFrame) |
| 438 | { |
| 439 | EFI_STATUS Status = EFI_NOT_FOUND; |
| 440 | XString8 XFrameName = S8Printf("frame_%04lld", i+1); |
| 441 | Status = ParseSVGXIcon(BUILTIN_ICON_ANIME, XFrameName, XFrame, NULL); //svg anime will be full redesigned |
| 442 | if (EFI_ERROR(Status)) { |
| 443 | DBG("frame '%s' not loaded, status=%s\n", XFrameName.c_str(), efiStrError(Status)); |
| 444 | } |
| 445 | |
| 446 | return Status; |
| 447 | } |
| 448 | |
| 449 | // it is not draw, it is render and mainly used in egRenderText |
| 450 | // which is used in icns.cpp as an icon replacement if no image found, looks like not used |
no test coverage detected