From e13f699ee5f575198552d94ada1167305c82bb2f Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Oct 2021 16:01:09 +0800 Subject: *misc --- Editor/Utils/HelperFuncs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Editor/Utils/HelperFuncs.h') 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)) -- cgit v1.1-26-g67d0