You can now set sdl_hint_qtwayland_content_orientation and window_flags:
https://hg.libsdl.org/SDL/rev/63c2c6c8762c95d62aa4125cf5adda77ae9d9b79
So swipes will work correctly if you render in landscape, not sure if that will 
be enough for harbour though

On Tuesday, 28 March 2017, Iosif Hamlatzis wrote:
> The code from github (https://github.com/lanurmi/sailfish-minimal-sdl )
> says it doesn't use OpenGL and also it uses SDL_CreateRenderer
> 
> Does it work in both modes (landscape and portrait)? What if you want to
> use OpenGL and do your own rendering, what then regarding both modes?
> 
> Under Android the landscape/portrait mode is derived from the manifest
> file. Under iOS there is a similar technology were you set the properties
> of the window and also you can pass hint to SDL2 (according to
> documentation only available for iOS). Similarly you can set the window
> rotation for other (now dead) OSs like webOS, BlackBerry (both BB10 and
> PlayBook)
> 
> What about the SailfishOS?
> 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
Sent from my Jolla
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to