digiKam
DigikamGenericPresentationPlugin::KBEffect Class Referenceabstract
+ Inheritance diagram for DigikamGenericPresentationPlugin::KBEffect:

Public Types

enum  Type { Fade , Blend }
 

Public Member Functions

virtual void advanceTime (float step)=0
 
virtual bool done ()=0
 
virtual bool fadeIn () const
 
 KBEffect (PresentationKB *const parent, bool m_needFadeIn=true)
 
virtual Type type ()=0
 
virtual ~KBEffect ()=default
 

Static Public Member Functions

static Type chooseKBEffect (Type oldType)
 

Protected Member Functions

KBImageimage (int img) const
 
void setupNewImage (int img)
 
void swapImages ()
 

Protected Attributes

KBImagem_img [2]
 
bool m_needFadeIn
 

Static Protected Attributes

static int m_numKBEffectRepeated = 0
 

Member Enumeration Documentation

◆ Type

Enumerator
Fade 
Blend 

Constructor & Destructor Documentation

◆ KBEffect()

DigikamGenericPresentationPlugin::KBEffect::KBEffect ( PresentationKB *const  parent,
bool  m_needFadeIn = true 
)
explicit

References m_img.

◆ ~KBEffect()

virtual DigikamGenericPresentationPlugin::KBEffect::~KBEffect ( )
virtualdefault

Member Function Documentation

◆ advanceTime()

virtual void DigikamGenericPresentationPlugin::KBEffect::advanceTime ( float  step)
pure virtual

◆ chooseKBEffect()

KBEffect::Type DigikamGenericPresentationPlugin::KBEffect::chooseKBEffect ( KBEffect::Type  oldType)
static

References Blend, Fade, m_numKBEffectRepeated, and type().

◆ done()

virtual bool DigikamGenericPresentationPlugin::KBEffect::done ( )
pure virtual

◆ fadeIn()

virtual bool DigikamGenericPresentationPlugin::KBEffect::fadeIn ( ) const
inlinevirtual

References m_needFadeIn.

◆ image()

◆ setupNewImage()

void DigikamGenericPresentationPlugin::KBEffect::setupNewImage ( int  img)
protected

◆ swapImages()

void DigikamGenericPresentationPlugin::KBEffect::swapImages ( )
protected

◆ type()

virtual Type DigikamGenericPresentationPlugin::KBEffect::type ( )
pure virtual

Member Data Documentation

◆ m_img

◆ m_needFadeIn

bool DigikamGenericPresentationPlugin::KBEffect::m_needFadeIn
protected

◆ m_numKBEffectRepeated

int DigikamGenericPresentationPlugin::KBEffect::m_numKBEffectRepeated = 0
staticprotected

Referenced by chooseKBEffect().


The documentation for this class was generated from the following files: