MythTV  master
Public Member Functions | Public Attributes | Private Attributes | List of all members
TransitionRegistry Class Reference

Manages transitions available to s psinter. More...

#include <gallerytransitions.h>

Collaboration diagram for TransitionRegistry:
Collaboration graph
[legend]

Public Member Functions

 TransitionRegistry (bool includeAnimations)
 Constructor. More...
 
 ~TransitionRegistry ()
 
TransitionMap GetAll () const
 
TransitionSelect (int setting)
 Returns the requested transition or an alternative if it is not suitable for the painter. More...
 

Public Attributes

TransitionNone m_immediate
 A transition that updates instantly. More...
 

Private Attributes

TransitionMap m_map
 All possible transitions. More...
 

Detailed Description

Manages transitions available to s psinter.

Definition at line 184 of file gallerytransitions.h.

Constructor & Destructor Documentation

◆ TransitionRegistry()

TransitionRegistry::TransitionRegistry ( bool  includeAnimations)
explicit

Constructor.

Parameters
includeAnimationsWhether to use animated transitions (zoom, rotate)

Definition at line 54 of file gallerytransitions.cpp.

◆ ~TransitionRegistry()

TransitionRegistry::~TransitionRegistry ( )
inline

Definition at line 188 of file gallerytransitions.h.

Member Function Documentation

◆ GetAll()

TransitionMap TransitionRegistry::GetAll ( void  ) const
inline

Definition at line 189 of file gallerytransitions.h.

Referenced by TransitionType().

◆ Select()

Transition & TransitionRegistry::Select ( int  setting)

Returns the requested transition or an alternative if it is not suitable for the painter.

Parameters
settingThe user selected transition setting
Returns
Transition The transition object or an alternative

Definition at line 27 of file gallerytransitions.cpp.

Member Data Documentation

◆ m_immediate

TransitionNone TransitionRegistry::m_immediate

A transition that updates instantly.

Definition at line 193 of file gallerytransitions.h.

Referenced by Select().

◆ m_map

TransitionMap TransitionRegistry::m_map
private

All possible transitions.

Definition at line 197 of file gallerytransitions.h.

Referenced by GetAll(), Select(), TransitionRegistry(), and ~TransitionRegistry().


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