Commit Graph

122 Commits

Author SHA1 Message Date
twinaphex 6694d813e3 Change menu_animation_update returntype to bool 2015-03-12 19:29:43 +01:00
twinaphex b5b59608dd Add three ways to indicate that the menu should update video -
(1) an animation is active, (2) a label has its contents updated (can be a message ticker or say an FPS monitor label being constantly updated, and (3) the menu framebuffer is 'dirty' (meaning its contents has changed and therefore we need to upload it again to the GPU.
2015-03-08 16:55:25 +01:00
twinaphex e86efd320c Create g_runloop.frame.video.current.menu.is_animated and
g_runloop.frame.video.current.menu.framebuf_dirty - will be used
to inform processes or runloops outside of RA's runloop that video update
needs to happen because of animations or video state changes
occurring.
2015-03-07 17:16:41 +01:00
Lioncash 55e9c2b593 Apply static to some local-only functions 2015-02-13 09:54:45 -05:00
twinaphex 8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex 00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex 436fe5150d (menu_animation.c) subject does not need to be freed 2015-02-11 01:26:33 +01:00
twinaphex 37a8e0ef85 Improve menu_animation_free 2015-02-11 01:22:15 +01:00
twinaphex a85908c8f9 (Menu) Refactor easing functions 2015-02-11 01:15:16 +01:00
twinaphex 46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex 13a87d48fe Refactor tweens_push 2015-02-10 23:59:16 +01:00
twinaphex 9a839fce2f Pass numtweens as pointer 2015-02-10 23:49:26 +01:00
twinaphex 453e5b7681 Rename tween functions 2015-02-10 23:45:14 +01:00
twinaphex 9a6e99e12c Cleanup add_tween 2015-02-10 23:40:58 +01:00
twinaphex e6ab59bce2 Refactor update_tweens 2015-02-10 23:35:22 +01:00
twinaphex 72ac1bd407 menu_animation.c - some cleanups 2015-02-05 18:27:25 +01:00
twinaphex 486a5801c0 Cleanups 2015-02-02 00:46:00 +01:00
twinaphex a1cf3c1eae (menu_animation.c) Cleanups 2015-02-01 23:05:16 +01:00
twinaphex 48032486f4 Move static variables to menu handle struct 2015-02-01 22:52:06 +01:00
twinaphex 6e0d769fec (menu_animation.c) Cleanups 2015-02-01 22:45:56 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00