#include <CUndoable.h>
Inherits Undoable.
Public Member Functions | |
| ModifyObjectUndoable (CWorldBuilderDoc *pDoc) | |
| ~ModifyObjectUndoable (void) | |
| virtual void | Do (void) |
| Set the new values, and force an inval of the windows. | |
| virtual void | Undo (void) |
| pure virtual. | |
| virtual void | Redo (void) |
| Set the new values, and force an inval of the windows. | |
| void | SetOffset (Real x, Real y) |
| Sets the offset for all the objects in the move list, and moves them there. | |
| void | SetZOffset (Real z) |
| void | RotateTo (Real angle) |
| Set the angle for all objects in the move list. | |
| void | SetThingTemplate (const ThingTemplate *thing) |
| void | SetName (AsciiString name) |
Public Member Functions inherited from Undoable | |
| Undoable (void) | |
| Create a new undoable. | |
| ~Undoable (void) | |
| Undoable - destructor. | |
| 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. | |
| MoveInfo * | m_moveList |
| Bool | m_inval |
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) |
Definition at line 143 of file CUndoable.h.
| ModifyObjectUndoable::ModifyObjectUndoable | ( | CWorldBuilderDoc * | pDoc | ) |
Definition at line 447 of file CUndoable.cpp.
| ModifyObjectUndoable::~ModifyObjectUndoable | ( | void | ) |
Definition at line 435 of file CUndoable.cpp.
|
virtual |
Set the new values, and force an inval of the windows.
Implements Undoable.
Definition at line 539 of file CUndoable.cpp.
|
virtual |
Set the new values, and force an inval of the windows.
Reimplemented from Undoable.
Definition at line 547 of file CUndoable.cpp.
| void ModifyObjectUndoable::RotateTo | ( | Real | angle | ) |
Set the angle for all objects in the move list.
Definition at line 494 of file CUndoable.cpp.
| void ModifyObjectUndoable::SetName | ( | AsciiString | name | ) |
Definition at line 520 of file CUndoable.cpp.
Sets the offset for all the objects in the move list, and moves them there.
Definition at line 472 of file CUndoable.cpp.
| void ModifyObjectUndoable::SetThingTemplate | ( | const ThingTemplate * | thing | ) |
Definition at line 504 of file CUndoable.cpp.
| void ModifyObjectUndoable::SetZOffset | ( | Real | z | ) |
Definition at line 482 of file CUndoable.cpp.
|
virtual |
|
protected |
Definition at line 148 of file CUndoable.h.
|
protected |
Definition at line 147 of file CUndoable.h.
|
protected |
Not ref counted. This undoable should be in a list attached to the doc anyway.
Definition at line 146 of file CUndoable.h.