changed screen resolition to 60% os screen

This commit is contained in:
Acid
2026-04-04 03:56:23 -04:00
parent 86df8f846e
commit 70ec59d7d0
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ int swprintf_s(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, ...)
#define IDM_HELP_ABOUT 4001
static const WCHAR APP_VERSION[] = L"1.2.0";
static const WCHAR APP_VERSION[] = L"1.3.0";
static HWND g_hEdit = NULL;
static HFONT g_hFont = NULL;
@@ -1026,10 +1026,10 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
return -1;
}
int winWidth = 1600;
int winHeight = 1200;
int screenW = GetSystemMetrics(SM_CXSCREEN);
int screenH = GetSystemMetrics(SM_CYSCREEN);
int winWidth = (int)(screenW * 0.6);
int winHeight = (int)(screenH * 0.6);
int posX = (screenW - winWidth) / 2;
int posY = (screenH - winHeight) / 2;
+1 -1
View File
@@ -1,7 +1,7 @@
[Setup]
AppId={{B7CBF4E7-9E8F-4A5B-9B73-7B7E5D5D5E6A}}
AppName=ClassicNotepad
AppVersion=1.1.0
AppVersion=1.3.0
AppPublisher=ClassicNotepad
DefaultDirName={autopf}\ClassicNotepad
DefaultGroupName=ClassicNotepad