From: DeaDDooMER Date: Sun, 25 Feb 2018 12:13:13 +0000 (+0300) Subject: TextEdit now shows keyboard on android X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=1e9f97409f00b89c240055cd4eb15a4609c3c183 TextEdit now shows keyboard on android --- diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 78554a7..6f4dfbe 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -20,7 +20,7 @@ interface uses {$IFDEF USE_MEMPOOL}mempool,{$ENDIF} - e_graphics, e_input, e_log, g_playermodel, g_basic, MAPDEF, utils; + e_graphics, e_input, e_log, g_playermodel, g_basic, g_touch, MAPDEF, utils; const MAINMENU_HEADER_COLOR: TRGB = (R:255; G:255; B:255); @@ -2325,6 +2325,8 @@ begin end; end; end; + + g_Touch_ShowKeyboard(FWindow.FActiveControl = Self); end; procedure TGUIEdit.SetText(Text: string);