[SailfishDevel] Setting application screen orientation from C++
Robin Burchell
robin.burchell at jolla.com
Thu Jul 31 11:36:15 UTC 2014
Den 31.07.14, 10.39 skrev "Tomasz Sterna" <tomek at xiaoka.com>:
>Dnia 2014-07-31, czw o godzinie 08:49 +0300, Iosif Hamlatzis pisze:
>> the same answer that I should do the rotation translation my self and
>> not only for rendering but for touch screen.
>
>Also a regression from Maemo... where the only thing application cared
>is getting notified, that its window dimensions is not 480x800 anymore,
>but 800x480 and it needs to relayout. Also, the relayouting process was
>cleverly hidden by rotating the screenshot of the last state of the
>application, so the user does not see the relayouting itself.
It¹s a change (I wouldn¹t call it a regression, as I¹m quite sure it was a
deliberate choice) from Maemo 5, but not Maemo 6. Maemo 6 did not do
server-side rotation or window resizing. It was up to the client toolkit
(MeeGo Touch, or qt-components being the built-in examples) to do that.
The only part that is different is the default frame buffer orientation
(landscape on Maemo devices, portrait on the Jolla).
More information about the Devel
mailing list