|
Krita Source Code Documentation
|
#include <KisBlockBackgroundFrameGenerationLock.h>
Public Member Functions | |
| KisBlockBackgroundFrameGenerationLockAdapter (KisImageAnimationInterface *interface) | |
| void | lock () |
| void | unlock () |
Private Attributes | |
| KisImageAnimationInterface * | m_interface |
A RAII-based locker for calling animationInterface->block/unblockBackgroundFrameGeneration(), which prohibits background frame cache generation process, so that it doesn't interfere with interactive frame generation using the dialog.
Definition at line 23 of file KisBlockBackgroundFrameGenerationLock.h.
| KisBlockBackgroundFrameGenerationLockAdapter::KisBlockBackgroundFrameGenerationLockAdapter | ( | KisImageAnimationInterface * | interface | ) |
Definition at line 11 of file KisBlockBackgroundFrameGenerationLock.cpp.
| void KisBlockBackgroundFrameGenerationLockAdapter::lock | ( | ) |
Definition at line 16 of file KisBlockBackgroundFrameGenerationLock.cpp.
References KisImageAnimationInterface::blockBackgroundFrameGeneration(), and m_interface.
| void KisBlockBackgroundFrameGenerationLockAdapter::unlock | ( | ) |
Definition at line 21 of file KisBlockBackgroundFrameGenerationLock.cpp.
References m_interface, and KisImageAnimationInterface::unblockBackgroundFrameGeneration().
|
private |
Definition at line 32 of file KisBlockBackgroundFrameGenerationLock.h.