mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Cleanups
This commit is contained in:
parent
5852251d56
commit
2cc776d2d9
@ -1407,6 +1407,7 @@ static void gfx_widgets_draw_regular_msg(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_MENU
|
||||||
static void gfx_widgets_draw_backdrop(
|
static void gfx_widgets_draw_backdrop(
|
||||||
void *userdata,
|
void *userdata,
|
||||||
unsigned video_width,
|
unsigned video_width,
|
||||||
@ -1425,7 +1426,6 @@ static void gfx_widgets_draw_load_content_animation(
|
|||||||
unsigned video_width,
|
unsigned video_width,
|
||||||
unsigned video_height)
|
unsigned video_height)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_MENU
|
|
||||||
/* TODO: change metrics? */
|
/* TODO: change metrics? */
|
||||||
int icon_size = (int)load_content_animation_icon_size;
|
int icon_size = (int)load_content_animation_icon_size;
|
||||||
uint32_t text_alpha = load_content_animation_fade_alpha * 255.0f;
|
uint32_t text_alpha = load_content_animation_fade_alpha * 255.0f;
|
||||||
@ -1476,8 +1476,8 @@ static void gfx_widgets_draw_load_content_animation(
|
|||||||
gfx_widgets_draw_backdrop(userdata,
|
gfx_widgets_draw_backdrop(userdata,
|
||||||
video_width, video_height,
|
video_width, video_height,
|
||||||
load_content_animation_final_fade_alpha);
|
load_content_animation_final_fade_alpha);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void INLINE gfx_widgets_font_bind(gfx_widget_font_data_t *font_data)
|
static void INLINE gfx_widgets_font_bind(gfx_widget_font_data_t *font_data)
|
||||||
{
|
{
|
||||||
@ -2287,6 +2287,7 @@ void gfx_widgets_ai_service_overlay_unload(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_MENU
|
||||||
static void gfx_widgets_end_load_content_animation(void *userdata)
|
static void gfx_widgets_end_load_content_animation(void *userdata)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
@ -2296,13 +2297,12 @@ static void gfx_widgets_end_load_content_animation(void *userdata)
|
|||||||
|
|
||||||
void gfx_widgets_cleanup_load_content_animation(void)
|
void gfx_widgets_cleanup_load_content_animation(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_MENU
|
|
||||||
load_content_animation_running = false;
|
load_content_animation_running = false;
|
||||||
if (load_content_animation_content_name)
|
if (load_content_animation_content_name)
|
||||||
free(load_content_animation_content_name);
|
free(load_content_animation_content_name);
|
||||||
load_content_animation_content_name = NULL;
|
load_content_animation_content_name = NULL;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void gfx_widgets_start_load_content_animation(const char *content_name, bool remove_extension)
|
void gfx_widgets_start_load_content_animation(const char *content_name, bool remove_extension)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user