Resource changes

This commit is contained in:
mmacierzanka committed 2021-05-29 20:56:24 +02:00
1 parent b12dad72bc
commit 17f81ddd2f
8 files changed
+10 -5

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

+1
View File
@@ -158,6 +158,7 @@
</ItemGroup>
<ItemGroup>
<Image Include="Easy Audio Player.ico" />
<Image Include="PAiPlayer.ico" />
<Image Include="small.ico" />
</ItemGroup>
<ItemGroup>
+3
View File
@@ -48,6 +48,9 @@
<Image Include="Easy Audio Player.ico">
<Filter>Pliki zasobów</Filter>
</Image>
<Image Include="PAiPlayer.ico">
<Filter>Pliki zasobów</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<Manifest Include="PAiPlayer.exe.manifest">
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,8 +1,7 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Easy Audio Player.rc
// Used by PAiPlayer.rc
//
#define PROGRAM_NAME L"PAiPlayer"
#define IDC_MYICON 2
#define IDD_EASYAUDIOPLAYER_DIALOG 102
#define IDS_APP_TITLE 103
@@ -10,6 +9,7 @@
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_EASYAUDIOPLAYER 107
#define IDI_PAIPLAYER 107
#define IDI_SMALL 108
#define IDC_EASYAUDIOPLAYER 109
#define IDR_MAINFRAME 128
+4 -3
View File
@@ -18,6 +18,7 @@ using std::wstring;
#define PAUSE_LABEL L"Pauza"
#define EXT_LENGTH 2
#define STATE_CHANGE 333
#define PROGRAM_NAME L"PAiPlayer"
//GLOBAL VARS
HFONT hFont = CreateFont(18, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE, ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, TEXT("Segoe UI"));
@@ -58,9 +59,9 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
//EXECUTION PART
int WINAPI WinMain(HINSTANCE currentInst, HINSTANCE previousInst, LPSTR lpCmdLine, int nCmdShow) {
globalInstance = currentInst;
WNDCLASSEX windowClass = EzCreateClass(L"Easy Audio Player", WndProc, currentInst, NULL, IDC_ARROW);
windowClass.hIcon = (HICON)LoadImage(currentInst, L"Easy Audio Player.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED);
windowClass.hIconSm = (HICON)LoadImage(currentInst, L"Easy Audio Player.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED);
WNDCLASSEX windowClass = EzCreateClass(L"PAiPlayer", WndProc, currentInst, NULL, IDC_ARROW);
windowClass.hIcon = (HICON)LoadImage(currentInst, L"PAiPlayer.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED);
windowClass.hIconSm = (HICON)LoadImage(currentInst, L"small.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE | LR_SHARED);
if (!RegisterClassEx(&windowClass)) {
return 1;
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 31 KiB