MaxSDK::CUI Namespace Reference
|
| enum | OperationMode {
EOperationMode_None = 0,
EOperationMode_Pan,
EOperationMode_Zoom,
EOperationMode_Rotate,
EOperationMode_Count
} |
| |
| enum | KeyOption {
EKey_Null = 0,
EKey_Shift = (1<<0),
EKey_Ctrl = (1<<1),
EKey_Alt = (1<<2),
EKey_ShiftCtrl = EKey_Shift|EKey_Ctrl,
EKey_CtrlAlt = EKey_Ctrl|EKey_Alt,
EKey_AltShift = EKey_Alt|EKey_Shift,
EKey_ShiftCtrlAlt = EKey_Shift|EKey_Ctrl|EKey_Alt
} |
| |
| enum | MouseButtonOption { EMouseButton_Null = 0,
EMouseButton_Left = (1<<3),
EMouseButton_Middle = (1<<4),
EMouseButton_Right = (1<<5)
} |
| |
| enum | OperationParameter { EOperationParameter_Null = 0,
EOperationParameter_ZoomInDirection,
EOperationParameter_Count
} |
| |
| enum | ZoomInDirectionOption {
EZoomInDirection_North = 1,
EZoomInDirection_East = 2,
EZoomInDirection_South = 4,
EZoomInDirection_West = 8,
EZoomInDirection_NorthEast = EZoomInDirection_North|EZoomInDirection_East,
EZoomInDirection_SouthEast = EZoomInDirection_South|EZoomInDirection_East,
EZoomInDirection_SouthWest = EZoomInDirection_South|EZoomInDirection_West,
EZoomInDirection_NorthWest = EZoomInDirection_North|EZoomInDirection_West
} |
| |
Helper function to access the IMouseConfigManager core interface.
- Returns
- A pointer to IMouseConfigManager
#define IID_CUI_MOUSE_CONFIGURE_MANAGER
Interface ID of class IMouseConfigManager.
Definition: ICUIMouseConfigManager.h:16
CoreExport Interface * GetCOREInterface()
| bool MaxSDK::CUI::GetOperationShortcut |
( |
OperationMode |
eOperation, |
|
|
KeyOption & |
eKey, |
|
|
MouseButtonOption & |
eButton |
|
) |
| |
|
inline |
Helper function to get shortcuts of customized mode.
The output parameters are the shortcuts. Returns true if the shortcuts can be obtained, otherwise false.
294 if(pMouseConfigManager !=
NULL)
296 return pMouseConfigManager->GetOperationShortcut(eOperation,eKey,eButton);
#define NULL
Definition: autoptr.h:20
IMouseConfigManager * GetIMouseConfigManager()
Helper function to access the IMouseConfigManager core interface.
Definition: ICUIMouseConfigManager.h:283
| bool MaxSDK::CUI::GetValueOfOperationParameter |
( |
OperationParameter |
eParmeter, |
|
|
int & |
iValue |
|
) |
| |
|
inline |
Helper function to get the value of an operation parameter such as zoom in direction of customized zoom mode.
- Returns
- true if value can be obtained, otherwise false.
307 if(pMouseConfigManager !=
NULL)
309 return pMouseConfigManager->GetValueOfOperationParameter(eParmeter, iValue);
#define NULL
Definition: autoptr.h:20
IMouseConfigManager * GetIMouseConfigManager()
Helper function to access the IMouseConfigManager core interface.
Definition: ICUIMouseConfigManager.h:283