#include <speedtst.h>
Inheritance diagram for OpClearCache:
Public Member Functions | |
OpClearCache () | |
Constructor for OpTimeDraw operation. It is not undoable. | |
void | Do (OpDescriptor *) |
Toggles bitmap cache enabled pref also Clears the bitmap cache for performance testing. | |
Static Public Member Functions | |
static BOOL | Init () |
Declares a preference that allows you to clear memory in delete(). | |
static OpState | GetState (String_256 *, OpDescriptor *) |
This item is always available, so long as a document is visible. |
Definition at line 145 of file speedtst.h.
|
Constructor for OpTimeDraw operation. It is not undoable.
Definition at line 399 of file speedtst.cpp.
|
|
Toggles bitmap cache enabled pref also Clears the bitmap cache for performance testing.
Reimplemented from Operation. Definition at line 367 of file speedtst.cpp. 00368 { 00369 if (NodeRenderableBounded::bEnableCacheing) 00370 { 00371 InformWarning(_R(IDS_WARN_DISABLECACHEING), _R(IDS_OK)); 00372 } 00373 00374 NodeRenderableBounded::bEnableCacheing = ! NodeRenderableBounded::bEnableCacheing; 00375 00376 CBitmapCache* pBitmapCache = Camelot.GetBitmapCache(); 00377 if (pBitmapCache) 00378 { 00379 pBitmapCache->DeInitialise(); 00380 } 00381 00382 End(); // cleanup memory 00383 }
|
|
This item is always available, so long as a document is visible.
Definition at line 418 of file speedtst.cpp. 00419 { 00420 OpState OpSt; 00421 00422 OpSt.Ticked = NodeRenderableBounded::bEnableCacheing; 00423 00424 return OpSt; 00425 }
|
|
Declares a preference that allows you to clear memory in delete().
Reimplemented from SimpleCCObject. |