summaryrefslogtreecommitdiff
path: root/Editor/Utils/HelperFuncs.h
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Utils/HelperFuncs.h')
-rw-r--r--Editor/Utils/HelperFuncs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Editor/Utils/HelperFuncs.h b/Editor/Utils/HelperFuncs.h
index 2ee7932..626e48f 100644
--- a/Editor/Utils/HelperFuncs.h
+++ b/Editor/Utils/HelperFuncs.h
@@ -5,4 +5,7 @@
std::string to_string(const char* cstr);
-extern void PrintCallStack(); \ No newline at end of file
+extern void PrintCallStack();
+
+#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
+#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))