mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
6ee661398d
Sylvain Here's a patch. It tries to get the hint first. Resizable will allow any orientation. Otherwise it uses width/height window. setOrientation method is splitted in static and non-static, so that it can be overloaded in a user subclass. Some artefact observed : surfaceChanged() can be called twice at the beginning. When the phone starts in portrait and run a landscape application. |
||
---|---|---|
.. | ||
SDL_androidclipboard.c | ||
SDL_androidclipboard.h | ||
SDL_androidevents.c | ||
SDL_androidevents.h | ||
SDL_androidgl.c | ||
SDL_androidgl.h | ||
SDL_androidkeyboard.c | ||
SDL_androidkeyboard.h | ||
SDL_androidmessagebox.c | ||
SDL_androidmessagebox.h | ||
SDL_androidmouse.c | ||
SDL_androidmouse.h | ||
SDL_androidtouch.c | ||
SDL_androidtouch.h | ||
SDL_androidvideo.c | ||
SDL_androidvideo.h | ||
SDL_androidwindow.c | ||
SDL_androidwindow.h |