RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
menu_animation.h File Reference
#include <stdint.h>
#include <stdlib.h>
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for menu_animation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  menu_animation_ctx_delta
 
struct  menu_animation_ctx_subject
 
struct  menu_animation_ctx_entry
 
struct  menu_animation_ctx_ticker
 
struct  menu_timer_ctx_entry
 

Typedefs

typedef void(* tween_cb) (void *)
 
typedef struct menu_animation_ctx_delta menu_animation_ctx_delta_t
 
typedef uintptr_t menu_animation_ctx_tag
 
typedef struct menu_animation_ctx_subject menu_animation_ctx_subject_t
 
typedef struct menu_animation_ctx_entry menu_animation_ctx_entry_t
 
typedef struct menu_animation_ctx_ticker menu_animation_ctx_ticker_t
 
typedef float menu_timer_t
 
typedef struct menu_timer_ctx_entry menu_timer_ctx_entry_t
 

Enumerations

enum  menu_animation_ctl_state { MENU_ANIMATION_CTL_NONE = 0, MENU_ANIMATION_CTL_DEINIT, MENU_ANIMATION_CTL_CLEAR_ACTIVE, MENU_ANIMATION_CTL_SET_ACTIVE }
 
enum  menu_animation_easing_type {
  EASING_LINEAR = 0, EASING_IN_QUAD, EASING_OUT_QUAD, EASING_IN_OUT_QUAD,
  EASING_OUT_IN_QUAD, EASING_IN_CUBIC, EASING_OUT_CUBIC, EASING_IN_OUT_CUBIC,
  EASING_OUT_IN_CUBIC, EASING_IN_QUART, EASING_OUT_QUART, EASING_IN_OUT_QUART,
  EASING_OUT_IN_QUART, EASING_IN_QUINT, EASING_OUT_QUINT, EASING_IN_OUT_QUINT,
  EASING_OUT_IN_QUINT, EASING_IN_SINE, EASING_OUT_SINE, EASING_IN_OUT_SINE,
  EASING_OUT_IN_SINE, EASING_IN_EXPO, EASING_OUT_EXPO, EASING_IN_OUT_EXPO,
  EASING_OUT_IN_EXPO, EASING_IN_CIRC, EASING_OUT_CIRC, EASING_IN_OUT_CIRC,
  EASING_OUT_IN_CIRC, EASING_IN_BOUNCE, EASING_OUT_BOUNCE, EASING_IN_OUT_BOUNCE,
  EASING_OUT_IN_BOUNCE, EASING_LAST
}
 

Functions

void menu_timer_start (menu_timer_t *timer, menu_timer_ctx_entry_t *timer_entry)
 
void menu_timer_kill (menu_timer_t *timer)
 
void menu_animation_init (void)
 
void menu_animation_free (void)
 
bool menu_animation_update (float delta_time)
 
bool menu_animation_get_ideal_delta_time (menu_animation_ctx_delta_t *delta)
 
bool menu_animation_ticker (const menu_animation_ctx_ticker_t *ticker)
 
void menu_animation_update_time (bool timedate_enable)
 
bool menu_animation_is_active (void)
 
bool menu_animation_kill_by_tag (menu_animation_ctx_tag *tag)
 
void menu_animation_kill_by_subject (menu_animation_ctx_subject_t *subject)
 
bool menu_animation_push (menu_animation_ctx_entry_t *entry)
 
float menu_animation_get_delta_time (void)
 
bool menu_animation_ctl (enum menu_animation_ctl_state state, void *data)
 

Variables

RETRO_BEGIN_DECLS typedef float(* easing_cb )(float, float, float, float)
 

Typedef Documentation

◆ menu_animation_ctx_delta_t

◆ menu_animation_ctx_entry_t

◆ menu_animation_ctx_subject_t

◆ menu_animation_ctx_tag

◆ menu_animation_ctx_ticker_t

◆ menu_timer_ctx_entry_t

◆ menu_timer_t

typedef float menu_timer_t

◆ tween_cb

typedef void(* tween_cb) (void *)

Enumeration Type Documentation

◆ menu_animation_ctl_state

Enumerator
MENU_ANIMATION_CTL_NONE 
MENU_ANIMATION_CTL_DEINIT 
MENU_ANIMATION_CTL_CLEAR_ACTIVE 
MENU_ANIMATION_CTL_SET_ACTIVE 

◆ menu_animation_easing_type

Enumerator
EASING_LINEAR 
EASING_IN_QUAD 
EASING_OUT_QUAD 
EASING_IN_OUT_QUAD 
EASING_OUT_IN_QUAD 
EASING_IN_CUBIC 
EASING_OUT_CUBIC 
EASING_IN_OUT_CUBIC 
EASING_OUT_IN_CUBIC 
EASING_IN_QUART 
EASING_OUT_QUART 
EASING_IN_OUT_QUART 
EASING_OUT_IN_QUART 
EASING_IN_QUINT 
EASING_OUT_QUINT 
EASING_IN_OUT_QUINT 
EASING_OUT_IN_QUINT 
EASING_IN_SINE 
EASING_OUT_SINE 
EASING_IN_OUT_SINE 
EASING_OUT_IN_SINE 
EASING_IN_EXPO 
EASING_OUT_EXPO 
EASING_IN_OUT_EXPO 
EASING_OUT_IN_EXPO 
EASING_IN_CIRC 
EASING_OUT_CIRC 
EASING_IN_OUT_CIRC 
EASING_OUT_IN_CIRC 
EASING_IN_BOUNCE 
EASING_OUT_BOUNCE 
EASING_IN_OUT_BOUNCE 
EASING_OUT_IN_BOUNCE 
EASING_LAST 

Function Documentation

◆ menu_animation_ctl()

bool menu_animation_ctl ( enum menu_animation_ctl_state  state,
void data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_animation_free()

void menu_animation_free ( void  )
Here is the caller graph for this function:

◆ menu_animation_get_delta_time()

float menu_animation_get_delta_time ( void  )
Here is the caller graph for this function:

◆ menu_animation_get_ideal_delta_time()

bool menu_animation_get_ideal_delta_time ( menu_animation_ctx_delta_t delta)
Here is the caller graph for this function:

◆ menu_animation_init()

void menu_animation_init ( void  )
Here is the caller graph for this function:

◆ menu_animation_is_active()

bool menu_animation_is_active ( void  )
Here is the caller graph for this function:

◆ menu_animation_kill_by_subject()

void menu_animation_kill_by_subject ( menu_animation_ctx_subject_t subject)
Here is the caller graph for this function:

◆ menu_animation_kill_by_tag()

bool menu_animation_kill_by_tag ( menu_animation_ctx_tag tag)
Here is the caller graph for this function:

◆ menu_animation_push()

bool menu_animation_push ( menu_animation_ctx_entry_t entry)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_animation_ticker()

bool menu_animation_ticker ( const menu_animation_ctx_ticker_t ticker)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_animation_update()

bool menu_animation_update ( float  delta_time)
Here is the caller graph for this function:

◆ menu_animation_update_time()

void menu_animation_update_time ( bool  timedate_enable)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_timer_kill()

void menu_timer_kill ( menu_timer_t timer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_timer_start()

void menu_timer_start ( menu_timer_t timer,
menu_timer_ctx_entry_t timer_entry 
)
Here is the call graph for this function:

Variable Documentation

◆ easing_cb

RETRO_BEGIN_DECLS typedef float(* easing_cb) (float, float, float, float)