summaryrefslogtreecommitdiff
path: root/xW/xW.rc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-09 07:06:19 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-15 17:00:21 +0200
commit0219dbd02615498f4a931e33ef2337e0bbf9b526 (patch)
treeb80e489614dcec83b8600534b5701b742d524ee4 /xW/xW.rc
parent1da4699a7afb0085c498196bf41fef6b69168a6f (diff)
downloadxK-0219dbd02615498f4a931e33ef2337e0bbf9b526.tar.gz
xK-0219dbd02615498f4a931e33ef2337e0bbf9b526.tar.xz
xK-0219dbd02615498f4a931e33ef2337e0bbf9b526.zip
Add a Win32 frontend for xC
This has been more of an exercise. The performance of Msftedit.dll is rather abysmal, and its interface isn't the most accomodating. That said, the frontend is quite usable, at least on Windows 10+.
Diffstat (limited to 'xW/xW.rc')
-rw-r--r--xW/xW.rc23
1 files changed, 23 insertions, 0 deletions
diff --git a/xW/xW.rc b/xW/xW.rc
new file mode 100644
index 0000000..858b104
--- /dev/null
+++ b/xW/xW.rc
@@ -0,0 +1,23 @@
+#include <windows.h>
+#include "xW-resources.h"
+
+// Beware of this madness https://gitlab.kitware.com/cmake/cmake/-/issues/23066
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "xW.manifest"
+
+IDI_ICON ICON "xW.ico"
+IDI_HIGHLIGHTED ICON "xW-highlighted.ico"
+
+IDA_ACCELERATORS ACCELERATORS
+BEGIN
+ "^p", ID_PREVIOUS_BUFFER
+ "^n", ID_NEXT_BUFFER
+ VK_F5, ID_PREVIOUS_BUFFER, VIRTKEY
+ VK_F6, ID_NEXT_BUFFER, VIRTKEY
+ VK_PRIOR, ID_PREVIOUS_BUFFER, CONTROL, VIRTKEY
+ VK_NEXT, ID_NEXT_BUFFER, CONTROL, VIRTKEY
+ VK_TAB, ID_SWITCH_BUFFER, CONTROL, VIRTKEY
+ "!", ID_GOTO_HIGHLIGHT, ALT
+ "a", ID_GOTO_ACTIVITY, ALT
+ "H", ID_TOGGLE_UNIMPORTANT, ALT
+ "h", ID_DISPLAY_FULL_LOG, ALT
+END