Sam Lantinga 78825f8fb4 Date: Sun, 3 Aug 2003 22:07:57 +0200
From: Max Horn
Subject: SDL OSX fullscreen FIX

the attached patch fixes the fullscreen problems on SDL/OSX. The cause
was that click events are bounded by winRect. Now, winRect is set to
the size of the video surface. But if you e.g. request a 640x420
surface, you might get a 640x480 "real" surface. Still,
SDL_VideoSurface->h will be set to 420! Thus, the upper 60 pixels in my
example received no mouse down events.

My fix simply disables this clipping when in full screen mode - after
all, all clicks then should be inside the screen surface. Higher SDL
functions ensure that the coordinates then are clipped to 640x420. It
works fine in all my tests here. I don't know if it's the right thing
to do in multi screen scenarios, though.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40665
2003-08-04 01:00:30 +00:00
2003-07-27 17:00:40 +00:00
2003-08-04 01:00:30 +00:00
2003-08-04 00:52:42 +00:00
2001-04-26 16:50:19 +00:00
2002-04-13 14:44:33 +00:00
2003-07-01 01:18:27 +00:00
2003-07-01 01:18:27 +00:00
2003-08-04 00:52:42 +00:00
2001-04-26 16:45:43 +00:00
2002-08-25 02:05:24 +00:00
2002-10-20 00:15:33 +00:00
2001-04-26 16:45:43 +00:00
2003-03-09 21:38:18 +00:00
2003-03-09 21:38:18 +00:00
2003-02-01 19:50:22 +00:00
2001-04-26 16:45:43 +00:00
2001-04-26 16:45:43 +00:00
2001-11-02 18:12:52 +00:00
2002-06-01 18:43:51 +00:00
2002-05-31 04:45:46 +00:00
2001-05-10 20:19:50 +00:00
2001-08-18 10:33:55 +00:00
2003-02-26 16:58:49 +00:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 1.2

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

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Java, Lua, ML,
Objective C, Perl, PHP, Pike, Python, and Ruby.

The current version supports Linux, Windows, BeOS, MacOS, MacOS X,
FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX.  The code contains support
for Windows CE, AmigaOS, Dreamcast, Atari, QNX, NetBSD, AIX, OSF/Tru64,
RISC OS, and SymbianOS, but these are not officially supported.

This library is distributed under GNU LGPL version 2, which can be
found in the file  "COPYING".  This license allows you to use SDL
freely in commercial programs as long as you link with the dynamic
library.

The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation is available in HTML format in "./docs/index.html"

The test programs in the "test" subdirectory are in the public domain.

Frequently asked questions are answered online:
	http://www.libsdl.org/faq.php

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)

Description
SDL2 for PSP
Readme 115 MiB
Languages
C 73.6%
C++ 16.4%
Objective-C 3.6%
Shell 2.1%
M4 1.5%
Other 2.7%