From 31b1c6fa99279bd9bc81f006efe8f32803998b3d Mon Sep 17 00:00:00 2001 From: John Bytheway <jbytheway@gmail.com> Date: Mon, 27 Apr 2020 11:02:04 -0400 Subject: [PATCH] Try to fix Android build --- src/sdltiles.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sdltiles.cpp b/src/sdltiles.cpp index 28296b193d6ad..f7c6383f43952 100644 --- a/src/sdltiles.cpp +++ b/src/sdltiles.cpp @@ -2305,13 +2305,13 @@ void draw_quick_shortcuts() text_scale; } text_y = ( WindowHeight - ( height + font->fontheight * text_scale ) * 0.5f ) / text_scale; - font->OutputChar( text, text_x + 1, text_y + 1, 0, + font->OutputChar( text, point( text_x + 1, text_y + 1 ), 0, get_option<int>( "ANDROID_SHORTCUT_OPACITY_SHADOW" ) * 0.01f ); - font->OutputChar( text, text_x, text_y, get_option<int>( "ANDROID_SHORTCUT_COLOR" ), + font->OutputChar( text, point( text_x, text_y ), get_option<int>( "ANDROID_SHORTCUT_COLOR" ), get_option<int>( "ANDROID_SHORTCUT_OPACITY_FG" ) * 0.01f ); if( hovered ) { // draw a second button hovering above the first one - font->OutputChar( text, text_x, text_y - ( height * 1.2f / text_scale ), + font->OutputChar( text, point( text_x, text_y - ( height * 1.2f / text_scale ) ), get_option<int>( "ANDROID_SHORTCUT_COLOR" ) ); if( show_hint ) { // draw hint text