virtualx-engine/core/os
Ruslan Mustakov 1d9a3a9b1c iPhone X support and iOS-related fixes
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.

This commit:

- Adds OS::get_window_safe_area method that returns unobscured area of
  the window, where interactive controls should be rendered.

- Reorganizes how launch screens are exported - the previous way was
  incorrect and modern iPhones did not pick up the correct screens and
  because of that used a non-native resolution to render the game.

- Adds launch screen options for iPhone X.

- Makes launch screens optional in the export template. If not
  specified, a white screen will be used.

- Adds App Store icon (1024x1024) export option as it now has to be
  bundled with the app instead of being provided in iTunes Connect.

- Fixes crash when launching games in iOS Simulator. It happened because
  controllerWasConnected callback came before the engine was
  initialized. Now in such case the controllers will be queued up and
  registered after initialization is done.

- Fixes issue with the virtual keyboard where for some reason
  autocorrection panel would intersect with the keyboard itself and not
  allow you to use the top row of the keyboard. This is fixed by
  disabling autocorrection altogether.

Closes #17358. Fixes #17428. Fixes #17331.
2018-04-11 14:53:24 +07:00
..
copymem.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
dir_access.cpp Improved error checking at EditorExportPlatformPC::export_project 2018-03-06 14:23:17 -03:00
dir_access.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
file_access.cpp Mono: Allow loading mscorlib from resources. 2018-01-31 09:20:46 +02:00
file_access.h Added File.get_path and File.get_path_absolute functions 2018-03-13 12:07:37 -03:00
input.cpp Implement Input.set_default_cursor_shape to change the default shape 2018-04-10 11:38:34 -03:00
input.h Implement Input.set_default_cursor_shape to change the default shape 2018-04-10 11:38:34 -03:00
input_event.cpp (Magnify|Pan)Gesture: implement as_text 2018-02-24 10:35:25 +07:00
input_event.h (Magnify|Pan)Gesture: implement as_text 2018-02-24 10:35:25 +07:00
keyboard.cpp [macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts. 2018-03-28 20:22:59 +03:00
keyboard.h [macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts. 2018-03-28 20:22:59 +03:00
main_loop.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
main_loop.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
memory.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
memory.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mutex.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mutex.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
os.cpp Clean and expose get_audio/video_driver_* funcs on OS class 2018-03-04 14:18:05 -03:00
os.h iPhone X support and iOS-related fixes 2018-04-11 14:53:24 +07:00
rw_lock.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rw_lock.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
semaphore.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
semaphore.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shell.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shell.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
thread.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
thread.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
thread_dummy.cpp Add RWLockDummy for NO_THREADS builds 2018-03-20 05:37:42 +01:00
thread_dummy.h Add RWLockDummy for NO_THREADS builds 2018-03-20 05:37:42 +01:00
thread_safe.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
thread_safe.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
threaded_array_processor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00