]> code.delx.au - refind/blobdiff - refind/icns.h
Added PNG support for icons, selection images, & banners.
[refind] / refind / icns.h
index eb3370c25856e745b5d66cd08c18b1fe4cbabe5b..6035ee457dc96c1d54a0e18a23d047cc9148ccee 100644 (file)
@@ -49,6 +49,8 @@
 // icns loader module
 //
 
+#define ICON_EXTENSIONS L"icns,png"
+
 EG_IMAGE * LoadOSIcon(IN CHAR16 *OSIconName OPTIONAL, IN CHAR16 *FallbackIconName, BOOLEAN BootLogo);
 
 EG_IMAGE * LoadIcns(IN EFI_FILE_HANDLE BaseDir, IN CHAR16 *FileName, IN UINTN PixelSize);
@@ -60,13 +62,16 @@ EG_IMAGE * BuiltinIcon(IN UINTN Id);
 #define BUILTIN_ICON_FUNC_ABOUT     (0)
 #define BUILTIN_ICON_FUNC_RESET     (1)
 #define BUILTIN_ICON_FUNC_SHUTDOWN  (2)
-#define BUILTIN_ICON_TOOL_SHELL     (3)
-#define BUILTIN_ICON_TOOL_PART      (4)
-#define BUILTIN_ICON_TOOL_RESCUE    (5)
-#define BUILTIN_ICON_VOL_INTERNAL   (6)
-#define BUILTIN_ICON_VOL_EXTERNAL   (7)
-#define BUILTIN_ICON_VOL_OPTICAL    (8)
-#define BUILTIN_ICON_COUNT          (9)
+#define BUILTIN_ICON_FUNC_EXIT      (3)
+#define BUILTIN_ICON_TOOL_SHELL     (4)
+#define BUILTIN_ICON_TOOL_PART      (5)
+#define BUILTIN_ICON_TOOL_RESCUE    (6)
+#define BUILTIN_ICON_TOOL_APPLE_RESCUE (7)
+#define BUILTIN_ICON_TOOL_MOK_TOOL  (8)
+#define BUILTIN_ICON_VOL_INTERNAL   (9)
+#define BUILTIN_ICON_VOL_EXTERNAL   (10)
+#define BUILTIN_ICON_VOL_OPTICAL    (11)
+#define BUILTIN_ICON_COUNT          (12)
 
 #endif