Add calculator icon
Added: trunk/reactos/subsys/system/calc/calculator.ico
Modified: trunk/reactos/subsys/system/calc/resource.h
Modified: trunk/reactos/subsys/system/calc/rsrc.rc
Modified: trunk/reactos/subsys/system/calc/winecalc.c
_____
Added: trunk/reactos/subsys/system/calc/calculator.ico
(Binary files differ)
Property changes on: trunk/reactos/subsys/system/calc/calculator.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
_____
Modified: trunk/reactos/subsys/system/calc/resource.h
--- trunk/reactos/subsys/system/calc/resource.h 2006-01-14 17:35:56 UTC
(rev 20856)
+++ trunk/reactos/subsys/system/calc/resource.h 2006-01-14 17:59:59 UTC
(rev 20857)
@@ -32,6 +32,8 @@
#define IDM_SEPARATOR3 1010
#define IDM_WHATS_THIS 1011
+#define IDI_CALCICON 1050
+
/* strings */
#define IDS_APPNAME 1100
_____
Modified: trunk/reactos/subsys/system/calc/rsrc.rc
--- trunk/reactos/subsys/system/calc/rsrc.rc 2006-01-14 17:35:56 UTC
(rev 20856)
+++ trunk/reactos/subsys/system/calc/rsrc.rc 2006-01-14 17:59:59 UTC
(rev 20857)
@@ -21,6 +21,8 @@
#include <windows.h>
#include "resource.h"
+IDI_CALCICON ICON "calculator.ico"
+
#include "En.rc"
#include "Cz.rc"
#include "De.rc"
_____
Modified: trunk/reactos/subsys/system/calc/winecalc.c
--- trunk/reactos/subsys/system/calc/winecalc.c 2006-01-14 17:35:56 UTC
(rev 20856)
+++ trunk/reactos/subsys/system/calc/winecalc.c 2006-01-14 17:59:59 UTC
(rev 20857)
@@ -172,7 +172,7 @@
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = hInst;
- wc.hIcon = LoadIcon( hInst, appname );
+ wc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_CALCICON));
wc.hCursor = LoadCursor( NULL, IDI_APPLICATION );
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
wc.lpszMenuName = NULL;
Show replies by date