diff options
author | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 15:39:31 +0700 |
---|---|---|
committer | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 17:21:05 +0700 |
commit | 275e537058ed870c4d37002f2110b7866d2ed1ae (patch) | |
tree | 150656cd97e9bae45098829d34d3fd34f1beadb0 /platform/iphone/gl_view.h | |
parent | 6dc1025e6313d711939269e1578fff5ffc0cd30a (diff) | |
download | redot-engine-275e537058ed870c4d37002f2110b7866d2ed1ae.tar.gz |
Allow to obtain virtual keyboard height
On mobile platforms virtual keyboards take up significant amount of
screen space and UI containing a text box may need to be adjusted
after the keyboard appears to keep the text box visible to user. This
commit adds a way to obtain virtual keyabord height so that controls
are aware of how much they need to move.
Diffstat (limited to 'platform/iphone/gl_view.h')
-rw-r--r-- | platform/iphone/gl_view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/iphone/gl_view.h b/platform/iphone/gl_view.h index a9fd8d5711..f7309396c6 100644 --- a/platform/iphone/gl_view.h +++ b/platform/iphone/gl_view.h @@ -100,6 +100,8 @@ - (void)destroyFramebuffer; - (void)audioRouteChangeListenerCallback:(NSNotification *)notification; +- (void)keyboardOnScreen:(NSNotification *)notification; +- (void)keyboardHidden:(NSNotification *)notification; @property NSTimeInterval animationInterval; @property(nonatomic, assign) BOOL useCADisplayLink; |