CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui::animation_opts Struct Referenceexport

Public Types

using duration_t = std::chrono::system_clock::duration
 

Public Member Functions

 animation_opts ()=default
 
animation_optseasing (easing::function_type fun)
 
animation_optsduration (duration_t d)
 

Public Attributes

easing::function_type easing_function_ {easing::linear}
 
duration_t duration_
 

Detailed Description

Definition at line 259 of file animations.cppm.

Member Typedef Documentation

◆ duration_t

using cydui::animation_opts::duration_t = std::chrono::system_clock::duration

Definition at line 260 of file animations.cppm.

Constructor & Destructor Documentation

◆ animation_opts()

cydui::animation_opts::animation_opts ( )
default
+ Here is the caller graph for this function:

Member Function Documentation

◆ duration()

animation_opts & cydui::animation_opts::duration ( duration_t d)
inline

Definition at line 269 of file animations.cppm.

+ Here is the call graph for this function:

◆ easing()

animation_opts & cydui::animation_opts::easing ( easing::function_type fun)
inline

Definition at line 264 of file animations.cppm.

+ Here is the call graph for this function:

Member Data Documentation

◆ duration_

duration_t cydui::animation_opts::duration_

Definition at line 275 of file animations.cppm.

◆ easing_function_

easing::function_type cydui::animation_opts::easing_function_ {easing::linear}

Definition at line 274 of file animations.cppm.


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