summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-12-10 18:30:07 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-09-24 11:52:40 +0200
commit4f0cd0693a3aadbf3277dba0eb902db2c78f60cd (patch)
treea4326ce065749092374531200f8acf4801eaf227 /mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h
parentd2c925b9774ef63c008e1a0ffb992b805e8cc3ab (diff)
iOS: Calculate screen (available) geometry using [UIView convertRect]
Instead of custom logic to detect portrait/landscape and the height of the status bar. The latter would fail when the statusbar/orientation was set explicitly through [UIApplication setStatusBarOrientation], as the statusbar would not follow the normal behavior of covering the top part of the screen. The new code also handles upside-down portrait mode, as well as iOS8's behavior of reporting screen bounds and application frame in interface orientation instead of device orientation. Change-Id: I54e3b99246a32e17aaba13960f456fa823768fd8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'mkspecs/unsupported/vxworks-ppc-g++/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions