mirror of
https://github.com/Ryujinx/SDL.git
synced 2026-04-06 23:48:57 +00:00
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 | ||