#include <cutop.h>
Inheritance diagram for OpClone:
Public Member Functions | |
OpClone () | |
OpClone constructor. | |
virtual void | Do (OpDescriptor *) |
Performs the Clone operation, duplicates are placed as Last children of their layer. | |
Static Public Member Functions | |
static BOOL | Init () |
OpClone initialiser method. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
For finding the operations state. |
Definition at line 396 of file cutop.h.
|
OpClone constructor.
Definition at line 2367 of file cutop.cpp. 02367 : CarbonCopyOp() 02368 { 02369 }
|
|
Performs the Clone operation, duplicates are placed as Last children of their layer.
Reimplemented from Operation. Definition at line 2452 of file cutop.cpp. 02453 { 02454 //Graham 25/6/96: Now you pass a matrix to transform by instead of parameters 02455 //to translate by. We don't want to transform our copy at all - so create 02456 //an Identity matrix to pass 02457 02458 Trans2DMatrix MatrixToPass; 02459 02460 DoProcessing(MatrixToPass); 02461 }
|
|
For finding the operations state.
Reimplemented from CarbonCopyOp. Definition at line 2426 of file cutop.cpp. 02427 { 02428 OpState OpSt; 02429 02430 SetCutOpText(UIDescription, _R(IDS_CLIPBOARD_PRECLONE)); 02431 02432 return(OpSt); 02433 }
|
|
OpClone initialiser method.
Reimplemented from SimpleCCObject. Definition at line 2390 of file cutop.cpp. 02391 { 02392 return (RegisterOpDescriptor(0, 02393 _R(IDS_CLONEOP), 02394 CC_RUNTIME_CLASS(OpClone), 02395 OPTOKEN_CLONE, 02396 OpClone::GetState, 02397 0, /* help ID */ 02398 _R(IDBBL_CLONE), 02399 _R(IDD_BARCONTROLSTORE), // resource ID 02400 _R(IDC_CLONE), 02401 SYSTEMBAR_EDIT, // Bar ID 02402 TRUE, // Receive messages 02403 FALSE, 02404 FALSE, 02405 0, 02406 (GREY_WHEN_NO_CURRENT_DOC | GREY_WHEN_NO_SELECTION) )); 02407 }
|