[NTVDM]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 29 Dec 2013 22:38:10 +0000 (22:38 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 29 Dec 2013 22:38:10 +0000 (22:38 +0000)
Rework the resource files, and add a nice old-ish IBM PC AT icon (C) myself :) (only 32x32 256 colors for now).

svn path=/branches/ntvdm/; revision=61462

subsystems/ntvdm/ntvdm.rc
subsystems/ntvdm/res/ntvdm.ico [new file with mode: 0644]
subsystems/ntvdm/resource.h
subsystems/ntvdm/rsrc.rc [deleted file]

index 899ea9b..9a14095 100644 (file)
@@ -1,5 +1,6 @@
 #include <windef.h>
 #include <winuser.h>
+
 #include "resource.h"
 
 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@@ -9,4 +10,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 #define REACTOS_STR_ORIGINAL_FILENAME   "ntvdm.exe"
 #include <reactos/version.rc>
 
-#include "rsrc.rc"
+IDI_APPICON ICON "res/ntvdm.ico"
+
+/* UTF-8 */
+#pragma code_page(65001)
diff --git a/subsystems/ntvdm/res/ntvdm.ico b/subsystems/ntvdm/res/ntvdm.ico
new file mode 100644 (file)
index 0000000..ae4c6bf
Binary files /dev/null and b/subsystems/ntvdm/res/ntvdm.ico differ
index 6b0c1d9..0a273ca 100644 (file)
@@ -1,2 +1,5 @@
+#pragma once
+
+#define IDI_APPICON 1
 
 /* EOF */
diff --git a/subsystems/ntvdm/rsrc.rc b/subsystems/ntvdm/rsrc.rc
deleted file mode 100644 (file)
index 97d661b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-
-// UTF-8
-#pragma code_page(65001)