[NTOS:INBV] Isolate the bitmap resources pertaining to the boot theme/animation into their resource sub-file.

This commit is contained in:
Hermès Bélusca-Maïto
2023-12-24 22:39:36 +01:00
parent 0f3da97456
commit 6d265d1fd8
3 changed files with 44 additions and 23 deletions
+28
View File
@@ -0,0 +1,28 @@
/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Boot Theme & Animation - Resource File
* COPYRIGHT: Copyright 2007-2010 Alex Ionescu ([email protected])
* Copyright 2015-2022 Hermès Bélusca-Maïto
* Copyright 2019 Yaroslav Kibysh
*/
#include "include/resource.h"
/* Bitmaps */
IDB_HIBERNATE_BAR BITMAP "inbv/resources/hibernate.bmp"
IDB_SHUTDOWN_MSG BITMAP "inbv/resources/shutdown.bmp"
IDB_BAR_DEFAULT BITMAP "inbv/resources/barserver.bmp"
IDB_LOGO_DEFAULT BITMAP "inbv/resources/logo.bmp"
IDB_WKSTA_HEADER BITMAP "inbv/resources/hwksta.bmp"
IDB_WKSTA_FOOTER BITMAP "inbv/resources/fwksta.bmp"
IDB_BAR_WKSTA BITMAP "inbv/resources/barwksta.bmp"
IDB_SERVER_LOGO BITMAP "inbv/resources/logo.bmp"
IDB_SERVER_HEADER BITMAP "inbv/resources/hserver.bmp"
IDB_SERVER_FOOTER BITMAP "inbv/resources/fserver.bmp"
/* ReactOS additions */
IDB_ROTATING_LINE BITMAP "inbv/resources/line.bmp"
IDB_PROGRESS_BAR BITMAP "inbv/resources/progress.bmp"
IDB_COPYRIGHT BITMAP "inbv/resources/copyright.bmp"
+13 -5
View File
@@ -1,13 +1,21 @@
#pragma once
/* /*
* List of all the bitmap overlay resources present in the NT kernel * PROJECT: ReactOS Kernel
* of Windows XP, Windows Server 2003 and their variations. * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Boot Theme & Animation - Standard Bitmap Resources
* COPYRIGHT: Copyright 2010 Alex Ionescu ([email protected])
* Copyright 2015-2022 Hermès Bélusca-Maïto
*
* COMPATIBILITY NOTICE
*
* This is the list of all the bitmap overlay resources present in the
* NT kernel of Windows XP, Windows Server 2003 and their variations.
* See "How to change Windows XP boot logo" at * See "How to change Windows XP boot logo" at
* http://www.reversing.be/article.php?story=20061209171938444 * https://web.archive.org/web/20220926055242/https://www.reversing.be/article.php?story=20061209171938444
* as well as the "Boot Editor for WinXP" program for more details. * as well as the "Boot Editor for WinXP" program for more details.
*/ */
#pragma once
#define IDB_BOOT_SCREEN 1 #define IDB_BOOT_SCREEN 1
#define IDB_HIBERNATE_BAR 2 #define IDB_HIBERNATE_BAR 2
#define IDB_SHUTDOWN_MSG 3 #define IDB_SHUTDOWN_MSG 3
+3 -18
View File
@@ -22,24 +22,9 @@
#endif #endif
#define VER_LANGNEUTRAL #define VER_LANGNEUTRAL
#include "common.ver" #include "common.ver"
#include "include/resource.h"
/* Bug Codes and Bitmaps */
/* Bug Codes */
#include <bugcodes.rc> #include <bugcodes.rc>
IDB_HIBERNATE_BAR BITMAP "inbv/resources/hibernate.bmp" /* Boot Theme Resources */
IDB_SHUTDOWN_MSG BITMAP "inbv/resources/shutdown.bmp" #include "inbv/bootanim.rc"
IDB_BAR_DEFAULT BITMAP "inbv/resources/barserver.bmp"
IDB_LOGO_DEFAULT BITMAP "inbv/resources/logo.bmp"
IDB_WKSTA_HEADER BITMAP "inbv/resources/hwksta.bmp"
IDB_WKSTA_FOOTER BITMAP "inbv/resources/fwksta.bmp"
IDB_BAR_WKSTA BITMAP "inbv/resources/barwksta.bmp"
IDB_SERVER_LOGO BITMAP "inbv/resources/logo.bmp"
IDB_SERVER_HEADER BITMAP "inbv/resources/hserver.bmp"
IDB_SERVER_FOOTER BITMAP "inbv/resources/fserver.bmp"
/* ReactOS additions */
IDB_ROTATING_LINE BITMAP "inbv/resources/line.bmp"
IDB_PROGRESS_BAR BITMAP "inbv/resources/progress.bmp"
IDB_COPYRIGHT BITMAP "inbv/resources/copyright.bmp"