Functions | |
| virtual bool | BaseContext::CanUndo () |
| test if an Undo() is currently possible. Useful to enable or disable an Undo Function in an interface. | |
| virtual bool | BaseContext::Undo () |
| Undo the last modification done on any object of the base, using a private "action history stack". | |
| virtual bool | BaseContext::CanRedo () |
| test if an Redo() is currently possible. Useful to enable or disable a Redo Function in an interface. | |
| virtual bool | BaseContext::Redo () |
| Redo the last undo on any object of the base, using a private "action history stack". | |
| void | BaseContext::FlushUndoStack () |
| Flush the Undo Stack: no undo or redo possible until next modification. Some edition events (object destruction) on the context need to completely erase the Undo stack, because the event stack coherence is broken. | |
| void | BaseContext::SetMaximumNumberOfUndoableEvents (unsigned int _maxNumber) |
| The undo stack history can be less or more large. Default max is 0: no undo management. | |
|
|
test if an Redo() is currently possible. Useful to enable or disable a Redo Function in an interface.
|
|
|
test if an Undo() is currently possible. Useful to enable or disable an Undo Function in an interface.
|
|
|
Flush the Undo Stack: no undo or redo possible until next modification. Some edition events (object destruction) on the context need to completely erase the Undo stack, because the event stack coherence is broken.
|
|
|
Redo the last undo on any object of the base, using a private "action history stack".
|
|
|
The undo stack history can be less or more large. Default max is 0: no undo management.
|
|
|
Undo the last modification done on any object of the base, using a private "action history stack".
|
/\/\ 4 N k ! N D
_______ _ __ ___ _____ ___ _ _ ____
___________ __//___ /________ |/ / ___________\_______/ \
/ _ _ \/ _ / _ / _/_/____/ _ __ /
/ / / / / / \ \/ / / \ \ /
\\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\
\________/_ ___ __ l____\ /elD!
http://www.m4nkind.com \____/