mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
C89_BUILD fixes
This commit is contained in:
parent
5e49a683ec
commit
83be5a1950
@ -680,7 +680,7 @@ void ozone_draw_thumbnail_bar(ozone_handle_t *ozone, video_frame_info_t *video_i
|
||||
bool thumbnail;
|
||||
bool left_thumbnail;
|
||||
|
||||
//Background
|
||||
/* Background */
|
||||
if (!video_info->libretro_running)
|
||||
{
|
||||
menu_display_draw_quad(video_info, x_position, ozone->dimensions.header_height + 1, (unsigned) ozone->animations.thumbnail_bar_position, 55/2, video_info->width, video_info->height, ozone->theme->sidebar_top_gradient);
|
||||
@ -688,7 +688,7 @@ void ozone_draw_thumbnail_bar(ozone_handle_t *ozone, video_frame_info_t *video_i
|
||||
menu_display_draw_quad(video_info, x_position, video_info->height - ozone->dimensions.footer_height - 55/2 - 1, (unsigned) ozone->animations.thumbnail_bar_position, 55/2 + 1, video_info->width, video_info->height, ozone->theme->sidebar_bottom_gradient);
|
||||
}
|
||||
|
||||
//Thumbnails
|
||||
/* Thumbnails */
|
||||
thumbnail = ozone->thumbnail &&
|
||||
!string_is_equal(ozone_thumbnails_ident('R'),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF));
|
||||
|
@ -349,20 +349,20 @@ void ozone_sidebar_update_collapse(ozone_handle_t *ozone, bool allow_animation)
|
||||
|
||||
menu_animation_kill_by_tag(&tag);
|
||||
|
||||
//Collapse it
|
||||
/* Collapse it */
|
||||
if (settings->bools.ozone_collapse_sidebar || (is_playlist && !ozone->cursor_in_sidebar))
|
||||
{
|
||||
if (allow_animation)
|
||||
{
|
||||
entry.cb = ozone_sidebar_collapse_end;
|
||||
|
||||
//Text alpha
|
||||
/* Text alpha */
|
||||
entry.subject = &ozone->animations.sidebar_text_alpha;
|
||||
entry.target_value = 0.0f;
|
||||
|
||||
menu_animation_push(&entry);
|
||||
|
||||
//Collapse
|
||||
/* Collapse */
|
||||
entry.subject = &ozone->dimensions.sidebar_width;
|
||||
entry.target_value = ozone->dimensions.sidebar_width_collapsed;
|
||||
|
||||
@ -375,7 +375,7 @@ void ozone_sidebar_update_collapse(ozone_handle_t *ozone, bool allow_animation)
|
||||
ozone_sidebar_collapse_end(ozone);
|
||||
}
|
||||
}
|
||||
//Show it
|
||||
/* Show it */
|
||||
else if (ozone->cursor_in_sidebar || (!is_playlist && !settings->bools.ozone_collapse_sidebar))
|
||||
{
|
||||
if (allow_animation)
|
||||
@ -384,13 +384,13 @@ void ozone_sidebar_update_collapse(ozone_handle_t *ozone, bool allow_animation)
|
||||
|
||||
entry.cb = NULL;
|
||||
|
||||
//Text alpha
|
||||
/* Text alpha */
|
||||
entry.subject = &ozone->animations.sidebar_text_alpha;
|
||||
entry.target_value = 1.0f;
|
||||
|
||||
menu_animation_push(&entry);
|
||||
|
||||
//Collapse
|
||||
/* Collapse */
|
||||
entry.subject = &ozone->dimensions.sidebar_width;
|
||||
entry.target_value = ozone->dimensions.sidebar_width_normal;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user