#include <speedtst.h>
Inheritance diagram for OpThrottleCache:
Public Member Functions | |
OpThrottleCache () | |
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 169 of file speedtst.h.
|
Constructor for OpTimeDraw operation. It is not undoable.
Definition at line 474 of file speedtst.cpp.
|
|
Toggles bitmap cache enabled pref also Clears the bitmap cache for performance testing.
Reimplemented from Operation. Definition at line 444 of file speedtst.cpp. 00445 { 00446 if (NodeRenderableBounded::bThrottleCacheing) 00447 { 00448 InformWarning(_R(IDS_WARN_DISABLE_THROTTLING), _R(IDS_OK)); 00449 } 00450 else 00451 { 00452 InformWarning(_R(IDS_WARN_ENABLE_THROTTLING), _R(IDS_OK)); 00453 } 00454 00455 NodeRenderableBounded::bThrottleCacheing = ! NodeRenderableBounded::bThrottleCacheing; 00456 00457 End(); // cleanup memory 00458 }
|
|
This item is always available, so long as a document is visible.
Definition at line 493 of file speedtst.cpp. 00494 { 00495 OpState OpSt; 00496 00497 OpSt.Ticked = NodeRenderableBounded::bThrottleCacheing; 00498 00499 return OpSt; 00500 }
|
|
Declares a preference that allows you to clear memory in delete().
Reimplemented from SimpleCCObject. |