|
Jameo Core Library
|
This class encapsulates the step when a uint16 value is modified. More...
Public Member Functions | |
| UndoChangeUInt16 (Object *object, uint16 *ptr) | |
| void | swap () override |
| This method performs an undo/redo step by swapping the stored value (here) with the value pointed to by the pointer. | |
Public Member Functions inherited from jm::UndoChange | |
| UndoChange (Object *object) noexcept | |
| Constructor for UndoChange class. | |
| virtual | ~UndoChange () noexcept |
| Destructor. | |
Additional Inherited Members | |
Public Attributes inherited from jm::UndoChange | |
| UndoChange * | mNext |
| Pointer to the next UndoChange element in the linked list. | |
| UndoChange * | mPrev |
| Pointer to the previous UndoChange element in the linked list. | |
| Object * | mObject |
| Pointer to the object in which the change is taking place. | |
| jm::String | objname |
This class encapsulates the step when a uint16 value is modified.
This class is responsible for managing the undo/redo functionality for uint16 values. It is used to store the changes made to a uint16 value and perform the undo/redo operation.
| jm::UndoChangeUInt16::UndoChangeUInt16 | ( | Object * | object, |
| uint16 * | ptr | ||
| ) |
|
overridevirtual |
This method performs an undo/redo step by swapping the stored value (here) with the value pointed to by the pointer.
Reimplemented from jm::UndoChange.