Results 1 - 19 of 19 results out of about 6839 pages. (2.38 seconds)
- SDL_QuitSubSystem . . . 10 matches
- ...
= SDL_QuitSubSystem =
Use this function to shut down specific SDL subsystems.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
void SDL_QuitSubSystem(Uint32 flags)
}}}
==...
- SDL_QuitEvent . . . 8 matches
- ...
= SDL_QuitEvent =
A structure that contains the "quit requested" event.
<<TableOfContents()>>
== Data Fields ==
||Uint32||'''type'''||SDL_QUIT||
||Uint32||'''timestamp'''||time...
- SDL_Quit . . . 7 matches
- ...
= SDL_Quit =
Use this function to clean up all initialized subsystems. You should call it upon all exit conditions.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
void ...
- SDL_EventType . . . 10 matches
- ... #808080;">do not remove (unused)||
||||<bgcolor="#EDEDED">''Application events''||
||SDL_QUIT||user-requested quit; see [[#Remarks|Remarks]] for details||
||||<bgcolor="#EDEDED">'...
- SDL_InitSubSystem . . . 5 matches
- ...IT_JOYSTICK);
/* Do some stuff with video and joystick */
/* Shut them both down */
SDL_Quit();
}}}
== Remarks ==
After SDL has been initialized with [[SDL_Init]]() you may init...
- SDL_Event . . . 4 matches
- ...[[SDL_AudioDeviceEvent]]||'''adevice'''||audio device event data (>= SDL 2.0.4)||
||[[SDL_QuitEvent]]||'''quit'''||quit request event data||
||[[SDL_UserEvent]]||'''user'''||custom...
- SGFunctions . . . 3 matches
- ...it has been deemed appropriate to refer to a macro as a function in the wiki. (eg: [[SDL_QuitRequested]]()) This is not accidental. Please do not "correct" these instances. If ...
- SDL_VideoInit . . . 2 matches
- ...L_FALSE;
void OnQuit(void) {
if (videoinit) {
SDL_VideoQuit();
}
SDL_Quit();
}
int main(int argc, char** argv) {
if (SDL_Init(0) != 0) {
printf("E...
- SDL_Init . . . 2 matches
- ... to initialize SDL: %s", SDL_GetError());
return 1;
}
/* ... */
SDL_Quit();
return 0;
}
}}}
== Remarks ==
[[SDL_Init]]() simply forwards to calling [[SD...
- SDL_AudioQuit . . . 2 matches
- ... specific need to specify the audio driver you want to use. You should normally use [[SDL_Quit]]() or [[SDL_QuitSubSystem]]().
== Related Functions ==
.[[SDL_AudioInit]]
----
[...
- MigrationGuide . . . 2 matches
- ...screen video well when crashing. You should install your own crash handler, or call [[SDL_Quit]]() in an `atexit()` function or whatnot if this is a concern. Note that on Unix plat...
- GuiaDeMigracion . . . 2 matches
- ...res críticos, así que deberías configurar un manejador de crashes propio o llamar a [[SDL_Quit]]() en un `atexit()`, en caso de ser necesario.
Ten en cuenta que en plataformas Unix...
- CategoryInit . . . 2 matches
- ...may cause crashes and hard to diagnose problems.
=== Introduction to Shut Down ===
[[SDL_Quit]]() should be called before an SDL application exits to safely shut down all subsyste...
- SDL_SetAssertionHandler . . . 1 match
- ...om one thread at a time.
This callback is NOT reset to SDL's internal handler upon [[SDL_Quit]]()!
== Related Functions ==
.[[SDL_GetAssertionHandler]]
----
[[CategoryAPI]], [[...
- SDL_LogResetPriorities . . . 1 match
- ...ghlight cpp
You can add your code example here
}}}
== Remarks ==
This is called in [[SDL_Quit]]().
== Related Functions ==
.[[SDL_LogSetAllPriority]]
.[[SDL_LogSetPriority]]
-...
- SDL_ClearHints . . . 1 match
- ...es ==
{{{#!highlight cpp
You can add your code example here
}}}
== Remarks ==
This function is automatically called during [[SDL_Quit]]().
----
[[CategoryAPI]], [[CategoryHints]]...
- CategoryStruct . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API Structures =
<<TableOfContents()>>
== Introduction ==
This category contains a...
- CategoryEvents . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= Event Handling =
'''Include File(s):''' [[http://hg.libsdl.org/SDL/file/default/include/SDL...
- CategoryAPI . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API by Name =
<<TableOfContents()>>
== Hints ==
<<FullSearchCached(category:Catego...
