mirror of https://github.com/AxioDL/boo.git
Window icon loading
This commit is contained in:
parent
147115b6ac
commit
a35119e849
|
@ -2,6 +2,7 @@
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <initguid.h>
|
#include <initguid.h>
|
||||||
#include <Usbiodef.h>
|
#include <Usbiodef.h>
|
||||||
|
#include <winver.h>
|
||||||
|
|
||||||
#if _DEBUG
|
#if _DEBUG
|
||||||
#define D3D11_CREATE_DEVICE_FLAGS D3D11_CREATE_DEVICE_DEBUG
|
#define D3D11_CREATE_DEVICE_FLAGS D3D11_CREATE_DEVICE_DEBUG
|
||||||
|
@ -412,6 +413,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
|
||||||
0,
|
0,
|
||||||
L"BooWindow"
|
L"BooWindow"
|
||||||
};
|
};
|
||||||
|
wndClass.hIcon = LoadIconW(wndClass.hInstance, MAKEINTRESOURCEW(101));
|
||||||
|
|
||||||
RegisterClassW(&wndClass);
|
RegisterClassW(&wndClass);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue