#include <CUndoable.h>
Inherits Undoable.
Public Member Functions | |
| AddObjectUndoable (CWorldBuilderDoc *pDoc, MapObject *pObjectToAdd) | |
| ~AddObjectUndoable (void) | |
| virtual void | Do (void) |
| Set the new mipping values, and force an inval of the windows. | |
| virtual void | Undo (void) |
| pure virtual. | |
Public Member Functions inherited from Undoable | |
| Undoable (void) | |
| Create a new undoable. | |
| ~Undoable (void) | |
| Undoable - destructor. | |
| virtual void | Redo (void) |
| Redo defaults to Do(). | |
| void | LinkNext (Undoable *pNext) |
| Link another undoable to this. | |
| Undoable * | GetNext (void) |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Protected Attributes | |
| CWorldBuilderDoc * | m_pDoc |
| Not ref counted. This undoable should be in a list attached to the doc anyway. | |
| MapObject * | m_objectToAdd |
| Int | m_numObjects |
| Bool | m_addedToList |
Protected Attributes inherited from Undoable | |
| Undoable * | mNext |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
An undoable that actually undoes something. Adds an object to the height map. If it is a linked list, adds all objects.
Definition at line 94 of file CUndoable.h.
| AddObjectUndoable::AddObjectUndoable | ( | CWorldBuilderDoc * | pDoc, |
| MapObject * | pObjectToAdd ) |
Definition at line 220 of file CUndoable.cpp.
| AddObjectUndoable::~AddObjectUndoable | ( | void | ) |
Definition at line 207 of file CUndoable.cpp.
|
virtual |
Set the new mipping values, and force an inval of the windows.
Implements Undoable.
Definition at line 233 of file CUndoable.cpp.
|
virtual |
|
protected |
Definition at line 100 of file CUndoable.h.
|
protected |
Definition at line 99 of file CUndoable.h.
|
protected |
Definition at line 98 of file CUndoable.h.
|
protected |
Not ref counted. This undoable should be in a list attached to the doc anyway.
Definition at line 97 of file CUndoable.h.