if (theHold.Holding()) theHold.Put(new AppendGizmoRestore(this,node));
#include <sfx.h>
Public Member Functions |
|
AppendGizmoRestore (SpecialFX *f, INode *n) | |
void | Redo () |
void | Restore (int isUndo) |
MSTR | Description () |
Public Attributes |
|
SpecialFX * | fx |
INode * | node |
AppendGizmoRestore | ( | SpecialFX * | f, |
INode * | n | ||
) | [inline] |
void Redo | ( | ) | [inline, virtual] |
Implements RestoreObj.
{ fx->AppendGizmo(node); }
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->DeleteGizmo(fx->NumGizmos()-1); }
MSTR Description | ( | ) | [inline, virtual] |
Reimplemented from RestoreObj.
{ return MSTR("AppendGizmoRestore"); }