Adding icon.
This commit is contained in:
parent
484972db30
commit
5f61c6ad07
|
@ -1 +1,3 @@
|
|||
//{{NO_DEPENDENCIES}}
|
||||
|
||||
MAINICON ICON "..\\..\\..\\assets\\icon\\icon.ico"
|
||||
|
|
|
@ -51,8 +51,8 @@ bool Win32Window::OnCreate() {
|
|||
wcex.cbClsExtra = 0;
|
||||
wcex.cbWndExtra = 0;
|
||||
wcex.hInstance = hInstance;
|
||||
wcex.hIcon = nullptr; // LoadIcon(hInstance, (LPCTSTR)IDI_TUTORIAL1);
|
||||
wcex.hIconSm = nullptr; // LoadIcon(hInstance, (LPCTSTR)IDI_TUTORIAL1);
|
||||
wcex.hIcon = LoadIcon(hInstance, L"MAINICON");
|
||||
wcex.hIconSm = LoadIcon(hInstance, L"MAINICON");
|
||||
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||
wcex.lpszMenuName = nullptr;
|
||||
|
|
Loading…
Reference in New Issue