Go to file
Sam Lantinga 5f39ea89c9 Fixed bug 2415 - Message Boxes aren't implemented on Android
Philipp Wiesemann

I attached a patch for an incomplete implementation of the messagebox parts.

It was not tested on lots of devices yet and features a very fragile workaround to block the calling SDL thread while the dialog is handled on Android's UI thread. Although it works for testmessage.c I assume there are lot of situations were it may fail (standby, device rotation and other changes). Also not all flags and colors are implemented.

On the other hand most uses of the messagebox are to show an error on start and fragility (or working at all) may not matter there.
2014-09-13 02:15:18 -07:00
VisualC [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
VisualC-WinRT [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Xcode [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Xcode-iOS [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
acinclude [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
android-project Fixed bug 2415 - Message Boxes aren't implemented on Android 2014-09-13 02:15:18 -07:00
build-scripts [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
cmake [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
debian [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
docs [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
include [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
premake [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
src Fixed bug 2415 - Message Boxes aren't implemented on Android 2014-09-13 02:15:18 -07:00
test [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
visualtest [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
.hgignore [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Android.mk [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
BUGS.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
CMakeLists.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
COPYING.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
CREDITS.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
INSTALL.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Makefile.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Makefile.minimal [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Makefile.pandora [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Makefile.psp [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
Makefile.wiz [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
README-SDL.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
README.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
SDL2.spec.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
TODO.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
VisualC.html [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
WhatsNew.txt [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
autogen.sh [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
cmake_uninstall.cmake.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
configure [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
configure.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
sdl2-config.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
sdl2.m4 [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00
sdl2.pc.in [X11] Reconcile logical keyboard state with physical state on FocusIn 2014-09-11 19:24:42 -07:00

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.


                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
http://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed
to provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog
and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting
with README.md

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)