|
Size: 1442
Comment: edit introduction
|
Size: 1876
Comment: ToC test
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 7: | Line 7: |
| <<Color2(green, Which header sizes are preferable? I'm partial to the larger 2)>> | <<Color2(green, Which header sizes are preferable? I'm partial to the larger 2. Would have to be to use a ToC properly - see below.)>> |
| Line 14: | Line 14: |
| <<Color2(green, Do you want a ToC on these pages now that there is more content than just the functions or will the intro material be so short that it is not necessary? Would probably be better if page title isn't in ToC)>> <<TableOfContents()>> == Introduction to Initialization == (header to be used w/ ToC) |
|
| Line 23: | Line 29: |
| == Introduction to Shut Down == (header to be used w/ ToC) |
DRAFT |
green
Initialization & Shutdown (SDL.h)
Initialization & Shutdown (SDL.h)
Functions in this category are used to set up SDL 1.3 for use and generally have global effects in your program.
green
Contents
Introduction to Initialization
(header to be used w/ ToC) Initialization
To begin using SDL in your program SDL_Init() must be called to initialize subsystems and enable use of other SDL functions.
The Event Handling, File I/O, and Threading subsystems are initialized by default. To initialize other subsystems you must specifically call them. Multiple subsystems may be or'd together. Example:
Introduction to Shut Down
(header to be used w/ ToC) Shut Down
SDL_Quit() should be called before an SDL application exits to shut down all subsystems, including the default ones.
It is not necessary to specify individual subsystems when using SDL_Quit(). It will automatically shut down all active subsystems.
Functions
