From bce29362f49f6c87c2f4d130ae107cec637de74f Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Sat, 29 May 2021 00:35:52 +0200 Subject: [PATCH] Branding changes --- Easy Audio Player.vcxproj | 4 ++-- Easy Audio Player.vcxproj.filters | 4 ++-- ...yer.exe.manifest => PAiPlayer.exe.manifest | 2 +- Easy Audio Player.rc => PAiPlayer.rc | Bin 8312 -> 8254 bytes Easy Audio Player.sln => PAiPlayer.sln | 2 +- Resource.h | 1 + main.cpp | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) rename EasyAudioPlayer.exe.manifest => PAiPlayer.exe.manifest (87%) rename Easy Audio Player.rc => PAiPlayer.rc (92%) rename Easy Audio Player.sln => PAiPlayer.sln (89%) diff --git a/Easy Audio Player.vcxproj b/Easy Audio Player.vcxproj index f508998..f288776 100644 --- a/Easy Audio Player.vcxproj +++ b/Easy Audio Player.vcxproj @@ -154,14 +154,14 @@ - + - + diff --git a/Easy Audio Player.vcxproj.filters b/Easy Audio Player.vcxproj.filters index 8dacd38..52c8f98 100644 --- a/Easy Audio Player.vcxproj.filters +++ b/Easy Audio Player.vcxproj.filters @@ -37,7 +37,7 @@ - + Pliki zasobów @@ -50,7 +50,7 @@ - + Pliki źródłowe diff --git a/EasyAudioPlayer.exe.manifest b/PAiPlayer.exe.manifest similarity index 87% rename from EasyAudioPlayer.exe.manifest rename to PAiPlayer.exe.manifest index 9a289ee..b2634b7 100644 --- a/EasyAudioPlayer.exe.manifest +++ b/PAiPlayer.exe.manifest @@ -6,7 +6,7 @@ name="CompanyName.ProductName.YourApplication" type="win32" /> -Easy Audio Player - A school project that helps me learn C++ +PAiPlayer - A school project that helps me learn C++ X#SB#p*+97*hCGH!uv`IHEl5Q+P(>fV?b*RG?@Hke|zt2;{LcCNorSP8Yh)3joBt7pMRL diff --git a/Easy Audio Player.sln b/PAiPlayer.sln similarity index 89% rename from Easy Audio Player.sln rename to PAiPlayer.sln index c1a7040..c67a251 100644 --- a/Easy Audio Player.sln +++ b/PAiPlayer.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.31129.286 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Easy Audio Player", "Easy Audio Player.vcxproj", "{C734FDA7-262E-4202-8F4E-5E3031CB9935}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PAiPlayer", "Easy Audio Player.vcxproj", "{C734FDA7-262E-4202-8F4E-5E3031CB9935}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Resource.h b/Resource.h index 8978c8b..64c64fc 100644 --- a/Resource.h +++ b/Resource.h @@ -2,6 +2,7 @@ // Microsoft Visual C++ generated include file. // Used by Easy Audio Player.rc // +#define PROGRAM_NAME L"PAiPlayer" #define IDC_MYICON 2 #define IDD_EASYAUDIOPLAYER_DIALOG 102 #define IDS_APP_TITLE 103 diff --git a/main.cpp b/main.cpp index 2d04157..bf27bf5 100644 --- a/main.cpp +++ b/main.cpp @@ -65,7 +65,7 @@ int WINAPI WinMain(HINSTANCE currentInst, HINSTANCE previousInst, LPSTR lpCmdLin return 1; } menuBar = LoadMenu(currentInst, (LPCWSTR)IDC_MENU); - mainWindow = EzCreateWindow(windowClass,currentInst,L"Easy Audio Player", WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX, 400, 620, NULL, menuBar); + mainWindow = EzCreateWindow(windowClass,currentInst,PROGRAM_NAME, WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX, 400, 620, NULL, menuBar); SendMessage(mainWindow, WM_SETFONT, (WPARAM)hFont, TRUE); SendMessage(mainWindow, STATE_CHANGE, -1, NULL); ShowWindow(mainWindow, nCmdShow);