<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>My Project: SDL_video.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/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">My Project </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </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_video.h</div> </div> </div><!--header--> <div class="contents"> <a href="SDL__video_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-2019 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="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef SDL_video_h_</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define SDL_video_h_</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="SDL__stdinc_8h.html">SDL_stdinc.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="SDL__pixels_8h.html">SDL_pixels.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="SDL__rect_8h.html">SDL_rect.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="SDL__surface_8h.html">SDL_surface.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="begin__code_8h.html">begin_code.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/* Set up for C function definitions, even when using C++ */</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html"> 53</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html#ae8120e0a18a99992f039756e1b503680"> 55</a></span>  Uint32 <a class="code" href="structSDL__DisplayMode.html#ae8120e0a18a99992f039756e1b503680">format</a>; </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html#a504bb5e21950b719a0df43be51199046"> 56</a></span>  <span class="keywordtype">int</span> <a class="code" href="structSDL__DisplayMode.html#a504bb5e21950b719a0df43be51199046">w</a>; </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html#a0d9eabed50a560ed553af772c26632d7"> 57</a></span>  <span class="keywordtype">int</span> <a class="code" href="structSDL__DisplayMode.html#a0d9eabed50a560ed553af772c26632d7">h</a>; </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html#ad1b5783c9b292ebf24ad4e0e7a98e540"> 58</a></span>  <span class="keywordtype">int</span> <a class="code" href="structSDL__DisplayMode.html#ad1b5783c9b292ebf24ad4e0e7a98e540">refresh_rate</a>; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structSDL__DisplayMode.html#a411f93025411da873f37a384ae62bbcf"> 59</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structSDL__DisplayMode.html#a411f93025411da873f37a384ae62bbcf">driverdata</a>; </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> } <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392"> 90</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18"> 97</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">/* !!! FIXME: change this to name = (1<<x). */</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923"> 100</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923">SDL_WINDOW_FULLSCREEN</a> = 0x00000001, </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a"> 101</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a">SDL_WINDOW_OPENGL</a> = 0x00000002, </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d"> 102</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d">SDL_WINDOW_SHOWN</a> = 0x00000004, </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c"> 103</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c">SDL_WINDOW_HIDDEN</a> = 0x00000008, </div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c"> 104</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c">SDL_WINDOW_BORDERLESS</a> = 0x00000010, </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8"> 105</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8">SDL_WINDOW_RESIZABLE</a> = 0x00000020, </div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a"> 106</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a">SDL_WINDOW_MINIMIZED</a> = 0x00000040, </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a"> 107</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a">SDL_WINDOW_MAXIMIZED</a> = 0x00000080, </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2"> 108</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2">SDL_WINDOW_INPUT_GRABBED</a> = 0x00000100, </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53"> 109</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53">SDL_WINDOW_INPUT_FOCUS</a> = 0x00000200, </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c"> 110</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c">SDL_WINDOW_MOUSE_FOCUS</a> = 0x00000400, </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  SDL_WINDOW_FULLSCREEN_DESKTOP = ( <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923">SDL_WINDOW_FULLSCREEN</a> | 0x00001000 ),</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23"> 112</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23">SDL_WINDOW_FOREIGN</a> = 0x00000800, </div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3"> 113</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3">SDL_WINDOW_ALLOW_HIGHDPI</a> = 0x00002000, </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4c16b51a323741bf5c492adce34e5882"> 116</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4c16b51a323741bf5c492adce34e5882">SDL_WINDOW_MOUSE_CAPTURE</a> = 0x00004000, </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a318e8aee0e3fddcfe2257757c6eb3128"> 117</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a318e8aee0e3fddcfe2257757c6eb3128">SDL_WINDOW_ALWAYS_ON_TOP</a> = 0x00008000, </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4bd52941a63adc993271579d52fb6641"> 118</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4bd52941a63adc993271579d52fb6641">SDL_WINDOW_SKIP_TASKBAR</a> = 0x00010000, </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a94224404de009a2fb6856a6a69d20d85"> 119</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a94224404de009a2fb6856a6a69d20d85">SDL_WINDOW_UTILITY</a> = 0x00020000, </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a226509512aeab3c2c01deb75c182adf5"> 120</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a226509512aeab3c2c01deb75c182adf5">SDL_WINDOW_TOOLTIP</a> = 0x00040000, </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aeb1e21d5d8ed10b5d65ab0909b5c8c0d"> 121</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aeb1e21d5d8ed10b5d65ab0909b5c8c0d">SDL_WINDOW_POPUP_MENU</a> = 0x00080000, </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a55d2d1e92b96050c5a9cd8280d78f26c"> 122</a></span>  <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a55d2d1e92b96050c5a9cd8280d78f26c">SDL_WINDOW_VULKAN</a> = 0x10000000 </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> } <a class="code" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18">SDL_WindowFlags</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a0eee89b50bf349f05cb28d6ca7c2dec8"> 128</a></span> <span class="preprocessor">#define SDL_WINDOWPOS_UNDEFINED_MASK 0x1FFF0000u</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#define SDL_WINDOWPOS_UNDEFINED_DISPLAY(X) (SDL_WINDOWPOS_UNDEFINED_MASK|(X))</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#define SDL_WINDOWPOS_UNDEFINED SDL_WINDOWPOS_UNDEFINED_DISPLAY(0)</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#define SDL_WINDOWPOS_ISUNDEFINED(X) \</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor"> (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK)</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a5088b87c9d01cc26915ff082aaf014fa"> 137</a></span> <span class="preprocessor">#define SDL_WINDOWPOS_CENTERED_MASK 0x2FFF0000u</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="preprocessor">#define SDL_WINDOWPOS_CENTERED_DISPLAY(X) (SDL_WINDOWPOS_CENTERED_MASK|(X))</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor">#define SDL_WINDOWPOS_CENTERED SDL_WINDOWPOS_CENTERED_DISPLAY(0)</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor">#define SDL_WINDOWPOS_ISCENTERED(X) \</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor"> (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK)</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab"> 146</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> {</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7"> 148</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7">SDL_WINDOWEVENT_NONE</a>, </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5"> 149</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5">SDL_WINDOWEVENT_SHOWN</a>, </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55"> 150</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55">SDL_WINDOWEVENT_HIDDEN</a>, </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489"> 151</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489">SDL_WINDOWEVENT_EXPOSED</a>, </div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5"> 153</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5">SDL_WINDOWEVENT_MOVED</a>, </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d"> 155</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d">SDL_WINDOWEVENT_RESIZED</a>, </div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0"> 156</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0">SDL_WINDOWEVENT_SIZE_CHANGED</a>, </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d"> 159</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d">SDL_WINDOWEVENT_MINIMIZED</a>, </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05"> 160</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05">SDL_WINDOWEVENT_MAXIMIZED</a>, </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89"> 161</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89">SDL_WINDOWEVENT_RESTORED</a>, </div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5"> 163</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5">SDL_WINDOWEVENT_ENTER</a>, </div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5"> 164</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5">SDL_WINDOWEVENT_LEAVE</a>, </div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92"> 165</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92">SDL_WINDOWEVENT_FOCUS_GAINED</a>, </div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31"> 166</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31">SDL_WINDOWEVENT_FOCUS_LOST</a>, </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360"> 167</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360">SDL_WINDOWEVENT_CLOSE</a>, </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba69ee247e6859b1d5d7dfffb7c1a99b4e"> 168</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba69ee247e6859b1d5d7dfffb7c1a99b4e">SDL_WINDOWEVENT_TAKE_FOCUS</a>, </div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba425a0e4dca5ba339eed8166248eeef8e"> 169</a></span>  <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba425a0e4dca5ba339eed8166248eeef8e">SDL_WINDOWEVENT_HIT_TEST</a> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> } <a class="code" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab">SDL_WindowEventID</a>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffc"> 175</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> {</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca0f22fc5951aac829337807e4238110e5"> 177</a></span>  <a class="code" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca0f22fc5951aac829337807e4238110e5">SDL_DISPLAYEVENT_NONE</a>, </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca79af38ade27966e9e53476f5d3755f04"> 178</a></span>  <a class="code" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca79af38ade27966e9e53476f5d3755f04">SDL_DISPLAYEVENT_ORIENTATION</a> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> } <a class="code" href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffc">SDL_DisplayEventID</a>;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbde"> 181</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdeacb20982c4f82c7271a66a76b98eda731"> 183</a></span>  <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdeacb20982c4f82c7271a66a76b98eda731">SDL_ORIENTATION_UNKNOWN</a>, </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5b1e627bf8f8be31d62292681f42694b"> 184</a></span>  <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5b1e627bf8f8be31d62292681f42694b">SDL_ORIENTATION_LANDSCAPE</a>, </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea6cd1294f411220564276f85c32616c6a"> 185</a></span>  <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea6cd1294f411220564276f85c32616c6a">SDL_ORIENTATION_LANDSCAPE_FLIPPED</a>, </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5fb622ac90f47a799d7d7f660d7c860b"> 186</a></span>  <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5fb622ac90f47a799d7d7f660d7c860b">SDL_ORIENTATION_PORTRAIT</a>, </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea66727ec5e93a1112a254b4d3b8e867db"> 187</a></span>  <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea66727ec5e93a1112a254b4d3b8e867db">SDL_ORIENTATION_PORTRAIT_FLIPPED</a> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> } <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbde">SDL_DisplayOrientation</a>;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3"> 193</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *<a class="code" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a>;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4"> 198</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  SDL_GL_RED_SIZE,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  SDL_GL_GREEN_SIZE,</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  SDL_GL_BLUE_SIZE,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  SDL_GL_ALPHA_SIZE,</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  SDL_GL_BUFFER_SIZE,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  SDL_GL_DOUBLEBUFFER,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  SDL_GL_DEPTH_SIZE,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  SDL_GL_STENCIL_SIZE,</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  SDL_GL_ACCUM_RED_SIZE,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  SDL_GL_ACCUM_GREEN_SIZE,</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  SDL_GL_ACCUM_BLUE_SIZE,</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  SDL_GL_ACCUM_ALPHA_SIZE,</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  SDL_GL_STEREO,</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  SDL_GL_MULTISAMPLEBUFFERS,</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  SDL_GL_MULTISAMPLESAMPLES,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  SDL_GL_ACCELERATED_VISUAL,</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  SDL_GL_RETAINED_BACKING,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  SDL_GL_CONTEXT_MAJOR_VERSION,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  SDL_GL_CONTEXT_MINOR_VERSION,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  SDL_GL_CONTEXT_EGL,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  SDL_GL_CONTEXT_FLAGS,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  SDL_GL_CONTEXT_PROFILE_MASK,</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  SDL_GL_SHARE_WITH_CURRENT_CONTEXT,</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  SDL_GL_CONTEXT_RELEASE_BEHAVIOR,</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  SDL_GL_CONTEXT_RESET_NOTIFICATION,</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  SDL_GL_CONTEXT_NO_ERROR</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> } <a class="code" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a>;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5f"> 229</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> {</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  SDL_GL_CONTEXT_PROFILE_CORE = 0x0001,</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = 0x0002,</div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5fa721fa797743fb228d804532cab8b8faa"> 233</a></span>  <a class="code" href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5fa721fa797743fb228d804532cab8b8faa">SDL_GL_CONTEXT_PROFILE_ES</a> = 0x0004 </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> } <a class="code" href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5f">SDL_GLprofile</a>;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> </div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  SDL_GL_CONTEXT_DEBUG_FLAG = 0x0001,</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 0x0004,</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 0x0008</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> } SDL_GLcontextFlag;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE = 0x0000,</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH = 0x0001</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> } SDL_GLcontextReleaseFlag;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> {</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  SDL_GL_CONTEXT_RESET_NO_NOTIFICATION = 0x0000,</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  SDL_GL_CONTEXT_RESET_LOSE_CONTEXT = 0x0001</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> } SDL_GLContextResetNotification;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment">/* Function prototypes */</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ac6f3250a95bd027fd1a374d7ed15fc57">SDL_GetNumVideoDrivers</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> *SDLCALL <a class="code" href="SDL__video_8h.html#a2ae1ace02d55dbed8ab2fc35dadac139">SDL_GetVideoDriver</a>(<span class="keywordtype">int</span> index);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a05244b30716f0339dcd140c6f92017b7">SDL_VideoInit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *driver_name);</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#ade5fc4847320fb235f17265b683fa013">SDL_VideoQuit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> *SDLCALL <a class="code" href="SDL__video_8h.html#a5d53f49e6db21468228a675056a80bc8">SDL_GetCurrentVideoDriver</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a074d185b7ef04e0305acdeeb049dd2be">SDL_GetNumVideoDisplays</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> * SDLCALL <a class="code" href="SDL__video_8h.html#a34ac3472027bf4acf299fd8ecbb69dd7">SDL_GetDisplayName</a>(<span class="keywordtype">int</span> displayIndex);</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ac05213009395c10ae40bede2de8e08a1">SDL_GetDisplayBounds</a>(<span class="keywordtype">int</span> displayIndex, <a class="code" href="structSDL__Rect.html">SDL_Rect</a> * rect);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a9898f2e51cd90ace84cb0c6ea65d7051">SDL_GetDisplayUsableBounds</a>(<span class="keywordtype">int</span> displayIndex, <a class="code" href="structSDL__Rect.html">SDL_Rect</a> * rect);</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a8207ec5d13bd87158cbb42ef76e33216">SDL_GetDisplayDPI</a>(<span class="keywordtype">int</span> displayIndex, <span class="keywordtype">float</span> * ddpi, <span class="keywordtype">float</span> * hdpi, <span class="keywordtype">float</span> * vdpi);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbde">SDL_DisplayOrientation</a> SDLCALL <a class="code" href="SDL__video_8h.html#a6540db01a424ced1847376e583361ecb">SDL_GetDisplayOrientation</a>(<span class="keywordtype">int</span> displayIndex);</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a5abcf18592f00019c517e791f8ba53fc">SDL_GetNumDisplayModes</a>(<span class="keywordtype">int</span> displayIndex);</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a0a53e003ec6ad24dd2bbbcd0ad297311">SDL_GetDisplayMode</a>(<span class="keywordtype">int</span> displayIndex, <span class="keywordtype">int</span> modeIndex,</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * mode);</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span> </div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ab97bca68fc068a6ecc3db473c4c0defd">SDL_GetDesktopDisplayMode</a>(<span class="keywordtype">int</span> displayIndex, <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * mode);</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> </div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a14dce1cb33085b36f08d27b3d8f2335b">SDL_GetCurrentDisplayMode</a>(<span class="keywordtype">int</span> displayIndex, <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * mode);</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> </div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * SDLCALL <a class="code" href="SDL__video_8h.html#a794be92ee0a9efca226fa19a635fa470">SDL_GetClosestDisplayMode</a>(<span class="keywordtype">int</span> displayIndex, <span class="keyword">const</span> <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * mode, <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * closest);</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a0be1d0a4d1f9a0da23b78db2f55871b5">SDL_GetWindowDisplayIndex</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a2ca17d1e857d1560738e002c9935088a">SDL_SetWindowDisplayMode</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keyword">const</span> <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a></div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  * mode);</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a8185547bc7cb0bbeb400f459792d081a">SDL_GetWindowDisplayMode</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <a class="code" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> * mode);</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> <span class="keyword">extern</span> DECLSPEC Uint32 SDLCALL <a class="code" href="SDL__video_8h.html#a3abb4a27f109ac055eb2a82227a9d11f">SDL_GetWindowPixelFormat</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span> </div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * SDLCALL <a class="code" href="SDL__video_8h.html#a42565088bdb739a5353fd67abbe235d2">SDL_CreateWindow</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *title,</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> w,</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  <span class="keywordtype">int</span> h, Uint32 flags);</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span> </div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * SDLCALL <a class="code" href="SDL__video_8h.html#a54b9e13dbc5bf587a8765a9ec0a29772">SDL_CreateWindowFrom</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *data);</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span> <span class="keyword">extern</span> DECLSPEC Uint32 SDLCALL <a class="code" href="SDL__video_8h.html#a1f6c1c22ced1564ffd0d54bbf9824134">SDL_GetWindowID</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> </div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * SDLCALL <a class="code" href="SDL__video_8h.html#adc713c8b1a570b9654981d6b079671fb">SDL_GetWindowFromID</a>(Uint32 <span class="keywordtype">id</span>);</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span> </div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <span class="keyword">extern</span> DECLSPEC Uint32 SDLCALL <a class="code" href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f">SDL_GetWindowFlags</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span> </div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a41aabc4b68f75f41d97995e02eb9deb6">SDL_SetWindowTitle</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span> </div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span> <span class="keyword">extern</span> DECLSPEC <span class="keyword">const</span> <span class="keywordtype">char</span> *SDLCALL <a class="code" href="SDL__video_8h.html#a1e82096618e15a831f5dd77c1aa2b579">SDL_GetWindowTitle</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a0b6910b5d5aa2df0aeda257e445a472e">SDL_SetWindowIcon</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <a class="code" href="structSDL__Surface.html">SDL_Surface</a> * icon);</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span> </div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span>* SDLCALL <a class="code" href="SDL__video_8h.html#afc7a842e8843235d2ede124a1fd076ec">SDL_SetWindowData</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <span class="keywordtype">void</span> *userdata);</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span> </div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> *SDLCALL <a class="code" href="SDL__video_8h.html#ad714a638020c06ad03f113e3d069cf88">SDL_GetWindowData</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span> </div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#ab200a53e01ddc697fd6b8e017cc4e6dd">SDL_SetWindowPosition</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00626"></a><span class="lineno"> 626</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a03adfc1ed4aaf57da4af00bd247ac99c">SDL_GetWindowPosition</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  <span class="keywordtype">int</span> *x, <span class="keywordtype">int</span> *y);</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> </div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a29b118c6932ccb94d85b5435ae1e0a19">SDL_SetWindowSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">int</span> w,</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span> </div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5">SDL_GetWindowSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">int</span> *w,</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span>  <span class="keywordtype">int</span> *h);</div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span> </div><div class="line"><a name="l00684"></a><span class="lineno"> 684</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a1f309d151c3526b1ac3a7cb9c1a231ae">SDL_GetWindowBordersSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  <span class="keywordtype">int</span> *top, <span class="keywordtype">int</span> *left,</div><div class="line"><a name="l00686"></a><span class="lineno"> 686</span>  <span class="keywordtype">int</span> *bottom, <span class="keywordtype">int</span> *right);</div><div class="line"><a name="l00687"></a><span class="lineno"> 687</span> </div><div class="line"><a name="l00701"></a><span class="lineno"> 701</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a1b6dd546d8dec383be411f98926335ae">SDL_SetWindowMinimumSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>  <span class="keywordtype">int</span> min_w, <span class="keywordtype">int</span> min_h);</div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span> </div><div class="line"><a name="l00714"></a><span class="lineno"> 714</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#afe1c6ca08d5b8c336b1276236559287a">SDL_GetWindowMinimumSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span>  <span class="keywordtype">int</span> *w, <span class="keywordtype">int</span> *h);</div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span> </div><div class="line"><a name="l00730"></a><span class="lineno"> 730</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#aaf95e53a3b70d55d71d7b2cf822ea77e">SDL_SetWindowMaximumSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00731"></a><span class="lineno"> 731</span>  <span class="keywordtype">int</span> max_w, <span class="keywordtype">int</span> max_h);</div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span> </div><div class="line"><a name="l00743"></a><span class="lineno"> 743</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a38d65795da3feacfec1c392c101e92fd">SDL_GetWindowMaximumSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00744"></a><span class="lineno"> 744</span>  <span class="keywordtype">int</span> *w, <span class="keywordtype">int</span> *h);</div><div class="line"><a name="l00745"></a><span class="lineno"> 745</span> </div><div class="line"><a name="l00760"></a><span class="lineno"> 760</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#afb4b868e2cc0107ed6bcf5ba7aa376e0">SDL_SetWindowBordered</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00761"></a><span class="lineno"> 761</span>  SDL_bool bordered);</div><div class="line"><a name="l00762"></a><span class="lineno"> 762</span> </div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a42d2451050ae01aaf2974344b9d4a812">SDL_SetWindowResizable</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span>  SDL_bool resizable);</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span> </div><div class="line"><a name="l00785"></a><span class="lineno"> 785</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a6051ce26885b32b80bc7285b4facd0a1">SDL_ShowWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00786"></a><span class="lineno"> 786</span> </div><div class="line"><a name="l00792"></a><span class="lineno"> 792</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#aa3cbe663e0bd62aa7a747a6c11781766">SDL_HideWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00793"></a><span class="lineno"> 793</span> </div><div class="line"><a name="l00797"></a><span class="lineno"> 797</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a4b66b90f95780276addc14bc573c9f3c">SDL_RaiseWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00798"></a><span class="lineno"> 798</span> </div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a8d969b660fee270f84cb403c8b75ded6">SDL_MaximizeWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00805"></a><span class="lineno"> 805</span> </div><div class="line"><a name="l00811"></a><span class="lineno"> 811</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a9f802f6c7952552b1cb26958fad3f2a6">SDL_MinimizeWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00812"></a><span class="lineno"> 812</span> </div><div class="line"><a name="l00819"></a><span class="lineno"> 819</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd">SDL_RestoreWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00820"></a><span class="lineno"> 820</span> </div><div class="line"><a name="l00829"></a><span class="lineno"> 829</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa">SDL_SetWindowFullscreen</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00830"></a><span class="lineno"> 830</span>  Uint32 flags);</div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span> </div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="structSDL__Surface.html">SDL_Surface</a> * SDLCALL <a class="code" href="SDL__video_8h.html#a0f7a1d102e1d5dd2d739ad70fe268385">SDL_GetWindowSurface</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span> </div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a7bbfee05788dc85a1d67218cf3006653">SDL_UpdateWindowSurface</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span> </div><div class="line"><a name="l00865"></a><span class="lineno"> 865</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ae6b0c6cf354beb87291887bfa02385b1">SDL_UpdateWindowSurfaceRects</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00866"></a><span class="lineno"> 866</span>  <span class="keyword">const</span> <a class="code" href="structSDL__Rect.html">SDL_Rect</a> * rects,</div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span>  <span class="keywordtype">int</span> numrects);</div><div class="line"><a name="l00868"></a><span class="lineno"> 868</span> </div><div class="line"><a name="l00880"></a><span class="lineno"> 880</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#abe7fd559e9d6da046c5984dea679a89b">SDL_SetWindowGrab</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00881"></a><span class="lineno"> 881</span>  SDL_bool grabbed);</div><div class="line"><a name="l00882"></a><span class="lineno"> 882</span> </div><div class="line"><a name="l00890"></a><span class="lineno"> 890</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__video_8h.html#ad4e451db3880b6e0dd6647cbc351c6c0">SDL_GetWindowGrab</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span> </div><div class="line"><a name="l00899"></a><span class="lineno"> 899</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * SDLCALL <a class="code" href="SDL__video_8h.html#a8c6fb2a477c4d309f53bce34ee26d4df">SDL_GetGrabbedWindow</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00900"></a><span class="lineno"> 900</span> </div><div class="line"><a name="l00909"></a><span class="lineno"> 909</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a896972250b4d2e0f75888fa44fa792ec">SDL_SetWindowBrightness</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">float</span> brightness);</div><div class="line"><a name="l00910"></a><span class="lineno"> 910</span> </div><div class="line"><a name="l00918"></a><span class="lineno"> 918</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">float</span> SDLCALL <a class="code" href="SDL__video_8h.html#a21c10969331c89e8d0e6a8f998a3c319">SDL_GetWindowBrightness</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00919"></a><span class="lineno"> 919</span> </div><div class="line"><a name="l00931"></a><span class="lineno"> 931</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ac10be8659aa8b5bdefb8ce43b6961f7f">SDL_SetWindowOpacity</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">float</span> opacity);</div><div class="line"><a name="l00932"></a><span class="lineno"> 932</span> </div><div class="line"><a name="l00946"></a><span class="lineno"> 946</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a9a85fb11978adecf13a04976efe6ceca">SDL_GetWindowOpacity</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">float</span> * out_opacity);</div><div class="line"><a name="l00947"></a><span class="lineno"> 947</span> </div><div class="line"><a name="l00956"></a><span class="lineno"> 956</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#afb7627a0ede24c28453857fff4f02aca">SDL_SetWindowModalFor</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * modal_window, <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * parent_window);</div><div class="line"><a name="l00957"></a><span class="lineno"> 957</span> </div><div class="line"><a name="l00970"></a><span class="lineno"> 970</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#aa77986a0f56e51f216af57d829bca896">SDL_SetWindowInputFocus</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l00971"></a><span class="lineno"> 971</span> </div><div class="line"><a name="l00990"></a><span class="lineno"> 990</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a6799acf235454f519ac209ccf14caa67">SDL_SetWindowGammaRamp</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l00991"></a><span class="lineno"> 991</span>  <span class="keyword">const</span> Uint16 * red,</div><div class="line"><a name="l00992"></a><span class="lineno"> 992</span>  <span class="keyword">const</span> Uint16 * green,</div><div class="line"><a name="l00993"></a><span class="lineno"> 993</span>  <span class="keyword">const</span> Uint16 * blue);</div><div class="line"><a name="l00994"></a><span class="lineno"> 994</span> </div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#af4d647be3bb21a33586d69d5cad87ead">SDL_GetWindowGammaRamp</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>  Uint16 * red,</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>  Uint16 * green,</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>  Uint16 * blue);</div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> </div><div class="line"><a name="l01020"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5"> 1020</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> {</div><div class="line"><a name="l01022"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a3eb7be45c88e40366315d453f3bf721e"> 1022</a></span>  <a class="code" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a3eb7be45c88e40366315d453f3bf721e">SDL_HITTEST_NORMAL</a>, </div><div class="line"><a name="l01023"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a078a028af8c26848cf3576bd0c4d8fc9"> 1023</a></span>  <a class="code" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a078a028af8c26848cf3576bd0c4d8fc9">SDL_HITTEST_DRAGGABLE</a>, </div><div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>  SDL_HITTEST_RESIZE_TOPLEFT,</div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>  SDL_HITTEST_RESIZE_TOP,</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>  SDL_HITTEST_RESIZE_TOPRIGHT,</div><div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>  SDL_HITTEST_RESIZE_RIGHT,</div><div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>  SDL_HITTEST_RESIZE_BOTTOMRIGHT,</div><div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>  SDL_HITTEST_RESIZE_BOTTOM,</div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>  SDL_HITTEST_RESIZE_BOTTOMLEFT,</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>  SDL_HITTEST_RESIZE_LEFT</div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> } <a class="code" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5">SDL_HitTestResult</a>;</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> </div><div class="line"><a name="l01039"></a><span class="lineno"><a class="line" href="SDL__video_8h.html#a247c7fd43bb60b20630945a5bd9e4957"> 1039</a></span> <span class="keyword">typedef</span> <a class="code" href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5">SDL_HitTestResult</a> (SDLCALL *<a class="code" href="SDL__video_8h.html#a247c7fd43bb60b20630945a5bd9e4957">SDL_HitTest</a>)(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *win,</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>  <span class="keyword">const</span> <a class="code" href="structSDL__Point.html">SDL_Point</a> *area,</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>  <span class="keywordtype">void</span> *data);</div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> </div><div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a23e14e1f21f7fb3727f38fd9b0711186">SDL_SetWindowHitTest</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>  <a class="code" href="SDL__video_8h.html#a247c7fd43bb60b20630945a5bd9e4957">SDL_HitTest</a> callback,</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  <span class="keywordtype">void</span> *callback_data);</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> </div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2">SDL_DestroyWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> </div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> </div><div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__video_8h.html#a4b5c116d57947bf508c13b21aac49cbf">SDL_IsScreenSaverEnabled</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> </div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a17846c713066aa29a86e1be205a7fc3e">SDL_EnableScreenSaver</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> </div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a68eb0d850934fa1c7ac12c30f2d56a84">SDL_DisableScreenSaver</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> </div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> </div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> <span class="comment">/* @{ */</span></div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> </div><div class="line"><a name="l01138"></a><span class="lineno"> 1138</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91">SDL_GL_LoadLibrary</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *path);</div><div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> </div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> *SDLCALL <a class="code" href="SDL__video_8h.html#a6329bc32811639fe6f71606801cd9e7b">SDL_GL_GetProcAddress</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *proc);</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> </div><div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a92103adf9637ec2dc471714076872bdc">SDL_GL_UnloadLibrary</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> </div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> <span class="keyword">extern</span> DECLSPEC SDL_bool SDLCALL <a class="code" href="SDL__video_8h.html#a1fa0cc176fbc16db139b40a121e9cfa7">SDL_GL_ExtensionSupported</a>(<span class="keyword">const</span> <span class="keywordtype">char</span></div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  *extension);</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span> </div><div class="line"><a name="l01162"></a><span class="lineno"> 1162</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#ac96f25a7a6b28387d2813d8db71921ff">SDL_GL_ResetAttributes</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01163"></a><span class="lineno"> 1163</span> </div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#aed4d4347f2d5def1532bc22893e0e0d9">SDL_GL_SetAttribute</a>(<a class="code" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a> attr, <span class="keywordtype">int</span> value);</div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span> </div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a611bbed6c7374329e1d1b9c31b06976d">SDL_GL_GetAttribute</a>(<a class="code" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a> attr, <span class="keywordtype">int</span> *value);</div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span> </div><div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> SDLCALL <a class="code" href="SDL__video_8h.html#a0e14c935cf304133278893bf6c1d2691">SDL_GL_CreateContext</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *</div><div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>  window);</div><div class="line"><a name="l01187"></a><span class="lineno"> 1187</span> </div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a5a2ad98e8920f8069bf89eb3f9bbc377">SDL_GL_MakeCurrent</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window,</div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>  <a class="code" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> context);</div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> </div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a>* SDLCALL <a class="code" href="SDL__video_8h.html#a9965884a9c717690a44128afa279d144">SDL_GL_GetCurrentWindow</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> </div><div class="line"><a name="l01204"></a><span class="lineno"> 1204</span> <span class="keyword">extern</span> DECLSPEC <a class="code" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> SDLCALL <a class="code" href="SDL__video_8h.html#a742f600404b9090bd64f8e863ece98c8">SDL_GL_GetCurrentContext</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> </div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#ac21851bbd91760c5bab92594a58edba3">SDL_GL_GetDrawableSize</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window, <span class="keywordtype">int</span> *w,</div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>  <span class="keywordtype">int</span> *h);</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> </div><div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#a68b0d06595d086d9244fd49afe3e8360">SDL_GL_SetSwapInterval</a>(<span class="keywordtype">int</span> interval);</div><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span> </div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">int</span> SDLCALL <a class="code" href="SDL__video_8h.html#ae96490db6285ed0df44a9b1c0f498605">SDL_GL_GetSwapInterval</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> </div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#a11d1245662f49f6af257627119f22835">SDL_GL_SwapWindow</a>(<a class="code" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> * window);</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span> </div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> <span class="keyword">extern</span> DECLSPEC <span class="keywordtype">void</span> SDLCALL <a class="code" href="SDL__video_8h.html#aa64ab050e0bd3a61057c3dffe953aa9f">SDL_GL_DeleteContext</a>(<a class="code" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> context);</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span> </div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> <span class="comment">/* @} */</span><span class="comment">/* OpenGL support functions */</span></div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> </div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> </div><div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> <span class="comment">/* Ends C function definitions when using C++ */</span></div><div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> }</div><div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> <span class="preprocessor">#include "<a class="code" href="close__code_8h.html">close_code.h</a>"</span></div><div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> </div><div class="line"><a name="l01274"></a><span class="lineno"> 1274</span> <span class="preprocessor">#endif </span><span class="comment">/* SDL_video_h_ */</span><span class="preprocessor"></span></div><div class="line"><a name="l01275"></a><span class="lineno"> 1275</span> </div><div class="line"><a name="l01276"></a><span class="lineno"> 1276</span> <span class="comment">/* vi: set ts=4 sw=4 expandtab: */</span></div><div class="ttc" id="SDL__video_8h_html_afe1c6ca08d5b8c336b1276236559287a"><div class="ttname"><a href="SDL__video_8h.html#afe1c6ca08d5b8c336b1276236559287a">SDL_GetWindowMinimumSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GetWindowMinimumSize(SDL_Window *window, int *w, int *h)</div><div class="ttdoc">Get the minimum size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05">SDL_WINDOWEVENT_MAXIMIZED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:160</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c">SDL_WINDOW_BORDERLESS</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:104</div></div> <div class="ttc" id="SDL__video_8h_html_a55a196c7d3b8497538632c79ae1e6392"><div class="ttname"><a href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a></div><div class="ttdeci">struct SDL_Window SDL_Window</div><div class="ttdoc">The type used to identify a window.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:90</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbdea6cd1294f411220564276f85c32616c6a"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea6cd1294f411220564276f85c32616c6a">SDL_ORIENTATION_LANDSCAPE_FLIPPED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:185</div></div> <div class="ttc" id="SDL__video_8h_html_ac21851bbd91760c5bab92594a58edba3"><div class="ttname"><a href="SDL__video_8h.html#ac21851bbd91760c5bab92594a58edba3">SDL_GL_GetDrawableSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window *window, int *w, int *h)</div><div class="ttdoc">Get the size of a window's underlying drawable in pixels (for use with glViewport).</div></div> <div class="ttc" id="SDL__video_8h_html_a21c10969331c89e8d0e6a8f998a3c319"><div class="ttname"><a href="SDL__video_8h.html#a21c10969331c89e8d0e6a8f998a3c319">SDL_GetWindowBrightness</a></div><div class="ttdeci">DECLSPEC float SDLCALL SDL_GetWindowBrightness(SDL_Window *window)</div><div class="ttdoc">Get the brightness (gamma correction) for a window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac05213009395c10ae40bede2de8e08a1"><div class="ttname"><a href="SDL__video_8h.html#ac05213009395c10ae40bede2de8e08a1">SDL_GetDisplayBounds</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetDisplayBounds(int displayIndex, SDL_Rect *rect)</div><div class="ttdoc">Get the desktop area represented by a display, with the primary display located at 0,...</div></div> <div class="ttc" id="SDL__video_8h_html_a72609295a4faee0587268339ccff80c2"><div class="ttname"><a href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2">SDL_DestroyWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_DestroyWindow(SDL_Window *window)</div><div class="ttdoc">Destroy a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a8c6fb2a477c4d309f53bce34ee26d4df"><div class="ttname"><a href="SDL__video_8h.html#a8c6fb2a477c4d309f53bce34ee26d4df">SDL_GetGrabbedWindow</a></div><div class="ttdeci">DECLSPEC SDL_Window *SDLCALL SDL_GetGrabbedWindow(void)</div><div class="ttdoc">Get the window that currently has an input grab enabled.</div></div> <div class="ttc" id="SDL__video_8h_html_a9898f2e51cd90ace84cb0c6ea65d7051"><div class="ttname"><a href="SDL__video_8h.html#a9898f2e51cd90ace84cb0c6ea65d7051">SDL_GetDisplayUsableBounds</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect *rect)</div><div class="ttdoc">Get the usable desktop area represented by a display, with the primary display located at 0,...</div></div> <div class="ttc" id="SDL__video_8h_html_a42d2451050ae01aaf2974344b9d4a812"><div class="ttname"><a href="SDL__video_8h.html#a42d2451050ae01aaf2974344b9d4a812">SDL_SetWindowResizable</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowResizable(SDL_Window *window, SDL_bool resizable)</div><div class="ttdoc">Set the user-resizable state of a window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d">SDL_WINDOWEVENT_MINIMIZED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:159</div></div> <div class="ttc" id="SDL__video_8h_html_aa64ab050e0bd3a61057c3dffe953aa9f"><div class="ttname"><a href="SDL__video_8h.html#aa64ab050e0bd3a61057c3dffe953aa9f">SDL_GL_DeleteContext</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context)</div><div class="ttdoc">Delete an OpenGL context.</div></div> <div class="ttc" id="SDL__video_8h_html_a05244b30716f0339dcd140c6f92017b7"><div class="ttname"><a href="SDL__video_8h.html#a05244b30716f0339dcd140c6f92017b7">SDL_VideoInit</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name)</div><div class="ttdoc">Initialize the video subsystem, optionally specifying a video driver.</div></div> <div class="ttc" id="SDL__video_8h_html_ad671b39d95c255af51db93cb54512ffc"><div class="ttname"><a href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffc">SDL_DisplayEventID</a></div><div class="ttdeci">SDL_DisplayEventID</div><div class="ttdoc">Event subtype for display events.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:175</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18aeb1e21d5d8ed10b5d65ab0909b5c8c0d"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aeb1e21d5d8ed10b5d65ab0909b5c8c0d">SDL_WINDOW_POPUP_MENU</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:121</div></div> <div class="ttc" id="SDL__video_8h_html_a8185547bc7cb0bbeb400f459792d081a"><div class="ttname"><a href="SDL__video_8h.html#a8185547bc7cb0bbeb400f459792d081a">SDL_GetWindowDisplayMode</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_Window *window, SDL_DisplayMode *mode)</div><div class="ttdoc">Fill in information about the display mode used when a fullscreen window is visible.</div></div> <div class="ttc" id="SDL__video_8h_html_ad5ea1835b83fe139bcc182c3326d7a5f"><div class="ttname"><a href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5f">SDL_GLprofile</a></div><div class="ttdeci">SDL_GLprofile</div><div class="ttdef"><b>Definition:</b> SDL_video.h:229</div></div> <div class="ttc" id="SDL__video_8h_html_afea37fca3b12f454e7f91d919fc99fbd"><div class="ttname"><a href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd">SDL_RestoreWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_RestoreWindow(SDL_Window *window)</div><div class="ttdoc">Restore the size and position of a minimized or maximized window.</div></div> <div class="ttc" id="SDL__video_8h_html_a247c7fd43bb60b20630945a5bd9e4957"><div class="ttname"><a href="SDL__video_8h.html#a247c7fd43bb60b20630945a5bd9e4957">SDL_HitTest</a></div><div class="ttdeci">SDL_HitTestResult(SDLCALL * SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data)</div><div class="ttdoc">Callback used for hit-testing.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:1039</div></div> <div class="ttc" id="SDL__video_8h_html_a794be92ee0a9efca226fa19a635fa470"><div class="ttname"><a href="SDL__video_8h.html#a794be92ee0a9efca226fa19a635fa470">SDL_GetClosestDisplayMode</a></div><div class="ttdeci">DECLSPEC SDL_DisplayMode *SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode *mode, SDL_DisplayMode *closest)</div><div class="ttdoc">Get the closest match to the requested display mode.</div></div> <div class="ttc" id="SDL__video_8h_html_a0be1d0a4d1f9a0da23b78db2f55871b5"><div class="ttname"><a href="SDL__video_8h.html#a0be1d0a4d1f9a0da23b78db2f55871b5">SDL_GetWindowDisplayIndex</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetWindowDisplayIndex(SDL_Window *window)</div><div class="ttdoc">Get the display index associated with a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a8d969b660fee270f84cb403c8b75ded6"><div class="ttname"><a href="SDL__video_8h.html#a8d969b660fee270f84cb403c8b75ded6">SDL_MaximizeWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_MaximizeWindow(SDL_Window *window)</div><div class="ttdoc">Make a window as large as possible.</div></div> <div class="ttc" id="SDL__video_8h_html_a6799acf235454f519ac209ccf14caa67"><div class="ttname"><a href="SDL__video_8h.html#a6799acf235454f519ac209ccf14caa67">SDL_SetWindowGammaRamp</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowGammaRamp(SDL_Window *window, const Uint16 *red, const Uint16 *green, const Uint16 *blue)</div><div class="ttdoc">Set the gamma ramp for a window.</div></div> <div class="ttc" id="structSDL__DisplayMode_html_a504bb5e21950b719a0df43be51199046"><div class="ttname"><a href="structSDL__DisplayMode.html#a504bb5e21950b719a0df43be51199046">SDL_DisplayMode::w</a></div><div class="ttdeci">int w</div><div class="ttdef"><b>Definition:</b> SDL_video.h:56</div></div> <div class="ttc" id="SDL__video_8h_html_a0e14c935cf304133278893bf6c1d2691"><div class="ttname"><a href="SDL__video_8h.html#a0e14c935cf304133278893bf6c1d2691">SDL_GL_CreateContext</a></div><div class="ttdeci">DECLSPEC SDL_GLContext SDLCALL SDL_GL_CreateContext(SDL_Window *window)</div><div class="ttdoc">Create an OpenGL context for use with an OpenGL window, and make it current.</div></div> <div class="ttc" id="SDL__rect_8h_html"><div class="ttname"><a href="SDL__rect_8h.html">SDL_rect.h</a></div></div> <div class="ttc" id="SDL__video_8h_html_ad671b39d95c255af51db93cb54512ffca79af38ade27966e9e53476f5d3755f04"><div class="ttname"><a href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca79af38ade27966e9e53476f5d3755f04">SDL_DISPLAYEVENT_ORIENTATION</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:178</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a4bd52941a63adc993271579d52fb6641"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4bd52941a63adc993271579d52fb6641">SDL_WINDOW_SKIP_TASKBAR</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:118</div></div> <div class="ttc" id="SDL__video_8h_html_aed4d4347f2d5def1532bc22893e0e0d9"><div class="ttname"><a href="SDL__video_8h.html#aed4d4347f2d5def1532bc22893e0e0d9">SDL_GL_SetAttribute</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_SetAttribute(SDL_GLattr attr, int value)</div><div class="ttdoc">Set an OpenGL window attribute before window creation.</div></div> <div class="ttc" id="SDL__video_8h_html_a23e14e1f21f7fb3727f38fd9b0711186"><div class="ttname"><a href="SDL__video_8h.html#a23e14e1f21f7fb3727f38fd9b0711186">SDL_SetWindowHitTest</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window *window, SDL_HitTest callback, void *callback_data)</div><div class="ttdoc">Provide a callback that decides if a window region has special properties.</div></div> <div class="ttc" id="SDL__video_8h_html_a03adfc1ed4aaf57da4af00bd247ac99c"><div class="ttname"><a href="SDL__video_8h.html#a03adfc1ed4aaf57da4af00bd247ac99c">SDL_GetWindowPosition</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GetWindowPosition(SDL_Window *window, int *x, int *y)</div><div class="ttdoc">Get the position of a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a742f600404b9090bd64f8e863ece98c8"><div class="ttname"><a href="SDL__video_8h.html#a742f600404b9090bd64f8e863ece98c8">SDL_GL_GetCurrentContext</a></div><div class="ttdeci">DECLSPEC SDL_GLContext SDLCALL SDL_GL_GetCurrentContext(void)</div><div class="ttdoc">Get the currently active OpenGL context.</div></div> <div class="ttc" id="SDL__video_8h_html_a9a85fb11978adecf13a04976efe6ceca"><div class="ttname"><a href="SDL__video_8h.html#a9a85fb11978adecf13a04976efe6ceca">SDL_GetWindowOpacity</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetWindowOpacity(SDL_Window *window, float *out_opacity)</div><div class="ttdoc">Get the opacity of a window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d">SDL_WINDOWEVENT_RESIZED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:155</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a55d2d1e92b96050c5a9cd8280d78f26c"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a55d2d1e92b96050c5a9cd8280d78f26c">SDL_WINDOW_VULKAN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:122</div></div> <div class="ttc" id="SDL__video_8h_html_ac96f25a7a6b28387d2813d8db71921ff"><div class="ttname"><a href="SDL__video_8h.html#ac96f25a7a6b28387d2813d8db71921ff">SDL_GL_ResetAttributes</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GL_ResetAttributes(void)</div><div class="ttdoc">Reset all previously set OpenGL context attributes to their default values.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7">SDL_WINDOWEVENT_NONE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:148</div></div> <div class="ttc" id="SDL__video_8h_html_a5a2ad98e8920f8069bf89eb3f9bbc377"><div class="ttname"><a href="SDL__video_8h.html#a5a2ad98e8920f8069bf89eb3f9bbc377">SDL_GL_MakeCurrent</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_MakeCurrent(SDL_Window *window, SDL_GLContext context)</div><div class="ttdoc">Set up an OpenGL context for rendering into an OpenGL window.</div></div> <div class="ttc" id="SDL__video_8h_html_a6051ce26885b32b80bc7285b4facd0a1"><div class="ttname"><a href="SDL__video_8h.html#a6051ce26885b32b80bc7285b4facd0a1">SDL_ShowWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_ShowWindow(SDL_Window *window)</div><div class="ttdoc">Show a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a41aabc4b68f75f41d97995e02eb9deb6"><div class="ttname"><a href="SDL__video_8h.html#a41aabc4b68f75f41d97995e02eb9deb6">SDL_SetWindowTitle</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowTitle(SDL_Window *window, const char *title)</div><div class="ttdoc">Set the title of a window, in UTF-8 format.</div></div> <div class="ttc" id="SDL__video_8h_html_ad671b39d95c255af51db93cb54512ffca0f22fc5951aac829337807e4238110e5"><div class="ttname"><a href="SDL__video_8h.html#ad671b39d95c255af51db93cb54512ffca0f22fc5951aac829337807e4238110e5">SDL_DISPLAYEVENT_NONE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:177</div></div> <div class="ttc" id="SDL__video_8h_html_a0415a108581752b68c6aca800ff3bad5a3eb7be45c88e40366315d453f3bf721e"><div class="ttname"><a href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a3eb7be45c88e40366315d453f3bf721e">SDL_HITTEST_NORMAL</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:1022</div></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="structSDL__Rect_html"><div class="ttname"><a href="structSDL__Rect.html">SDL_Rect</a></div><div class="ttdoc">A rectangle, with the origin at the upper left (integer).</div><div class="ttdef"><b>Definition:</b> SDL_rect.h:77</div></div> <div class="ttc" id="SDL__video_8h_html_ab200a53e01ddc697fd6b8e017cc4e6dd"><div class="ttname"><a href="SDL__video_8h.html#ab200a53e01ddc697fd6b8e017cc4e6dd">SDL_SetWindowPosition</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowPosition(SDL_Window *window, int x, int y)</div><div class="ttdoc">Set the position of a window.</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbdeacb20982c4f82c7271a66a76b98eda731"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdeacb20982c4f82c7271a66a76b98eda731">SDL_ORIENTATION_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:183</div></div> <div class="ttc" id="SDL__video_8h_html_a68eb0d850934fa1c7ac12c30f2d56a84"><div class="ttname"><a href="SDL__video_8h.html#a68eb0d850934fa1c7ac12c30f2d56a84">SDL_DisableScreenSaver</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_DisableScreenSaver(void)</div><div class="ttdoc">Prevent the screen from being blanked by a screensaver.</div></div> <div class="ttc" id="SDL__video_8h_html_aa77986a0f56e51f216af57d829bca896"><div class="ttname"><a href="SDL__video_8h.html#aa77986a0f56e51f216af57d829bca896">SDL_SetWindowInputFocus</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowInputFocus(SDL_Window *window)</div><div class="ttdoc">Explicitly sets input focus to the window.</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbdea5fb622ac90f47a799d7d7f660d7c860b"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5fb622ac90f47a799d7d7f660d7c860b">SDL_ORIENTATION_PORTRAIT</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:186</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5">SDL_WINDOWEVENT_MOVED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:153</div></div> <div class="ttc" id="SDL__video_8h_html_afc7a842e8843235d2ede124a1fd076ec"><div class="ttname"><a href="SDL__video_8h.html#afc7a842e8843235d2ede124a1fd076ec">SDL_SetWindowData</a></div><div class="ttdeci">DECLSPEC void *SDLCALL SDL_SetWindowData(SDL_Window *window, const char *name, void *userdata)</div><div class="ttdoc">Associate an arbitrary named pointer with a window.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2">SDL_WINDOW_INPUT_GRABBED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:108</div></div> <div class="ttc" id="SDL__video_8h_html_a9965884a9c717690a44128afa279d144"><div class="ttname"><a href="SDL__video_8h.html#a9965884a9c717690a44128afa279d144">SDL_GL_GetCurrentWindow</a></div><div class="ttdeci">DECLSPEC SDL_Window *SDLCALL SDL_GL_GetCurrentWindow(void)</div><div class="ttdoc">Get the currently active OpenGL window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360">SDL_WINDOWEVENT_CLOSE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:167</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__video_8h_html_a0f7a1d102e1d5dd2d739ad70fe268385"><div class="ttname"><a href="SDL__video_8h.html#a0f7a1d102e1d5dd2d739ad70fe268385">SDL_GetWindowSurface</a></div><div class="ttdeci">DECLSPEC SDL_Surface *SDLCALL SDL_GetWindowSurface(SDL_Window *window)</div><div class="ttdoc">Get the SDL surface associated with the window.</div></div> <div class="ttc" id="SDL__video_8h_html_adc713c8b1a570b9654981d6b079671fb"><div class="ttname"><a href="SDL__video_8h.html#adc713c8b1a570b9654981d6b079671fb">SDL_GetWindowFromID</a></div><div class="ttdeci">DECLSPEC SDL_Window *SDLCALL SDL_GetWindowFromID(Uint32 id)</div><div class="ttdoc">Get a window from a stored ID, or NULL if it doesn't exist.</div></div> <div class="ttc" id="structSDL__Surface_html"><div class="ttname"><a href="structSDL__Surface.html">SDL_Surface</a></div><div class="ttdoc">A collection of pixels used in software blitting.</div><div class="ttdef"><b>Definition:</b> SDL_surface.h:70</div></div> <div class="ttc" id="SDL__video_8h_html_a11d1245662f49f6af257627119f22835"><div class="ttname"><a href="SDL__video_8h.html#a11d1245662f49f6af257627119f22835">SDL_GL_SwapWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window *window)</div><div class="ttdoc">Swap the OpenGL buffers for a window, if double-buffering is supported.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923">SDL_WINDOW_FULLSCREEN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:100</div></div> <div class="ttc" id="SDL__video_8h_html_ab4aa48f0a29f0868ce4e0422c02ed2fa"><div class="ttname"><a href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa">SDL_SetWindowFullscreen</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_Window *window, Uint32 flags)</div><div class="ttdoc">Set a window's fullscreen state.</div></div> <div class="ttc" id="SDL__video_8h_html_a6329bc32811639fe6f71606801cd9e7b"><div class="ttname"><a href="SDL__video_8h.html#a6329bc32811639fe6f71606801cd9e7b">SDL_GL_GetProcAddress</a></div><div class="ttdeci">DECLSPEC void *SDLCALL SDL_GL_GetProcAddress(const char *proc)</div><div class="ttdoc">Get the address of an OpenGL function.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92">SDL_WINDOWEVENT_FOCUS_GAINED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:165</div></div> <div class="ttc" id="SDL__video_8h_html_a074d185b7ef04e0305acdeeb049dd2be"><div class="ttname"><a href="SDL__video_8h.html#a074d185b7ef04e0305acdeeb049dd2be">SDL_GetNumVideoDisplays</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void)</div><div class="ttdoc">Returns the number of available video displays.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a">SDL_WINDOW_MINIMIZED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:106</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8">SDL_WINDOW_RESIZABLE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:105</div></div> <div class="ttc" id="structSDL__DisplayMode_html_a411f93025411da873f37a384ae62bbcf"><div class="ttname"><a href="structSDL__DisplayMode.html#a411f93025411da873f37a384ae62bbcf">SDL_DisplayMode::driverdata</a></div><div class="ttdeci">void * driverdata</div><div class="ttdef"><b>Definition:</b> SDL_video.h:59</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3bab"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab">SDL_WindowEventID</a></div><div class="ttdeci">SDL_WindowEventID</div><div class="ttdoc">Event subtype for window events.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:146</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55">SDL_WINDOWEVENT_HIDDEN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:150</div></div> <div class="ttc" id="structSDL__DisplayMode_html_a0d9eabed50a560ed553af772c26632d7"><div class="ttname"><a href="structSDL__DisplayMode.html#a0d9eabed50a560ed553af772c26632d7">SDL_DisplayMode::h</a></div><div class="ttdeci">int h</div><div class="ttdef"><b>Definition:</b> SDL_video.h:57</div></div> <div class="ttc" id="SDL__video_8h_html_ac6f3250a95bd027fd1a374d7ed15fc57"><div class="ttname"><a href="SDL__video_8h.html#ac6f3250a95bd027fd1a374d7ed15fc57">SDL_GetNumVideoDrivers</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void)</div><div class="ttdoc">Get the number of video drivers compiled into SDL.</div></div> <div class="ttc" id="SDL__video_8h_html_afb7627a0ede24c28453857fff4f02aca"><div class="ttname"><a href="SDL__video_8h.html#afb7627a0ede24c28453857fff4f02aca">SDL_SetWindowModalFor</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowModalFor(SDL_Window *modal_window, SDL_Window *parent_window)</div><div class="ttdoc">Sets the window as a modal for another window (TODO: reconsider this function and/or its name)</div></div> <div class="ttc" id="SDL__video_8h_html_a7bbfee05788dc85a1d67218cf3006653"><div class="ttname"><a href="SDL__video_8h.html#a7bbfee05788dc85a1d67218cf3006653">SDL_UpdateWindowSurface</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_UpdateWindowSurface(SDL_Window *window)</div><div class="ttdoc">Copy the window surface to the screen.</div></div> <div class="ttc" id="SDL__video_8h_html_a1b6dd546d8dec383be411f98926335ae"><div class="ttname"><a href="SDL__video_8h.html#a1b6dd546d8dec383be411f98926335ae">SDL_SetWindowMinimumSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowMinimumSize(SDL_Window *window, int min_w, int min_h)</div><div class="ttdoc">Set the minimum size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a318e8aee0e3fddcfe2257757c6eb3128"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a318e8aee0e3fddcfe2257757c6eb3128">SDL_WINDOW_ALWAYS_ON_TOP</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:117</div></div> <div class="ttc" id="SDL__video_8h_html_a5cbfffcfec91c22a7ca95fd1d5163db5"><div class="ttname"><a href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5">SDL_GetWindowSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GetWindowSize(SDL_Window *window, int *w, int *h)</div><div class="ttdoc">Get the size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_a34ac3472027bf4acf299fd8ecbb69dd7"><div class="ttname"><a href="SDL__video_8h.html#a34ac3472027bf4acf299fd8ecbb69dd7">SDL_GetDisplayName</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_GetDisplayName(int displayIndex)</div><div class="ttdoc">Get the name of a display in UTF-8 encoding.</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__video_8h_html_a6540db01a424ced1847376e583361ecb"><div class="ttname"><a href="SDL__video_8h.html#a6540db01a424ced1847376e583361ecb">SDL_GetDisplayOrientation</a></div><div class="ttdeci">DECLSPEC SDL_DisplayOrientation SDLCALL SDL_GetDisplayOrientation(int displayIndex)</div><div class="ttdoc">Get the orientation of a display.</div></div> <div class="ttc" id="SDL__video_8h_html_ad4e451db3880b6e0dd6647cbc351c6c0"><div class="ttname"><a href="SDL__video_8h.html#ad4e451db3880b6e0dd6647cbc351c6c0">SDL_GetWindowGrab</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab(SDL_Window *window)</div><div class="ttdoc">Get a window's input grab mode.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a94224404de009a2fb6856a6a69d20d85"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a94224404de009a2fb6856a6a69d20d85">SDL_WINDOW_UTILITY</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:119</div></div> <div class="ttc" id="SDL__video_8h_html_a611bbed6c7374329e1d1b9c31b06976d"><div class="ttname"><a href="SDL__video_8h.html#a611bbed6c7374329e1d1b9c31b06976d">SDL_GL_GetAttribute</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value)</div><div class="ttdoc">Get the actual value for an attribute from the current context.</div></div> <div class="ttc" id="SDL__video_8h_html_a0b6910b5d5aa2df0aeda257e445a472e"><div class="ttname"><a href="SDL__video_8h.html#a0b6910b5d5aa2df0aeda257e445a472e">SDL_SetWindowIcon</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowIcon(SDL_Window *window, SDL_Surface *icon)</div><div class="ttdoc">Set the icon for a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a2ca17d1e857d1560738e002c9935088a"><div class="ttname"><a href="SDL__video_8h.html#a2ca17d1e857d1560738e002c9935088a">SDL_SetWindowDisplayMode</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_Window *window, const SDL_DisplayMode *mode)</div><div class="ttdoc">Set the display mode used when a fullscreen window is visible.</div></div> <div class="ttc" id="SDL__video_8h_html_a1f309d151c3526b1ac3a7cb9c1a231ae"><div class="ttname"><a href="SDL__video_8h.html#a1f309d151c3526b1ac3a7cb9c1a231ae">SDL_GetWindowBordersSize</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window *window, int *top, int *left, int *bottom, int *right)</div><div class="ttdoc">Get the size of a window's borders (decorations) around the client area.</div></div> <div class="ttc" id="SDL__video_8h_html_a54b9e13dbc5bf587a8765a9ec0a29772"><div class="ttname"><a href="SDL__video_8h.html#a54b9e13dbc5bf587a8765a9ec0a29772">SDL_CreateWindowFrom</a></div><div class="ttdeci">DECLSPEC SDL_Window *SDLCALL SDL_CreateWindowFrom(const void *data)</div><div class="ttdoc">Create an SDL window from an existing native window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89">SDL_WINDOWEVENT_RESTORED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:161</div></div> <div class="ttc" id="SDL__video_8h_html_a0415a108581752b68c6aca800ff3bad5a078a028af8c26848cf3576bd0c4d8fc9"><div class="ttname"><a href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5a078a028af8c26848cf3576bd0c4d8fc9">SDL_HITTEST_DRAGGABLE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:1023</div></div> <div class="ttc" id="SDL__surface_8h_html"><div class="ttname"><a href="SDL__surface_8h.html">SDL_surface.h</a></div></div> <div class="ttc" id="SDL__video_8h_html_a398df9aaf43a69dc2cfaab5b306b8f91"><div class="ttname"><a href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91">SDL_GL_LoadLibrary</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_LoadLibrary(const char *path)</div><div class="ttdoc">Dynamically load an OpenGL library.</div></div> <div class="ttc" id="SDL__video_8h_html_a4b5c116d57947bf508c13b21aac49cbf"><div class="ttname"><a href="SDL__video_8h.html#a4b5c116d57947bf508c13b21aac49cbf">SDL_IsScreenSaverEnabled</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void)</div><div class="ttdoc">Returns whether the screensaver is currently enabled (default off).</div></div> <div class="ttc" id="SDL__video_8h_html_a4445733f04a1a9dd0e063cd4738f285f"><div class="ttname"><a href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f">SDL_GetWindowFlags</a></div><div class="ttdeci">DECLSPEC Uint32 SDLCALL SDL_GetWindowFlags(SDL_Window *window)</div><div class="ttdoc">Get the window flags.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a">SDL_WINDOW_MAXIMIZED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:107</div></div> <div class="ttc" id="SDL__video_8h_html_a38d65795da3feacfec1c392c101e92fd"><div class="ttname"><a href="SDL__video_8h.html#a38d65795da3feacfec1c392c101e92fd">SDL_GetWindowMaximumSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window *window, int *w, int *h)</div><div class="ttdoc">Get the maximum size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5">SDL_WINDOWEVENT_SHOWN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:149</div></div> <div class="ttc" id="SDL__video_8h_html_a0a53e003ec6ad24dd2bbbcd0ad297311"><div class="ttname"><a href="SDL__video_8h.html#a0a53e003ec6ad24dd2bbbcd0ad297311">SDL_GetDisplayMode</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetDisplayMode(int displayIndex, int modeIndex, SDL_DisplayMode *mode)</div><div class="ttdoc">Fill in information about a specific display mode.</div></div> <div class="ttc" id="SDL__pixels_8h_html"><div class="ttname"><a href="SDL__pixels_8h.html">SDL_pixels.h</a></div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5">SDL_WINDOWEVENT_LEAVE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:164</div></div> <div class="ttc" id="SDL__video_8h_html_a3abb4a27f109ac055eb2a82227a9d11f"><div class="ttname"><a href="SDL__video_8h.html#a3abb4a27f109ac055eb2a82227a9d11f">SDL_GetWindowPixelFormat</a></div><div class="ttdeci">DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window)</div><div class="ttdoc">Get the pixel format associated with the window.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489">SDL_WINDOWEVENT_EXPOSED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:151</div></div> <div class="ttc" id="structSDL__Point_html"><div class="ttname"><a href="structSDL__Point.html">SDL_Point</a></div><div class="ttdoc">The structure that defines a point (integer)</div><div class="ttdef"><b>Definition:</b> SDL_rect.h:48</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba425a0e4dca5ba339eed8166248eeef8e"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba425a0e4dca5ba339eed8166248eeef8e">SDL_WINDOWEVENT_HIT_TEST</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:169</div></div> <div class="ttc" id="SDL__video_8h_html_a8207ec5d13bd87158cbb42ef76e33216"><div class="ttname"><a href="SDL__video_8h.html#a8207ec5d13bd87158cbb42ef76e33216">SDL_GetDisplayDPI</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float *ddpi, float *hdpi, float *vdpi)</div><div class="ttdoc">Get the dots/pixels-per-inch for a display.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3">SDL_WINDOW_ALLOW_HIGHDPI</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:113</div></div> <div class="ttc" id="SDL__video_8h_html_af4d647be3bb21a33586d69d5cad87ead"><div class="ttname"><a href="SDL__video_8h.html#af4d647be3bb21a33586d69d5cad87ead">SDL_GetWindowGammaRamp</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetWindowGammaRamp(SDL_Window *window, Uint16 *red, Uint16 *green, Uint16 *blue)</div><div class="ttdoc">Get the gamma ramp for a window.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c">SDL_WINDOW_MOUSE_FOCUS</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:110</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbdea5b1e627bf8f8be31d62292681f42694b"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea5b1e627bf8f8be31d62292681f42694b">SDL_ORIENTATION_LANDSCAPE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:184</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18">SDL_WindowFlags</a></div><div class="ttdeci">SDL_WindowFlags</div><div class="ttdoc">The flags on a window.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:97</div></div> <div class="ttc" id="SDL__video_8h_html_a2de24951bbc6626dc259ec0db5ae8ed4"><div class="ttname"><a href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a></div><div class="ttdeci">SDL_GLattr</div><div class="ttdoc">OpenGL configuration attributes.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:198</div></div> <div class="ttc" id="structSDL__DisplayMode_html"><div class="ttname"><a href="structSDL__DisplayMode.html">SDL_DisplayMode</a></div><div class="ttdoc">The structure that defines a display mode.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:53</div></div> <div class="ttc" id="SDL__video_8h_html_aaf95e53a3b70d55d71d7b2cf822ea77e"><div class="ttname"><a href="SDL__video_8h.html#aaf95e53a3b70d55d71d7b2cf822ea77e">SDL_SetWindowMaximumSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window *window, int max_w, int max_h)</div><div class="ttdoc">Set the maximum size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_a29b118c6932ccb94d85b5435ae1e0a19"><div class="ttname"><a href="SDL__video_8h.html#a29b118c6932ccb94d85b5435ae1e0a19">SDL_SetWindowSize</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowSize(SDL_Window *window, int w, int h)</div><div class="ttdoc">Set the size of a window's client area.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23">SDL_WINDOW_FOREIGN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:112</div></div> <div class="ttc" id="SDL__video_8h_html_a17846c713066aa29a86e1be205a7fc3e"><div class="ttname"><a href="SDL__video_8h.html#a17846c713066aa29a86e1be205a7fc3e">SDL_EnableScreenSaver</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_EnableScreenSaver(void)</div><div class="ttdoc">Allow the screen to be blanked by a screensaver.</div></div> <div class="ttc" id="structSDL__DisplayMode_html_ae8120e0a18a99992f039756e1b503680"><div class="ttname"><a href="structSDL__DisplayMode.html#ae8120e0a18a99992f039756e1b503680">SDL_DisplayMode::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_video.h:55</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba69ee247e6859b1d5d7dfffb7c1a99b4e"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba69ee247e6859b1d5d7dfffb7c1a99b4e">SDL_WINDOWEVENT_TAKE_FOCUS</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:168</div></div> <div class="ttc" id="SDL__video_8h_html_abe7fd559e9d6da046c5984dea679a89b"><div class="ttname"><a href="SDL__video_8h.html#abe7fd559e9d6da046c5984dea679a89b">SDL_SetWindowGrab</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowGrab(SDL_Window *window, SDL_bool grabbed)</div><div class="ttdoc">Set a window's input grab mode.</div></div> <div class="ttc" id="SDL__video_8h_html_ab97bca68fc068a6ecc3db473c4c0defd"><div class="ttname"><a href="SDL__video_8h.html#ab97bca68fc068a6ecc3db473c4c0defd">SDL_GetDesktopDisplayMode</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode *mode)</div><div class="ttdoc">Fill in information about the desktop display mode.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53">SDL_WINDOW_INPUT_FOCUS</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:109</div></div> <div class="ttc" id="SDL__video_8h_html_ade5fc4847320fb235f17265b683fa013"><div class="ttname"><a href="SDL__video_8h.html#ade5fc4847320fb235f17265b683fa013">SDL_VideoQuit</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_VideoQuit(void)</div><div class="ttdoc">Shuts down the video subsystem.</div></div> <div class="ttc" id="SDL__video_8h_html_a0415a108581752b68c6aca800ff3bad5"><div class="ttname"><a href="SDL__video_8h.html#a0415a108581752b68c6aca800ff3bad5">SDL_HitTestResult</a></div><div class="ttdeci">SDL_HitTestResult</div><div class="ttdoc">Possible return values from the SDL_HitTest callback.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:1020</div></div> <div class="ttc" id="SDL__video_8h_html_a9f802f6c7952552b1cb26958fad3f2a6"><div class="ttname"><a href="SDL__video_8h.html#a9f802f6c7952552b1cb26958fad3f2a6">SDL_MinimizeWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_MinimizeWindow(SDL_Window *window)</div><div class="ttdoc">Minimize a window to an iconic representation.</div></div> <div class="ttc" id="structSDL__DisplayMode_html_ad1b5783c9b292ebf24ad4e0e7a98e540"><div class="ttname"><a href="structSDL__DisplayMode.html#ad1b5783c9b292ebf24ad4e0e7a98e540">SDL_DisplayMode::refresh_rate</a></div><div class="ttdeci">int refresh_rate</div><div class="ttdef"><b>Definition:</b> SDL_video.h:58</div></div> <div class="ttc" id="SDL__video_8h_html_afb4b868e2cc0107ed6bcf5ba7aa376e0"><div class="ttname"><a href="SDL__video_8h.html#afb4b868e2cc0107ed6bcf5ba7aa376e0">SDL_SetWindowBordered</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_SetWindowBordered(SDL_Window *window, SDL_bool bordered)</div><div class="ttdoc">Set the border state of a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a92103adf9637ec2dc471714076872bdc"><div class="ttname"><a href="SDL__video_8h.html#a92103adf9637ec2dc471714076872bdc">SDL_GL_UnloadLibrary</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void)</div><div class="ttdoc">Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().</div></div> <div class="ttc" id="SDL__video_8h_html_ac10be8659aa8b5bdefb8ce43b6961f7f"><div class="ttname"><a href="SDL__video_8h.html#ac10be8659aa8b5bdefb8ce43b6961f7f">SDL_SetWindowOpacity</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowOpacity(SDL_Window *window, float opacity)</div><div class="ttdoc">Set the opacity for a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a1fa0cc176fbc16db139b40a121e9cfa7"><div class="ttname"><a href="SDL__video_8h.html#a1fa0cc176fbc16db139b40a121e9cfa7">SDL_GL_ExtensionSupported</a></div><div class="ttdeci">DECLSPEC SDL_bool SDLCALL SDL_GL_ExtensionSupported(const char *extension)</div><div class="ttdoc">Return true if an OpenGL extension is supported for the current context.</div></div> <div class="ttc" id="SDL__video_8h_html_ad5ea1835b83fe139bcc182c3326d7a5fa721fa797743fb228d804532cab8b8faa"><div class="ttname"><a href="SDL__video_8h.html#ad5ea1835b83fe139bcc182c3326d7a5fa721fa797743fb228d804532cab8b8faa">SDL_GL_CONTEXT_PROFILE_ES</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:233</div></div> <div class="ttc" id="SDL__video_8h_html_a1f6c1c22ced1564ffd0d54bbf9824134"><div class="ttname"><a href="SDL__video_8h.html#a1f6c1c22ced1564ffd0d54bbf9824134">SDL_GetWindowID</a></div><div class="ttdeci">DECLSPEC Uint32 SDLCALL SDL_GetWindowID(SDL_Window *window)</div><div class="ttdoc">Get the numeric ID of a window, for logging purposes.</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5">SDL_WINDOWEVENT_ENTER</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:163</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c">SDL_WINDOW_HIDDEN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:103</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0">SDL_WINDOWEVENT_SIZE_CHANGED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:156</div></div> <div class="ttc" id="SDL__video_8h_html_a896972250b4d2e0f75888fa44fa792ec"><div class="ttname"><a href="SDL__video_8h.html#a896972250b4d2e0f75888fa44fa792ec">SDL_SetWindowBrightness</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_SetWindowBrightness(SDL_Window *window, float brightness)</div><div class="ttdoc">Set the brightness (gamma correction) for a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a5d53f49e6db21468228a675056a80bc8"><div class="ttname"><a href="SDL__video_8h.html#a5d53f49e6db21468228a675056a80bc8">SDL_GetCurrentVideoDriver</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_GetCurrentVideoDriver(void)</div><div class="ttdoc">Returns the name of the currently initialized video driver.</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbdea66727ec5e93a1112a254b4d3b8e867db"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbdea66727ec5e93a1112a254b4d3b8e867db">SDL_ORIENTATION_PORTRAIT_FLIPPED</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:187</div></div> <div class="ttc" id="SDL__video_8h_html_aa3cbe663e0bd62aa7a747a6c11781766"><div class="ttname"><a href="SDL__video_8h.html#aa3cbe663e0bd62aa7a747a6c11781766">SDL_HideWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_HideWindow(SDL_Window *window)</div><div class="ttdoc">Hide a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a5abcf18592f00019c517e791f8ba53fc"><div class="ttname"><a href="SDL__video_8h.html#a5abcf18592f00019c517e791f8ba53fc">SDL_GetNumDisplayModes</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetNumDisplayModes(int displayIndex)</div><div class="ttdoc">Returns the number of available display modes.</div></div> <div class="ttc" id="SDL__video_8h_html_a42565088bdb739a5353fd67abbe235d2"><div class="ttname"><a href="SDL__video_8h.html#a42565088bdb739a5353fd67abbe235d2">SDL_CreateWindow</a></div><div class="ttdeci">DECLSPEC SDL_Window *SDLCALL SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags)</div><div class="ttdoc">Create a window with the specified position, dimensions, and flags.</div></div> <div class="ttc" id="SDL__video_8h_html_a1e82096618e15a831f5dd77c1aa2b579"><div class="ttname"><a href="SDL__video_8h.html#a1e82096618e15a831f5dd77c1aa2b579">SDL_GetWindowTitle</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_GetWindowTitle(SDL_Window *window)</div><div class="ttdoc">Get the title of a window, in UTF-8 format.</div></div> <div class="ttc" id="SDL__video_8h_html_ad714a638020c06ad03f113e3d069cf88"><div class="ttname"><a href="SDL__video_8h.html#ad714a638020c06ad03f113e3d069cf88">SDL_GetWindowData</a></div><div class="ttdeci">DECLSPEC void *SDLCALL SDL_GetWindowData(SDL_Window *window, const char *name)</div><div class="ttdoc">Retrieve the data pointer associated with a window.</div></div> <div class="ttc" id="SDL__video_8h_html_a14dce1cb33085b36f08d27b3d8f2335b"><div class="ttname"><a href="SDL__video_8h.html#a14dce1cb33085b36f08d27b3d8f2335b">SDL_GetCurrentDisplayMode</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode *mode)</div><div class="ttdoc">Fill in information about the current display mode.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a">SDL_WINDOW_OPENGL</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:101</div></div> <div class="ttc" id="SDL__video_8h_html_ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31"><div class="ttname"><a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31">SDL_WINDOWEVENT_FOCUS_LOST</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:166</div></div> <div class="ttc" id="SDL__video_8h_html_a0d64dcf67c9685d09cbe051448e1b3f3"><div class="ttname"><a href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a></div><div class="ttdeci">void * SDL_GLContext</div><div class="ttdoc">An opaque handle to an OpenGL context.</div><div class="ttdef"><b>Definition:</b> SDL_video.h:193</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a226509512aeab3c2c01deb75c182adf5"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a226509512aeab3c2c01deb75c182adf5">SDL_WINDOW_TOOLTIP</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:120</div></div> <div class="ttc" id="SDL__video_8h_html_a68b0d06595d086d9244fd49afe3e8360"><div class="ttname"><a href="SDL__video_8h.html#a68b0d06595d086d9244fd49afe3e8360">SDL_GL_SetSwapInterval</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_SetSwapInterval(int interval)</div><div class="ttdoc">Set the swap interval for the current OpenGL context.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a4c16b51a323741bf5c492adce34e5882"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4c16b51a323741bf5c492adce34e5882">SDL_WINDOW_MOUSE_CAPTURE</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:116</div></div> <div class="ttc" id="SDL__video_8h_html_ae6b0c6cf354beb87291887bfa02385b1"><div class="ttname"><a href="SDL__video_8h.html#ae6b0c6cf354beb87291887bfa02385b1">SDL_UpdateWindowSurfaceRects</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_UpdateWindowSurfaceRects(SDL_Window *window, const SDL_Rect *rects, int numrects)</div><div class="ttdoc">Copy a number of rectangles on the window surface to the screen.</div></div> <div class="ttc" id="SDL__video_8h_html_a4b66b90f95780276addc14bc573c9f3c"><div class="ttname"><a href="SDL__video_8h.html#a4b66b90f95780276addc14bc573c9f3c">SDL_RaiseWindow</a></div><div class="ttdeci">DECLSPEC void SDLCALL SDL_RaiseWindow(SDL_Window *window)</div><div class="ttdoc">Raise a window above other windows and set the input focus.</div></div> <div class="ttc" id="SDL__video_8h_html_ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d"><div class="ttname"><a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d">SDL_WINDOW_SHOWN</a></div><div class="ttdef"><b>Definition:</b> SDL_video.h:102</div></div> <div class="ttc" id="SDL__video_8h_html_af2b86ebfae9cd2f87ea6c18dd109dbde"><div class="ttname"><a href="SDL__video_8h.html#af2b86ebfae9cd2f87ea6c18dd109dbde">SDL_DisplayOrientation</a></div><div class="ttdeci">SDL_DisplayOrientation</div><div class="ttdef"><b>Definition:</b> SDL_video.h:181</div></div> <div class="ttc" id="SDL__video_8h_html_a2ae1ace02d55dbed8ab2fc35dadac139"><div class="ttname"><a href="SDL__video_8h.html#a2ae1ace02d55dbed8ab2fc35dadac139">SDL_GetVideoDriver</a></div><div class="ttdeci">DECLSPEC const char *SDLCALL SDL_GetVideoDriver(int index)</div><div class="ttdoc">Get the name of a built in video driver.</div></div> <div class="ttc" id="SDL__video_8h_html_ae96490db6285ed0df44a9b1c0f498605"><div class="ttname"><a href="SDL__video_8h.html#ae96490db6285ed0df44a9b1c0f498605">SDL_GL_GetSwapInterval</a></div><div class="ttdeci">DECLSPEC int SDLCALL SDL_GL_GetSwapInterval(void)</div><div class="ttdoc">Get the swap interval for the current OpenGL context.</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.15 </small></address> </body> </html>