neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::transition Class Reference

#include <transition_animator.hpp>

Inheritance diagram for neogfx::transition:
neolib::reference_counted< Base, DeallocateOnRelease > neogfx::property_transition< T, Category, Context, Calculator >

Public Member Functions

 transition (i_animator &aAnimator, easing aEasingFunction, double aDuration, bool aEnabled=true)
 
 ~transition ()
 
transition_id id () const override
 
i_animatoranimator () const override
 
bool enabled () const override
 
bool disabled () const override
 
bool disable_when_finished () const override
 
void enable (bool aDisableWhenFinished=false) override
 
void disable () override
 
easing easing_function () const override
 
double duration () const override
 
double start_time () const override
 
double mix_value () const override
 
bool animation_finished () const override
 
bool active () const override
 
bool paused () const override
 
void pause () override
 
void resume () override
 
void reset (bool aEnable=true, bool aDisableWhenFinished=false, bool aResetStartTime=true) override
 
void reset (easing aNewEasingFunction, bool aEnable=true, bool aDisableWhenFinished=false, bool aResetStartTime=true) override
 
- Public Member Functions inherited from neolib::reference_counted< Base, DeallocateOnRelease >
 reference_counted () noexcept
 
 reference_counted (const reference_counted &aOther) noexcept
 
 ~reference_counted ()
 
reference_countedoperator= (const reference_counted &)
 
void add_ref () const noexcept override
 
void release () const override
 
int32_t use_count () const noexcept override
 
const base_type * release_and_take_ownership () const override
 
base_type * release_and_take_ownership () override
 
void pin () const noexcept override
 
void unpin () const override
 
i_ref_control_blockcontrol_block () override
 

Detailed Description

Definition at line 30 of file transition_animator.hpp.

Constructor & Destructor Documentation

◆ transition()

neogfx::transition::transition ( i_animator aAnimator,
easing  aEasingFunction,
double  aDuration,
bool  aEnabled = true 
)

◆ ~transition()

neogfx::transition::~transition ( )

Member Function Documentation

◆ active()

bool neogfx::transition::active ( ) const
override

◆ animation_finished()

bool neogfx::transition::animation_finished ( ) const
override

◆ animator()

i_animator & neogfx::transition::animator ( ) const
override

◆ disable()

void neogfx::transition::disable ( )
override

◆ disable_when_finished()

bool neogfx::transition::disable_when_finished ( ) const
override

◆ disabled()

bool neogfx::transition::disabled ( ) const
override

◆ duration()

double neogfx::transition::duration ( ) const
override

◆ easing_function()

easing neogfx::transition::easing_function ( ) const
override

◆ enable()

void neogfx::transition::enable ( bool  aDisableWhenFinished = false)
override

◆ enabled()

bool neogfx::transition::enabled ( ) const
override

◆ id()

transition_id neogfx::transition::id ( ) const
override

◆ mix_value()

double neogfx::transition::mix_value ( ) const
override

◆ pause()

void neogfx::transition::pause ( )
override

◆ paused()

bool neogfx::transition::paused ( ) const
override

◆ reset() [1/2]

void neogfx::transition::reset ( bool  aEnable = true,
bool  aDisableWhenFinished = false,
bool  aResetStartTime = true 
)
override

◆ reset() [2/2]

void neogfx::transition::reset ( easing  aNewEasingFunction,
bool  aEnable = true,
bool  aDisableWhenFinished = false,
bool  aResetStartTime = true 
)
override

◆ resume()

void neogfx::transition::resume ( )
override

◆ start_time()

double neogfx::transition::start_time ( ) const
override

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