diff options
author | Johannes Schickel | 2014-06-05 04:42:57 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-06-05 04:42:57 +0200 |
commit | c6a2d86be7097e8c86291c4b2b2b27218b34be9a (patch) | |
tree | 328c2e2fba31a37b8bacc9b37b51fcbb96cf6b9d /engines | |
parent | 01c18c8f4051b39937d1f036283800a0e3973151 (diff) | |
download | scummvm-rg350-c6a2d86be7097e8c86291c4b2b2b27218b34be9a.tar.gz scummvm-rg350-c6a2d86be7097e8c86291c4b2b2b27218b34be9a.tar.bz2 scummvm-rg350-c6a2d86be7097e8c86291c4b2b2b27218b34be9a.zip |
IPHONE: Scale input according to content scale factor.
This hopefully fixes input positions in retina devices. The idea is stolen
from QT: https://qt.gitorious.org/qt/qt/source/0726127285413829f58618b5b82fb3e2da0c3a74:src/plugins/platforms/uikit/quikitwindow.mm#L261-296
Complicated way to retrieve scale's return value properly is taken from:
https://stackoverflow.com/questions/3130464 We sadly can't use the cleaner
solution since we don't want to require a newer SDK...
Diffstat (limited to 'engines')
0 files changed, 0 insertions, 0 deletions