You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
220 lines
13 KiB
220 lines
13 KiB
10 years ago
|
<!DOCTYPE tdeveloptoc>
|
||
|
<tdeveloptoc>
|
||
|
<title>SDL 1.2</title>
|
||
|
<base href="http://www.libsdl.org/release/SDL-1.2.15/docs/html"/>
|
||
|
<tocsect1 name="I. SDL Guide" url="guide.html">
|
||
|
<tocsect2 name="Preface" url="guidepreface.html">
|
||
|
<tocsect3 name="About SDL" url="guidepreface.html#GUIDEABOUTSDL" />
|
||
|
<tocsect3 name="About SDLdoc" url="guideaboutsdldoc.html" />
|
||
|
<tocsect3 name="Credits" url="guidecredits.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="1. The Basics" url="guidethebasics.html">
|
||
|
<tocsect3 name="Introduction" url="guidethebasics.html#GUIDEINTRODUCTION" />
|
||
|
<tocsect3 name="Initializing SDL" url="guidebasicsinit.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="2. Graphics and Video" url="guidevideo.html">
|
||
|
<tocsect3 name="Introduction to SDL Video" url="guidevideo.html#GUIDEVIDEOINTRO" />
|
||
|
<tocsect3 name="Using OpenGL With SDL" url="guidevideoopengl.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="3. Input handling" url="guideinput.html">
|
||
|
<tocsect3 name="Handling Joysticks" url="guideinput.html#GUIDEINPUTJOYSTICK" />
|
||
|
<tocsect3 name="Handling the Keyboard" url="guideinputkeyboard.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="4. Examples" url="guideexamples.html">
|
||
|
<tocsect3 name="Introduction" url="guideexamples.html#AEN369" />
|
||
|
<tocsect3 name="Event Examples" url="guideeventexamples.html" />
|
||
|
<tocsect3 name="Audio Examples" url="guideaudioexamples.html" />
|
||
|
<tocsect3 name="CDROM Examples" url="guidecdromexamples.html" />
|
||
|
<tocsect3 name="Time Examples" url="guidetimeexamples.html" />
|
||
|
</tocsect2>
|
||
|
</tocsect1>
|
||
|
<tocsect1 name="II. SDL Reference" url="reference.html">
|
||
|
<tocsect2 name="5. General" url="general.html">
|
||
|
<tocsect3 name="SDL_Init" url="sdlinit.html" />
|
||
|
<tocsect3 name="SDL_InitSubSystem" url="sdlinitsubsystem.html" />
|
||
|
<tocsect3 name="SDL_QuitSubSystem" url="sdlquitsubsystem.html" />
|
||
|
<tocsect3 name="SDL_Quit" url="sdlquit.html" />
|
||
|
<tocsect3 name="SDL_WasInit" url="sdlwasinit.html" />
|
||
|
<tocsect3 name="SDL_GetError" url="sdlgeterror.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="6. Video" url="video.html">
|
||
|
<tocsect3 name="SDL_GetVideoSurface" url="sdlgetvideosurface.html" />
|
||
|
<tocsect3 name="SDL_GetVideoInfo" url="sdlgetvideoinfo.html" />
|
||
|
<tocsect3 name="SDL_VideoDriverName" url="sdlvideodrivername.html" />
|
||
|
<tocsect3 name="SDL_ListModes" url="sdllistmodes.html" />
|
||
|
<tocsect3 name="SDL_VideoModeOK" url="sdlvideomodeok.html" />
|
||
|
<tocsect3 name="SDL_SetVideoMode" url="sdlsetvideomode.html" />
|
||
|
<tocsect3 name="SDL_UpdateRect" url="sdlupdaterect.html" />
|
||
|
<tocsect3 name="SDL_UpdateRects" url="sdlupdaterects.html" />
|
||
|
<tocsect3 name="SDL_Flip" url="sdlflip.html" />
|
||
|
<tocsect3 name="SDL_SetColors" url="sdlsetcolors.html" />
|
||
|
<tocsect3 name="SDL_SetPalette" url="sdlsetpalette.html" />
|
||
|
<tocsect3 name="SDL_SetGamma" url="sdlsetgamma.html" />
|
||
|
<tocsect3 name="SDL_GetGammaRamp" url="sdlgetgammaramp.html" />
|
||
|
<tocsect3 name="SDL_SetGammaRamp" url="sdlsetgammaramp.html" />
|
||
|
<tocsect3 name="SDL_MapRGB" url="sdlmaprgb.html" />
|
||
|
<tocsect3 name="SDL_MapRGBA" url="sdlmaprgba.html" />
|
||
|
<tocsect3 name="SDL_GetRGB" url="sdlgetrgb.html" />
|
||
|
<tocsect3 name="SDL_GetRGBA" url="sdlgetrgba.html" />
|
||
|
<tocsect3 name="SDL_CreateRGBSurface" url="sdlcreatergbsurface.html" />
|
||
|
<tocsect3 name="SDL_CreateRGBSurfaceFrom" url="sdlcreatergbsurfacefrom.html" />
|
||
|
<tocsect3 name="SDL_FreeSurface" url="sdlfreesurface.html" />
|
||
|
<tocsect3 name="SDL_LockSurface" url="sdllocksurface.html" />
|
||
|
<tocsect3 name="SDL_UnlockSurface" url="sdlunlocksurface.html" />
|
||
|
<tocsect3 name="SDL_LoadBMP" url="sdlloadbmp.html" />
|
||
|
<tocsect3 name="SDL_SaveBMP" url="sdlsavebmp.html" />
|
||
|
<tocsect3 name="SDL_SetColorKey" url="sdlsetcolorkey.html" />
|
||
|
<tocsect3 name="SDL_SetAlpha" url="sdlsetalpha.html" />
|
||
|
<tocsect3 name="SDL_SetClipRect" url="sdlsetcliprect.html" />
|
||
|
<tocsect3 name="SDL_GetClipRect" url="sdlgetcliprect.html" />
|
||
|
<tocsect3 name="SDL_ConvertSurface" url="sdlconvertsurface.html" />
|
||
|
<tocsect3 name="SDL_BlitSurface" url="sdlblitsurface.html" />
|
||
|
<tocsect3 name="SDL_FillRect" url="sdlfillrect.html" />
|
||
|
<tocsect3 name="SDL_DisplayFormat" url="sdldisplayformat.html" />
|
||
|
<tocsect3 name="SDL_DisplayFormatAlpha" url="sdldisplayformatalpha.html" />
|
||
|
<tocsect3 name="SDL_WarpMouse" url="sdlwarpmouse.html" />
|
||
|
<tocsect3 name="SDL_CreateCursor" url="sdlcreatecursor.html" />
|
||
|
<tocsect3 name="SDL_FreeCursor" url="sdlfreecursor.html" />
|
||
|
<tocsect3 name="SDL_SetCursor" url="sdlsetcursor.html" />
|
||
|
<tocsect3 name="SDL_GetCursor" url="sdlgetcursor.html" />
|
||
|
<tocsect3 name="SDL_ShowCursor" url="sdlshowcursor.html" />
|
||
|
<tocsect3 name="SDL_GL_LoadLibrary" url="sdlglloadlibrary.html" />
|
||
|
<tocsect3 name="SDL_GL_GetProcAddress" url="sdlglgetprocaddress.html" />
|
||
|
<tocsect3 name="SDL_GL_GetAttribute" url="sdlglgetattribute.html" />
|
||
|
<tocsect3 name="SDL_GL_SetAttribute" url="sdlglsetattribute.html" />
|
||
|
<tocsect3 name="SDL_GL_SwapBuffers" url="sdlglswapbuffers.html" />
|
||
|
<tocsect3 name="SDL_CreateYUVOverlay" url="sdlcreateyuvoverlay.html" />
|
||
|
<tocsect3 name="SDL_LockYUVOverlay" url="sdllockyuvoverlay.html" />
|
||
|
<tocsect3 name="SDL_UnlockYUVOverlay" url="sdlunlockyuvoverlay.html" />
|
||
|
<tocsect3 name="SDL_DisplayYUVOverlay" url="sdldisplayyuvoverlay.html" />
|
||
|
<tocsect3 name="SDL_FreeYUVOverlay" url="sdlfreeyuvoverlay.html" />
|
||
|
<tocsect3 name="SDL_GLattr" url="sdlglattr.html" />
|
||
|
<tocsect3 name="SDL_Rect" url="sdlrect.html" />
|
||
|
<tocsect3 name="SDL_Color" url="sdlcolor.html" />
|
||
|
<tocsect3 name="SDL_Palette" url="sdlpalette.html" />
|
||
|
<tocsect3 name="SDL_PixelFormat" url="sdlpixelformat.html" />
|
||
|
<tocsect3 name="SDL_Surface" url="sdlsurface.html" />
|
||
|
<tocsect3 name="SDL_VideoInfo" url="sdlvideoinfo.html" />
|
||
|
<tocsect3 name="SDL_Overlay" url="sdloverlay.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="7. Window Management" url="wm.html">
|
||
|
<tocsect3 name="SDL_WM_SetCaption" url="sdlwmsetcaption.html" />
|
||
|
<tocsect3 name="SDL_WM_GetCaption" url="sdlwmgetcaption.html" />
|
||
|
<tocsect3 name="SDL_WM_SetIcon" url="sdlwmseticon.html" />
|
||
|
<tocsect3 name="SDL_WM_IconifyWindow" url="sdlwmiconifywindow.html" />
|
||
|
<tocsect3 name="SDL_WM_ToggleFullScreen" url="sdlwmtogglefullscreen.html" />
|
||
|
<tocsect3 name="SDL_WM_GrabInput" url="sdlwmgrabinput.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="8. Events" url="event.html">
|
||
|
<tocsect3 name="Introduction" url="event.html#AEN3307" />
|
||
|
<tocsect3 name="SDL Event Structures." url="eventstructures.html" />
|
||
|
<tocsect3 name="Event Functions." url="eventfunctions.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="9. Joystick" url="joystick.html">
|
||
|
<tocsect3 name="SDL_NumJoysticks" url="sdlnumjoysticks.html" />
|
||
|
<tocsect3 name="SDL_JoystickName" url="sdljoystickname.html" />
|
||
|
<tocsect3 name="SDL_JoystickOpen" url="sdljoystickopen.html" />
|
||
|
<tocsect3 name="SDL_JoystickOpened" url="sdljoystickopened.html" />
|
||
|
<tocsect3 name="SDL_JoystickIndex" url="sdljoystickindex.html" />
|
||
|
<tocsect3 name="SDL_JoystickNumAxes" url="sdljoysticknumaxes.html" />
|
||
|
<tocsect3 name="SDL_JoystickNumBalls" url="sdljoysticknumballs.html" />
|
||
|
<tocsect3 name="SDL_JoystickNumHats" url="sdljoysticknumhats.html" />
|
||
|
<tocsect3 name="SDL_JoystickNumButtons" url="sdljoysticknumbuttons.html" />
|
||
|
<tocsect3 name="SDL_JoystickUpdate" url="sdljoystickupdate.html" />
|
||
|
<tocsect3 name="SDL_JoystickGetAxis" url="sdljoystickgetaxis.html" />
|
||
|
<tocsect3 name="SDL_JoystickGetHat" url="sdljoystickgethat.html" />
|
||
|
<tocsect3 name="SDL_JoystickGetButton" url="sdljoystickgetbutton.html" />
|
||
|
<tocsect3 name="SDL_JoystickGetBall" url="sdljoystickgetball.html" />
|
||
|
<tocsect3 name="SDL_JoystickClose" url="sdljoystickclose.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="10. Audio" url="audio.html">
|
||
|
<tocsect3 name="SDL_AudioSpec" url="sdlaudiospec.html" />
|
||
|
<tocsect3 name="SDL_OpenAudio" url="sdlopenaudio.html" />
|
||
|
<tocsect3 name="SDL_PauseAudio" url="sdlpauseaudio.html" />
|
||
|
<tocsect3 name="SDL_GetAudioStatus" url="sdlgetaudiostatus.html" />
|
||
|
<tocsect3 name="SDL_LoadWAV" url="sdlloadwav.html" />
|
||
|
<tocsect3 name="SDL_FreeWAV" url="sdlfreewav.html" />
|
||
|
<tocsect3 name="SDL_AudioCVT" url="sdlaudiocvt.html" />
|
||
|
<tocsect3 name="SDL_BuildAudioCVT" url="sdlbuildaudiocvt.html" />
|
||
|
<tocsect3 name="SDL_ConvertAudio" url="sdlconvertaudio.html" />
|
||
|
<tocsect3 name="SDL_MixAudio" url="sdlmixaudio.html" />
|
||
|
<tocsect3 name="SDL_LockAudio" url="sdllockaudio.html" />
|
||
|
<tocsect3 name="SDL_UnlockAudio" url="sdlunlockaudio.html" />
|
||
|
<tocsect3 name="SDL_CloseAudio" url="sdlcloseaudio.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="11. CD-ROM" url="cdrom.html">
|
||
|
<tocsect3 name="SDL_CDNumDrives" url="sdlcdnumdrives.html" />
|
||
|
<tocsect3 name="SDL_CDName" url="sdlcdname.html" />
|
||
|
<tocsect3 name="SDL_CDOpen" url="sdlcdopen.html" />
|
||
|
<tocsect3 name="SDL_CDStatus" url="sdlcdstatus.html" />
|
||
|
<tocsect3 name="SDL_CDPlay" url="sdlcdplay.html" />
|
||
|
<tocsect3 name="SDL_CDPlayTracks" url="sdlcdplaytracks.html" />
|
||
|
<tocsect3 name="SDL_CDPause" url="sdlcdpause.html" />
|
||
|
<tocsect3 name="SDL_CDResume" url="sdlcdresume.html" />
|
||
|
<tocsect3 name="SDL_CDStop" url="sdlcdstop.html" />
|
||
|
<tocsect3 name="SDL_CDEject" url="sdlcdeject.html" />
|
||
|
<tocsect3 name="SDL_CDClose" url="sdlcdclose.html" />
|
||
|
<tocsect3 name="SDL_CD" url="sdlcd.html" />
|
||
|
<tocsect3 name="SDL_CDtrack" url="sdlcdtrack.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="12. Multi-threaded Programming" url="thread.html">
|
||
|
<tocsect3 name="SDL_CreateThread" url="sdlcreatethread.html" />
|
||
|
<tocsect3 name="SDL_ThreadID" url="sdlthreadid.html" />
|
||
|
<tocsect3 name="SDL_GetThreadID" url="sdlgetthreadid.html" />
|
||
|
<tocsect3 name="SDL_WaitThread" url="sdlwaitthread.html" />
|
||
|
<tocsect3 name="SDL_KillThread" url="sdlkillthread.html" />
|
||
|
<tocsect3 name="SDL_CreateMutex" url="sdlcreatemutex.html" />
|
||
|
<tocsect3 name="SDL_DestroyMutex" url="sdldestroymutex.html" />
|
||
|
<tocsect3 name="SDL_mutexP" url="sdlmutexp.html" />
|
||
|
<tocsect3 name="SDL_mutexV" url="sdlmutexv.html" />
|
||
|
<tocsect3 name="SDL_CreateSemaphore" url="sdlcreatesemaphore.html" />
|
||
|
<tocsect3 name="SDL_DestroySemaphore" url="sdldestroysemaphore.html" />
|
||
|
<tocsect3 name="SDL_SemWait" url="sdlsemwait.html" />
|
||
|
<tocsect3 name="SDL_SemTryWait" url="sdlsemtrywait.html" />
|
||
|
<tocsect3 name="SDL_SemWaitTimeout" url="sdlsemwaittimeout.html" />
|
||
|
<tocsect3 name="SDL_SemPost" url="sdlsempost.html" />
|
||
|
<tocsect3 name="SDL_SemValue" url="sdlsemvalue.html" />
|
||
|
<tocsect3 name="SDL_CreateCond" url="sdlcreatecond.html" />
|
||
|
<tocsect3 name="SDL_DestroyCond" url="sdldestroycond.html" />
|
||
|
<tocsect3 name="SDL_CondSignal" url="sdlcondsignal.html" />
|
||
|
<tocsect3 name="SDL_CondBroadcast" url="sdlcondbroadcast.html" />
|
||
|
<tocsect3 name="SDL_CondWait" url="sdlcondwait.html" />
|
||
|
<tocsect3 name="SDL_CondWaitTimeout" url="sdlcondwaittimeout.html" />
|
||
|
</tocsect2>
|
||
|
<tocsect2 name="13. Time" url="time.html">
|
||
|
<tocsect3 name="SDL_GetTicks" url="sdlgetticks.html" />
|
||
|
<tocsect3 name="SDL_Delay" url="sdldelay.html" />
|
||
|
<tocsect3 name="SDL_AddTimer" url="sdladdtimer.html" />
|
||
|
<tocsect3 name="SDL_RemoveTimer" url="sdlremovetimer.html" />
|
||
|
<tocsect3 name="SDL_SetTimer" url="sdlsettimer.html" />
|
||
|
</tocsect2>
|
||
|
</tocsect1>
|
||
|
<tocsect1 name="List of Tables">
|
||
|
<tocsect2 name="8-1. SDL Keysym definitions" url="sdlkey.html#AEN4336" />
|
||
|
<tocsect2 name="8-2. SDL modifier definitions" url="sdlkey.html#SDLMOD" />
|
||
|
</tocsect1>
|
||
|
<tocsect1 name="List of Examples">
|
||
|
<tocsect2 name="1-1. Initializing SDL" url="guidebasicsinit.html#AEN60" />
|
||
|
<tocsect2 name="2-1. Initializing the Video Display" url="guidevideo.html#AEN71" />
|
||
|
<tocsect2 name="2-2. Initializing the Best Video Mode" url="guidevideo.html#AEN77" />
|
||
|
<tocsect2 name="2-3. Loading and Displaying a BMP File" url="guidevideo.html#AEN83" />
|
||
|
<tocsect2 name="2-4. getpixel()" url="guidevideo.html#AEN90" />
|
||
|
<tocsect2 name="2-5. putpixel()" url="guidevideo.html#AEN93" />
|
||
|
<tocsect2 name="2-6. Using putpixel()" url="guidevideo.html#AEN97" />
|
||
|
<tocsect2 name="2-7. Initializing SDL with OpenGL" url="guidevideoopengl.html#AEN114" />
|
||
|
<tocsect2 name="2-8. SDL and OpenGL" url="guidevideoopengl.html#AEN128" />
|
||
|
<tocsect2 name="3-1. Initializing SDL with Joystick Support" url="guideinput.html#AEN141" />
|
||
|
<tocsect2 name="3-2. Querying the Number of Available Joysticks" url="guideinput.html#AEN154" />
|
||
|
<tocsect2 name="3-3. Opening a Joystick" url="guideinput.html#AEN183" />
|
||
|
<tocsect2 name="3-4. Joystick Axis Events" url="guideinput.html#AEN191" />
|
||
|
<tocsect2 name="3-5. More Joystick Axis Events" url="guideinput.html#AEN195" />
|
||
|
<tocsect2 name="3-6. Joystick Button Events" url="guideinput.html#AEN203" />
|
||
|
<tocsect2 name="3-7. Joystick Ball Events" url="guideinput.html#AEN217" />
|
||
|
<tocsect2 name="3-8. Joystick Hat Events" url="guideinput.html#AEN244" />
|
||
|
<tocsect2 name="3-9. Querying Joystick Characteristics" url="guideinput.html#AEN265" />
|
||
|
<tocsect2 name="3-10. Reading Keyboard Events" url="guideinputkeyboard.html#AEN334" />
|
||
|
<tocsect2 name="3-11. Interpreting Key Event Information" url="guideinputkeyboard.html#AEN351" />
|
||
|
<tocsect2 name="3-12. Proper Game Movement" url="guideinputkeyboard.html#AEN363" />
|
||
|
</tocsect1>
|
||
|
</tdeveloptoc>
|