iOS: Keep UIScreen* for current QIOSScreen instead of looking up each time
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>
Sun, 4 Nov 2012 18:39:45 +0000 (19:39 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Sun, 4 Nov 2012 18:39:45 +0000 (19:39 +0100)
commit0f998328c21f67362e1b27504bdfb84e26e66a61
tree651f4cdf170bdf30665fb4253cf36a6fe1189a18
parent310fad55c881eac438110e958b55d699c4843dee
iOS: Keep UIScreen* for current QIOSScreen instead of looking up each time

Also, add enum for screen numbers, for better code readability.

Change-Id: Id5162c34e80ff5efb149ae86b49f51df183d1c1d
src/plugins/platforms/ios/qiosintegration.mm
src/plugins/platforms/ios/qiosscreen.h
src/plugins/platforms/ios/qiosscreen.mm