Update about dialog icons

This commit is contained in:
Don HO 2021-08-01 16:30:03 +02:00
parent 318a566ae7
commit 1c1a0c487a
5 changed files with 7 additions and 10 deletions

View File

@ -1190,19 +1190,15 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_SYSMENU
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x1
BEGIN
EDITTEXT IDC_BUILD_DATETIME,150,2,150,10, ES_READONLY | NOT WS_BORDER
CONTROL "",IDI_CHAMELEON,"Static",SS_OWNERDRAW,20,10,128,128
CONTROL "",IDI_CHAMELEON_DM, "Static",SS_OWNERDRAW,20,10,128,128
//CONTROL "",IDI_JESUISCHARLIE,"Static",SS_OWNERDRAW,20,5,64,64
//CONTROL "",IDI_GILETJAUNE,"Static",SS_OWNERDRAW,20,5,64,64
//CONTROL "", IDI_SAMESEXMARRIAGE,"Static",SS_OWNERDRAW,20,5,64,64
LTEXT NOTEPAD_PLUS_VERSION, IDC_STATIC,85,20,140,11
LTEXT "bit",IDC_VERSION_BIT,160,20,140,11
CONTROL "", IDI_NPPABOUT_LOGO,"Static",SS_OWNERDRAW,10,5,128,128
LTEXT NOTEPAD_PLUS_VERSION, IDC_STATIC,85,25,140,11
LTEXT "bit",IDC_VERSION_BIT,160,25,140,11
//LTEXT "Author :",IDC_STATIC,21,45,31,8
//LTEXT "FREE UYGHUR",IDC_AUTHOR_NAME,70,32,70,8
//LTEXT "Stand with Hong Kong",IDC_AUTHOR_NAME,70,32,80,8
//LTEXT "pour Samuel Paty",IDC_AUTHOR_NAME,70,32,80,8
LTEXT "Home:",IDC_STATIC,21,55,47,8
LTEXT "https://notepad-plus-plus.org/",IDC_HOME_ADDR,50,55,126,8
LTEXT "Home:",IDC_STATIC,21,58,47,8
LTEXT "https://notepad-plus-plus.org/",IDC_HOME_ADDR,50,58,126,8
GROUPBOX "GNU General Public Licence",IDC_STATIC,19,75,231,131,BS_CENTER
DEFPUSHBUTTON "OK",IDOK,106,215,50,14,BS_FLAT
// IDC_LICENCE_EDIT should be the last line, don't know why

View File

@ -90,7 +90,7 @@ INT_PTR CALLBACK AboutDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lPara
case WM_DRAWITEM :
{
DPIManager& dpiManager = NppParameters::getInstance()._dpiManager;
int iconSideSize = 64;
int iconSideSize = 80;
int w = dpiManager.scaleX(iconSideSize);
int h = dpiManager.scaleY(iconSideSize);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -33,6 +33,7 @@
#define IDC_STATIC -1
#endif
#define IDI_NPPABOUT_LOGO 99
#define IDI_M30ICON 100
#define IDI_CHAMELEON 101
#define IDI_CHAMELEON_DM 102