From c8519cd89c59d44f9bf963e93edc90c2572b47a3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 27 Sep 2015 00:42:27 +0200 Subject: [PATCH] (menu_animation) Cleanups --- menu/menu_animation.c | 18 +++++++++--------- menu/menu_animation.h | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/menu/menu_animation.c b/menu/menu_animation.c index 9df7939235..225feb1150 100644 --- a/menu/menu_animation.c +++ b/menu/menu_animation.c @@ -25,15 +25,15 @@ struct tween { - bool alive; - float duration; - float running_since; - float initial_value; - float target_value; - float* subject; - int tag; - easingFunc easing; - tween_cb cb; + bool alive; + float duration; + float running_since; + float initial_value; + float target_value; + float *subject; + int tag; + easing_cb easing; + tween_cb cb; }; struct menu_animation diff --git a/menu/menu_animation.h b/menu/menu_animation.h index dc48dedc85..fca72acc57 100644 --- a/menu/menu_animation.h +++ b/menu/menu_animation.h @@ -29,8 +29,8 @@ extern "C" { #endif -typedef float (*easingFunc)(float, float, float, float); -typedef void (*tween_cb) (void); +typedef float (*easing_cb) (float, float, float, float); +typedef void (*tween_cb) (void); enum menu_animation_ctl_state {