LibreOffice Module slideshow (master) 1
Public Types | Public Member Functions | List of all members
slideshow::internal::HSLColorAnimation Class Referenceabstract

Interface defining a HSL color animation. More...

#include <hslcoloranimation.hxx>

Inheritance diagram for slideshow::internal::HSLColorAnimation:
[legend]
Collaboration diagram for slideshow::internal::HSLColorAnimation:
[legend]

Public Types

typedef HSLColor ValueType
 

Public Member Functions

virtual bool operator() (const HSLColor &rColor)=0
 Set the animation to the given color value. More...
 
virtual HSLColor getUnderlyingValue () const =0
 Request the underlying value for this animation. More...
 
- Public Member Functions inherited from slideshow::internal::Animation
virtual void prefetch ()=0
 Notify that the animation going active soon. More...
 
virtual void start (const AnimatableShapeSharedPtr &rShape, const ShapeAttributeLayerSharedPtr &rAttrLayer)=0
 Notify that the animation is about to begin. More...
 
virtual void end ()=0
 Notify that the animation is about to end. More...
 
- Public Member Functions inherited from slideshow::internal::SharedPtrAble
virtual ~SharedPtrAble ()
 

Detailed Description

Interface defining a HSL color animation.

This interface is a specialization of the Animation interface, and is used to animate attributes representable by a HSL color value.

Definition at line 37 of file hslcoloranimation.hxx.

Member Typedef Documentation

◆ ValueType

Definition at line 40 of file hslcoloranimation.hxx.

Member Function Documentation

◆ getUnderlyingValue()

virtual HSLColor slideshow::internal::HSLColorAnimation::getUnderlyingValue ( ) const
pure virtual

Request the underlying value for this animation.

This is necessary for pure To or By animations, as the Activity cannot determine a sensible start value otherwise.

Attention: \n Note that you are only permitted to query
for the underlying value, if the animation has actually been started (via start() call).

◆ operator()()

virtual bool slideshow::internal::HSLColorAnimation::operator() ( const HSLColor rColor)
pure virtual

Set the animation to the given color value.

Parameters
rColorCurrent animation value.

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