summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/WndProc.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/WndProc.h')
-rw-r--r--StarsEx/WndProc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/StarsEx/WndProc.h b/StarsEx/WndProc.h
new file mode 100644
index 0000000..715ebef
--- /dev/null
+++ b/StarsEx/WndProc.h
@@ -0,0 +1,21 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#ifndef WndProc_h
+#define WndProc_h
+
+#include "Types.h"
+
+
+LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
+void FlushKeys();
+void BufferKey(int vkey);
+int GetKey();
+int GetKeyPlus(int& key, int& shift);
+void ProcessKeyMessage();
+
+
+#endif // WndProc_h