Krita Source Code Documentation
Loading...
Searching...
No Matches
KisImageAnimationInterface::Private Struct Reference

Public Member Functions

int currentTime () const
 
int currentUITime () const
 
 Private ()
 
 Private (const Private &rhs, KisImage *newImage)
 
void setCurrentTime (int value)
 
void setCurrentUITime (int value)
 

Public Attributes

QSet< int > activeLayerSelectedTimes
 
KisTimeSpan activePlaybackRange
 
QAtomicInt backgroundFrameGenerationBlocked
 
int cachedLastFrameValue
 
KisTimeSpan documentRange
 
int exportInitialFrameNumber
 
QString exportSequenceBaseName
 
QString exportSequenceFilePath
 
bool externalFrameActive
 
QMutex frameGenerationLock
 
bool frameInvalidationBlocked
 
int framerate
 
KisImageimage
 
KisSwitchTimeStrokeStrategy::SharedTokenWSP switchToken
 

Private Attributes

int m_currentTime
 
int m_currentUITime
 

Detailed Description

Definition at line 26 of file kis_image_animation_interface.cpp.

Constructor & Destructor Documentation

◆ Private() [1/2]

◆ Private() [2/2]

KisImageAnimationInterface::Private::Private ( const Private & rhs,
KisImage * newImage )
inline

Definition at line 39 of file kis_image_animation_interface.cpp.

40 : image(newImage),
43 documentRange(rhs.documentRange),
44 activePlaybackRange(rhs.activePlaybackRange),
45 framerate(rhs.framerate),
47 exportSequenceFilePath(rhs.exportSequenceFilePath),
48 exportSequenceBaseName(rhs.exportSequenceBaseName),
49 exportInitialFrameNumber(rhs.exportInitialFrameNumber),
50 m_currentTime(rhs.m_currentTime),
51 m_currentUITime(rhs.m_currentUITime)
52 {
53 }

Member Function Documentation

◆ currentTime()

int KisImageAnimationInterface::Private::currentTime ( ) const
inline

Definition at line 75 of file kis_image_animation_interface.cpp.

75 {
76 return m_currentTime;
77 }

References m_currentTime.

◆ currentUITime()

int KisImageAnimationInterface::Private::currentUITime ( ) const
inline

Definition at line 79 of file kis_image_animation_interface.cpp.

79 {
80 return m_currentUITime;
81 }

References m_currentUITime.

◆ setCurrentTime()

void KisImageAnimationInterface::Private::setCurrentTime ( int value)
inline

Definition at line 83 of file kis_image_animation_interface.cpp.

83 {
85 }
float value(const T *src, size_t ch)

References m_currentTime, and value().

◆ setCurrentUITime()

void KisImageAnimationInterface::Private::setCurrentUITime ( int value)
inline

Definition at line 87 of file kis_image_animation_interface.cpp.

87 {
89 }

References m_currentUITime, and value().

Member Data Documentation

◆ activeLayerSelectedTimes

QSet<int> KisImageAnimationInterface::Private::activeLayerSelectedTimes

Definition at line 64 of file kis_image_animation_interface.cpp.

◆ activePlaybackRange

KisTimeSpan KisImageAnimationInterface::Private::activePlaybackRange

Definition at line 60 of file kis_image_animation_interface.cpp.

◆ backgroundFrameGenerationBlocked

QAtomicInt KisImageAnimationInterface::Private::backgroundFrameGenerationBlocked

Definition at line 72 of file kis_image_animation_interface.cpp.

◆ cachedLastFrameValue

int KisImageAnimationInterface::Private::cachedLastFrameValue

Definition at line 62 of file kis_image_animation_interface.cpp.

◆ documentRange

KisTimeSpan KisImageAnimationInterface::Private::documentRange

Definition at line 59 of file kis_image_animation_interface.cpp.

◆ exportInitialFrameNumber

int KisImageAnimationInterface::Private::exportInitialFrameNumber

Definition at line 68 of file kis_image_animation_interface.cpp.

◆ exportSequenceBaseName

QString KisImageAnimationInterface::Private::exportSequenceBaseName

Definition at line 67 of file kis_image_animation_interface.cpp.

◆ exportSequenceFilePath

QString KisImageAnimationInterface::Private::exportSequenceFilePath

Definition at line 66 of file kis_image_animation_interface.cpp.

◆ externalFrameActive

bool KisImageAnimationInterface::Private::externalFrameActive

Definition at line 56 of file kis_image_animation_interface.cpp.

◆ frameGenerationLock

QMutex KisImageAnimationInterface::Private::frameGenerationLock

Definition at line 73 of file kis_image_animation_interface.cpp.

◆ frameInvalidationBlocked

bool KisImageAnimationInterface::Private::frameInvalidationBlocked

Definition at line 57 of file kis_image_animation_interface.cpp.

◆ framerate

int KisImageAnimationInterface::Private::framerate

Definition at line 61 of file kis_image_animation_interface.cpp.

◆ image

KisImage* KisImageAnimationInterface::Private::image

Definition at line 55 of file kis_image_animation_interface.cpp.

◆ m_currentTime

int KisImageAnimationInterface::Private::m_currentTime
private

Definition at line 91 of file kis_image_animation_interface.cpp.

◆ m_currentUITime

int KisImageAnimationInterface::Private::m_currentUITime
private

Definition at line 92 of file kis_image_animation_interface.cpp.

◆ switchToken

KisSwitchTimeStrokeStrategy::SharedTokenWSP KisImageAnimationInterface::Private::switchToken

Definition at line 70 of file kis_image_animation_interface.cpp.


The documentation for this struct was generated from the following file: