mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
Merge pull request #2673 from hpwamr/mui
+ chg: Adjust the position of "grepWinNP3" icon.
This commit is contained in:
commit
d2a4b761a6
@ -47,8 +47,8 @@ static LRESULT DrawGrepWinIcon(HWND hWnd)
|
||||
{
|
||||
BeginPaint(hWnd, &ps);
|
||||
int const dpiSized = CDPIAware::Instance().Scale(hWnd, 64);
|
||||
int const dpiLeft = CDPIAware::Instance().Scale(hWnd, 22);
|
||||
int const dpiTop = CDPIAware::Instance().Scale(hWnd, 44);
|
||||
int const dpiLeft = CDPIAware::Instance().Scale(hWnd, 12);
|
||||
int const dpiTop = CDPIAware::Instance().Scale(hWnd, 12);
|
||||
HBRUSH const hBrush = (HBRUSH)GetSysColorBrush(COLOR_3DFACE);
|
||||
DrawIconEx(hDC, dpiLeft, dpiTop, g_hDlgIcon128, dpiSized, dpiSized, 0, hBrush, DI_NORMAL);
|
||||
ReleaseDC(hWnd, hDC);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user