#include "camtypes.h"
#include "ophist.h"
Go to the source code of this file.
Functions | |
DECLARE_SOURCE ("$Revision: 1282 $") | |
CC_IMPLEMENT_MEMDUMP (OperationHistory, CCObject) CC_IMPLEMENT_DYNCREATE(OpRedo | |
Operation | CC_IMPLEMENT_DYNCREATE (OpUndo, Operation) OperationHistory |
Constructs an OperationHistory object with a maximum size of UINT32_MAX bytes. |
|
Constructs an OperationHistory object with a maximum size of UINT32_MAX bytes.
Definition at line 128 of file ophist.cpp. 00138 : Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com> 00139 Created: 6/7/93 00140 Inputs: - 00141 Outputs: - 00142 Returns: - 00143 Purpose: Constructs an OperationHistory object with a maximum size of UINT32_MAX 00144 bytes. 00145 Errors: - 00146 SeeAlso: - 00147 00148 ********************************************************************************************/ 00149 00150 OperationHistory::OperationHistory() 00151 { 00152 NowPtr = NULL; // History initially has no operations 00153 CurrentSize = 0; 00154 //MaxSize = 512000; // 500K 00155 MaxSize = 2048000; // 2000K (2MB) CGS (18/5/2000) 00156 // I have changed this because it is too small for some 00157 // of the operations that we can now perform 00158 Reduced = FALSE; 00159 }
|
|
|
|
|