Updated About window.
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 - 2024 Vladislav Salikov aka W0LF
|
||||
Copyright (c) 2020-2024 Vladislav Salikov aka W0LF
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## wCenterWindow
|
||||
|
||||
Copyright (c) 2020 - 2024 Vladislav Salikov aka W0LF.<br>
|
||||
Program's icon made by Kirill Topov.
|
||||
Copyright (c) 2020-2024 Vladislav Salikov aka W0LF.<br>
|
||||
Program icon made by Kirill Topov.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,25 +1,3 @@
|
||||
## MIT License
|
||||
##
|
||||
## Copyright (c) 2023 W0LF aka 'dreamforce'
|
||||
##
|
||||
## Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
## of this software and associated documentation files (the "Software"), to deal
|
||||
## in the Software without restriction, including without limitation the rights
|
||||
## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
## copies of the Software, and to permit persons to whom the Software is
|
||||
## furnished to do so, subject to the following conditions:
|
||||
##
|
||||
## The above copyright notice and this permission notice shall be included in all
|
||||
## copies or substantial portions of the Software.
|
||||
##
|
||||
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
## SOFTWARE.
|
||||
|
||||
# Update Version v2.1
|
||||
# Required module: PSIni
|
||||
# Installation: Install-Module -Name PsIni
|
||||
|
||||
@@ -1,25 +1,4 @@
|
||||
@ECHO OFF
|
||||
:: MIT License
|
||||
::
|
||||
:: Copyright (c) 2023 W0LF aka 'dreamforce'
|
||||
::
|
||||
:: Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
:: of this software and associated documentation files (the "Software"), to deal
|
||||
:: in the Software without restriction, including without limitation the rights
|
||||
:: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
:: copies of the Software, and to permit persons to whom the Software is
|
||||
:: furnished to do so, subject to the following conditions:
|
||||
::
|
||||
:: The above copyright notice and this permission notice shall be included in all
|
||||
:: copies or substantial portions of the Software.
|
||||
::
|
||||
:: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
:: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
:: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
:: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
:: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
:: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
:: SOFTWARE.
|
||||
|
||||
:: In VisualStudio add to Pre-Build events:
|
||||
:: "$(SolutionDir)pre-build.cmd" "$(SolutionDir)" "$(ProjectDir)"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#define IDS_ERR_MAXMIN 122
|
||||
#define IDS_RUNNING 123
|
||||
#define IDT_TIMER 124
|
||||
#define IDS_LICENSE 125
|
||||
#define IDR_MAINFRAME 128
|
||||
#define IDD_MANUAL_EDITING 129
|
||||
#define IDC_EDIT_X 1000
|
||||
@@ -55,6 +54,6 @@
|
||||
#define _APS_NEXT_RESOURCE_VALUE 130
|
||||
#define _APS_NEXT_COMMAND_VALUE 32771
|
||||
#define _APS_NEXT_CONTROL_VALUE 1016
|
||||
#define _APS_NEXT_SYMED_VALUE 126
|
||||
#define _APS_NEXT_SYMED_VALUE 125
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "wCenterWindow.h"
|
||||
#include "updater.h"
|
||||
|
||||
#define NO_DONATION
|
||||
//#define NO_DONATION
|
||||
#define KEY_I 0x49
|
||||
#define KEY_C 0x43
|
||||
#define KEY_V 0x56
|
||||
@@ -626,15 +626,12 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
|
||||
WCHAR szAboutProgName[MAX_LOADSTRING];
|
||||
WCHAR szAboutCopyright[MAX_LOADSTRING];
|
||||
WCHAR szAboutBuildTime[MAX_LOADSTRING];
|
||||
WCHAR szAboutLicense[MAX_LOADSTRING * 22];
|
||||
LoadStringW(GetModuleHandleW(NULL), IDS_LICENSE, szAboutLicense, _countof(szAboutLicense));
|
||||
MultiByteToWideChar(1251, 0, PRODUCT_NAME_FULL, _countof(PRODUCT_NAME_FULL), szAboutProgName, MAX_LOADSTRING);
|
||||
MultiByteToWideChar(1251, 0, PRODUCT_COPYRIGHT, _countof(PRODUCT_COPYRIGHT), szAboutCopyright, MAX_LOADSTRING);
|
||||
MultiByteToWideChar(1251, 0, ABOUT_BUILD, _countof(ABOUT_BUILD), szAboutBuildTime, MAX_LOADSTRING);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_PROGNAME, szAboutProgName);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_COPYRIGHT, szAboutCopyright);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUT_BUILDTIME, szAboutBuildTime);
|
||||
SetDlgItemTextW(hDlg, IDC_ABOUTEDIT, szAboutLicense);
|
||||
#ifdef NO_DONATION
|
||||
HWND hLink = GetDlgItem(hDlg, IDC_DONATIONLINK);
|
||||
if (hLink) DestroyWindow(hLink);
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define ARCH 86
|
||||
#endif
|
||||
|
||||
#define MAX_LOADSTRING 50
|
||||
#define MAX_LOADSTRING 64
|
||||
|
||||
// Windows Header Files
|
||||
#include <fstream>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user