mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
windows: add icon
This commit is contained in:
parent
fff4ca0c95
commit
ca41ce6efd
2
melon.rc
2
melon.rc
@ -2,7 +2,7 @@
|
||||
#define VFT_APP 0x00000001L
|
||||
|
||||
//this will set your .exe icon
|
||||
//A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "melon.ico"
|
||||
100 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "melon.ico"
|
||||
|
||||
//include version information in .exe, modify these values to match your needs
|
||||
1 VERSIONINFO
|
||||
|
@ -167,7 +167,7 @@ ATOM registerWindowClass(HICON hDefaultIcon, HCURSOR hDefaultCursor)
|
||||
wc.lpszClassName = windowClass;
|
||||
wc.lpfnWndProc = windowWndProc;
|
||||
wc.hInstance = hInstance;
|
||||
wc.hIcon = hDefaultIcon;
|
||||
wc.hIcon = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(100));
|
||||
wc.hCursor = hDefaultCursor;
|
||||
wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1);
|
||||
return RegisterClassW(&wc);
|
||||
|
Loading…
Reference in New Issue
Block a user