mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
dad420670f
If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
|
|
To compile and install SDL:
|
|
|
|
1. Windows with Visual Studio:
|
|
* Read VisualC.html
|
|
|
|
Windows with gcc, either native or cross-compiling:
|
|
* Read the FAQ at http://wiki.libsdl.org/moin.fcg/FAQWindows
|
|
* Run './configure; make; make install'
|
|
|
|
Mac OS X with Xcode:
|
|
* Read README-macosx.txt
|
|
|
|
Mac OS X from the command line:
|
|
* Run './configure; make; make install'
|
|
|
|
Linux and other UNIX systems:
|
|
* Run './configure; make; make install'
|
|
|
|
Android:
|
|
* Read README-android.txt
|
|
|
|
iOS:
|
|
* Read README-ios.txt
|
|
|
|
Using Cmake:
|
|
* Read README-cmake.txt
|
|
|
|
2. Look at the example programs in ./test, and check out the online
|
|
documentation at http://wiki.libsdl.org/
|
|
|
|
3. Join the SDL developer mailing list by sending E-mail to
|
|
sdl-request@libsdl.org
|
|
and put "subscribe" in the subject of the message.
|
|
|
|
Or alternatively you can use the web interface:
|
|
http://www.libsdl.org/mailing-list.php
|
|
|
|
That's it!
|
|
Sam Lantinga <slouken@libsdl.org>
|