opnudge.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "opnudge.h"
#include "ophist.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define REG_NUDGE_OP(NAME)
 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.

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")


Define Documentation

#define new   CAM_DEBUG_NEW
 

#define REG_NUDGE_OP NAME   ) 
 

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:
- [INPUTS]
- [OUTPUTS]
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.


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 


Generated on Sat Nov 10 03:49:18 2007 for Camelot by  doxygen 1.4.4