Mercurial > sdl-ios-xcode
annotate README @ 485:ffa4ca907c67
Date: Sun, 1 Sep 2002 21:27:54 -0400 (EDT)
From: "Ryan C. Gordon"
Subject: [SDL] Minor X11 hack:
Here's a patch to center a newly-created, non-fullscreen X11 window.
While this may or may not be suitable for adding to SDL officially, I
didn't want to put any Xlib dependencies in my code directly.
To use:
- Apply patch/rebuild.
- export SDL_WINDOW_POS=center
- Call SDL_SetVideoMode as needed.
(Ideally, this could be expanded to handle other commands like
SDL_WINDOW_POS=20x190, etc, and could be implemented for other targets,
but this is really a hack to avoid API changes).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 02 Sep 2002 15:58:29 +0000 |
parents | e405cf8bf580 |
children | 875fbe29588d |
rev | line source |
---|---|
0 | 1 |
2 Simple DirectMedia Layer | |
3 | |
4 (SDL) | |
5 | |
6 Version 1.2 | |
7 | |
8 --- | |
9 http://www.libsdl.org/ | |
10 | |
11 This is the Simple DirectMedia Layer, a generic API that provides low | |
12 level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, | |
13 and 2D framebuffer across multiple platforms. | |
14 | |
15 SDL is written in C, but works with C++ natively, and has bindings to | |
16 several other languages, including Ada, Eiffel, ML, Perl, and Python. | |
17 | |
18 The current version supports Linux, Windows, BeOS, MacOS, MacOS X, | |
362
3791ff65cddd
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
281
diff
changeset
|
19 FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX. The code contains support |
369
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
20 for Windows CE, AmigaOS, Atari, QNX, NetBSD, AIX, OSF/Tru64, and SymbianOS, |
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
21 but these are not yet officially supported. |
0 | 22 |
23 This library is distributed under GNU LGPL version 2, which can be | |
24 found in the file "COPYING". This license allows you to use SDL | |
25 freely in commercial programs as long as you link with the dynamic | |
26 library. | |
27 | |
28 The best way to learn how to use SDL is to check out the header files in | |
29 the "include" subdirectory and the programs in the "test" subdirectory. | |
30 The header files and test programs are well commented and always up to date. | |
31 More documentation is available in HTML format in "./docs/index.html" | |
32 | |
33 The test programs in the "test" subdirectory are in the public domain. | |
34 | |
35 Frequently asked questions are answered online: | |
369
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
36 http://www.libsdl.org/faq.php |
0 | 37 |
38 If you need help with the library, or just want to discuss SDL related | |
39 issues, you can join the developers mailing list: | |
369
e405cf8bf580
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
362
diff
changeset
|
40 http://www.libsdl.org/mailing-list.php |
0 | 41 |
42 Enjoy! | |
43 Sam Lantinga (slouken@libsdl.org) | |
44 |