aboutsummaryrefslogtreecommitdiff
path: root/share/logdiag.rc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-25 15:54:24 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-28 05:57:27 +0200
commit4f01392de56f44e33a7e0989a340cced73147a5a (patch)
treeb2c7db8c3269cbf7e83b9d30c1bf37ee8b14f976 /share/logdiag.rc
parent6cd6ddbd1c25b9b78aaa0b1690b0ca748e2da810 (diff)
downloadlogdiag-4f01392de56f44e33a7e0989a340cced73147a5a.tar.gz
logdiag-4f01392de56f44e33a7e0989a340cced73147a5a.tar.xz
logdiag-4f01392de56f44e33a7e0989a340cced73147a5a.zip
Add basic print functionality
Sadly, the line width depends on the widget's DPI, which seems to even cause uneven lines on Windows, where virtual printers claim high DPI. It might also be an unrelated problem. Similarly, selected objects are exported highlighted. Other than that, it works quite well. Add a manifest to make the print dialog look nice with the older GTK+ bundle we depend upon. The RC file could theoretically be scanned for /\s+"([^"]+)"\s*$/, unescaped, and the results configure_file()-stamped.
Diffstat (limited to 'share/logdiag.rc')
-rw-r--r--share/logdiag.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/logdiag.rc b/share/logdiag.rc
index 30684e2..cff1571 100644
--- a/share/logdiag.rc
+++ b/share/logdiag.rc
@@ -1 +1,3 @@
+#include <windows.h>
LD_ICON ICON "logdiag.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "logdiag.manifest"