X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fsdl%2Fg_system.pas;h=ddb29ceb3d56a5fa2dcf65229174791e3011d9b4;hp=bb8fd7a2d1caa06b40ccdc50b5565687e074da9f;hb=83221a8d1b958465bd68e3c79575f4a94c8ffa42;hpb=aa7e40301df69aa13c00ff2bcdb8e532b06b8053 diff --git a/src/game/sdl/g_system.pas b/src/game/sdl/g_system.pas index bb8fd7a..ddb29ce 100644 --- a/src/game/sdl/g_system.pas +++ b/src/game/sdl/g_system.pas @@ -29,6 +29,11 @@ interface function sys_HandleInput (): Boolean; procedure sys_RequestQuit; +{$IFDEF ENABLE_TOUCH} + function sys_IsTextInputActive (): Boolean; + procedure sys_ShowKeyboard (yes: Boolean); +{$ENDIF} + (* --- Init --- *) procedure sys_Init; procedure sys_Final; @@ -273,6 +278,18 @@ implementation (* --------- Input --------- *) +{$IFDEF ENABLE_TOUCH} + procedure sys_ShowKeyboard (yes: Boolean); + begin + // stub + end; + + function sys_IsTextInputActive (): Boolean; + begin + Result := false + end; +{$ENDIF} + function Key2Stub (key: Integer): Integer; var x: Integer; begin