if (theHold.Holding()) theHold.Put(new DeleteGizmoRestore(this,nodes[i],i));
#include <sfx.h>
Public Member Functions |
|
DeleteGizmoRestore (SpecialFX *a, INode *n, int i) | |
void | Redo () |
void | Restore (int isUndo) |
MSTR | Description () |
Public Attributes |
|
SpecialFX * | fx |
INode * | node |
int | num |
DeleteGizmoRestore | ( | SpecialFX * | a, |
INode * | n, | ||
int | i | ||
) | [inline] |
void Redo | ( | ) | [inline, virtual] |
Implements RestoreObj.
{ fx->DeleteGizmo(num); }
void Restore | ( | int | isUndo | ) | [inline, virtual] |
isUndo | Nonzero if Restore() is being called in response to the Undo command; otherwise zero. If isUndo is nonzero, the developer needs to save whatever data they need to allow the user to redo the operation. |
Implements RestoreObj.
{ fx->InsertGizmo(num,node); }
MSTR Description | ( | ) | [inline, virtual] |
Reimplemented from RestoreObj.
{ return MSTR("DeleteGizmoRestore"); }