diff options
author | ptyl@cloudon.com <ptyl@cloudon.com> | 2013-09-01 19:22:23 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-09 14:37:46 +0000 |
commit | 4e7495ac2cb6b015ad492def45fd24f4ba0f54f8 (patch) | |
tree | a23c409bd5bf2f2a54a26a50b4c7e29054af666d /include/osl | |
parent | ff3b823ef4b867263711703fab596584314e4f58 (diff) |
Fix for iOS scroll by pixels, and pinch to zoom
Minor further changes by tml to match the coding style of surrounding
code mainly.
Change-Id: Ied6087a264f1c6b00763ea36fba9808329afede4
Reviewed-on: https://gerrit.libreoffice.org/5742
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/detail/ios-bootstrap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osl/detail/ios-bootstrap.h b/include/osl/detail/ios-bootstrap.h index fa3d0c85b460..42c38e493721 100644 --- a/include/osl/detail/ios-bootstrap.h +++ b/include/osl/detail/ios-bootstrap.h @@ -49,7 +49,8 @@ void lo_runMain(); void lo_set_view_size(int width, int height); void lo_render_windows(CGContextRef context, CGRect rect); void lo_tap(int x, int y); -void lo_pan(int x, int y); +void lo_pan(int deltaX, int deltaY); +void lo_zoom(int x, int y, float scale); void lo_keyboard_input(int c); #ifdef __cplusplus |