Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
KeyTools.h
1#ifndef KEY_TOOLS_H
2#define KEY_TOOLS_H
3
4BEGIN_MOOTOOLS_NAMESPACE
5
6#undef DLL_SPECIFIC_EXPORT
7#ifdef MOOTOOLS_AUTODESK
8#define DLL_SPECIFIC_EXPORT
9#else
10#define DLL_SPECIFIC_EXPORT DLL_TOOLSFUNCTION
11#endif
12
13// Keys
14DLL_SPECIFIC_EXPORT bool IsOneKeyDown(unsigned int modifier); // Check if one modifier key is down
15DLL_SPECIFIC_EXPORT bool IsKeyDown(unsigned int key, unsigned int modifier = KEY_NO_MODIFIER);
16DLL_SPECIFIC_EXPORT WORD CharToVKey(unsigned int key, unsigned int modifier = KEY_NO_MODIFIER);
17DLL_SPECIFIC_EXPORT WORD DeiKey2HotKey(unsigned int key, unsigned int modifier);
18DLL_SPECIFIC_EXPORT void HotKey2RegisterKey(WORD hotkey, BYTE& key, BYTE& modifier);
19DLL_SPECIFIC_EXPORT void HotKey2DeiKey(WORD hotkey, unsigned int& key, unsigned int& modifier);
20
21END_MOOTOOLS_NAMESPACE
22
23#endif /* KEY_TOOLS_H */
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27