[SHELL32] Show Product version on About dialog bmp (#3621)
The About dialog banner will now show the correspondent Product version selected on install. This will make it easier to tell which edition of ReactOS is installed.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
1788
dll/win32/msgina/resources/svg/rosbanner.svg
Normal file
After Width: | Height: | Size: 132 KiB |
|
@ -1,5 +1,7 @@
|
|||
IDB_REACTOS BITMAP "res/bitmaps/reactos.bmp"
|
||||
IDB_LINEBAR BITMAP "res/bitmaps/line.bmp"
|
||||
IDB_REACTOS BITMAP "res/bitmaps/reactos.bmp"
|
||||
IDB_REACTOS_WORKSTATION BITMAP "res/bitmaps/reactosworkstation.bmp"
|
||||
IDB_REACTOS_SERVER BITMAP "res/bitmaps/reactosserver.bmp"
|
||||
IDB_LINEBAR BITMAP "res/bitmaps/line.bmp"
|
||||
|
||||
IDB_DLG_BG BITMAP "res/bitmaps/dlg_bg.bmp"
|
||||
IDB_REACTOS_FLAG BITMAP "res/bitmaps/reactos_flag.bmp"
|
||||
|
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
BIN
dll/win32/shell32/res/bitmaps/reactosserver.bmp
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
dll/win32/shell32/res/bitmaps/reactosworkstation.bmp
Normal file
After Width: | Height: | Size: 87 KiB |
|
@ -28,6 +28,8 @@
|
|||
|
||||
/* Bitmaps */
|
||||
#define IDB_REACTOS 131
|
||||
#define IDB_REACTOS_WORKSTATION 400
|
||||
#define IDB_REACTOS_SERVER 401
|
||||
#define IDB_LINEBAR 138
|
||||
#define IDB_SHELL_IEXPLORE_LG 204
|
||||
#define IDB_SHELL_IEXPLORE_LG_HOT 205
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include <reactos/version.h>
|
||||
#include <reactos/buildno.h>
|
||||
|
||||
#include <versionhelpers.h>
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
||||
const char * const SHELL_Authors[] = { "Copyright 1993-"COPYRIGHT_YEAR" WINE team", "Copyright 1998-"COPYRIGHT_YEAR" ReactOS Team", 0 };
|
||||
|
@ -1158,7 +1159,16 @@ static INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM
|
|||
WCHAR szAuthorsText[20];
|
||||
|
||||
// Preload the ROS bitmap
|
||||
hLogoBmp = (HBITMAP)LoadImage(shell32_hInstance, MAKEINTRESOURCE(IDB_REACTOS), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||
if (IsWindowsServer())
|
||||
{
|
||||
// Load Server Bitmap
|
||||
hLogoBmp = (HBITMAP)LoadImage(shell32_hInstance, MAKEINTRESOURCE(IDB_REACTOS_SERVER), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Load Workstation Bitmap
|
||||
hLogoBmp = (HBITMAP)LoadImage(shell32_hInstance, MAKEINTRESOURCE(IDB_REACTOS_WORKSTATION), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||
}
|
||||
hLineBmp = (HBITMAP)LoadImage(shell32_hInstance, MAKEINTRESOURCE(IDB_LINEBAR), IMAGE_BITMAP, 0, 0, LR_DEFAULTCOLOR);
|
||||
|
||||
if(hLogoBmp && hLineBmp)
|
||||
|
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |