Commit fbce506d authored by Sam Lantinga's avatar Sam Lantinga

Updated SDL HTML documentation

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40804
parent 83ca4b6c
......@@ -4,7 +4,7 @@
>Audio</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -32,6 +32,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -49,6 +50,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdljoystickclose.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -62,6 +64,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlaudiospec.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -74,8 +77,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="AUDIO"
>Chapter 10. Audio</A
></H1
></A
>Chapter 10. Audio</H1
><DIV
CLASS="TOC"
><DL
......@@ -87,67 +90,67 @@ CLASS="TOC"
><A
HREF="sdlaudiospec.html"
>SDL_AudioSpec</A
> &#8212; Audio Specification Structure</DT
>&nbsp;--&nbsp;Audio Specification Structure</DT
><DT
><A
HREF="sdlopenaudio.html"
>SDL_OpenAudio</A
> &#8212; Opens the audio device with the desired parameters.</DT
>&nbsp;--&nbsp;Opens the audio device with the desired parameters.</DT
><DT
><A
HREF="sdlpauseaudio.html"
>SDL_PauseAudio</A
> &#8212; Pauses and unpauses the audio callback processing</DT
>&nbsp;--&nbsp;Pauses and unpauses the audio callback processing</DT
><DT
><A
HREF="sdlgetaudiostatus.html"
>SDL_GetAudioStatus</A
> &#8212; Get the current audio state</DT
>&nbsp;--&nbsp;Get the current audio state</DT
><DT
><A
HREF="sdlloadwav.html"
>SDL_LoadWAV</A
> &#8212; Load a WAVE file</DT
>&nbsp;--&nbsp;Load a WAVE file</DT
><DT
><A
HREF="sdlfreewav.html"
>SDL_FreeWAV</A
> &#8212; Frees previously opened WAV data</DT
>&nbsp;--&nbsp;Frees previously opened WAV data</DT
><DT
><A
HREF="sdlaudiocvt.html"
>SDL_AudioCVT</A
> &#8212; Audio Conversion Structure</DT
>&nbsp;--&nbsp;Audio Conversion Structure</DT
><DT
><A
HREF="sdlbuildaudiocvt.html"
>SDL_BuildAudioCVT</A
> &#8212; Initializes a SDL_AudioCVT structure for conversion</DT
>&nbsp;--&nbsp;Initializes a SDL_AudioCVT structure for conversion</DT
><DT
><A
HREF="sdlconvertaudio.html"
>SDL_ConvertAudio</A
> &#8212; Convert audio data to a desired audio format.</DT
>&nbsp;--&nbsp;Convert audio data to a desired audio format.</DT
><DT
><A
HREF="sdlmixaudio.html"
>SDL_MixAudio</A
> &#8212; Mix audio data</DT
>&nbsp;--&nbsp;Mix audio data</DT
><DT
><A
HREF="sdllockaudio.html"
>SDL_LockAudio</A
> &#8212; Lock out the callback function</DT
>&nbsp;--&nbsp;Lock out the callback function</DT
><DT
><A
HREF="sdlunlockaudio.html"
>SDL_UnlockAudio</A
> &#8212; Unlock the callback function</DT
>&nbsp;--&nbsp;Unlock the callback function</DT
><DT
><A
HREF="sdlcloseaudio.html"
>SDL_CloseAudio</A
> &#8212; Shuts down audio processing and closes the audio device.</DT
>&nbsp;--&nbsp;Shuts down audio processing and closes the audio device.</DT
></DL
></DIV
><P
......@@ -177,6 +180,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -188,6 +192,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdljoystickclose.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -196,6 +201,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -204,6 +210,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlaudiospec.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -219,6 +226,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>CD-ROM</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -32,6 +32,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -49,6 +50,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlcloseaudio.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -62,6 +64,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlcdnumdrives.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -74,8 +77,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="CDROM"
>Chapter 11. CD-ROM</A
></H1
></A
>Chapter 11. CD-ROM</H1
><DIV
CLASS="TOC"
><DL
......@@ -87,67 +90,67 @@ CLASS="TOC"
><A
HREF="sdlcdnumdrives.html"
>SDL_CDNumDrives</A
> &#8212; Returns the number of CD-ROM drives on the system.</DT
>&nbsp;--&nbsp;Returns the number of CD-ROM drives on the system.</DT
><DT
><A
HREF="sdlcdname.html"
>SDL_CDName</A
> &#8212; Returns a human-readable, system-dependent identifier for the CD-ROM.</DT
>&nbsp;--&nbsp;Returns a human-readable, system-dependent identifier for the CD-ROM.</DT
><DT
><A
HREF="sdlcdopen.html"
>SDL_CDOpen</A
> &#8212; Opens a CD-ROM drive for access.</DT
>&nbsp;--&nbsp;Opens a CD-ROM drive for access.</DT
><DT
><A
HREF="sdlcdstatus.html"
>SDL_CDStatus</A
> &#8212; Returns the current status of the given drive.</DT
>&nbsp;--&nbsp;Returns the current status of the given drive.</DT
><DT
><A
HREF="sdlcdplay.html"
>SDL_CDPlay</A
> &#8212; Play a CD</DT
>&nbsp;--&nbsp;Play a CD</DT
><DT
><A
HREF="sdlcdplaytracks.html"
>SDL_CDPlayTracks</A
> &#8212; Play the given CD track(s)</DT
>&nbsp;--&nbsp;Play the given CD track(s)</DT
><DT
><A
HREF="sdlcdpause.html"
>SDL_CDPause</A
> &#8212; Pauses a CDROM</DT
>&nbsp;--&nbsp;Pauses a CDROM</DT
><DT
><A
HREF="sdlcdresume.html"
>SDL_CDResume</A
> &#8212; Resumes a CDROM</DT
>&nbsp;--&nbsp;Resumes a CDROM</DT
><DT
><A
HREF="sdlcdstop.html"
>SDL_CDStop</A
> &#8212; Stops a CDROM</DT
>&nbsp;--&nbsp;Stops a CDROM</DT
><DT
><A
HREF="sdlcdeject.html"
>SDL_CDEject</A
> &#8212; Ejects a CDROM</DT
>&nbsp;--&nbsp;Ejects a CDROM</DT
><DT
><A
HREF="sdlcdclose.html"
>SDL_CDClose</A
> &#8212; Closes a SDL_CD handle</DT
>&nbsp;--&nbsp;Closes a SDL_CD handle</DT
><DT
><A
HREF="sdlcd.html"
>SDL_CD</A
> &#8212; CDROM Drive Information</DT
>&nbsp;--&nbsp;CDROM Drive Information</DT
><DT
><A
HREF="sdlcdtrack.html"
>SDL_CDtrack</A
> &#8212; CD Track Information Structure</DT
>&nbsp;--&nbsp;CD Track Information Structure</DT
></DL
></DIV
><P
......@@ -195,6 +198,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -206,6 +210,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlcloseaudio.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -214,6 +219,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -222,6 +228,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlcdnumdrives.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -237,6 +244,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Events</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -32,6 +32,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -49,6 +50,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlwmgrabinput.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -62,6 +64,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="eventstructures.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -74,8 +77,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="EVENT"
>Chapter 8. Events</A
></H1
></A
>Chapter 8. Events</H1
><DIV
CLASS="TOC"
><DL
......@@ -85,7 +88,7 @@ CLASS="TOC"
></DT
><DT
><A
HREF="event.html#AEN3307"
HREF="event.html#AEN3691"
>Introduction</A
></DT
><DT
......@@ -105,9 +108,9 @@ CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN3307"
>Introduction</A
></H1
NAME="AEN3691"
></A
>Introduction</H1
><P
>Event handling allows your application to receive input from the user. Event handling is initalised (along with video) with a call to:
<PRE
......@@ -151,6 +154,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -162,6 +166,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlwmgrabinput.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -170,6 +175,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -178,6 +184,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="eventstructures.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -193,6 +200,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Event Functions.</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlkey.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlpumpevents.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="EVENTFUNCTIONS"
>Event Functions.</A
></H1
></A
>Event Functions.</H1
><DIV
CLASS="TOC"
><DL
......@@ -84,99 +87,99 @@ CLASS="TOC"
><A
HREF="sdlpumpevents.html"
>SDL_PumpEvents</A
> &#8212; Pumps the event loop, gathering events from the input devices.</DT
>&nbsp;--&nbsp;Pumps the event loop, gathering events from the input devices.</DT
><DT
><A
HREF="sdlpeepevents.html"
>SDL_PeepEvents</A
> &#8212; Checks the event queue for messages and optionally returns them.</DT
>&nbsp;--&nbsp;Checks the event queue for messages and optionally returns them.</DT
><DT
><A
HREF="sdlpollevent.html"
>SDL_PollEvent</A
> &#8212; Polls for currently pending events.</DT
>&nbsp;--&nbsp;Polls for currently pending events.</DT
><DT
><A
HREF="sdlwaitevent.html"
>SDL_WaitEvent</A
> &#8212; Waits indefinitely for the next available event.</DT
>&nbsp;--&nbsp;Waits indefinitely for the next available event.</DT
><DT
><A
HREF="sdlpushevent.html"
>SDL_PushEvent</A
> &#8212; Pushes an event onto the event queue</DT
>&nbsp;--&nbsp;Pushes an event onto the event queue</DT
><DT
><A
HREF="sdlseteventfilter.html"
>SDL_SetEventFilter</A
> &#8212; Sets up a filter to process all events before they are posted
>&nbsp;--&nbsp;Sets up a filter to process all events before they are posted
to the event queue.</DT
><DT
><A
HREF="sdlgeteventfilter.html"
>SDL_GetEventFilter</A
> &#8212; Retrieves a pointer to he event filter</DT
>&nbsp;--&nbsp;Retrieves a pointer to he event filter</DT
><DT
><A
HREF="sdleventstate.html"
>SDL_EventState</A
> &#8212; This function allows you to set the state of processing certain events.</DT
>&nbsp;--&nbsp;This function allows you to set the state of processing certain events.</DT
><DT
><A
HREF="sdlgetkeystate.html"
>SDL_GetKeyState</A
> &#8212; Get a snapshot of the current keyboard state</DT
>&nbsp;--&nbsp;Get a snapshot of the current keyboard state</DT
><DT
><A
HREF="sdlgetmodstate.html"
>SDL_GetModState</A
> &#8212; Get the state of modifier keys.</DT
>&nbsp;--&nbsp;Get the state of modifier keys.</DT
><DT
><A
HREF="sdlsetmodstate.html"
>SDL_SetModState</A
> &#8212; Set the current key modifier state</DT
>&nbsp;--&nbsp;Set the current key modifier state</DT
><DT
><A
HREF="sdlgetkeyname.html"
>SDL_GetKeyName</A
> &#8212; Get the name of an SDL virtual keysym</DT
>&nbsp;--&nbsp;Get the name of an SDL virtual keysym</DT
><DT
><A
HREF="sdlenableunicode.html"
>SDL_EnableUNICODE</A
> &#8212; Enable UNICODE translation</DT
>&nbsp;--&nbsp;Enable UNICODE translation</DT
><DT
><A
HREF="sdlenablekeyrepeat.html"
>SDL_EnableKeyRepeat</A
> &#8212; Set keyboard repeat rate.</DT
>&nbsp;--&nbsp;Set keyboard repeat rate.</DT
><DT
><A
HREF="sdlgetmousestate.html"
>SDL_GetMouseState</A
> &#8212; Retrieve the current state of the mouse</DT
>&nbsp;--&nbsp;Retrieve the current state of the mouse</DT
><DT
><A
HREF="sdlgetrelativemousestate.html"
>SDL_GetRelativeMouseState</A
> &#8212; Retrieve the current state of the mouse</DT
>&nbsp;--&nbsp;Retrieve the current state of the mouse</DT
><DT
><A
HREF="sdlgetappstate.html"
>SDL_GetAppState</A
> &#8212; Get the state of the application</DT
>&nbsp;--&nbsp;Get the state of the application</DT
><DT
><A
HREF="sdljoystickeventstate.html"
>SDL_JoystickEventState</A
> &#8212; Enable/disable joystick event polling</DT
>&nbsp;--&nbsp;Enable/disable joystick event polling</DT
></DL
></DIV
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN4928"
NAME="AEN5312"
></A
><P
></P
......@@ -416,6 +419,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -427,6 +431,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlkey.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -435,6 +440,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -443,6 +449,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlpumpevents.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -458,6 +465,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="event.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL Event Structures.</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="event.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlevent.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="EVENTSTRUCTURES"
>SDL Event Structures.</A
></H1
></A
>SDL Event Structures.</H1
><DIV
CLASS="TOC"
><DL
......@@ -84,82 +87,82 @@ CLASS="TOC"
><A
HREF="sdlevent.html"
>SDL_Event</A
> &#8212; General event structure</DT
>&nbsp;--&nbsp;General event structure</DT
><DT
><A
HREF="sdlactiveevent.html"
>SDL_ActiveEvent</A
> &#8212; Application visibility event structure</DT
>&nbsp;--&nbsp;Application visibility event structure</DT
><DT
><A
HREF="sdlkeyboardevent.html"
>SDL_KeyboardEvent</A
> &#8212; Keyboard event structure</DT
>&nbsp;--&nbsp;Keyboard event structure</DT
><DT
><A
HREF="sdlmousemotionevent.html"
>SDL_MouseMotionEvent</A
> &#8212; Mouse motion event structure</DT
>&nbsp;--&nbsp;Mouse motion event structure</DT
><DT
><A
HREF="sdlmousebuttonevent.html"
>SDL_MouseButtonEvent</A
> &#8212; Mouse button event structure</DT
>&nbsp;--&nbsp;Mouse button event structure</DT
><DT
><A
HREF="sdljoyaxisevent.html"
>SDL_JoyAxisEvent</A
> &#8212; Joystick axis motion event structure</DT
>&nbsp;--&nbsp;Joystick axis motion event structure</DT
><DT
><A
HREF="sdljoybuttonevent.html"
>SDL_JoyButtonEvent</A
> &#8212; Joystick button event structure</DT
>&nbsp;--&nbsp;Joystick button event structure</DT
><DT
><A
HREF="sdljoyhatevent.html"
>SDL_JoyHatEvent</A
> &#8212; Joystick hat position change event structure</DT
>&nbsp;--&nbsp;Joystick hat position change event structure</DT
><DT
><A
HREF="sdljoyballevent.html"
>SDL_JoyBallEvent</A
> &#8212; Joystick trackball motion event structure</DT
>&nbsp;--&nbsp;Joystick trackball motion event structure</DT
><DT
><A
HREF="sdlresizeevent.html"
>SDL_ResizeEvent</A
> &#8212; Window resize event structure</DT
>&nbsp;--&nbsp;Window resize event structure</DT
><DT
><A
HREF="sdlexposeevent.html"
>SDL_ExposeEvent</A
> &#8212; Quit requested event</DT
>&nbsp;--&nbsp;Quit requested event</DT
><DT
><A
HREF="sdlsyswmevent.html"
>SDL_SysWMEvent</A
> &#8212; Platform-dependent window manager event.</DT
>&nbsp;--&nbsp;Platform-dependent window manager event.</DT
><DT
><A
HREF="sdluserevent.html"
>SDL_UserEvent</A
> &#8212; A user-defined event type</DT
>&nbsp;--&nbsp;A user-defined event type</DT
><DT
><A
HREF="sdlquitevent.html"
>SDL_QuitEvent</A
> &#8212; Quit requested event</DT
>&nbsp;--&nbsp;Quit requested event</DT
><DT
><A
HREF="sdlkeysym.html"
>SDL_keysym</A
> &#8212; Keysym structure</DT
>&nbsp;--&nbsp;Keysym structure</DT
><DT
><A
HREF="sdlkey.html"
>SDLKey</A
> &#8212; Keysym definitions.</DT
>&nbsp;--&nbsp;Keysym definitions.</DT
></DL
></DIV
></DIV
......@@ -168,6 +171,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -179,6 +183,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="event.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -187,6 +192,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -195,6 +201,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlevent.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -210,6 +217,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="event.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>General</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -32,6 +32,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -49,6 +50,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="reference.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -62,6 +64,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlinit.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -74,8 +77,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="GENERAL"
>Chapter 5. General</A
></H1
></A
>Chapter 5. General</H1
><DIV
CLASS="TOC"
><DL
......@@ -87,32 +90,37 @@ CLASS="TOC"
><A
HREF="sdlinit.html"
>SDL_Init</A
> &#8212; Initializes SDL</DT
>&nbsp;--&nbsp;Initializes SDL</DT
><DT
><A
HREF="sdlinitsubsystem.html"
>SDL_InitSubSystem</A
> &#8212; Initialize subsystems</DT
>&nbsp;--&nbsp;Initialize subsystems</DT
><DT
><A
HREF="sdlquitsubsystem.html"
>SDL_QuitSubSystem</A
> &#8212; Shut down a subsystem</DT
>&nbsp;--&nbsp;Shut down a subsystem</DT
><DT
><A
HREF="sdlquit.html"
>SDL_Quit</A
> &#8212; Shut down SDL</DT
>&nbsp;--&nbsp;Shut down SDL</DT
><DT
><A
HREF="sdlwasinit.html"
>SDL_WasInit</A
> &#8212; Check which subsystems are initialized</DT
>&nbsp;--&nbsp;Check which subsystems are initialized</DT
><DT
><A
HREF="sdlgeterror.html"
>SDL_GetError</A
> &#8212; Get SDL error string</DT
>&nbsp;--&nbsp;Get SDL error string</DT
><DT
><A
HREF="sdlenvvars.html"
>SDL_envvars</A
>&nbsp;--&nbsp;SDL environment variables</DT
></DL
></DIV
><P
......@@ -155,6 +163,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -166,6 +175,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -174,6 +184,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -182,6 +193,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlinit.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -197,6 +209,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL Guide</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -25,6 +25,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -42,6 +43,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="index.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -55,6 +57,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidepreface.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -113,6 +116,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -124,6 +128,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -132,6 +137,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -140,6 +146,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidepreface.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......
......@@ -4,7 +4,7 @@
>About SDLdoc</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidepreface.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidecredits.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEABOUTSDLDOC"
>About SDLdoc</A
></H1
></A
>About SDLdoc</H1
><P
>SDLdoc (The SDL Documentation Project) was formed to completely rewrite the SDL documentation and to keep it continually up to date. The team consists completely of volunteers ranging from people working with SDL in their spare time to people who use SDL in their everyday working lives.</P
><P
......@@ -83,6 +86,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -94,6 +98,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidepreface.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -102,6 +107,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -110,6 +116,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidecredits.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -125,6 +132,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guidepreface.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Audio Examples</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideeventexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidecdromexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEAUDIOEXAMPLES"
>Audio Examples</A
></H1
></A
>Audio Examples</H1
><P
></P
><DIV
......@@ -81,8 +84,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN382"
>Opening the audio device</A
></H2
></A
>Opening the audio device</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -111,8 +114,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN386"
>Playing audio</A
></H2
></A
>Playing audio</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -163,6 +166,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -174,6 +178,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideeventexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -182,6 +187,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -190,6 +196,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidecdromexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -205,6 +212,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Initializing SDL</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidethebasics.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidevideo.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEBASICSINIT"
>Initializing SDL</A
></H1
></A
>Initializing SDL</H1
><P
>SDL is composed of eight subsystems - Audio, CDROM, Event Handling, File I/O, Joystick Handling, Threading, Timers and Video. Before you can use any of these subsystems they must be initialized by calling <A
HREF="sdlinit.html"
......@@ -147,7 +150,7 @@ CLASS="PROGRAMLISTING"
>#include "SDL.h" /* All SDL App's need this */
#include &#60;stdio.h&#62;
int main() {
int main(int argc, char *argv[]) {
printf("Initializing SDL.\n");
......@@ -175,6 +178,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -186,6 +190,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidethebasics.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -194,6 +199,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -202,6 +208,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidevideo.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -217,6 +224,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guidethebasics.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>CDROM Examples</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideaudioexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidetimeexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDECDROMEXAMPLES"
>CDROM Examples</A
></H1
></A
>CDROM Examples</H1
><P
></P
><DIV
......@@ -81,8 +84,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN393"
>Listing CD-ROM drives</A
></H2
></A
>Listing CD-ROM drives</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -108,8 +111,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN397"
>Opening the default drive</A
></H2
></A
>Opening the default drive</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -157,8 +160,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN401"
>Listing the tracks on a CD</A
></H2
></A
>Listing the tracks on a CD</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -183,8 +186,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN405"
>Play an entire CD</A
></H2
></A
>Play an entire CD</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -210,6 +213,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -221,6 +225,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideaudioexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -229,6 +234,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -237,6 +243,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidetimeexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -252,6 +259,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Credits</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideaboutsdldoc.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidethebasics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDECREDITS"
>Credits</A
></H1
></A
>Credits</H1
><P
><P
></P
......@@ -130,6 +133,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -141,6 +145,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideaboutsdldoc.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -149,6 +154,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -157,6 +163,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidethebasics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -172,6 +179,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guidepreface.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Event Examples</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideaudioexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEEVENTEXAMPLES"
>Event Examples</A
></H1
></A
>Event Examples</H1
><P
></P
><DIV
......@@ -81,8 +84,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN375"
>Filtering and Handling Events</A
></H2
></A
>Filtering and Handling Events</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -182,6 +185,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -193,6 +197,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -201,6 +206,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -209,6 +215,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideaudioexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -224,6 +231,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Examples</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideinputkeyboard.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideeventexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -70,8 +73,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="GUIDEEXAMPLES"
>Chapter 4. Examples</A
></H1
></A
>Chapter 4. Examples</H1
><DIV
CLASS="TOC"
><DL
......@@ -112,8 +115,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="AEN369"
>Introduction</A
></H1
></A
>Introduction</H1
><P
>For the moment these examples are taken directly from the old SDL documentation. By the 1.2 release these examples should hopefully deal with most common SDL programming problems.</P
></DIV
......@@ -123,6 +126,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -134,6 +138,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideinputkeyboard.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -142,6 +147,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -150,6 +156,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideeventexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -165,6 +172,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Input handling</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidevideoopengl.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideinputkeyboard.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -70,8 +73,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="GUIDEINPUT"
>Chapter 3. Input handling</A
></H1
></A
>Chapter 3. Input handling</H1
><DIV
CLASS="TOC"
><DL
......@@ -97,16 +100,16 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEINPUTJOYSTICK"
>Handling Joysticks</A
></H1
></A
>Handling Joysticks</H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN135"
>Initialization</A
></H2
></A
>Initialization</H2
><P
>The first step in using a joystick in a SDL program is to initialize the Joystick subsystems of SDL. This done by passing the <TT
CLASS="LITERAL"
......@@ -144,8 +147,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN145"
>Querying</A
></H2
></A
>Querying</H2
><P
>If we have reached this point then we can safely assume that the SDL library has been initialized and that the Joystick subsystem is active. We can now call some video and/or sound functions to get things going before we need the joystick. Eventually we have to make sure that there is actually a joystick to work with. It's wise to always check even if you know a joystick will be present on the system because it can also help detect when the joystick is unplugged. The function used to check for joysticks is <A
HREF="sdlnumjoysticks.html"
......@@ -191,8 +194,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN157"
>Opening a Joystick and Receiving Joystick Events</A
></H2
></A
>Opening a Joystick and Receiving Joystick Events</H2
><P
>SDL's event driven architecture makes working with joysticks a snap. Joysticks can trigger 4 different types of events:
<P
......@@ -433,8 +436,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN214"
>Advanced Joystick Functions</A
></H2
></A
>Advanced Joystick Functions</H2
><P
>That takes care of the controls that you can count on being on every joystick under the sun, but there are a few extra things that SDL can support. Joyballs are next on our list, they are alot like axis with a few minor differences. Joyballs store relative changes unlike the the absolute postion stored in a axis event. Also one trackball event contains both the change in x and they change in y. Our case for it is as follows:</P
><DIV
......@@ -569,17 +572,17 @@ NAME="AEN244"
><PRE
CLASS="PROGRAMLISTING"
> case SDL_JOYHATMOTION: /* Handle Hat Motion */
if ( event.jhat.hat &#38; SDL_HAT_UP )
if ( event.jhat.value &#38; SDL_HAT_UP )
{
/* Do up stuff here */
}
if ( event.jhat.hat &#38; SDL_HAT_LEFT )
if ( event.jhat.value &#38; SDL_HAT_LEFT )
{
/* Do left stuff here */
}
if ( event.jhat.hat &#38; SDL_HAT_RIGHTDOWN )
if ( event.jhat.value &#38; SDL_HAT_RIGHTDOWN )
{
/* Do right and down together stuff here */
}
......@@ -674,6 +677,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -685,6 +689,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidevideoopengl.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -693,6 +698,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -701,6 +707,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideinputkeyboard.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -716,6 +723,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Handling the Keyboard</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guideinput.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,16 +74,16 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEINPUTKEYBOARD"
>Handling the Keyboard</A
></H1
></A
>Handling the Keyboard</H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN271"
>Keyboard Related Structures</A
></H2
></A
>Keyboard Related Structures</H2
><P
>It should make it a lot easier to understand this tutorial is you are familiar with the data types involved in keyboard access, so I'll explain them first.</P
><DIV
......@@ -89,8 +92,8 @@ CLASS="SECT3"
CLASS="SECT3"
><A
NAME="AEN274"
>SDLKey</A
></H3
></A
>SDLKey</H3
><P
><SPAN
CLASS="STRUCTNAME"
......@@ -115,8 +118,8 @@ CLASS="SECT3"
CLASS="SECT3"
><A
NAME="AEN282"
>SDLMod</A
></H3
></A
>SDLMod</H3
><P
>SDLMod is an enumerated type, similar to <SPAN
CLASS="STRUCTNAME"
......@@ -135,8 +138,8 @@ CLASS="SECT3"
CLASS="SECT3"
><A
NAME="AEN288"
>SDL_keysym</A
></H3
></A
>SDL_keysym</H3
><PRE
CLASS="PROGRAMLISTING"
>typedef struct{
......@@ -216,8 +219,8 @@ CLASS="SECT3"
CLASS="SECT3"
><A
NAME="AEN307"
>SDL_KeyboardEvent</A
></H3
></A
>SDL_KeyboardEvent</H3
><PRE
CLASS="PROGRAMLISTING"
>typedef struct{
......@@ -284,8 +287,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN324"
>Reading Keyboard Events</A
></H2
></A
>Reading Keyboard Events</H2
><P
>Reading keybaord events from the event queue is quite simple (the event queue and using it is described <A
HREF="sdlevent.html"
......@@ -353,8 +356,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN338"
>A More Detailed Look</A
></H2
></A
>A More Detailed Look</H2
><P
>Before we can read events SDL must be initialised with <A
HREF="sdlinit.html"
......@@ -529,8 +532,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN354"
>Game-type Input</A
></H2
></A
>Game-type Input</H2
><P
>I have found that people using keyboard events for games and other interactive applications don't always understand one fundemental point.</P
><A
......@@ -539,13 +542,16 @@ NAME="AEN357"
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><P
>Keyboard events <I
>Keyboard events <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>only</I
></SPAN
> take place when a keys state changes from being unpressed to pressed, and vice versa.</P
></BLOCKQUOTE
><P
>Imagine you have an image of an alien that you wish to move around using the cursor keys - when you pressed the left arrow key you want him to slide over to the left, when you press the down key you want him to slide down the screen. Examine the following code, it highlights and error that many people have made.
>Imagine you have an image of an alien that you wish to move around using the cursor keys: when you pressed the left arrow key you want him to slide over to the left, and when you press the down key you want him to slide down the screen. Examine the following code; it highlights an error that many people have made.
<PRE
CLASS="PROGRAMLISTING"
> /* Alien screen coordinates */
......@@ -678,6 +684,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -689,6 +696,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guideinput.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -697,6 +705,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -705,6 +714,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -720,6 +730,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guideinput.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Preface</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guide.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideaboutsdldoc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -70,8 +73,8 @@ CLASS="PREFACE"
><H1
><A
NAME="GUIDEPREFACE"
>Preface</A
></H1
></A
>Preface</H1
><DIV
CLASS="TOC"
><DL
......@@ -102,8 +105,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEABOUTSDL"
>About SDL</A
></H1
></A
>About SDL</H1
><P
>The SDL library is designed to make it easy to write games that run on Linux, *BSD, MacOS, Win32 and BeOS using the various native high-performance media interfaces, (for video, audio, etc) and presenting a single source-code level API to your application. SDL is a fairly low level API, but using it, completely portable applications can be written with a great deal of flexibility.</P
></DIV
......@@ -113,6 +116,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -124,6 +128,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -132,6 +137,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -140,6 +146,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideaboutsdldoc.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -155,6 +162,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>The Basics</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidecredits.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidebasicsinit.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -70,8 +73,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="GUIDETHEBASICS"
>Chapter 1. The Basics</A
></H1
></A
>Chapter 1. The Basics</H1
><DIV
CLASS="TOC"
><DL
......@@ -97,8 +100,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEINTRODUCTION"
>Introduction</A
></H1
></A
>Introduction</H1
><P
>The SDL Guide section is pretty incomplete. If you feel you have anything to add mail akawaka@skynet.ie or visit http://akawaka.csn.ul.ie/tne/.</P
></DIV
......@@ -108,6 +111,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -119,6 +123,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidecredits.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -127,6 +132,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -135,6 +141,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidebasicsinit.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -150,6 +157,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Time Examples</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidecdromexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="reference.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDETIMEEXAMPLES"
>Time Examples</A
></H1
></A
>Time Examples</H1
><P
></P
><DIV
......@@ -81,8 +84,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN412"
>Time based game loop</A
></H2
></A
>Time based game loop</H2
><P
><PRE
CLASS="PROGRAMLISTING"
......@@ -118,6 +121,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -129,6 +133,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidecdromexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -137,6 +142,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -145,6 +151,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -160,6 +167,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guideexamples.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>Graphics and Video</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidebasicsinit.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guidevideoopengl.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -70,8 +73,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="GUIDEVIDEO"
>Chapter 2. Graphics and Video</A
></H1
></A
>Chapter 2. Graphics and Video</H1
><DIV
CLASS="TOC"
><DL
......@@ -97,8 +100,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEVIDEOINTRO"
>Introduction to SDL Video</A
></H1
></A
>Introduction to SDL Video</H1
><P
>Video is probably the most common thing that SDL is used for, and
so it has the most complete subsystem. Here are a few
......@@ -109,8 +112,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN68"
>Initializing the Video Display</A
></H2
></A
>Initializing the Video Display</H2
><P
>This is what almost all SDL programs have to do in one way or
another.</P
......@@ -155,8 +158,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN74"
>Initializing the Best Video Mode</A
></H2
></A
>Initializing the Best Video Mode</H2
><P
>If you have a preference for a certain pixel depth but will accept any
other, use SDL_SetVideoMode with SDL_ANYFORMAT as below. You can also
......@@ -190,8 +193,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN80"
>Loading and Displaying a BMP File</A
></H2
></A
>Loading and Displaying a BMP File</H2
><P
>The following function loads and displays a BMP file given as
argument, once SDL is initialised and a video mode has been set.</P
......@@ -244,8 +247,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN86"
>Drawing Directly to the Display</A
></H2
></A
>Drawing Directly to the Display</H2
><P
>The following two functions can be used to get and set single
pixels of a surface. They are carefully written to work with any depth
......@@ -398,6 +401,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -409,6 +413,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidebasicsinit.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -417,6 +422,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -425,6 +431,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guidevideoopengl.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -440,6 +447,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guide.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
This diff is collapsed.
......@@ -4,7 +4,7 @@
>Using OpenGL With SDL</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidevideo.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="guideinput.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -71,8 +74,8 @@ CLASS="SECT1"
CLASS="SECT1"
><A
NAME="GUIDEVIDEOOPENGL"
>Using OpenGL With SDL</A
></H1
></A
>Using OpenGL With SDL</H1
><P
>SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, MacOS X, FreeBSD/X11 and Solaris/X11). This allows you to use SDL's audio, event handling, threads and times in your OpenGL applications (a function often performed by GLUT).</P
><DIV
......@@ -81,8 +84,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN103"
>Initialisation</A
></H2
></A
>Initialisation</H2
><P
>Initialising SDL to use OpenGL is not very different to initialising SDL normally. There are three differences; you must pass <TT
CLASS="LITERAL"
......@@ -99,9 +102,12 @@ HREF="sdlglsetattribute.html"
CLASS="FUNCTION"
>SDL_GL_SetAttribute</TT
></A
> and finally, if you wish to use double buffering you must specify it as a GL attribute, <I
> and finally, if you wish to use double buffering you must specify it as a GL attribute, <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>not</I
></SPAN
> by passing the <TT
CLASS="LITERAL"
>SDL_DOUBLEBUF</TT
......@@ -216,8 +222,8 @@ CLASS="SECT2"
CLASS="SECT2"
><A
NAME="AEN117"
>Drawing</A
></H2
></A
>Drawing</H2
><P
>Apart from initialisation, using OpenGL within SDL is the same as using OpenGL
with any other API, e.g. GLUT. You still use all the same function calls and
......@@ -662,6 +668,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -673,6 +680,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidevideo.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -681,6 +689,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -689,6 +698,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="guideinput.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -704,6 +714,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="guidevideo.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
This diff is collapsed.
......@@ -4,7 +4,7 @@
>Joystick</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -32,6 +32,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -49,6 +50,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdljoystickeventstate.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -62,6 +64,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlnumjoysticks.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -74,8 +77,8 @@ CLASS="CHAPTER"
><H1
><A
NAME="JOYSTICK"
>Chapter 9. Joystick</A
></H1
></A
>Chapter 9. Joystick</H1
><DIV
CLASS="TOC"
><DL
......@@ -87,77 +90,77 @@ CLASS="TOC"
><A
HREF="sdlnumjoysticks.html"
>SDL_NumJoysticks</A
> &#8212; Count available joysticks.</DT
>&nbsp;--&nbsp;Count available joysticks.</DT
><DT
><A
HREF="sdljoystickname.html"
>SDL_JoystickName</A
> &#8212; Get joystick name.</DT
>&nbsp;--&nbsp;Get joystick name.</DT
><DT
><A
HREF="sdljoystickopen.html"
>SDL_JoystickOpen</A
> &#8212; Opens a joystick for use.</DT
>&nbsp;--&nbsp;Opens a joystick for use.</DT
><DT
><A
HREF="sdljoystickopened.html"
>SDL_JoystickOpened</A
> &#8212; Determine if a joystick has been opened</DT
>&nbsp;--&nbsp;Determine if a joystick has been opened</DT
><DT
><A
HREF="sdljoystickindex.html"
>SDL_JoystickIndex</A
> &#8212; Get the index of an SDL_Joystick.</DT
>&nbsp;--&nbsp;Get the index of an SDL_Joystick.</DT
><DT
><A
HREF="sdljoysticknumaxes.html"
>SDL_JoystickNumAxes</A
> &#8212; Get the number of joystick axes</DT
>&nbsp;--&nbsp;Get the number of joystick axes</DT
><DT
><A
HREF="sdljoysticknumballs.html"
>SDL_JoystickNumBalls</A
> &#8212; Get the number of joystick trackballs</DT
>&nbsp;--&nbsp;Get the number of joystick trackballs</DT
><DT
><A
HREF="sdljoysticknumhats.html"
>SDL_JoystickNumHats</A
> &#8212; Get the number of joystick hats</DT
>&nbsp;--&nbsp;Get the number of joystick hats</DT
><DT
><A
HREF="sdljoysticknumbuttons.html"
>SDL_JoystickNumButtons</A
> &#8212; Get the number of joysitck buttons</DT
>&nbsp;--&nbsp;Get the number of joysitck buttons</DT
><DT
><A
HREF="sdljoystickupdate.html"
>SDL_JoystickUpdate</A
> &#8212; Updates the state of all joysticks</DT
>&nbsp;--&nbsp;Updates the state of all joysticks</DT
><DT
><A
HREF="sdljoystickgetaxis.html"
>SDL_JoystickGetAxis</A
> &#8212; Get the current state of an axis</DT
>&nbsp;--&nbsp;Get the current state of an axis</DT
><DT
><A
HREF="sdljoystickgethat.html"
>SDL_JoystickGetHat</A
> &#8212; Get the current state of a joystick hat</DT
>&nbsp;--&nbsp;Get the current state of a joystick hat</DT
><DT
><A
HREF="sdljoystickgetbutton.html"
>SDL_JoystickGetButton</A
> &#8212; Get the current state of a given button on a given joystick</DT
>&nbsp;--&nbsp;Get the current state of a given button on a given joystick</DT
><DT
><A
HREF="sdljoystickgetball.html"
>SDL_JoystickGetBall</A
> &#8212; Get relative trackball motion</DT
>&nbsp;--&nbsp;Get relative trackball motion</DT
><DT
><A
HREF="sdljoystickclose.html"
>SDL_JoystickClose</A
> &#8212; Closes a previously opened joystick</DT
>&nbsp;--&nbsp;Closes a previously opened joystick</DT
></DL
></DIV
><P
......@@ -200,9 +203,12 @@ CLASS="NOTE"
><P
><B
>Note: </B
>If you are <I
>If you are <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>not</I
></SPAN
> handling the joystick via the event queue then you must explicitly request a joystick update by calling <A
HREF="sdljoystickupdate.html"
><TT
......@@ -228,6 +234,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -239,6 +246,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdljoystickeventstate.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -247,6 +255,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -255,6 +264,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlnumjoysticks.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -270,6 +280,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="reference.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL Reference</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -25,6 +25,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -42,6 +43,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="guidetimeexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -55,6 +57,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="general.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -133,6 +136,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -144,6 +148,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="guidetimeexamples.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -152,6 +157,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -160,6 +166,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="general.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......
......@@ -4,7 +4,7 @@
>SDL_ActiveEvent</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlevent.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlkeyboardevent.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLACTIVEEVENT"
>SDL_ActiveEvent</A
></H1
></A
>SDL_ActiveEvent</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN3571"
NAME="AEN3955"
></A
><H2
>Name</H2
......@@ -81,7 +84,7 @@ NAME="AEN3571"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN3574"
NAME="AEN3958"
></A
><H2
>Structure Definition</H2
......@@ -96,14 +99,14 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN3577"
NAME="AEN3961"
></A
><H2
>Structure Data</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN3579"
NAME="AEN3963"
></A
><P
></P
......@@ -187,7 +190,7 @@ CLASS="STRUCTFIELD"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN3600"
NAME="AEN3984"
></A
><H2
>Description</H2
......@@ -245,7 +248,7 @@ CLASS="NOTE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN3616"
NAME="AEN4000"
></A
><H2
>See Also</H2
......@@ -270,6 +273,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -281,6 +285,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlevent.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -289,6 +294,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -297,6 +303,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlkeyboardevent.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -312,6 +319,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="eventstructures.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_AddTimer</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdldelay.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlremovetimer.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLADDTIMER"
>SDL_AddTimer</A
></H1
></A
>SDL_AddTimer</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN8094"
NAME="AEN8482"
></A
><H2
>Name</H2
......@@ -82,14 +85,14 @@ elapsed.</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN8097"
NAME="AEN8485"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN8098"
NAME="AEN8486"
></A
><P
></P
......@@ -125,7 +128,7 @@ typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);</PRE
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8107"
NAME="AEN8495"
></A
><H2
>Description</H2
......@@ -179,7 +182,7 @@ HREF="sdlinit.html"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8119"
NAME="AEN8507"
></A
><H2
>Return Value</H2
......@@ -193,7 +196,7 @@ CLASS="RETURNVALUE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8123"
NAME="AEN8511"
></A
><H2
>Examples</H2
......@@ -206,7 +209,7 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN8127"
NAME="AEN8515"
></A
><H2
>See Also</H2
......@@ -231,6 +234,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -242,6 +246,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdldelay.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -250,6 +255,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -258,6 +264,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlremovetimer.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -273,6 +280,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="time.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_AudioCVT</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlfreewav.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlbuildaudiocvt.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLAUDIOCVT"
>SDL_AudioCVT</A
></H1
></A
>SDL_AudioCVT</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6496"
NAME="AEN6884"
></A
><H2
>Name</H2
......@@ -81,7 +84,7 @@ NAME="AEN6496"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6499"
NAME="AEN6887"
></A
><H2
>Structure Definition</H2
......@@ -104,14 +107,14 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6502"
NAME="AEN6890"
></A
><H2
>Structure Data</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN6504"
NAME="AEN6892"
></A
><P
></P
......@@ -318,7 +321,7 @@ VALIGN="TOP"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6556"
NAME="AEN6944"
></A
><H2
>Description</H2
......@@ -459,7 +462,7 @@ CLASS="STRUCTFIELD"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6601"
NAME="AEN6989"
></A
><H2
>See Also</H2
......@@ -491,6 +494,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -502,6 +506,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlfreewav.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -510,6 +515,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -518,6 +524,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlbuildaudiocvt.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -533,6 +540,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="audio.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_AudioSpec</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="audio.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlopenaudio.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLAUDIOSPEC"
>SDL_AudioSpec</A
></H1
></A
>SDL_AudioSpec</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6119"
NAME="AEN6507"
></A
><H2
>Name</H2
......@@ -81,7 +84,7 @@ NAME="AEN6119"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6122"
NAME="AEN6510"
></A
><H2
>Structure Definition</H2
......@@ -101,14 +104,14 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6125"
NAME="AEN6513"
></A
><H2
>Structure Data</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN6127"
NAME="AEN6515"
></A
><P
></P
......@@ -245,7 +248,7 @@ VALIGN="TOP"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6162"
NAME="AEN6550"
></A
><H2
>Description</H2
......@@ -295,7 +298,7 @@ CLASS="FUNCTION"
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN6176"
NAME="AEN6564"
></A
><P
></P
......@@ -499,7 +502,7 @@ CLASS="STRUCTFIELD"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6251"
NAME="AEN6639"
></A
><H2
>See Also</H2
......@@ -524,6 +527,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -535,6 +539,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="audio.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -543,6 +548,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -551,6 +557,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlopenaudio.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -566,6 +573,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="audio.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_BlitSurface</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlconvertsurface.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlfillrect.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLBLITSURFACE"
>SDL_BlitSurface</A
></H1
></A
>SDL_BlitSurface</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN1915"
NAME="AEN2299"
></A
><H2
>Name</H2
......@@ -81,14 +84,14 @@ NAME="AEN1915"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN1918"
NAME="AEN2302"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN1919"
NAME="AEN2303"
></A
><P
></P
......@@ -112,48 +115,47 @@ CLASS="FSFUNC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN1925"
NAME="AEN2309"
></A
><H2
>Description</H2
><P
>This performs a fast blit from the source surface to the destination surface.</P
><P
>Only the position is used in the <TT
CLASS="PARAMETER"
><I
>dstrect</I
></TT
> (the
width and height are ignored).</P
><P
>If either <TT
>The width and height in <TT
CLASS="PARAMETER"
><I
>srcrect</I
></TT
> or
> determine the
size of the copied rectangle. Only the position is used in the
<TT
CLASS="PARAMETER"
><I
>dstrect</I
></TT
> are <TT
CLASS="LITERAL"
>NULL</TT
>, the entire
surface (<TT
> (the width and height are ignored).</P
><P
>If <TT
CLASS="PARAMETER"
><I
>src</I
>srcrect</I
></TT
> or <TT
> is <TT
CLASS="LITERAL"
>NULL</TT
>, the
entire surface is copied. If <TT
CLASS="PARAMETER"
><I
>dst</I
>dstrect</I
></TT
>) is
copied.</P
> is
<TT
CLASS="LITERAL"
>NULL</TT
>, then the destination position (upper left
corner) is (0, 0).</P
><P
>The final blit rectangle is saved in
<TT
......@@ -200,7 +202,7 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN1944"
NAME="AEN2328"
></A
><H2
>Return Value</H2
......@@ -224,7 +226,7 @@ reloaded with artwork and re-blitted:
CLASS="PROGRAMLISTING"
> while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
while ( SDL_LockSurface(image)) &#60; 0 )
Sleep(10);
SDL_Delay(10);
-- Write image pixels to image-&#62;pixels --
SDL_UnlockSurface(image);
}</PRE
......@@ -236,7 +238,7 @@ have access to the video memory again.</P
><DIV
CLASS="REFSECT1"
><A
NAME="AEN1952"
NAME="AEN2336"
></A
><H2
>See Also</H2
......@@ -275,6 +277,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -286,6 +289,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlconvertsurface.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -294,6 +298,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -302,6 +307,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlfillrect.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -317,6 +323,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="video.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_BuildAudioCVT</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlaudiocvt.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlconvertaudio.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLBUILDAUDIOCVT"
>SDL_BuildAudioCVT</A
></H1
></A
>SDL_BuildAudioCVT</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN6614"
NAME="AEN7002"
></A
><H2
>Name</H2
......@@ -81,14 +84,14 @@ NAME="AEN6614"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN6617"
NAME="AEN7005"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN6618"
NAME="AEN7006"
></A
><P
></P
......@@ -112,7 +115,7 @@ CLASS="FSFUNC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6624"
NAME="AEN7012"
></A
><H2
>Description</H2
......@@ -172,7 +175,7 @@ CLASS="STRUCTNAME"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6640"
NAME="AEN7028"
></A
><H2
>Return Values</H2
......@@ -185,7 +188,7 @@ CLASS="RETURNVALUE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6644"
NAME="AEN7032"
></A
><H2
>Examples</H2
......@@ -201,7 +204,7 @@ CLASS="FUNCTION"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN6649"
NAME="AEN7037"
></A
><H2
>See Also</H2
......@@ -226,6 +229,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -237,6 +241,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlaudiocvt.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -245,6 +250,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -253,6 +259,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlconvertaudio.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -268,6 +275,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="audio.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_CD</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlcdclose.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlcdtrack.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLCD"
>SDL_CD</A
></H1
></A
>SDL_CD</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN7178"
NAME="AEN7566"
></A
><H2
>Name</H2
......@@ -81,7 +84,7 @@ NAME="AEN7178"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7181"
NAME="AEN7569"
></A
><H2
>Structure Definition</H2
......@@ -99,14 +102,14 @@ CLASS="PROGRAMLISTING"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7184"
NAME="AEN7572"
></A
><H2
>Structure Data</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7186"
NAME="AEN7574"
></A
><P
></P
......@@ -222,7 +225,7 @@ CLASS="STRUCTNAME"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7216"
NAME="AEN7604"
></A
><H2
>Description</H2
......@@ -252,7 +255,7 @@ CLASS="LITERAL"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7226"
NAME="AEN7614"
></A
><H2
>Examples</H2
......@@ -269,7 +272,7 @@ frame_offset=MSF_TO_FRAMES(min, sec, frame);</PRE
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7229"
NAME="AEN7617"
></A
><H2
>See Also</H2
......@@ -294,6 +297,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -305,6 +309,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlcdclose.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -313,6 +318,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -321,6 +327,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlcdtrack.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -336,6 +343,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="cdrom.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
......@@ -4,7 +4,7 @@
>SDL_CDClose</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
......@@ -28,6 +28,7 @@ ALINK="#ff0000"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -45,6 +46,7 @@ ALIGN="left"
VALIGN="bottom"
><A
HREF="sdlcdeject.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -58,6 +60,7 @@ ALIGN="right"
VALIGN="bottom"
><A
HREF="sdlcd.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -68,12 +71,12 @@ WIDTH="100%"></DIV
><H1
><A
NAME="SDLCDCLOSE"
>SDL_CDClose</A
></H1
></A
>SDL_CDClose</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN7153"
NAME="AEN7541"
></A
><H2
>Name</H2
......@@ -81,14 +84,14 @@ NAME="AEN7153"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN7156"
NAME="AEN7544"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN7157"
NAME="AEN7545"
></A
><P
></P
......@@ -112,7 +115,7 @@ CLASS="FSFUNC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7163"
NAME="AEN7551"
></A
><H2
>Description</H2
......@@ -127,7 +130,7 @@ CLASS="PARAMETER"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7167"
NAME="AEN7555"
></A
><H2
>See Also</H2
......@@ -152,6 +155,7 @@ CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
......@@ -163,6 +167,7 @@ ALIGN="left"
VALIGN="top"
><A
HREF="sdlcdeject.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
......@@ -171,6 +176,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
......@@ -179,6 +185,7 @@ ALIGN="right"
VALIGN="top"
><A
HREF="sdlcd.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
......@@ -194,6 +201,7 @@ ALIGN="center"
VALIGN="top"
><A
HREF="cdrom.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment