mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
use the netsurf icons on the window decoration
svn path=/trunk/netsurf/; revision=11635
This commit is contained in:
parent
3c414e7668
commit
f04cc9e9ec
@ -1646,12 +1646,12 @@ static void create_local_windows_classes(void) {
|
||||
w.cbClsExtra = 0;
|
||||
w.cbWndExtra = 0;
|
||||
w.hInstance = hinstance;
|
||||
w.hIcon = LoadIcon(NULL, IDI_APPLICATION); /* -> NetSurf */
|
||||
w.hIcon = LoadIcon(hinstance, MAKEINTRESOURCE(NSWS_ID_NETSURF32_ICON)); /* -> NetSurf */
|
||||
w.hCursor = NULL;
|
||||
w.hbrBackground = (HBRUSH)(COLOR_MENU + 1);
|
||||
w.lpszMenuName = NULL;
|
||||
w.lpszClassName = windowclassname_main;
|
||||
w.hIconSm = LoadIcon(NULL, IDI_APPLICATION); /* -> NetSurf */
|
||||
w.hIconSm = LoadIcon(hinstance, MAKEINTRESOURCE(NSWS_ID_NETSURF16_ICON)); /* -> NetSurf */
|
||||
RegisterClassEx(&w);
|
||||
|
||||
/* drawable area */
|
||||
|
@ -221,4 +221,5 @@ FONT 8, "MS Sans Serif"
|
||||
//
|
||||
// Icon resources
|
||||
//
|
||||
ID ICON "NetSurf32.ico"
|
||||
NSWS_ID_NETSURF32_ICON ICON "NetSurf32.ico"
|
||||
NSWS_ID_NETSURF16_ICON ICON "NetSurf16.ico"
|
||||
|
@ -23,6 +23,9 @@
|
||||
#define IDC_STATIC (-1)
|
||||
#endif
|
||||
|
||||
#define NSWS_ID_NETSURF32_ICON 10
|
||||
#define NSWS_ID_NETSURF16_ICON 11
|
||||
|
||||
#define NSWS_ID_MAINMENU 101
|
||||
#define NSWS_ID_CTXMENU 103
|
||||
#define NSWS_ID_TOOLBAR_BITMAP 107
|
||||
|
Loading…
Reference in New Issue
Block a user