diff options
author | chai <chaifix@163.com> | 2020-11-13 22:07:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-11-13 22:07:18 +0800 |
commit | 0edde8a08c6a9a55135dadcff6cd21988d523041 (patch) | |
tree | 696f72ba8e82e7aaa8b41bb277557eb34e4ebaaf /Editor/GUI/WinUtils.h | |
parent | 2fae5dab12e9b7e3d70e21707c8b358834808451 (diff) | |
parent | 6f326b50d86fab5955a37fe317f14888662b055a (diff) |
Merge branch 'master' of warmcat.org:/home/git-repo/GameLab
# Conflicts:
# Projects/VisualStudio/Editor/Editor.vcxproj
# Projects/VisualStudio/Editor/Editor.vcxproj.filters
Diffstat (limited to 'Editor/GUI/WinUtils.h')
-rw-r--r-- | Editor/GUI/WinUtils.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Editor/GUI/WinUtils.h b/Editor/GUI/WinUtils.h new file mode 100644 index 0000000..9257d77 --- /dev/null +++ b/Editor/GUI/WinUtils.h @@ -0,0 +1,17 @@ +#ifndef WINUTILS_H
+#define WINUTILS_H
+
+#include <windows.h>
+
+namespace winutils
+{
+ HINSTANCE GetInstanceHandle();
+
+ // ×¢²áwindows´°¿ÚÀà
+ ATOM RegisterWindowClass(const wchar_t* className, WNDPROC windowProc, unsigned int style);
+ void UnregisterWindowClass(const wchar_t* className);
+
+
+}
+
+#endif
\ No newline at end of file |