dpiAware true for win32 manifest files
authorSimon Armstrong <Simon Armstrong>
Sat, 28 Jan 2017 04:02:46 +0000 (17:02 +1300)
committerSimon Armstrong <Simon Armstrong>
Sat, 28 Jan 2017 04:02:46 +0000 (17:02 +1300)
mod/maxgui.mod/xpmanifest.mod/resources/compile.cmd [new file with mode: 0644]
mod/maxgui.mod/xpmanifest.mod/resources/resources.rc [new file with mode: 0644]
mod/maxgui.mod/xpmanifest.mod/resources/xp.manifest [new file with mode: 0644]
mod/maxgui.mod/xpmanifest.mod/xpmanifest.o
src/maxide/maxicons.o
src/maxide/resources/compile.cmd [new file with mode: 0644]
src/maxide/resources/main_icon.ico [new file with mode: 0644]
src/maxide/resources/maxide.manifest [new file with mode: 0644]
src/maxide/resources/resources.rc [new file with mode: 0644]

diff --git a/mod/maxgui.mod/xpmanifest.mod/resources/compile.cmd b/mod/maxgui.mod/xpmanifest.mod/resources/compile.cmd
new file mode 100644 (file)
index 0000000..6849ee8
--- /dev/null
@@ -0,0 +1,2 @@
+@echo off\r
+windres -o ../xpmanifest.o resources.rc
\ No newline at end of file
diff --git a/mod/maxgui.mod/xpmanifest.mod/resources/resources.rc b/mod/maxgui.mod/xpmanifest.mod/resources/resources.rc
new file mode 100644 (file)
index 0000000..78b2682
--- /dev/null
@@ -0,0 +1,4 @@
+#define RT_MANIFEST    24\r
+#define MANIFEST_ID    1\r
+\r
+MANIFEST_ID            RT_MANIFEST     "xp.manifest"\r
diff --git a/mod/maxgui.mod/xpmanifest.mod/resources/xp.manifest b/mod/maxgui.mod/xpmanifest.mod/resources/xp.manifest
new file mode 100644 (file)
index 0000000..ae006b5
--- /dev/null
@@ -0,0 +1,27 @@
+\r
+\r
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>\r
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >\r
+  <asmv3:application>\r
+    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">\r
+      <dpiAware>true</dpiAware>\r
+    </asmv3:windowsSettings>\r
+  </asmv3:application>\r
+    <assemblyIdentity\r
+        version="1.0.0.0"\r
+        processorArchitecture="X86"\r
+        name="BRL.BlitzMax.MaxGUI"\r
+        type="win32" />\r
+    <description>MaxGUI</description>\r
+    <dependency>\r
+        <dependentAssembly>\r
+            <assemblyIdentity\r
+                type="win32"\r
+                name="Microsoft.Windows.Common-Controls"\r
+                version="6.0.0.0"\r
+                processorArchitecture="X86"\r
+                publicKeyToken="6595b64144ccf1df"\r
+                language="*" />\r
+        </dependentAssembly>\r
+    </dependency>\r
+</assembly>\r
index 02d8c498ed70888b3f6809d86a8ae4ac59225424..c3cf023bb3651e12c0f28cbc93356c762c23b60a 100644 (file)
Binary files a/mod/maxgui.mod/xpmanifest.mod/xpmanifest.o and b/mod/maxgui.mod/xpmanifest.mod/xpmanifest.o differ
index dc11fcfbad84f46dfea8231e6a941082f440d2ac..c3eb41d1a81a63c7aaaba95165f24e659162b1e9 100644 (file)
Binary files a/src/maxide/maxicons.o and b/src/maxide/maxicons.o differ
diff --git a/src/maxide/resources/compile.cmd b/src/maxide/resources/compile.cmd
new file mode 100644 (file)
index 0000000..7bc7453
--- /dev/null
@@ -0,0 +1,2 @@
+@echo off\r
+windres -o ../maxicons.o resources.rc
\ No newline at end of file
diff --git a/src/maxide/resources/main_icon.ico b/src/maxide/resources/main_icon.ico
new file mode 100644 (file)
index 0000000..e0e5e79
Binary files /dev/null and b/src/maxide/resources/main_icon.ico differ
diff --git a/src/maxide/resources/maxide.manifest b/src/maxide/resources/maxide.manifest
new file mode 100644 (file)
index 0000000..6babb7b
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>\r
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >\r
+  <asmv3:application>\r
+    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">\r
+      <dpiAware>true</dpiAware>\r
+    </asmv3:windowsSettings>\r
+  </asmv3:application>\r
+    <assemblyIdentity\r
+        version="1.0.0.0"\r
+        processorArchitecture="X86"\r
+        name="BRL.BlitzMax.MaxIDE"\r
+        type="win32" />\r
+    <description>MaxIDE</description>\r
+    <dependency>\r
+        <dependentAssembly>\r
+            <assemblyIdentity\r
+                type="win32"\r
+                name="Microsoft.Windows.Common-Controls"\r
+                version="6.0.0.0"\r
+                processorArchitecture="X86"\r
+                publicKeyToken="6595b64144ccf1df"\r
+                language="*" />\r
+        </dependentAssembly>\r
+    </dependency>\r
+</assembly>\r
diff --git a/src/maxide/resources/resources.rc b/src/maxide/resources/resources.rc
new file mode 100644 (file)
index 0000000..277779f
--- /dev/null
@@ -0,0 +1,6 @@
+#define RT_MANIFEST    24\r
+#define MANIFEST_ID    1\r
+#define MAIN_ICON_ID   101\r
+\r
+MANIFEST_ID            RT_MANIFEST     "maxide.manifest"\r
+MAIN_ICON_ID           ICON                    "main_icon.ico"
\ No newline at end of file