#include <nodebmp.h>
Inheritance diagram for ChangeBitmapPtrAction:
Public Member Functions | |
ChangeBitmapPtrAction () | |
Constructor for the action to undo fill modification. | |
virtual ActionCode | Execute () |
This is the virtual function that is called when the action is executed by the Undo/Redo system. This is the function that actually undoes the ChangeBitmapPtr action by changing the attribute values, and records redo information from the current values. | |
void | StoreChanges (NodeBitmap *pBmpNode) |
This function initialises the array pointers in this action. Note that the variable NumElements is initialised in the Init function. | |
KernelBitmapRef * | GetBitmapRef () |
KernelBitmap * | GetBitmap () |
Static Public Member Functions | |
static ActionCode | Init (Operation *pOp, ActionList *pActionList, Action **NewAction) |
This is the function which creates an instance of this action. If there is no room in the undo buffer (which is determined by the base class Init function called within) the function will either return AC_NO_RECORD which means the operation can continue, but no undo information needs to be stored, or AC_OK which means the operation should continue AND record undo information. If the function returns AC_FAIL, there was not enough memory to record the undo information, and the user has decided not to continue with the operation. | |
Protected Attributes | |
NodeBitmap * | pChangedBmpNode |
KernelBitmapRef | BitmapRef |
Definition at line 282 of file nodebmp.h.
|
Constructor for the action to undo fill modification.
Definition at line 2950 of file nodebmp.cpp.
|
|
This is the virtual function that is called when the action is executed by the Undo/Redo system. This is the function that actually undoes the ChangeBitmapPtr action by changing the attribute values, and records redo information from the current values.
Reimplemented from Action. Definition at line 3037 of file nodebmp.cpp. |
|
Definition at line 296 of file nodebmp.h.
|
|
Definition at line 295 of file nodebmp.h. 00295 { return &BitmapRef; }
|
|
This is the function which creates an instance of this action. If there is no room in the undo buffer (which is determined by the base class Init function called within) the function will either return AC_NO_RECORD which means the operation can continue, but no undo information needs to be stored, or AC_OK which means the operation should continue AND record undo information. If the function returns AC_FAIL, there was not enough memory to record the undo information, and the user has decided not to continue with the operation.
Definition at line 2980 of file nodebmp.cpp.
|
|
This function initialises the array pointers in this action. Note that the variable NumElements is initialised in the Init function.
Definition at line 3008 of file nodebmp.cpp.
|
|
|
|
|