Wiki Page Content

Results 1 - 24 of 24 results out of about 6839 pages. (3.30 seconds)

SDL_Init . . . 22 matches
... = SDL_Init = Use this function to initialize the SDL library. This must be called before using most other SDL functions. <<TableOfContents()>> == Syntax == {{{#!highlight cpp ...

2.4k - rev: 52 (current) last modified: 2017-04-08 21:22:04

SDL_InitSubSystem . . . 16 matches
... = SDL_InitSubSystem = Use this function to initialize specific SDL subsystems. <<TableOfContents()>> == Syntax == {{{#!highlight cpp int SDL_InitSubSystem(Uint32 flags) }}} ==...

1.9k - rev: 14 (current) last modified: 2015-01-02 21:29:27

SDL_QuitSubSystem . . . 13 matches
...int32 flags) }}} == Function Parameters == ||'''flags'''||any of the flags used by [[SDL_Init]](); see [[#flags|Remarks]] for details|| == Code Examples == {{{#!highlight cpp #in...

1.5k - rev: 8 (current) last modified: 2016-06-10 20:00:41

SDL_WasInit . . . 10 matches
...int32 flags) }}} == Function Parameters == ||'''flags'''||any of the flags used by [[SDL_Init]](); see [[#flags|Remarks]] for details|| == Return Value == If '''flags''' is 0 it ...

1.7k - rev: 14 (current) last modified: 2016-05-14 22:29:46

CategoryInit . . . 7 matches
...program. === Introduction to Initialization === To begin using SDL in your program [[SDL_Init]]() must be called before most other SDL functions. The role of [[SDL_Init]]() is to...

2.3k - rev: 27 (current) last modified: 2016-03-27 21:42:54

SDL_VideoInit . . . 5 matches
... SDL_VideoQuit(); } SDL_Quit(); } int main(int argc, char** argv) { if (SDL_Init(0) != 0) { printf("Error initializing SDL: %s\n", SDL_GetError()); r...

1.9k - rev: 11 (current) last modified: 2013-10-13 12:37:21

SDL_Quit . . . 5 matches
....h" #include <stdio.h> #include <stdlib.h> int main(int argc, char** argv) { if (SDL_Init(SDL_INIT_EVERYTHING) != 0) { fprintf(stderr, "Unable to initialize SDL: %s\n...

1.3k - rev: 7 (current) last modified: 2015-01-07 02:59:53

SDL_SetMainReady . . . 4 matches
... this page*^*^*^*^* = SDL_SetMainReady = Use this function to circumvent failure of [[SDL_Init]]() when not using SDL_main() as an entry point. ##Replace SDL_Function with the nam...

1.3k - rev: 10 (current) last modified: 2014-12-21 20:51:01

SDL_GetError . . . 4 matches
...to appropriately call [[SDL_GetError]](). == Code Examples == {{{#!highlight cpp if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { // Unrecoverable error, exit here. printf("SDL_In...

1.3k - rev: 14 (current) last modified: 2016-05-11 20:27:55

SDL_HINT_XINPUT_ENABLED . . . 3 matches
... Code Examples == {{{#!highlight cpp SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "0"); //... SDL_Init(SDL_INIT_EVERYTHING); }}} ##Leave this section as-is unless you have a code example ...

1.2k - rev: 2 (current) last modified: 2019-02-04 11:43:18

CategoryEvents . . . 3 matches
...from the user. Event handling is initialized (along with video) with a call to: {{{ SDL_Init(SDL_INIT_VIDEO); }}} (''see'' [[CategoryInit|Initialization & Shutdown]] and [[SDL_I...

1.3k - rev: 15 (current) last modified: 2014-03-10 18:53:46

SDL_ShowSimpleMessageBox . . . 2 matches
...ATION||informational dialog|| This function may be called at any time, even before [[SDL_Init]](). This makes it useful for reporting errors like a failure to create a renderer or...

1.7k - rev: 11 (current) last modified: 2014-09-24 20:33:51

SDL_HINT_GAMECONTROLLERCONFIG . . . 2 matches
...alone and delete this comment. == Remarks == This hint must be set before calling [[SDL_Init]](SDL_INIT_GAMECONTROLLER). You can update mappings after the system is initialized ...

1.1k - rev: 1 (current) last modified: 2014-02-15 21:49:02

SDL_AudioInit . . . 2 matches
...ecific need to designate the audio driver you want to use. You should normally use [[SDL_Init]]() or [[SDL_InitSubSystem]](). == Related Functions == .[[SDL_AudioQuit]] ---- [[...

1.0k - rev: 16 (current) last modified: 2013-11-02 12:59:01

SDL_AddTimer . . . 2 matches
... /* ... */ } } }}} == Remarks == If you use this function, you must pass SDL_INIT_TIMER to [[SDL_Init]](). The callback function is passed the current timer interval ...

3.5k - rev: 14 (current) last modified: 2019-12-23 18:01:33

SGCodeExamples . . . 1 match
...portant!'')>> Do not change or remove any of the existing content.|| ||''Example'': [[SDL_Init]]()|| ~-[[#ToC|Return to Table of Contents]]-~ === Using an Include === Since many ...

4.7k - rev: 25 (current) last modified: 2011-12-15 22:23:14

SDL_RedetectInputDevices . . . 1 match
...ing device information from previous queries! There is an implicit (re)detect upon [[SDL_Init]](). == Related Functions == .[[SDL_OtherFunction]] ---- Category!API, [[Categor...

1.0k - rev: 3 (current) last modified: 2013-09-01 19:03:34

SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING . . . 1 match
...ill be removed in SDL 2.1. The default value is "0". This hint must be set before [[SDL_Init]](). == Version == This hint is available since SDL 2.0.4. ---- [[CategoryDefine]],...

1.2k - rev: 2 (current) last modified: 2016-03-31 22:23:45

SDL_HINT_WINRT_PRIVACY_POLICY_URL . . . 1 match
...o an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL before calling any [[SDL_Init]]() functions. The contents of the hint should be a valid URL. For example, "http:/...

2.0k - rev: 2 (current) last modified: 2016-05-12 20:33:12

SDL_HINT_WINRT_PRIVACY_POLICY_LABEL . . . 1 match
...s hint should only be set during app initialization, preferably before any calls to [[SDL_Init]](). For additional information on linking to a privacy policy, see the documentatio...

1.8k - rev: 1 (current) last modified: 2014-12-27 12:22:47

SDL_GetVersion . . . 1 match
...ion you compiled with. This function may be called safely at any time, even before [[SDL_Init]](). == Related Macros == .[[SDL_VERSION]] == Related Functions == .[[SDL_GetRevi...

1.2k - rev: 13 (current) last modified: 2010-10-18 22:02:11

SDL_EventType . . . 1 match
...mpletely ignore Command-Q will fail Mac App Store certification. On POSIX systems, [[SDL_Init]]() installs [[http://en.wikipedia.org/wiki/Unix_signal|signal handlers]] for `SIGINT...

8.3k - rev: 47 (current) last modified: 2016-10-13 20:32:06

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...

0.5k - rev: 19 (current) last modified: 2013-08-10 05:04:50

APIContributionStyleGuide . . . 1 match
...ur example will be located: {{{{ {{{#!highlight cpp }}} }}}} . ''Example'': [[SDL_Init]]() * All content should be added within this markup (on the blank line with the m...

8.6k - rev: 39 (current) last modified: 2013-09-01 18:53:08

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit