<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>My Project: SDL_hints.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">My Project </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">SDL_hints.h</div> </div> </div><!--header--> <div class="contents"> <a href="SDL__hints_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Simple DirectMedia Layer</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org></span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> This software is provided 'as-is', without any express or implied</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> warranty. In no event will the authors be held liable for any damages</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> arising from the use of this software.</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> Permission is granted to anyone to use this software for any purpose,</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> including commercial applications, and to alter it and redistribute it</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> freely, subject to the following restrictions:</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> 1. The origin of this software must not be misrepresented; you must not</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> claim that you wrote the original software. If you use this software</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> in a product, an acknowledgment in the product documentation would be</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> appreciated but is not required.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> 2. Altered source versions must be plainly marked as such, and must not be</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> misrepresented as being the original software.</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> 3. This notice may not be removed or altered from any source distribution.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">*/</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifndef _SDL_hints_h</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define _SDL_hints_h</span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="SDL__stdinc_8h.html">SDL_stdinc.h</a>"</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "<a class="code" href="begin__code_8h.html">begin_code.h</a>"</span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">/* Set up for C function definitions, even when using C++ */</span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a4f14744afc8f84bf52e3bfaec2667824"> 65</a></span> <span class="preprocessor">#define SDL_HINT_FRAMEBUFFER_ACCELERATION "SDL_FRAMEBUFFER_ACCELERATION"</span></div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a1ecf7a77582e3af7938b2f7c8d900aee"> 84</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_DRIVER "SDL_RENDER_DRIVER"</span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> <div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a156051f550fba6a1d8dfafd8bc90b1b2"> 95</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_OPENGL_SHADERS "SDL_RENDER_OPENGL_SHADERS"</span></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> <div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a6e06533f9f12c456accacb7c1f40a58d"> 106</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_DIRECT3D_THREADSAFE "SDL_RENDER_DIRECT3D_THREADSAFE"</span></div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div> <div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ac25a4eba109ed065d639f6054d2b842c"> 119</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_DIRECT3D11_DEBUG "SDL_HINT_RENDER_DIRECT3D11_DEBUG"</span></div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> <div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a10b6e40601439f51131d8a264070ab2e"> 131</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_SCALE_QUALITY "SDL_RENDER_SCALE_QUALITY"</span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> <div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ab512fdde4a91d3a271df7b59297fcf98"> 142</a></span> <span class="preprocessor">#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC"</span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div> <div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a7d3457c4003d46ddb560a96844ca1f85"> 153</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_ALLOW_SCREENSAVER "SDL_VIDEO_ALLOW_SCREENSAVER"</span></div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div> <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a866aaf8bf196921021eb7bda46b7a781"> 164</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE"</span></div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div> <div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ad40f9ea3808d57729baf6d69c019af4b"> 175</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA"</span></div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div> <div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ab78bba735481c64f25a01799c0266058"> 186</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div> <div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a5295df139727cd78a0663afb0b91010b"> 197</a></span> <span class="preprocessor">#define SDL_HINT_GRAB_KEYBOARD "SDL_GRAB_KEYBOARD"</span></div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div> <div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ad2592e57adcf22b77618347fef431790"> 208</a></span> <span class="preprocessor">#define SDL_HINT_MOUSE_RELATIVE_MODE_WARP "SDL_MOUSE_RELATIVE_MODE_WARP"</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> <div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a85488274590bff72c3d1dba5829443f6"> 214</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div> <div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#abe9410e8b6809c9fdcb1f69e6894a2e8"> 228</a></span> <span class="preprocessor">#define SDL_HINT_IDLE_TIMER_DISABLED "SDL_IOS_IDLE_TIMER_DISABLED"</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div> <div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a1e2eef18b43aa15121d8250a408421ce"> 239</a></span> <span class="preprocessor">#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"</span></div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div> <div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a3864d9d3569d0edcf7b0a07d8b769810"> 249</a></span> <span class="preprocessor">#define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"</span></div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div> <div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a74031ed3b17889222462108800b91c3c"> 259</a></span> <span class="preprocessor">#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"</span></div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div> <div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ae6733a084fded26033d0b3a1ab1480a4"> 270</a></span> <span class="preprocessor">#define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG"</span></div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div> <div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ab343c91586c6b4789763e4a82b35de0b"> 284</a></span> <span class="preprocessor">#define SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"</span></div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div> <div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ac0deec953ae4635131cbe321192236ff"> 295</a></span> <span class="preprocessor">#define SDL_HINT_ALLOW_TOPMOST "SDL_ALLOW_TOPMOST"</span></div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div> <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#afbc6ba9f809e07557eb369f763299174"> 312</a></span> <span class="preprocessor">#define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION"</span></div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </div> <div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ac4537a3cf34a3a2d2a1dd674ea7daa6f"> 318</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"</span></div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div> <div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a63dd635fa195f590f645c1170f50968d"> 326</a></span> <span class="preprocessor">#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"</span></div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div> <div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a1e91c63c1b9c4afd7c0349b4392270fd"> 342</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_WIN_D3DCOMPILER "SDL_VIDEO_WIN_D3DCOMPILER"</span></div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div> <div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a007f98915e3ca58963c3cace38ed3a05"> 361</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"</span></div> <div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment">/*</span></div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="comment"> * \brief A URL to a WinRT app's privacy policy</span></div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment"> *</span></div> <div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="comment"> * All network-enabled WinRT apps must make a privacy policy available to its</span></div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="comment"> * users. On Windows 8, 8.1, and RT, Microsoft mandates that this policy be</span></div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="comment"> * be available in the Windows Settings charm, as accessed from within the app.</span></div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span> <span class="comment"> * SDL provides code to add a URL-based link there, which can point to the app's</span></div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <span class="comment"> * privacy policy.</span></div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="comment"> *</span></div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="comment"> * To setup a URL to an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL</span></div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="comment"> * before calling any SDL_Init functions. The contents of the hint should</span></div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="comment"> * be a valid URL. For example, "http://www.example.com".</span></div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="comment"> *</span></div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="comment"> * The default value is "", which will prevent SDL from adding a privacy policy</span></div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="comment"> * link to the Settings charm. This hint should only be set during app init.</span></div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="comment"> *</span></div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="comment"> * The label text of an app's "Privacy Policy" link may be customized via another</span></div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="comment"> * hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.</span></div> <div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <span class="comment"> *</span></div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="comment"> * Please note that on Windows Phone, Microsoft does not provide standard UI</span></div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="comment"> * for displaying a privacy policy link, and as such, SDL_HINT_WINRT_PRIVACY_POLICY_URL</span></div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="comment"> * will not get used on that platform. Network-enabled phone apps should display</span></div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="comment"> * their privacy policy through some other, in-app means.</span></div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="comment"> */</span></div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="preprocessor">#define SDL_HINT_WINRT_PRIVACY_POLICY_URL "SDL_HINT_WINRT_PRIVACY_POLICY_URL"</span></div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div> <div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a2e703ae1982069e228243e2633cf41c7"> 408</a></span> <span class="preprocessor">#define SDL_HINT_WINRT_PRIVACY_POLICY_LABEL "SDL_HINT_WINRT_PRIVACY_POLICY_LABEL"</span></div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div> <div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a50fab1c4959c71f2e066b7eec874ef90"> 417</a></span> <span class="preprocessor">#define SDL_HINT_WINRT_HANDLE_BACK_BUTTON "SDL_HINT_WINRT_HANDLE_BACK_BUTTON"</span></div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div> <div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a7f78bfa36d29dc21728bfabce8b336c3"> 436</a></span> <span class="preprocessor">#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"</span></div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div> <div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#ab85f3099d9bb0445b0c6b5002cfaa7ed"> 442</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span> {</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  SDL_HINT_DEFAULT,</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  SDL_HINT_NORMAL,</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  SDL_HINT_OVERRIDE</div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span> } <a class="code" href="SDL__hints_8h.html#ab85f3099d9bb0445b0c6b5002cfaa7ed">SDL_HintPriority</a>;</div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__hints_8h.html#aa8dbcd854090784ae237aeeefb7e6232">SDL_SetHintWithPriority</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *value,</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <a class="code" href="SDL__hints_8h.html#ab85f3099d9bb0445b0c6b5002cfaa7ed">SDL_HintPriority</a> priority);</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__hints_8h.html#a9b47f5aa3911644f0a5a3f0cfa9198a4">SDL_SetHint</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> * SDLCALL <a class="code" href="SDL__hints_8h.html#a7b26a63a33768fab43d50e3fd0d41eb5">SDL_GetHint</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span> </div> <div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="SDL__hints_8h.html#a9466a87e203a4942eb769057196696c3"> 485</a></span> <span class="keyword">typedef</span> <a class="code" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> (*<a class="code" href="SDL__hints_8h.html#a9466a87e203a4942eb769057196696c3">SDL_HintCallback</a>)(<span class="keywordtype">void</span> *userdata, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *oldValue, <span class="keyword">const</span> <span class="keywordtype">char</span> *newValue);</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL SDL_AddHintCallback(<span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  <a class="code" href="SDL__hints_8h.html#a9466a87e203a4942eb769057196696c3">SDL_HintCallback</a> callback,</div> <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordtype">void</span> *userdata);</div> <div class="line"><a name="l00489"></a><span class="lineno"> 489</span> </div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__hints_8h.html#aff84d56f5de197e49a778e18ad76ab0e">SDL_DelHintCallback</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <a class="code" href="SDL__hints_8h.html#a9466a87e203a4942eb769057196696c3">SDL_HintCallback</a> callback,</div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keywordtype">void</span> *userdata);</div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__hints_8h.html#a7feb78f92319c07e9d53d7be8185cdbb">SDL_ClearHints</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span> </div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span> </div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span> <span class="comment">/* Ends C function definitions when using C++ */</span></div> <div class="line"><a name="l00510"></a><span class="lineno"> 510</span> <span class="preprocessor">#ifdef __cplusplus</span></div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span> }</div> <div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span> <span class="preprocessor">#include "<a class="code" href="close__code_8h.html">close_code.h</a>"</span></div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span> </div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="preprocessor">#endif </span><span class="comment">/* _SDL_hints_h */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span> </div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span> <span class="comment">/* vi: set ts=4 sw=4 expandtab: */</span></div> <div class="ttc" id="begin__code_8h_html"><div class="ttname"><a href="begin__code_8h.html">begin_code.h</a></div></div> <div class="ttc" id="SDL__stdinc_8h_html"><div class="ttname"><a href="SDL__stdinc_8h.html">SDL_stdinc.h</a></div></div> <div class="ttc" id="SDL__audio_8h_html_a52835ae37c4bb905b903cbaf5d04b05f"><div class="ttname"><a href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a></div><div class="ttdeci">typedef void(SDLCALL *SDL_AudioCallback)(void *userdata</div></div> <div class="ttc" id="close__code_8h_html"><div class="ttname"><a href="close__code_8h.html">close_code.h</a></div></div> <div class="ttc" id="SDL__hints_8h_html_a7feb78f92319c07e9d53d7be8185cdbb"><div class="ttname"><a href="SDL__hints_8h.html#a7feb78f92319c07e9d53d7be8185cdbb">SDL_ClearHints</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_ClearHints(void)</div><div class="ttdoc">Clear all hints. </div></div> <div class="ttc" id="SDL__hints_8h_html_a9466a87e203a4942eb769057196696c3"><div class="ttname"><a href="SDL__hints_8h.html#a9466a87e203a4942eb769057196696c3">SDL_HintCallback</a></div><div class="ttdeci">void(* SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue)</div><div class="ttdoc">Add a function to watch a particular hint. </div><div class="ttdef"><b>Definition:</b> SDL_hints.h:485</div></div> <div class="ttc" id="SDL__hints_8h_html_aff84d56f5de197e49a778e18ad76ab0e"><div class="ttname"><a href="SDL__hints_8h.html#aff84d56f5de197e49a778e18ad76ab0e">SDL_DelHintCallback</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name, SDL_HintCallback callback, void *userdata)</div><div class="ttdoc">Remove a function watching a particular hint. </div></div> <div class="ttc" id="SDL__hints_8h_html_a9b47f5aa3911644f0a5a3f0cfa9198a4"><div class="ttname"><a href="SDL__hints_8h.html#a9b47f5aa3911644f0a5a3f0cfa9198a4">SDL_SetHint</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name, const char *value)</div><div class="ttdoc">Set a hint with normal priority. </div></div> <div class="ttc" id="SDL__hints_8h_html_ab85f3099d9bb0445b0c6b5002cfaa7ed"><div class="ttname"><a href="SDL__hints_8h.html#ab85f3099d9bb0445b0c6b5002cfaa7ed">SDL_HintPriority</a></div><div class="ttdeci">SDL_HintPriority</div><div class="ttdoc">An enumeration of hint priorities. </div><div class="ttdef"><b>Definition:</b> SDL_hints.h:442</div></div> <div class="ttc" id="SDL__hints_8h_html_aa8dbcd854090784ae237aeeefb7e6232"><div class="ttname"><a href="SDL__hints_8h.html#aa8dbcd854090784ae237aeeefb7e6232">SDL_SetHintWithPriority</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name, const char *value, SDL_HintPriority priority)</div><div class="ttdoc">Set a hint with a specific priority. </div></div> <div class="ttc" id="SDL__hints_8h_html_a7b26a63a33768fab43d50e3fd0d41eb5"><div class="ttname"><a href="SDL__hints_8h.html#a7b26a63a33768fab43d50e3fd0d41eb5">SDL_GetHint</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_GetHint(const char *name)</div><div class="ttdoc">Get a hint. </div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Oct 16 2014 16:33:08 for My Project by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.8 </small></address> </body> </html>