|
Value: {\
BOOL Blobby = RegisterOpDescriptor(\
0,\
_R(IDS_NUDGE),\
CC_RUNTIME_CLASS(OpNudge),\
OPTOKEN_ ## NAME,\
OpNudge::GetState,\
0,\
0,\
0,\
0,\
SYSTEMBAR_ILLEGAL,\
TRUE,\
FALSE,\
FALSE,\
0,\
0 \
);\
ERROR1IF(!Blobby, FALSE, _R(IDS_OUT_OF_MEMORY));\
}\
This is the users nudge step size setting. It is the distance in millipoints that the nudge operation should move the object. Holding down the CTRL key multiplies the nudge distance by 5, SHIFT multiplies it by 10. OpNudge initialiser method. Inits all the nudge OpDescriptors and reads the NudgeStep from the preferences file.
- Author:
- Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
- Date:
- 7/9/94
- Parameters:
-
- Returns:
- TRUE if the operation could be successfully initialised FALSE if no more memory could be allocated
Errors: ERROR will be called if there was insufficient memory to allocate the operation.
- See also:
- -
Definition at line 171 of file opnudge.cpp. |