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.
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
|
|
These are test programs for the SDL library:
|
|
|
|
checkkeys Watch the key events to check the keyboard
|
|
loopwave Audio test -- loop playing a WAV file
|
|
testaudioinfo Lists audio device capabilities
|
|
testcdrom Sample audio CD control program
|
|
testerror Tests multi-threaded error handling
|
|
testfile Tests RWops layer
|
|
testgl2 A very simple example of using OpenGL with SDL
|
|
testhread Hacked up test of multi-threading
|
|
testiconv Tests international string conversion
|
|
testjoystick List joysticks and watch joystick events
|
|
testkeys List the available keyboard keys
|
|
testloadso Tests the loadable library layer
|
|
testlock Hacked up test of multi-threading and locking
|
|
testmultiaudio Tests using several audio devices
|
|
testoverlay2 Tests the overlay flickering/scaling during playback.
|
|
testpalette Tests palette color cycling
|
|
testplatform Tests types, endianness and cpu capabilities
|
|
testsem Tests SDL's semaphore implementation
|
|
testshape Tests shaped windows
|
|
testsprite2 Example of fast sprite movement on the screen
|
|
testtimer Test the timer facilities
|
|
testver Check the version and dynamic loading and endianness
|
|
testwm2 Test window manager -- title, icon, events
|
|
torturethread Simple test for thread creation/destruction
|