Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Tomasz Sterna
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. I agree that's a huge inconvenience, also a waste of effort that every single application in the need of

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Robin Burchell
Den 31.07.14, 10.39 skrev Tomasz Sterna to...@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

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Robin Burchell
Den 31.07.14, 07.49 skrev Iosif Hamlatzis i.hamlat...@gmail.commailto:i.hamlat...@gmail.com: I had asked a while a go the same question regarding orientation when I started porting my SDL games and received the same answer that I should do the rotation translation my self and not only for

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-30 Thread Piotr Tworek
Hi Thomas, Thank you for the reply. I'm actually more interested in having the content rotated automatically. Around two weeks ago Google released an android game written in Qt/QML. The game is called VoltAir and is available on github under Apache 2.0 license (https://github.com/google/VoltAir).

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-23 Thread Thomas Perl
Hey, 2014-07-17 23:05 GMT+02:00 Piotr Tworek tworaz...@gmail.com: Is there a way to lock application screen orientation to landscape directly from Qt/C++ code? I know it's possible from QML, but I can't find any docs how the same can be done from C++. You can e.g. subclass QWindow to a custom

[SailfishDevel] Setting application screen orientation from C++

2014-07-17 Thread Piotr Tworek
Hi, Is there a way to lock application screen orientation to landscape directly from Qt/C++ code? I know it's possible from QML, but I can't find any docs how the same can be done from C++. /ptw ___ SailfishOS.org Devel mailing list To unsubscribe,