|
Krita Source Code Documentation
|
Go to the source code of this file.
Macros | |
| #define | blockRegistration() (m_registrationBlocked = true) |
| #define | DEBUG_DUMP_MESSAGE(action) |
| #define | DEBUG_LOG_SIMPLE_ACTION(action) |
| #define | DEBUG_LOG_TILE_ACTION(action, tile, col, row) |
| #define | forEachReversed(iter, list) for(iter=list.end(); iter-- != list.begin();) |
| #define | namedTransactionInProgress() ((bool)m_currentMemento) |
| #define | registrationBlocked() (m_registrationBlocked) |
| #define | unblockRegistration() (m_registrationBlocked = false) |
| #define blockRegistration | ( | ) | (m_registrationBlocked = true) |
The class is supposed to store the changes of the paint device it is associated with. The history of changes is presented in form of transactions (revisions). If you purge the history of one transaction (revision) with purgeHistory() we won't be able to undo the changes made by this transactions.
The Memento Manager can be in two states:
Definition at line 58 of file kis_memento_manager.cc.
| #define DEBUG_DUMP_MESSAGE | ( | action | ) |
Definition at line 33 of file kis_memento_manager.cc.
| #define DEBUG_LOG_SIMPLE_ACTION | ( | action | ) |
Definition at line 32 of file kis_memento_manager.cc.
| #define DEBUG_LOG_TILE_ACTION | ( | action, | |
| tile, | |||
| col, | |||
| row ) |
Definition at line 31 of file kis_memento_manager.cc.
| #define forEachReversed | ( | iter, | |
| list ) for(iter=list.end(); iter-- != list.begin();) |
Definition at line 261 of file kis_memento_manager.cc.
| #define namedTransactionInProgress | ( | ) | ((bool)m_currentMemento) |
Definition at line 62 of file kis_memento_manager.cc.
| #define registrationBlocked | ( | ) | (m_registrationBlocked) |
Definition at line 60 of file kis_memento_manager.cc.
| #define unblockRegistration | ( | ) | (m_registrationBlocked = false) |
Definition at line 59 of file kis_memento_manager.cc.