Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 7281b619e6b612f5388cfad6b0e56530 > files > 132

sdl2-docs-2.0.3-4.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>My Project: SDL_video.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">SDL_video.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="SDL__stdinc_8h_source.html">SDL_stdinc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="SDL__pixels_8h_source.html">SDL_pixels.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="SDL__rect_8h_source.html">SDL_rect.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="SDL__surface_8h_source.html">SDL_surface.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="begin__code_8h_source.html">begin_code.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="close__code_8h_source.html">close_code.h</a>&quot;</code><br />
</div>
<p><a href="SDL__video_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The structure that defines a display mode.  <a href="structSDL__DisplayMode.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0eee89b50bf349f05cb28d6ca7c2dec8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0eee89b50bf349f05cb28d6ca7c2dec8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0eee89b50bf349f05cb28d6ca7c2dec8">SDL_WINDOWPOS_UNDEFINED_MASK</a>&#160;&#160;&#160;0x1FFF0000</td></tr>
<tr class="memdesc:a0eee89b50bf349f05cb28d6ca7c2dec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to indicate that you don't care what the window position is. <br /></td></tr>
<tr class="separator:a0eee89b50bf349f05cb28d6ca7c2dec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29aa3ade62cfe16de4c8b1e9c4272ab0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29aa3ade62cfe16de4c8b1e9c4272ab0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_UNDEFINED_DISPLAY</b>(X)&#160;&#160;&#160;(<a class="el" href="SDL__video_8h.html#a0eee89b50bf349f05cb28d6ca7c2dec8">SDL_WINDOWPOS_UNDEFINED_MASK</a>|(X))</td></tr>
<tr class="separator:a29aa3ade62cfe16de4c8b1e9c4272ab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20917558a7e5fb159647980218726a52"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20917558a7e5fb159647980218726a52"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_UNDEFINED</b>&#160;&#160;&#160;SDL_WINDOWPOS_UNDEFINED_DISPLAY(0)</td></tr>
<tr class="separator:a20917558a7e5fb159647980218726a52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ded7367fc7c4375cc195ff4a2a2132c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ded7367fc7c4375cc195ff4a2a2132c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_ISUNDEFINED</b>(X)&#160;&#160;&#160;(((X)&amp;0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK)</td></tr>
<tr class="separator:a8ded7367fc7c4375cc195ff4a2a2132c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5088b87c9d01cc26915ff082aaf014fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5088b87c9d01cc26915ff082aaf014fa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a5088b87c9d01cc26915ff082aaf014fa">SDL_WINDOWPOS_CENTERED_MASK</a>&#160;&#160;&#160;0x2FFF0000</td></tr>
<tr class="memdesc:a5088b87c9d01cc26915ff082aaf014fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to indicate that the window position should be centered. <br /></td></tr>
<tr class="separator:a5088b87c9d01cc26915ff082aaf014fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3399af2e94d0de95e69e6bcc57969d58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3399af2e94d0de95e69e6bcc57969d58"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_CENTERED_DISPLAY</b>(X)&#160;&#160;&#160;(<a class="el" href="SDL__video_8h.html#a5088b87c9d01cc26915ff082aaf014fa">SDL_WINDOWPOS_CENTERED_MASK</a>|(X))</td></tr>
<tr class="separator:a3399af2e94d0de95e69e6bcc57969d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d2f428ddef3b4ccf08915814e35d9c7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d2f428ddef3b4ccf08915814e35d9c7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_CENTERED</b>&#160;&#160;&#160;SDL_WINDOWPOS_CENTERED_DISPLAY(0)</td></tr>
<tr class="separator:a8d2f428ddef3b4ccf08915814e35d9c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07ffe394c82e7c5d93443e76e5356cbb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07ffe394c82e7c5d93443e76e5356cbb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SDL_WINDOWPOS_ISCENTERED</b>(X)&#160;&#160;&#160;(((X)&amp;0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK)</td></tr>
<tr class="separator:a07ffe394c82e7c5d93443e76e5356cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a55a196c7d3b8497538632c79ae1e6392"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a></td></tr>
<tr class="memdesc:a55a196c7d3b8497538632c79ae1e6392"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type used to identify a window.  <a href="#a55a196c7d3b8497538632c79ae1e6392">More...</a><br /></td></tr>
<tr class="separator:a55a196c7d3b8497538632c79ae1e6392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d64dcf67c9685d09cbe051448e1b3f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d64dcf67c9685d09cbe051448e1b3f3"></a>
typedef <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a></td></tr>
<tr class="memdesc:a0d64dcf67c9685d09cbe051448e1b3f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">An opaque handle to an OpenGL context. <br /></td></tr>
<tr class="separator:a0d64dcf67c9685d09cbe051448e1b3f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab10f4fd6a082ef06fcae96860c95fb18"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18">SDL_WindowFlags</a> { <br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923">SDL_WINDOW_FULLSCREEN</a> = 0x00000001, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a">SDL_WINDOW_OPENGL</a> = 0x00000002, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d">SDL_WINDOW_SHOWN</a> = 0x00000004, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c">SDL_WINDOW_HIDDEN</a> = 0x00000008, 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c">SDL_WINDOW_BORDERLESS</a> = 0x00000010, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8">SDL_WINDOW_RESIZABLE</a> = 0x00000020, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a">SDL_WINDOW_MINIMIZED</a> = 0x00000040, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a">SDL_WINDOW_MAXIMIZED</a> = 0x00000080, 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2">SDL_WINDOW_INPUT_GRABBED</a> = 0x00000100, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53">SDL_WINDOW_INPUT_FOCUS</a> = 0x00000200, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c">SDL_WINDOW_MOUSE_FOCUS</a> = 0x00000400, 
<b>SDL_WINDOW_FULLSCREEN_DESKTOP</b> = ( SDL_WINDOW_FULLSCREEN | 0x00001000 ), 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23">SDL_WINDOW_FOREIGN</a> = 0x00000800, 
<a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3">SDL_WINDOW_ALLOW_HIGHDPI</a> = 0x00002000
<br />
 }</td></tr>
<tr class="memdesc:ab10f4fd6a082ef06fcae96860c95fb18"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags on a window.  <a href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18">More...</a><br /></td></tr>
<tr class="separator:ab10f4fd6a082ef06fcae96860c95fb18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac486b40a4860d980dbc74d0b4adf3bab"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab">SDL_WindowEventID</a> { <br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7">SDL_WINDOWEVENT_NONE</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5">SDL_WINDOWEVENT_SHOWN</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55">SDL_WINDOWEVENT_HIDDEN</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489">SDL_WINDOWEVENT_EXPOSED</a>, 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5">SDL_WINDOWEVENT_MOVED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d">SDL_WINDOWEVENT_RESIZED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0">SDL_WINDOWEVENT_SIZE_CHANGED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d">SDL_WINDOWEVENT_MINIMIZED</a>, 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05">SDL_WINDOWEVENT_MAXIMIZED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89">SDL_WINDOWEVENT_RESTORED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5">SDL_WINDOWEVENT_ENTER</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5">SDL_WINDOWEVENT_LEAVE</a>, 
<br />
&#160;&#160;<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92">SDL_WINDOWEVENT_FOCUS_GAINED</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31">SDL_WINDOWEVENT_FOCUS_LOST</a>, 
<a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360">SDL_WINDOWEVENT_CLOSE</a>
<br />
 }</td></tr>
<tr class="memdesc:ac486b40a4860d980dbc74d0b4adf3bab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event subtype for window events.  <a href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab">More...</a><br /></td></tr>
<tr class="separator:ac486b40a4860d980dbc74d0b4adf3bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de24951bbc6626dc259ec0db5ae8ed4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2de24951bbc6626dc259ec0db5ae8ed4"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a> { <br />
&#160;&#160;<b>SDL_GL_RED_SIZE</b>, 
<b>SDL_GL_GREEN_SIZE</b>, 
<b>SDL_GL_BLUE_SIZE</b>, 
<b>SDL_GL_ALPHA_SIZE</b>, 
<br />
&#160;&#160;<b>SDL_GL_BUFFER_SIZE</b>, 
<b>SDL_GL_DOUBLEBUFFER</b>, 
<b>SDL_GL_DEPTH_SIZE</b>, 
<b>SDL_GL_STENCIL_SIZE</b>, 
<br />
&#160;&#160;<b>SDL_GL_ACCUM_RED_SIZE</b>, 
<b>SDL_GL_ACCUM_GREEN_SIZE</b>, 
<b>SDL_GL_ACCUM_BLUE_SIZE</b>, 
<b>SDL_GL_ACCUM_ALPHA_SIZE</b>, 
<br />
&#160;&#160;<b>SDL_GL_STEREO</b>, 
<b>SDL_GL_MULTISAMPLEBUFFERS</b>, 
<b>SDL_GL_MULTISAMPLESAMPLES</b>, 
<b>SDL_GL_ACCELERATED_VISUAL</b>, 
<br />
&#160;&#160;<b>SDL_GL_RETAINED_BACKING</b>, 
<b>SDL_GL_CONTEXT_MAJOR_VERSION</b>, 
<b>SDL_GL_CONTEXT_MINOR_VERSION</b>, 
<b>SDL_GL_CONTEXT_EGL</b>, 
<br />
&#160;&#160;<b>SDL_GL_CONTEXT_FLAGS</b>, 
<b>SDL_GL_CONTEXT_PROFILE_MASK</b>, 
<b>SDL_GL_SHARE_WITH_CURRENT_CONTEXT</b>, 
<b>SDL_GL_FRAMEBUFFER_SRGB_CAPABLE</b>
<br />
 }</td></tr>
<tr class="memdesc:a2de24951bbc6626dc259ec0db5ae8ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">OpenGL configuration attributes. <br /></td></tr>
<tr class="separator:a2de24951bbc6626dc259ec0db5ae8ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ea1835b83fe139bcc182c3326d7a5f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5ea1835b83fe139bcc182c3326d7a5f"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>SDL_GLprofile</b> { <b>SDL_GL_CONTEXT_PROFILE_CORE</b> = 0x0001, 
<b>SDL_GL_CONTEXT_PROFILE_COMPATIBILITY</b> = 0x0002, 
<b>SDL_GL_CONTEXT_PROFILE_ES</b> = 0x0004
 }</td></tr>
<tr class="separator:ad5ea1835b83fe139bcc182c3326d7a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd0baef2bdd92997a9436f5b62b18f5d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd0baef2bdd92997a9436f5b62b18f5d"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>SDL_GLcontextFlag</b> { <b>SDL_GL_CONTEXT_DEBUG_FLAG</b> = 0x0001, 
<b>SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG</b> = 0x0002, 
<b>SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG</b> = 0x0004, 
<b>SDL_GL_CONTEXT_RESET_ISOLATION_FLAG</b> = 0x0008
 }</td></tr>
<tr class="separator:abd0baef2bdd92997a9436f5b62b18f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac6f3250a95bd027fd1a374d7ed15fc57"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ac6f3250a95bd027fd1a374d7ed15fc57">SDL_GetNumVideoDrivers</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:ac6f3250a95bd027fd1a374d7ed15fc57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of video drivers compiled into SDL.  <a href="#ac6f3250a95bd027fd1a374d7ed15fc57">More...</a><br /></td></tr>
<tr class="separator:ac6f3250a95bd027fd1a374d7ed15fc57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ae1ace02d55dbed8ab2fc35dadac139"><td class="memItemLeft" align="right" valign="top">DECLSPEC const char *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a2ae1ace02d55dbed8ab2fc35dadac139">SDL_GetVideoDriver</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> index)</td></tr>
<tr class="memdesc:a2ae1ace02d55dbed8ab2fc35dadac139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of a built in video driver.  <a href="#a2ae1ace02d55dbed8ab2fc35dadac139">More...</a><br /></td></tr>
<tr class="separator:a2ae1ace02d55dbed8ab2fc35dadac139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05244b30716f0339dcd140c6f92017b7"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a05244b30716f0339dcd140c6f92017b7">SDL_VideoInit</a> (const char *driver_name)</td></tr>
<tr class="memdesc:a05244b30716f0339dcd140c6f92017b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the video subsystem, optionally specifying a video driver.  <a href="#a05244b30716f0339dcd140c6f92017b7">More...</a><br /></td></tr>
<tr class="separator:a05244b30716f0339dcd140c6f92017b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade5fc4847320fb235f17265b683fa013"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ade5fc4847320fb235f17265b683fa013">SDL_VideoQuit</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:ade5fc4847320fb235f17265b683fa013"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shuts down the video subsystem.  <a href="#ade5fc4847320fb235f17265b683fa013">More...</a><br /></td></tr>
<tr class="separator:ade5fc4847320fb235f17265b683fa013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d53f49e6db21468228a675056a80bc8"><td class="memItemLeft" align="right" valign="top">DECLSPEC const char *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a5d53f49e6db21468228a675056a80bc8">SDL_GetCurrentVideoDriver</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a5d53f49e6db21468228a675056a80bc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the currently initialized video driver.  <a href="#a5d53f49e6db21468228a675056a80bc8">More...</a><br /></td></tr>
<tr class="separator:a5d53f49e6db21468228a675056a80bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a074d185b7ef04e0305acdeeb049dd2be"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a074d185b7ef04e0305acdeeb049dd2be">SDL_GetNumVideoDisplays</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a074d185b7ef04e0305acdeeb049dd2be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of available video displays.  <a href="#a074d185b7ef04e0305acdeeb049dd2be">More...</a><br /></td></tr>
<tr class="separator:a074d185b7ef04e0305acdeeb049dd2be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34ac3472027bf4acf299fd8ecbb69dd7"><td class="memItemLeft" align="right" valign="top">DECLSPEC const char *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a34ac3472027bf4acf299fd8ecbb69dd7">SDL_GetDisplayName</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex)</td></tr>
<tr class="memdesc:a34ac3472027bf4acf299fd8ecbb69dd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of a display in UTF-8 encoding.  <a href="#a34ac3472027bf4acf299fd8ecbb69dd7">More...</a><br /></td></tr>
<tr class="separator:a34ac3472027bf4acf299fd8ecbb69dd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac05213009395c10ae40bede2de8e08a1"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ac05213009395c10ae40bede2de8e08a1">SDL_GetDisplayBounds</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex, <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rect)</td></tr>
<tr class="memdesc:ac05213009395c10ae40bede2de8e08a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the desktop area represented by a display, with the primary display located at 0,0.  <a href="#ac05213009395c10ae40bede2de8e08a1">More...</a><br /></td></tr>
<tr class="separator:ac05213009395c10ae40bede2de8e08a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5abcf18592f00019c517e791f8ba53fc"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a5abcf18592f00019c517e791f8ba53fc">SDL_GetNumDisplayModes</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex)</td></tr>
<tr class="memdesc:a5abcf18592f00019c517e791f8ba53fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of available display modes.  <a href="#a5abcf18592f00019c517e791f8ba53fc">More...</a><br /></td></tr>
<tr class="separator:a5abcf18592f00019c517e791f8ba53fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a53e003ec6ad24dd2bbbcd0ad297311"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0a53e003ec6ad24dd2bbbcd0ad297311">SDL_GetDisplayMode</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> modeIndex, <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode)</td></tr>
<tr class="memdesc:a0a53e003ec6ad24dd2bbbcd0ad297311"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in information about a specific display mode.  <a href="#a0a53e003ec6ad24dd2bbbcd0ad297311">More...</a><br /></td></tr>
<tr class="separator:a0a53e003ec6ad24dd2bbbcd0ad297311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab97bca68fc068a6ecc3db473c4c0defd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab97bca68fc068a6ecc3db473c4c0defd"></a>
DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ab97bca68fc068a6ecc3db473c4c0defd">SDL_GetDesktopDisplayMode</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex, <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode)</td></tr>
<tr class="memdesc:ab97bca68fc068a6ecc3db473c4c0defd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in information about the desktop display mode. <br /></td></tr>
<tr class="separator:ab97bca68fc068a6ecc3db473c4c0defd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14dce1cb33085b36f08d27b3d8f2335b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14dce1cb33085b36f08d27b3d8f2335b"></a>
DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a14dce1cb33085b36f08d27b3d8f2335b">SDL_GetCurrentDisplayMode</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex, <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode)</td></tr>
<tr class="memdesc:a14dce1cb33085b36f08d27b3d8f2335b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in information about the current display mode. <br /></td></tr>
<tr class="separator:a14dce1cb33085b36f08d27b3d8f2335b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a794be92ee0a9efca226fa19a635fa470"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a794be92ee0a9efca226fa19a635fa470">SDL_GetClosestDisplayMode</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> displayIndex, const <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode, <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *closest)</td></tr>
<tr class="memdesc:a794be92ee0a9efca226fa19a635fa470"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the closest match to the requested display mode.  <a href="#a794be92ee0a9efca226fa19a635fa470">More...</a><br /></td></tr>
<tr class="separator:a794be92ee0a9efca226fa19a635fa470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be1d0a4d1f9a0da23b78db2f55871b5"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0be1d0a4d1f9a0da23b78db2f55871b5">SDL_GetWindowDisplayIndex</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a0be1d0a4d1f9a0da23b78db2f55871b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the display index associated with a window.  <a href="#a0be1d0a4d1f9a0da23b78db2f55871b5">More...</a><br /></td></tr>
<tr class="separator:a0be1d0a4d1f9a0da23b78db2f55871b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ca17d1e857d1560738e002c9935088a"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a2ca17d1e857d1560738e002c9935088a">SDL_SetWindowDisplayMode</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode)</td></tr>
<tr class="memdesc:a2ca17d1e857d1560738e002c9935088a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the display mode used when a fullscreen window is visible.  <a href="#a2ca17d1e857d1560738e002c9935088a">More...</a><br /></td></tr>
<tr class="separator:a2ca17d1e857d1560738e002c9935088a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8185547bc7cb0bbeb400f459792d081a"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a8185547bc7cb0bbeb400f459792d081a">SDL_GetWindowDisplayMode</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *mode)</td></tr>
<tr class="memdesc:a8185547bc7cb0bbeb400f459792d081a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in information about the display mode used when a fullscreen window is visible.  <a href="#a8185547bc7cb0bbeb400f459792d081a">More...</a><br /></td></tr>
<tr class="separator:a8185547bc7cb0bbeb400f459792d081a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3abb4a27f109ac055eb2a82227a9d11f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3abb4a27f109ac055eb2a82227a9d11f"></a>
DECLSPEC <a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a3abb4a27f109ac055eb2a82227a9d11f">SDL_GetWindowPixelFormat</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a3abb4a27f109ac055eb2a82227a9d11f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pixel format associated with the window. <br /></td></tr>
<tr class="separator:a3abb4a27f109ac055eb2a82227a9d11f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42565088bdb739a5353fd67abbe235d2"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a42565088bdb739a5353fd67abbe235d2">SDL_CreateWindow</a> (const char *title, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> x, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> y, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> h, <a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> flags)</td></tr>
<tr class="memdesc:a42565088bdb739a5353fd67abbe235d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a window with the specified position, dimensions, and flags.  <a href="#a42565088bdb739a5353fd67abbe235d2">More...</a><br /></td></tr>
<tr class="separator:a42565088bdb739a5353fd67abbe235d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54b9e13dbc5bf587a8765a9ec0a29772"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a54b9e13dbc5bf587a8765a9ec0a29772">SDL_CreateWindowFrom</a> (const <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *data)</td></tr>
<tr class="memdesc:a54b9e13dbc5bf587a8765a9ec0a29772"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an SDL window from an existing native window.  <a href="#a54b9e13dbc5bf587a8765a9ec0a29772">More...</a><br /></td></tr>
<tr class="separator:a54b9e13dbc5bf587a8765a9ec0a29772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6c1c22ced1564ffd0d54bbf9824134"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f6c1c22ced1564ffd0d54bbf9824134"></a>
DECLSPEC <a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a1f6c1c22ced1564ffd0d54bbf9824134">SDL_GetWindowID</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a1f6c1c22ced1564ffd0d54bbf9824134"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the numeric ID of a window, for logging purposes. <br /></td></tr>
<tr class="separator:a1f6c1c22ced1564ffd0d54bbf9824134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc713c8b1a570b9654981d6b079671fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc713c8b1a570b9654981d6b079671fb"></a>
DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#adc713c8b1a570b9654981d6b079671fb">SDL_GetWindowFromID</a> (<a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> id)</td></tr>
<tr class="memdesc:adc713c8b1a570b9654981d6b079671fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a window from a stored ID, or NULL if it doesn't exist. <br /></td></tr>
<tr class="separator:adc713c8b1a570b9654981d6b079671fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4445733f04a1a9dd0e063cd4738f285f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4445733f04a1a9dd0e063cd4738f285f"></a>
DECLSPEC <a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f">SDL_GetWindowFlags</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a4445733f04a1a9dd0e063cd4738f285f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the window flags. <br /></td></tr>
<tr class="separator:a4445733f04a1a9dd0e063cd4738f285f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41aabc4b68f75f41d97995e02eb9deb6"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a41aabc4b68f75f41d97995e02eb9deb6">SDL_SetWindowTitle</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const char *title)</td></tr>
<tr class="memdesc:a41aabc4b68f75f41d97995e02eb9deb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the title of a window, in UTF-8 format.  <a href="#a41aabc4b68f75f41d97995e02eb9deb6">More...</a><br /></td></tr>
<tr class="separator:a41aabc4b68f75f41d97995e02eb9deb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e82096618e15a831f5dd77c1aa2b579"><td class="memItemLeft" align="right" valign="top">DECLSPEC const char *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a1e82096618e15a831f5dd77c1aa2b579">SDL_GetWindowTitle</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a1e82096618e15a831f5dd77c1aa2b579"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the title of a window, in UTF-8 format.  <a href="#a1e82096618e15a831f5dd77c1aa2b579">More...</a><br /></td></tr>
<tr class="separator:a1e82096618e15a831f5dd77c1aa2b579"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b6910b5d5aa2df0aeda257e445a472e"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0b6910b5d5aa2df0aeda257e445a472e">SDL_SetWindowIcon</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="structSDL__Surface.html">SDL_Surface</a> *icon)</td></tr>
<tr class="memdesc:a0b6910b5d5aa2df0aeda257e445a472e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the icon for a window.  <a href="#a0b6910b5d5aa2df0aeda257e445a472e">More...</a><br /></td></tr>
<tr class="separator:a0b6910b5d5aa2df0aeda257e445a472e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc7a842e8843235d2ede124a1fd076ec"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#afc7a842e8843235d2ede124a1fd076ec">SDL_SetWindowData</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const char *name, <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *userdata)</td></tr>
<tr class="memdesc:afc7a842e8843235d2ede124a1fd076ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Associate an arbitrary named pointer with a window.  <a href="#afc7a842e8843235d2ede124a1fd076ec">More...</a><br /></td></tr>
<tr class="separator:afc7a842e8843235d2ede124a1fd076ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad714a638020c06ad03f113e3d069cf88"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ad714a638020c06ad03f113e3d069cf88">SDL_GetWindowData</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const char *name)</td></tr>
<tr class="memdesc:ad714a638020c06ad03f113e3d069cf88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the data pointer associated with a window.  <a href="#ad714a638020c06ad03f113e3d069cf88">More...</a><br /></td></tr>
<tr class="separator:ad714a638020c06ad03f113e3d069cf88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab200a53e01ddc697fd6b8e017cc4e6dd"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ab200a53e01ddc697fd6b8e017cc4e6dd">SDL_SetWindowPosition</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> x, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> y)</td></tr>
<tr class="memdesc:ab200a53e01ddc697fd6b8e017cc4e6dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the position of a window.  <a href="#ab200a53e01ddc697fd6b8e017cc4e6dd">More...</a><br /></td></tr>
<tr class="separator:ab200a53e01ddc697fd6b8e017cc4e6dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03adfc1ed4aaf57da4af00bd247ac99c"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a03adfc1ed4aaf57da4af00bd247ac99c">SDL_GetWindowPosition</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *x, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *y)</td></tr>
<tr class="memdesc:a03adfc1ed4aaf57da4af00bd247ac99c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the position of a window.  <a href="#a03adfc1ed4aaf57da4af00bd247ac99c">More...</a><br /></td></tr>
<tr class="separator:a03adfc1ed4aaf57da4af00bd247ac99c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29b118c6932ccb94d85b5435ae1e0a19"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a29b118c6932ccb94d85b5435ae1e0a19">SDL_SetWindowSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> h)</td></tr>
<tr class="memdesc:a29b118c6932ccb94d85b5435ae1e0a19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of a window's client area.  <a href="#a29b118c6932ccb94d85b5435ae1e0a19">More...</a><br /></td></tr>
<tr class="separator:a29b118c6932ccb94d85b5435ae1e0a19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cbfffcfec91c22a7ca95fd1d5163db5"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5">SDL_GetWindowSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *h)</td></tr>
<tr class="memdesc:a5cbfffcfec91c22a7ca95fd1d5163db5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of a window's client area.  <a href="#a5cbfffcfec91c22a7ca95fd1d5163db5">More...</a><br /></td></tr>
<tr class="separator:a5cbfffcfec91c22a7ca95fd1d5163db5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b6dd546d8dec383be411f98926335ae"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a1b6dd546d8dec383be411f98926335ae">SDL_SetWindowMinimumSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> min_w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> min_h)</td></tr>
<tr class="memdesc:a1b6dd546d8dec383be411f98926335ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum size of a window's client area.  <a href="#a1b6dd546d8dec383be411f98926335ae">More...</a><br /></td></tr>
<tr class="separator:a1b6dd546d8dec383be411f98926335ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe1c6ca08d5b8c336b1276236559287a"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#afe1c6ca08d5b8c336b1276236559287a">SDL_GetWindowMinimumSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *h)</td></tr>
<tr class="memdesc:afe1c6ca08d5b8c336b1276236559287a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum size of a window's client area.  <a href="#afe1c6ca08d5b8c336b1276236559287a">More...</a><br /></td></tr>
<tr class="separator:afe1c6ca08d5b8c336b1276236559287a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf95e53a3b70d55d71d7b2cf822ea77e"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#aaf95e53a3b70d55d71d7b2cf822ea77e">SDL_SetWindowMaximumSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> max_w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> max_h)</td></tr>
<tr class="memdesc:aaf95e53a3b70d55d71d7b2cf822ea77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum size of a window's client area.  <a href="#aaf95e53a3b70d55d71d7b2cf822ea77e">More...</a><br /></td></tr>
<tr class="separator:aaf95e53a3b70d55d71d7b2cf822ea77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d65795da3feacfec1c392c101e92fd"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a38d65795da3feacfec1c392c101e92fd">SDL_GetWindowMaximumSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *h)</td></tr>
<tr class="memdesc:a38d65795da3feacfec1c392c101e92fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum size of a window's client area.  <a href="#a38d65795da3feacfec1c392c101e92fd">More...</a><br /></td></tr>
<tr class="separator:a38d65795da3feacfec1c392c101e92fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4b868e2cc0107ed6bcf5ba7aa376e0"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#afb4b868e2cc0107ed6bcf5ba7aa376e0">SDL_SetWindowBordered</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, SDL_bool bordered)</td></tr>
<tr class="memdesc:afb4b868e2cc0107ed6bcf5ba7aa376e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the border state of a window.  <a href="#afb4b868e2cc0107ed6bcf5ba7aa376e0">More...</a><br /></td></tr>
<tr class="separator:afb4b868e2cc0107ed6bcf5ba7aa376e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6051ce26885b32b80bc7285b4facd0a1"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a6051ce26885b32b80bc7285b4facd0a1">SDL_ShowWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a6051ce26885b32b80bc7285b4facd0a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a window.  <a href="#a6051ce26885b32b80bc7285b4facd0a1">More...</a><br /></td></tr>
<tr class="separator:a6051ce26885b32b80bc7285b4facd0a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3cbe663e0bd62aa7a747a6c11781766"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#aa3cbe663e0bd62aa7a747a6c11781766">SDL_HideWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:aa3cbe663e0bd62aa7a747a6c11781766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hide a window.  <a href="#aa3cbe663e0bd62aa7a747a6c11781766">More...</a><br /></td></tr>
<tr class="separator:aa3cbe663e0bd62aa7a747a6c11781766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b66b90f95780276addc14bc573c9f3c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b66b90f95780276addc14bc573c9f3c"></a>
DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a4b66b90f95780276addc14bc573c9f3c">SDL_RaiseWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a4b66b90f95780276addc14bc573c9f3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Raise a window above other windows and set the input focus. <br /></td></tr>
<tr class="separator:a4b66b90f95780276addc14bc573c9f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d969b660fee270f84cb403c8b75ded6"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a8d969b660fee270f84cb403c8b75ded6">SDL_MaximizeWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a8d969b660fee270f84cb403c8b75ded6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a window as large as possible.  <a href="#a8d969b660fee270f84cb403c8b75ded6">More...</a><br /></td></tr>
<tr class="separator:a8d969b660fee270f84cb403c8b75ded6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f802f6c7952552b1cb26958fad3f2a6"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a9f802f6c7952552b1cb26958fad3f2a6">SDL_MinimizeWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a9f802f6c7952552b1cb26958fad3f2a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimize a window to an iconic representation.  <a href="#a9f802f6c7952552b1cb26958fad3f2a6">More...</a><br /></td></tr>
<tr class="separator:a9f802f6c7952552b1cb26958fad3f2a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afea37fca3b12f454e7f91d919fc99fbd"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd">SDL_RestoreWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:afea37fca3b12f454e7f91d919fc99fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restore the size and position of a minimized or maximized window.  <a href="#afea37fca3b12f454e7f91d919fc99fbd">More...</a><br /></td></tr>
<tr class="separator:afea37fca3b12f454e7f91d919fc99fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4aa48f0a29f0868ce4e0422c02ed2fa"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa">SDL_SetWindowFullscreen</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> flags)</td></tr>
<tr class="memdesc:ab4aa48f0a29f0868ce4e0422c02ed2fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a window's fullscreen state.  <a href="#ab4aa48f0a29f0868ce4e0422c02ed2fa">More...</a><br /></td></tr>
<tr class="separator:ab4aa48f0a29f0868ce4e0422c02ed2fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f7a1d102e1d5dd2d739ad70fe268385"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structSDL__Surface.html">SDL_Surface</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0f7a1d102e1d5dd2d739ad70fe268385">SDL_GetWindowSurface</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a0f7a1d102e1d5dd2d739ad70fe268385"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the SDL surface associated with the window.  <a href="#a0f7a1d102e1d5dd2d739ad70fe268385">More...</a><br /></td></tr>
<tr class="separator:a0f7a1d102e1d5dd2d739ad70fe268385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bbfee05788dc85a1d67218cf3006653"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a7bbfee05788dc85a1d67218cf3006653">SDL_UpdateWindowSurface</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a7bbfee05788dc85a1d67218cf3006653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy the window surface to the screen.  <a href="#a7bbfee05788dc85a1d67218cf3006653">More...</a><br /></td></tr>
<tr class="separator:a7bbfee05788dc85a1d67218cf3006653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6b0c6cf354beb87291887bfa02385b1"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ae6b0c6cf354beb87291887bfa02385b1">SDL_UpdateWindowSurfaceRects</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *rects, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> numrects)</td></tr>
<tr class="memdesc:ae6b0c6cf354beb87291887bfa02385b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a number of rectangles on the window surface to the screen.  <a href="#ae6b0c6cf354beb87291887bfa02385b1">More...</a><br /></td></tr>
<tr class="separator:ae6b0c6cf354beb87291887bfa02385b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe7fd559e9d6da046c5984dea679a89b"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#abe7fd559e9d6da046c5984dea679a89b">SDL_SetWindowGrab</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, SDL_bool grabbed)</td></tr>
<tr class="memdesc:abe7fd559e9d6da046c5984dea679a89b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a window's input grab mode.  <a href="#abe7fd559e9d6da046c5984dea679a89b">More...</a><br /></td></tr>
<tr class="separator:abe7fd559e9d6da046c5984dea679a89b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4e451db3880b6e0dd6647cbc351c6c0"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ad4e451db3880b6e0dd6647cbc351c6c0">SDL_GetWindowGrab</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:ad4e451db3880b6e0dd6647cbc351c6c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a window's input grab mode.  <a href="#ad4e451db3880b6e0dd6647cbc351c6c0">More...</a><br /></td></tr>
<tr class="separator:ad4e451db3880b6e0dd6647cbc351c6c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896972250b4d2e0f75888fa44fa792ec"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a896972250b4d2e0f75888fa44fa792ec">SDL_SetWindowBrightness</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, float brightness)</td></tr>
<tr class="memdesc:a896972250b4d2e0f75888fa44fa792ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the brightness (gamma correction) for a window.  <a href="#a896972250b4d2e0f75888fa44fa792ec">More...</a><br /></td></tr>
<tr class="separator:a896972250b4d2e0f75888fa44fa792ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21c10969331c89e8d0e6a8f998a3c319"><td class="memItemLeft" align="right" valign="top">DECLSPEC float SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a21c10969331c89e8d0e6a8f998a3c319">SDL_GetWindowBrightness</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a21c10969331c89e8d0e6a8f998a3c319"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the brightness (gamma correction) for a window.  <a href="#a21c10969331c89e8d0e6a8f998a3c319">More...</a><br /></td></tr>
<tr class="separator:a21c10969331c89e8d0e6a8f998a3c319"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6799acf235454f519ac209ccf14caa67"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a6799acf235454f519ac209ccf14caa67">SDL_SetWindowGammaRamp</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *red, const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *green, const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *blue)</td></tr>
<tr class="memdesc:a6799acf235454f519ac209ccf14caa67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the gamma ramp for a window.  <a href="#a6799acf235454f519ac209ccf14caa67">More...</a><br /></td></tr>
<tr class="separator:a6799acf235454f519ac209ccf14caa67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4d647be3bb21a33586d69d5cad87ead"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#af4d647be3bb21a33586d69d5cad87ead">SDL_GetWindowGammaRamp</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *red, <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *green, <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *blue)</td></tr>
<tr class="memdesc:af4d647be3bb21a33586d69d5cad87ead"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the gamma ramp for a window.  <a href="#af4d647be3bb21a33586d69d5cad87ead">More...</a><br /></td></tr>
<tr class="separator:af4d647be3bb21a33586d69d5cad87ead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72609295a4faee0587268339ccff80c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72609295a4faee0587268339ccff80c2"></a>
DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2">SDL_DestroyWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a72609295a4faee0587268339ccff80c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a window. <br /></td></tr>
<tr class="separator:a72609295a4faee0587268339ccff80c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b5c116d57947bf508c13b21aac49cbf"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a4b5c116d57947bf508c13b21aac49cbf">SDL_IsScreenSaverEnabled</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a4b5c116d57947bf508c13b21aac49cbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the screensaver is currently enabled (default on).  <a href="#a4b5c116d57947bf508c13b21aac49cbf">More...</a><br /></td></tr>
<tr class="separator:a4b5c116d57947bf508c13b21aac49cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17846c713066aa29a86e1be205a7fc3e"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a17846c713066aa29a86e1be205a7fc3e">SDL_EnableScreenSaver</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a17846c713066aa29a86e1be205a7fc3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow the screen to be blanked by a screensaver.  <a href="#a17846c713066aa29a86e1be205a7fc3e">More...</a><br /></td></tr>
<tr class="separator:a17846c713066aa29a86e1be205a7fc3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68eb0d850934fa1c7ac12c30f2d56a84"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a68eb0d850934fa1c7ac12c30f2d56a84">SDL_DisableScreenSaver</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a68eb0d850934fa1c7ac12c30f2d56a84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent the screen from being blanked by a screensaver.  <a href="#a68eb0d850934fa1c7ac12c30f2d56a84">More...</a><br /></td></tr>
<tr class="separator:a68eb0d850934fa1c7ac12c30f2d56a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">OpenGL support functions</div></td></tr>
<tr class="memitem:a398df9aaf43a69dc2cfaab5b306b8f91"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91">SDL_GL_LoadLibrary</a> (const char *path)</td></tr>
<tr class="memdesc:a398df9aaf43a69dc2cfaab5b306b8f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dynamically load an OpenGL library.  <a href="#a398df9aaf43a69dc2cfaab5b306b8f91">More...</a><br /></td></tr>
<tr class="separator:a398df9aaf43a69dc2cfaab5b306b8f91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6329bc32811639fe6f71606801cd9e7b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6329bc32811639fe6f71606801cd9e7b"></a>
DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a6329bc32811639fe6f71606801cd9e7b">SDL_GL_GetProcAddress</a> (const char *proc)</td></tr>
<tr class="memdesc:a6329bc32811639fe6f71606801cd9e7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the address of an OpenGL function. <br /></td></tr>
<tr class="separator:a6329bc32811639fe6f71606801cd9e7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92103adf9637ec2dc471714076872bdc"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a92103adf9637ec2dc471714076872bdc">SDL_GL_UnloadLibrary</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a92103adf9637ec2dc471714076872bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unload the OpenGL library previously loaded by <a class="el" href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91" title="Dynamically load an OpenGL library. ">SDL_GL_LoadLibrary()</a>.  <a href="#a92103adf9637ec2dc471714076872bdc">More...</a><br /></td></tr>
<tr class="separator:a92103adf9637ec2dc471714076872bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fa0cc176fbc16db139b40a121e9cfa7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fa0cc176fbc16db139b40a121e9cfa7"></a>
DECLSPEC SDL_bool SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a1fa0cc176fbc16db139b40a121e9cfa7">SDL_GL_ExtensionSupported</a> (const char *extension)</td></tr>
<tr class="memdesc:a1fa0cc176fbc16db139b40a121e9cfa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if an OpenGL extension is supported for the current context. <br /></td></tr>
<tr class="separator:a1fa0cc176fbc16db139b40a121e9cfa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac96f25a7a6b28387d2813d8db71921ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac96f25a7a6b28387d2813d8db71921ff"></a>
DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ac96f25a7a6b28387d2813d8db71921ff">SDL_GL_ResetAttributes</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:ac96f25a7a6b28387d2813d8db71921ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset all previously set OpenGL context attributes to their default values. <br /></td></tr>
<tr class="separator:ac96f25a7a6b28387d2813d8db71921ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed4d4347f2d5def1532bc22893e0e0d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed4d4347f2d5def1532bc22893e0e0d9"></a>
DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#aed4d4347f2d5def1532bc22893e0e0d9">SDL_GL_SetAttribute</a> (<a class="el" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a> attr, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> value)</td></tr>
<tr class="memdesc:aed4d4347f2d5def1532bc22893e0e0d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set an OpenGL window attribute before window creation. <br /></td></tr>
<tr class="separator:aed4d4347f2d5def1532bc22893e0e0d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a611bbed6c7374329e1d1b9c31b06976d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a611bbed6c7374329e1d1b9c31b06976d"></a>
DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a611bbed6c7374329e1d1b9c31b06976d">SDL_GL_GetAttribute</a> (<a class="el" href="SDL__video_8h.html#a2de24951bbc6626dc259ec0db5ae8ed4">SDL_GLattr</a> attr, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *value)</td></tr>
<tr class="memdesc:a611bbed6c7374329e1d1b9c31b06976d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the actual value for an attribute from the current context. <br /></td></tr>
<tr class="separator:a611bbed6c7374329e1d1b9c31b06976d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e14c935cf304133278893bf6c1d2691"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a0e14c935cf304133278893bf6c1d2691">SDL_GL_CreateContext</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a0e14c935cf304133278893bf6c1d2691"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an OpenGL context for use with an OpenGL window, and make it current.  <a href="#a0e14c935cf304133278893bf6c1d2691">More...</a><br /></td></tr>
<tr class="separator:a0e14c935cf304133278893bf6c1d2691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a2ad98e8920f8069bf89eb3f9bbc377"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a5a2ad98e8920f8069bf89eb3f9bbc377">SDL_GL_MakeCurrent</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> context)</td></tr>
<tr class="memdesc:a5a2ad98e8920f8069bf89eb3f9bbc377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up an OpenGL context for rendering into an OpenGL window.  <a href="#a5a2ad98e8920f8069bf89eb3f9bbc377">More...</a><br /></td></tr>
<tr class="separator:a5a2ad98e8920f8069bf89eb3f9bbc377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9965884a9c717690a44128afa279d144"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9965884a9c717690a44128afa279d144"></a>
DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a9965884a9c717690a44128afa279d144">SDL_GL_GetCurrentWindow</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a9965884a9c717690a44128afa279d144"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently active OpenGL window. <br /></td></tr>
<tr class="separator:a9965884a9c717690a44128afa279d144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a742f600404b9090bd64f8e863ece98c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a742f600404b9090bd64f8e863ece98c8"></a>
DECLSPEC <a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a742f600404b9090bd64f8e863ece98c8">SDL_GL_GetCurrentContext</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:a742f600404b9090bd64f8e863ece98c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently active OpenGL context. <br /></td></tr>
<tr class="separator:a742f600404b9090bd64f8e863ece98c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21851bbd91760c5bab92594a58edba3"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ac21851bbd91760c5bab92594a58edba3">SDL_GL_GetDrawableSize</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *w, <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *h)</td></tr>
<tr class="memdesc:ac21851bbd91760c5bab92594a58edba3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of a window's underlying drawable (for use with glViewport).  <a href="#ac21851bbd91760c5bab92594a58edba3">More...</a><br /></td></tr>
<tr class="separator:ac21851bbd91760c5bab92594a58edba3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b0d06595d086d9244fd49afe3e8360"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a68b0d06595d086d9244fd49afe3e8360">SDL_GL_SetSwapInterval</a> (<a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> interval)</td></tr>
<tr class="memdesc:a68b0d06595d086d9244fd49afe3e8360"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the swap interval for the current OpenGL context.  <a href="#a68b0d06595d086d9244fd49afe3e8360">More...</a><br /></td></tr>
<tr class="separator:a68b0d06595d086d9244fd49afe3e8360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96490db6285ed0df44a9b1c0f498605"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#ae96490db6285ed0df44a9b1c0f498605">SDL_GL_GetSwapInterval</a> (<a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>)</td></tr>
<tr class="memdesc:ae96490db6285ed0df44a9b1c0f498605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the swap interval for the current OpenGL context.  <a href="#ae96490db6285ed0df44a9b1c0f498605">More...</a><br /></td></tr>
<tr class="separator:ae96490db6285ed0df44a9b1c0f498605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d1245662f49f6af257627119f22835"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11d1245662f49f6af257627119f22835"></a>
DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#a11d1245662f49f6af257627119f22835">SDL_GL_SwapWindow</a> (<a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *window)</td></tr>
<tr class="memdesc:a11d1245662f49f6af257627119f22835"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap the OpenGL buffers for a window, if double-buffering is supported. <br /></td></tr>
<tr class="separator:a11d1245662f49f6af257627119f22835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa64ab050e0bd3a61057c3dffe953aa9f"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__video_8h.html#aa64ab050e0bd3a61057c3dffe953aa9f">SDL_GL_DeleteContext</a> (<a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> context)</td></tr>
<tr class="memdesc:aa64ab050e0bd3a61057c3dffe953aa9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete an OpenGL context.  <a href="#aa64ab050e0bd3a61057c3dffe953aa9f">More...</a><br /></td></tr>
<tr class="separator:aa64ab050e0bd3a61057c3dffe953aa9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file for SDL video functions. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a55a196c7d3b8497538632c79ae1e6392"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The type used to identify a window. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a42565088bdb739a5353fd67abbe235d2" title="Create a window with the specified position, dimensions, and flags. ">SDL_CreateWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a54b9e13dbc5bf587a8765a9ec0a29772" title="Create an SDL window from an existing native window. ">SDL_CreateWindowFrom()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2" title="Destroy a window. ">SDL_DestroyWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ad714a638020c06ad03f113e3d069cf88" title="Retrieve the data pointer associated with a window. ">SDL_GetWindowData()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f" title="Get the window flags. ">SDL_GetWindowFlags()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ad4e451db3880b6e0dd6647cbc351c6c0" title="Get a window&#39;s input grab mode. ">SDL_GetWindowGrab()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a03adfc1ed4aaf57da4af00bd247ac99c" title="Get the position of a window. ">SDL_GetWindowPosition()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5" title="Get the size of a window&#39;s client area. ">SDL_GetWindowSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a1e82096618e15a831f5dd77c1aa2b579" title="Get the title of a window, in UTF-8 format. ">SDL_GetWindowTitle()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#aa3cbe663e0bd62aa7a747a6c11781766" title="Hide a window. ">SDL_HideWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a8d969b660fee270f84cb403c8b75ded6" title="Make a window as large as possible. ">SDL_MaximizeWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a9f802f6c7952552b1cb26958fad3f2a6" title="Minimize a window to an iconic representation. ">SDL_MinimizeWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a4b66b90f95780276addc14bc573c9f3c" title="Raise a window above other windows and set the input focus. ">SDL_RaiseWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd" title="Restore the size and position of a minimized or maximized window. ">SDL_RestoreWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#afc7a842e8843235d2ede124a1fd076ec" title="Associate an arbitrary named pointer with a window. ">SDL_SetWindowData()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa" title="Set a window&#39;s fullscreen state. ">SDL_SetWindowFullscreen()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#abe7fd559e9d6da046c5984dea679a89b" title="Set a window&#39;s input grab mode. ">SDL_SetWindowGrab()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a0b6910b5d5aa2df0aeda257e445a472e" title="Set the icon for a window. ">SDL_SetWindowIcon()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ab200a53e01ddc697fd6b8e017cc4e6dd" title="Set the position of a window. ">SDL_SetWindowPosition()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a29b118c6932ccb94d85b5435ae1e0a19" title="Set the size of a window&#39;s client area. ">SDL_SetWindowSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#afb4b868e2cc0107ed6bcf5ba7aa376e0" title="Set the border state of a window. ">SDL_SetWindowBordered()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a41aabc4b68f75f41d97995e02eb9deb6" title="Set the title of a window, in UTF-8 format. ">SDL_SetWindowTitle()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a6051ce26885b32b80bc7285b4facd0a1" title="Show a window. ">SDL_ShowWindow()</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3bab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__video_8h.html#ac486b40a4860d980dbc74d0b4adf3bab">SDL_WindowEventID</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event subtype for window events. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3babaee1301eee7ad982c50cd310607f968b7"></a>SDL_WINDOWEVENT_NONE&#160;</td><td class="fielddoc">
<p>Never used </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba5e91fe11ed6a24a377a77d024c9639d5"></a>SDL_WINDOWEVENT_SHOWN&#160;</td><td class="fielddoc">
<p>Window has been shown </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba04e5bd277e03b61a6e4b577f2a3fda55"></a>SDL_WINDOWEVENT_HIDDEN&#160;</td><td class="fielddoc">
<p>Window has been hidden </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3babac37af5c3ce56fe0956bc310821d59489"></a>SDL_WINDOWEVENT_EXPOSED&#160;</td><td class="fielddoc">
<p>Window has been exposed and should be redrawn </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba64da80af7b0a58689f07c7196de23da5"></a>SDL_WINDOWEVENT_MOVED&#160;</td><td class="fielddoc">
<p>Window has been moved to data1, data2 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba26096363b1a5a1eccc56a00d5f61948d"></a>SDL_WINDOWEVENT_RESIZED&#160;</td><td class="fielddoc">
<p>Window has been resized to data1xdata2 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba98e76df5341be0a05c7461e32c7835f0"></a>SDL_WINDOWEVENT_SIZE_CHANGED&#160;</td><td class="fielddoc">
<p>The window size has changed, either as a result of an API call or through the system or user changing the window size. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba70577b21b05c509d0342a5649092928d"></a>SDL_WINDOWEVENT_MINIMIZED&#160;</td><td class="fielddoc">
<p>Window has been minimized </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba83593cf9ef16d0eaeeaac19b32a86a05"></a>SDL_WINDOWEVENT_MAXIMIZED&#160;</td><td class="fielddoc">
<p>Window has been maximized </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba9ebe8fbb15f1bf06521d6b5484de3d89"></a>SDL_WINDOWEVENT_RESTORED&#160;</td><td class="fielddoc">
<p>Window has been restored to normal size and position </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3babac6990e7537a4cc6cc7aaabc3376b9eb5"></a>SDL_WINDOWEVENT_ENTER&#160;</td><td class="fielddoc">
<p>Window has gained mouse focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba7e1afdd5cfea592a59e129419b431bd5"></a>SDL_WINDOWEVENT_LEAVE&#160;</td><td class="fielddoc">
<p>Window has lost mouse focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba529d1b574e559ee46892024e1c2e6c92"></a>SDL_WINDOWEVENT_FOCUS_GAINED&#160;</td><td class="fielddoc">
<p>Window has gained keyboard focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba239e734c6ba478fb2f694fc7cde30c31"></a>SDL_WINDOWEVENT_FOCUS_LOST&#160;</td><td class="fielddoc">
<p>Window has lost keyboard focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac486b40a4860d980dbc74d0b4adf3baba2483911a3a2a20dbb1c88a15ffb9a360"></a>SDL_WINDOWEVENT_CLOSE&#160;</td><td class="fielddoc">
<p>The window manager requests that the window be closed </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18">SDL_WindowFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The flags on a window. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f" title="Get the window flags. ">SDL_GetWindowFlags()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923"></a>SDL_WINDOW_FULLSCREEN&#160;</td><td class="fielddoc">
<p>fullscreen window </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a"></a>SDL_WINDOW_OPENGL&#160;</td><td class="fielddoc">
<p>window usable with OpenGL context </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18a4300d051290adcb71c1b5e82e2553c4d"></a>SDL_WINDOW_SHOWN&#160;</td><td class="fielddoc">
<p>window is visible </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c"></a>SDL_WINDOW_HIDDEN&#160;</td><td class="fielddoc">
<p>window is not visible </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c"></a>SDL_WINDOW_BORDERLESS&#160;</td><td class="fielddoc">
<p>no window decoration </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8"></a>SDL_WINDOW_RESIZABLE&#160;</td><td class="fielddoc">
<p>window can be resized </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a"></a>SDL_WINDOW_MINIMIZED&#160;</td><td class="fielddoc">
<p>window is minimized </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a"></a>SDL_WINDOW_MAXIMIZED&#160;</td><td class="fielddoc">
<p>window is maximized </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2"></a>SDL_WINDOW_INPUT_GRABBED&#160;</td><td class="fielddoc">
<p>window has grabbed input focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18afcbb682c0942bc106af1474c1d34bb53"></a>SDL_WINDOW_INPUT_FOCUS&#160;</td><td class="fielddoc">
<p>window has input focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18aa722d0955c297fc60c09b10e1679684c"></a>SDL_WINDOW_MOUSE_FOCUS&#160;</td><td class="fielddoc">
<p>window has mouse focus </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18a1ac8e0ef2237a089cf487d7e7fcc6e23"></a>SDL_WINDOW_FOREIGN&#160;</td><td class="fielddoc">
<p>window not created by SDL </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3"></a>SDL_WINDOW_ALLOW_HIGHDPI&#160;</td><td class="fielddoc">
<p>window should be created in high-DPI mode if supported </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a42565088bdb739a5353fd67abbe235d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a>* SDLCALL SDL_CreateWindow </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a window with the specified position, dimensions, and flags. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>The title of the window, in UTF-8 encoding. </td></tr>
    <tr><td class="paramname">x</td><td>The x position of the window, ::SDL_WINDOWPOS_CENTERED, or ::SDL_WINDOWPOS_UNDEFINED. </td></tr>
    <tr><td class="paramname">y</td><td>The y position of the window, ::SDL_WINDOWPOS_CENTERED, or ::SDL_WINDOWPOS_UNDEFINED. </td></tr>
    <tr><td class="paramname">w</td><td>The width of the window. </td></tr>
    <tr><td class="paramname">h</td><td>The height of the window. </td></tr>
    <tr><td class="paramname">flags</td><td>The flags for the window, a mask of any of the following: <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18ac7b8279bdf5e22a0b4a95aae3d846923">SDL_WINDOW_FULLSCREEN</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a5cf8af096f1870b0c2b12267cabd1f7a">SDL_WINDOW_OPENGL</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18adda25e98e54964c0c2ec9ac31f5e629c">SDL_WINDOW_HIDDEN</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18af7baea7dc9c0e4f09b28793504b02e4c">SDL_WINDOW_BORDERLESS</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf59a5e2f762aa2b6d2e49b0ca220fd8">SDL_WINDOW_RESIZABLE</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18acd8063a617f2ce05f694ecdbf56f811a">SDL_WINDOW_MAXIMIZED</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a7f08ee26b5773412a212233ddc168c5a">SDL_WINDOW_MINIMIZED</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18aaf410e1082e45a55ef9176163610dba2">SDL_WINDOW_INPUT_GRABBED</a>, <a class="el" href="SDL__video_8h.html#ab10f4fd6a082ef06fcae96860c95fb18a03ec21b04fa4e5c8cc868aa01a0c1bf3">SDL_WINDOW_ALLOW_HIGHDPI</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The id of the window created, or zero if window creation failed.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2" title="Destroy a window. ">SDL_DestroyWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a54b9e13dbc5bf587a8765a9ec0a29772"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a>* SDLCALL SDL_CreateWindowFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an SDL window from an existing native window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>A pointer to driver-dependent window creation data</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The id of the window created, or zero if window creation failed.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a72609295a4faee0587268339ccff80c2" title="Destroy a window. ">SDL_DestroyWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a68eb0d850934fa1c7ac12c30f2d56a84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_DisableScreenSaver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prevent the screen from being blanked by a screensaver. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a4b5c116d57947bf508c13b21aac49cbf" title="Returns whether the screensaver is currently enabled (default on). ">SDL_IsScreenSaverEnabled()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a17846c713066aa29a86e1be205a7fc3e" title="Allow the screen to be blanked by a screensaver. ">SDL_EnableScreenSaver()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a17846c713066aa29a86e1be205a7fc3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_EnableScreenSaver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allow the screen to be blanked by a screensaver. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a4b5c116d57947bf508c13b21aac49cbf" title="Returns whether the screensaver is currently enabled (default on). ">SDL_IsScreenSaverEnabled()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a68eb0d850934fa1c7ac12c30f2d56a84" title="Prevent the screen from being blanked by a screensaver. ">SDL_DisableScreenSaver()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a794be92ee0a9efca226fa19a635fa470"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a>* SDLCALL SDL_GetClosestDisplayMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>displayIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *&#160;</td>
          <td class="paramname"><em>closest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the closest match to the requested display mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayIndex</td><td>The index of display from which mode should be queried. </td></tr>
    <tr><td class="paramname">mode</td><td>The desired display mode </td></tr>
    <tr><td class="paramname">closest</td><td>A pointer to a display mode to be filled in with the closest match of the available display modes.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The passed in value <code>closest</code>, or NULL if no matching video mode was available.</dd></dl>
<p>The available display modes are scanned, and <code>closest</code> is filled in with the closest mode matching the requested mode and returned. The mode format and refresh_rate default to the desktop mode if they are 0. The modes are scanned with size being first priority, format being second priority, and finally checking the refresh_rate. If all the available modes are too small, then NULL is returned.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a5abcf18592f00019c517e791f8ba53fc" title="Returns the number of available display modes. ">SDL_GetNumDisplayModes()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a0a53e003ec6ad24dd2bbbcd0ad297311" title="Fill in information about a specific display mode. ">SDL_GetDisplayMode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5d53f49e6db21468228a675056a80bc8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC const char* SDLCALL SDL_GetCurrentVideoDriver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the name of the currently initialized video driver. </p>
<dl class="section return"><dt>Returns</dt><dd>The name of the current video driver or NULL if no driver has been initialized</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ac6f3250a95bd027fd1a374d7ed15fc57" title="Get the number of video drivers compiled into SDL. ">SDL_GetNumVideoDrivers()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a2ae1ace02d55dbed8ab2fc35dadac139" title="Get the name of a built in video driver. ">SDL_GetVideoDriver()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac05213009395c10ae40bede2de8e08a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetDisplayBounds </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>displayIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the desktop area represented by a display, with the primary display located at 0,0. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the index is out of range.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a074d185b7ef04e0305acdeeb049dd2be" title="Returns the number of available video displays. ">SDL_GetNumVideoDisplays()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0a53e003ec6ad24dd2bbbcd0ad297311"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetDisplayMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>displayIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>modeIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill in information about a specific display mode. </p>
<dl class="section note"><dt>Note</dt><dd>The display modes are sorted in this priority: <ul>
<li>bits per pixel -&gt; more colors to fewer colors </li>
<li>width -&gt; largest to smallest </li>
<li>height -&gt; largest to smallest </li>
<li>refresh rate -&gt; highest to lowest</li>
</ul>
</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a5abcf18592f00019c517e791f8ba53fc" title="Returns the number of available display modes. ">SDL_GetNumDisplayModes()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a34ac3472027bf4acf299fd8ecbb69dd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC const char* SDLCALL SDL_GetDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>displayIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the name of a display in UTF-8 encoding. </p>
<dl class="section return"><dt>Returns</dt><dd>The name of a display, or NULL for an invalid display index.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a074d185b7ef04e0305acdeeb049dd2be" title="Returns the number of available video displays. ">SDL_GetNumVideoDisplays()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5abcf18592f00019c517e791f8ba53fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetNumDisplayModes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>displayIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of available display modes. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a0a53e003ec6ad24dd2bbbcd0ad297311" title="Fill in information about a specific display mode. ">SDL_GetDisplayMode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a074d185b7ef04e0305acdeeb049dd2be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetNumVideoDisplays </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of available video displays. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ac05213009395c10ae40bede2de8e08a1" title="Get the desktop area represented by a display, with the primary display located at 0...">SDL_GetDisplayBounds()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac6f3250a95bd027fd1a374d7ed15fc57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetNumVideoDrivers </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of video drivers compiled into SDL. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a2ae1ace02d55dbed8ab2fc35dadac139" title="Get the name of a built in video driver. ">SDL_GetVideoDriver()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2ae1ace02d55dbed8ab2fc35dadac139"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC const char* SDLCALL SDL_GetVideoDriver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the name of a built in video driver. </p>
<dl class="section note"><dt>Note</dt><dd>The video drivers are presented in the order in which they are normally checked during initialization.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ac6f3250a95bd027fd1a374d7ed15fc57" title="Get the number of video drivers compiled into SDL. ">SDL_GetNumVideoDrivers()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a21c10969331c89e8d0e6a8f998a3c319"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC float SDLCALL SDL_GetWindowBrightness </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the brightness (gamma correction) for a window. </p>
<dl class="section return"><dt>Returns</dt><dd>The last brightness value passed to <a class="el" href="SDL__video_8h.html#a896972250b4d2e0f75888fa44fa792ec" title="Set the brightness (gamma correction) for a window. ">SDL_SetWindowBrightness()</a></dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a896972250b4d2e0f75888fa44fa792ec" title="Set the brightness (gamma correction) for a window. ">SDL_SetWindowBrightness()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad714a638020c06ad03f113e3d069cf88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>* SDLCALL SDL_GetWindowData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the data pointer associated with a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to query. </td></tr>
    <tr><td class="paramname">name</td><td>The name of the pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value associated with 'name'</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#afc7a842e8843235d2ede124a1fd076ec" title="Associate an arbitrary named pointer with a window. ">SDL_SetWindowData()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0be1d0a4d1f9a0da23b78db2f55871b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetWindowDisplayIndex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the display index associated with a window. </p>
<dl class="section return"><dt>Returns</dt><dd>the display index of the display containing the center of the window, or -1 on error. </dd></dl>

</div>
</div>
<a class="anchor" id="a8185547bc7cb0bbeb400f459792d081a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetWindowDisplayMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill in information about the display mode used when a fullscreen window is visible. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a2ca17d1e857d1560738e002c9935088a" title="Set the display mode used when a fullscreen window is visible. ">SDL_SetWindowDisplayMode()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa" title="Set a window&#39;s fullscreen state. ">SDL_SetWindowFullscreen()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af4d647be3bb21a33586d69d5cad87ead"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GetWindowGammaRamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>blue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the gamma ramp for a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window from which the gamma ramp should be queried. </td></tr>
    <tr><td class="paramname">red</td><td>A pointer to a 256 element array of 16-bit quantities to hold the translation table for the red channel, or NULL. </td></tr>
    <tr><td class="paramname">green</td><td>A pointer to a 256 element array of 16-bit quantities to hold the translation table for the green channel, or NULL. </td></tr>
    <tr><td class="paramname">blue</td><td>A pointer to a 256 element array of 16-bit quantities to hold the translation table for the blue channel, or NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if gamma ramps are unsupported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a6799acf235454f519ac209ccf14caa67" title="Set the gamma ramp for a window. ">SDL_SetWindowGammaRamp()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad4e451db3880b6e0dd6647cbc351c6c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_bool SDLCALL SDL_GetWindowGrab </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a window's input grab mode. </p>
<dl class="section return"><dt>Returns</dt><dd>This returns SDL_TRUE if input is grabbed, and SDL_FALSE otherwise.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#abe7fd559e9d6da046c5984dea679a89b" title="Set a window&#39;s input grab mode. ">SDL_SetWindowGrab()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a38d65795da3feacfec1c392c101e92fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GetWindowMaximumSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the maximum size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to query. </td></tr>
    <tr><td class="paramname">w</td><td>Pointer to variable for storing the maximum width, may be NULL </td></tr>
    <tr><td class="paramname">h</td><td>Pointer to variable for storing the maximum height, may be NULL</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#afe1c6ca08d5b8c336b1276236559287a" title="Get the minimum size of a window&#39;s client area. ">SDL_GetWindowMinimumSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#aaf95e53a3b70d55d71d7b2cf822ea77e" title="Set the maximum size of a window&#39;s client area. ">SDL_SetWindowMaximumSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afe1c6ca08d5b8c336b1276236559287a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GetWindowMinimumSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the minimum size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to query. </td></tr>
    <tr><td class="paramname">w</td><td>Pointer to variable for storing the minimum width, may be NULL </td></tr>
    <tr><td class="paramname">h</td><td>Pointer to variable for storing the minimum height, may be NULL</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a38d65795da3feacfec1c392c101e92fd" title="Get the maximum size of a window&#39;s client area. ">SDL_GetWindowMaximumSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a1b6dd546d8dec383be411f98926335ae" title="Set the minimum size of a window&#39;s client area. ">SDL_SetWindowMinimumSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a03adfc1ed4aaf57da4af00bd247ac99c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GetWindowPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the position of a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to query. </td></tr>
    <tr><td class="paramname">x</td><td>Pointer to variable for storing the x position, may be NULL </td></tr>
    <tr><td class="paramname">y</td><td>Pointer to variable for storing the y position, may be NULL</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ab200a53e01ddc697fd6b8e017cc4e6dd" title="Set the position of a window. ">SDL_SetWindowPosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5cbfffcfec91c22a7ca95fd1d5163db5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GetWindowSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to query. </td></tr>
    <tr><td class="paramname">w</td><td>Pointer to variable for storing the width, may be NULL </td></tr>
    <tr><td class="paramname">h</td><td>Pointer to variable for storing the height, may be NULL</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a29b118c6932ccb94d85b5435ae1e0a19" title="Set the size of a window&#39;s client area. ">SDL_SetWindowSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0f7a1d102e1d5dd2d739ad70fe268385"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="structSDL__Surface.html">SDL_Surface</a>* SDLCALL SDL_GetWindowSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the SDL surface associated with the window. </p>
<dl class="section return"><dt>Returns</dt><dd>The window's framebuffer surface, or NULL on error.</dd></dl>
<p>A new surface will be created with the optimal format for the window, if necessary. This surface will be freed when the window is destroyed.</p>
<dl class="section note"><dt>Note</dt><dd>You may not combine this with 3D or the rendering API on this window.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a7bbfee05788dc85a1d67218cf3006653" title="Copy the window surface to the screen. ">SDL_UpdateWindowSurface()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ae6b0c6cf354beb87291887bfa02385b1" title="Copy a number of rectangles on the window surface to the screen. ">SDL_UpdateWindowSurfaceRects()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1e82096618e15a831f5dd77c1aa2b579"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC const char* SDLCALL SDL_GetWindowTitle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the title of a window, in UTF-8 format. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a41aabc4b68f75f41d97995e02eb9deb6" title="Set the title of a window, in UTF-8 format. ">SDL_SetWindowTitle()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0e14c935cf304133278893bf6c1d2691"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a> SDLCALL SDL_GL_CreateContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an OpenGL context for use with an OpenGL window, and make it current. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#aa64ab050e0bd3a61057c3dffe953aa9f" title="Delete an OpenGL context. ">SDL_GL_DeleteContext()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa64ab050e0bd3a61057c3dffe953aa9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GL_DeleteContext </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a>&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete an OpenGL context. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a0e14c935cf304133278893bf6c1d2691" title="Create an OpenGL context for use with an OpenGL window, and make it current. ">SDL_GL_CreateContext()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac21851bbd91760c5bab92594a58edba3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GL_GetDrawableSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> *&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the size of a window's underlying drawable (for use with glViewport). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>Window from which the drawable size should be queried </td></tr>
    <tr><td class="paramname">w</td><td>Pointer to variable for storing the width, may be NULL </td></tr>
    <tr><td class="paramname">h</td><td>Pointer to variable for storing the height, may be NULL</td></tr>
  </table>
  </dd>
</dl>
<p>This may differ from SDL_GetWindowSize if we're rendering to a high-DPI drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with high-DPI support (Apple calls this "Retina"), and not disabled by the SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5" title="Get the size of a window&#39;s client area. ">SDL_GetWindowSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a42565088bdb739a5353fd67abbe235d2" title="Create a window with the specified position, dimensions, and flags. ">SDL_CreateWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae96490db6285ed0df44a9b1c0f498605"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GL_GetSwapInterval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the swap interval for the current OpenGL context. </p>
<dl class="section return"><dt>Returns</dt><dd>0 if there is no vertical retrace synchronization, 1 if the buffer swap is synchronized with the vertical retrace, and -1 if late swaps happen immediately instead of waiting for the next retrace. If the system can't determine the swap interval, or there isn't a valid current context, this will return 0 as a safe default.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a68b0d06595d086d9244fd49afe3e8360" title="Set the swap interval for the current OpenGL context. ">SDL_GL_SetSwapInterval()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a398df9aaf43a69dc2cfaab5b306b8f91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GL_LoadLibrary </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Dynamically load an OpenGL library. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>The platform dependent OpenGL library name, or NULL to open the default OpenGL library.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if the library couldn't be loaded.</dd></dl>
<p>This should be done after initializing the video driver, but before creating any OpenGL windows. If no OpenGL library is loaded, the default library will be loaded upon creation of the first OpenGL window.</p>
<dl class="section note"><dt>Note</dt><dd>If you do this, you need to retrieve all of the GL functions used in your program from the dynamic library using <a class="el" href="SDL__video_8h.html#a6329bc32811639fe6f71606801cd9e7b" title="Get the address of an OpenGL function. ">SDL_GL_GetProcAddress()</a>.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a6329bc32811639fe6f71606801cd9e7b" title="Get the address of an OpenGL function. ">SDL_GL_GetProcAddress()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a92103adf9637ec2dc471714076872bdc" title="Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary(). ">SDL_GL_UnloadLibrary()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5a2ad98e8920f8069bf89eb3f9bbc377"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GL_MakeCurrent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a0d64dcf67c9685d09cbe051448e1b3f3">SDL_GLContext</a>&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up an OpenGL context for rendering into an OpenGL window. </p>
<dl class="section note"><dt>Note</dt><dd>The context must have been created with a compatible window. </dd></dl>

</div>
</div>
<a class="anchor" id="a68b0d06595d086d9244fd49afe3e8360"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_GL_SetSwapInterval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>interval</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the swap interval for the current OpenGL context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interval</td><td>0 for immediate updates, 1 for updates synchronized with the vertical retrace. If the system supports it, you may specify -1 to allow late swaps to happen immediately instead of waiting for the next retrace.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if setting the swap interval is not supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ae96490db6285ed0df44a9b1c0f498605" title="Get the swap interval for the current OpenGL context. ">SDL_GL_GetSwapInterval()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a92103adf9637ec2dc471714076872bdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_GL_UnloadLibrary </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unload the OpenGL library previously loaded by <a class="el" href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91" title="Dynamically load an OpenGL library. ">SDL_GL_LoadLibrary()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a398df9aaf43a69dc2cfaab5b306b8f91" title="Dynamically load an OpenGL library. ">SDL_GL_LoadLibrary()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa3cbe663e0bd62aa7a747a6c11781766"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_HideWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hide a window. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a6051ce26885b32b80bc7285b4facd0a1" title="Show a window. ">SDL_ShowWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4b5c116d57947bf508c13b21aac49cbf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the screensaver is currently enabled (default on). </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a17846c713066aa29a86e1be205a7fc3e" title="Allow the screen to be blanked by a screensaver. ">SDL_EnableScreenSaver()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a68eb0d850934fa1c7ac12c30f2d56a84" title="Prevent the screen from being blanked by a screensaver. ">SDL_DisableScreenSaver()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8d969b660fee270f84cb403c8b75ded6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_MaximizeWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Make a window as large as possible. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd" title="Restore the size and position of a minimized or maximized window. ">SDL_RestoreWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9f802f6c7952552b1cb26958fad3f2a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_MinimizeWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Minimize a window to an iconic representation. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#afea37fca3b12f454e7f91d919fc99fbd" title="Restore the size and position of a minimized or maximized window. ">SDL_RestoreWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afea37fca3b12f454e7f91d919fc99fbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_RestoreWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restore the size and position of a minimized or maximized window. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a8d969b660fee270f84cb403c8b75ded6" title="Make a window as large as possible. ">SDL_MaximizeWindow()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a9f802f6c7952552b1cb26958fad3f2a6" title="Minimize a window to an iconic representation. ">SDL_MinimizeWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afb4b868e2cc0107ed6bcf5ba7aa376e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowBordered </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_bool&#160;</td>
          <td class="paramname"><em>bordered</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the border state of a window. </p>
<p>This will add or remove the window's SDL_WINDOW_BORDERLESS flag and add or remove the border from the actual window. This is a no-op if the window's border already matches the requested state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window of which to change the border state. </td></tr>
    <tr><td class="paramname">bordered</td><td>SDL_FALSE to remove border, SDL_TRUE to add border.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>You can't change the border state of a fullscreen window.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a4445733f04a1a9dd0e063cd4738f285f" title="Get the window flags. ">SDL_GetWindowFlags()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a896972250b4d2e0f75888fa44fa792ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_SetWindowBrightness </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>brightness</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the brightness (gamma correction) for a window. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if setting the brightness isn't supported.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a21c10969331c89e8d0e6a8f998a3c319" title="Get the brightness (gamma correction) for a window. ">SDL_GetWindowBrightness()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a6799acf235454f519ac209ccf14caa67" title="Set the gamma ramp for a window. ">SDL_SetWindowGammaRamp()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afc7a842e8843235d2ede124a1fd076ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>* SDLCALL SDL_SetWindowData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> *&#160;</td>
          <td class="paramname"><em>userdata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Associate an arbitrary named pointer with a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to associate with the pointer. </td></tr>
    <tr><td class="paramname">name</td><td>The name of the pointer. </td></tr>
    <tr><td class="paramname">userdata</td><td>The associated pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The previous value associated with 'name'</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The name is case-sensitive.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ad714a638020c06ad03f113e3d069cf88" title="Retrieve the data pointer associated with a window. ">SDL_GetWindowData()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2ca17d1e857d1560738e002c9935088a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_SetWindowDisplayMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__DisplayMode.html">SDL_DisplayMode</a> *&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the display mode used when a fullscreen window is visible. </p>
<p>By default the window's dimensions and the desktop format and refresh rate are used.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window for which the display mode should be set. </td></tr>
    <tr><td class="paramname">mode</td><td>The mode to use, or NULL for the default mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if setting the display mode failed.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a8185547bc7cb0bbeb400f459792d081a" title="Fill in information about the display mode used when a fullscreen window is visible. ">SDL_GetWindowDisplayMode()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ab4aa48f0a29f0868ce4e0422c02ed2fa" title="Set a window&#39;s fullscreen state. ">SDL_SetWindowFullscreen()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab4aa48f0a29f0868ce4e0422c02ed2fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_SetWindowFullscreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__stdinc_8h.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a window's fullscreen state. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if setting the display mode failed.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a2ca17d1e857d1560738e002c9935088a" title="Set the display mode used when a fullscreen window is visible. ">SDL_SetWindowDisplayMode()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a8185547bc7cb0bbeb400f459792d081a" title="Fill in information about the display mode used when a fullscreen window is visible. ">SDL_GetWindowDisplayMode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6799acf235454f519ac209ccf14caa67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_SetWindowGammaRamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="SDL__stdinc_8h.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> *&#160;</td>
          <td class="paramname"><em>blue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the gamma ramp for a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window for which the gamma ramp should be set. </td></tr>
    <tr><td class="paramname">red</td><td>The translation table for the red channel, or NULL. </td></tr>
    <tr><td class="paramname">green</td><td>The translation table for the green channel, or NULL. </td></tr>
    <tr><td class="paramname">blue</td><td>The translation table for the blue channel, or NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 if gamma ramps are unsupported.</dd></dl>
<p>Set the gamma translation table for the red, green, and blue channels of the video hardware. Each table is an array of 256 16-bit quantities, representing a mapping between the input and output for that channel. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#af4d647be3bb21a33586d69d5cad87ead" title="Get the gamma ramp for a window. ">SDL_GetWindowGammaRamp()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abe7fd559e9d6da046c5984dea679a89b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowGrab </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_bool&#160;</td>
          <td class="paramname"><em>grabbed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a window's input grab mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window for which the input grab mode should be set. </td></tr>
    <tr><td class="paramname">grabbed</td><td>This is SDL_TRUE to grab input, and SDL_FALSE to release input.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ad4e451db3880b6e0dd6647cbc351c6c0" title="Get a window&#39;s input grab mode. ">SDL_GetWindowGrab()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0b6910b5d5aa2df0aeda257e445a472e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowIcon </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSDL__Surface.html">SDL_Surface</a> *&#160;</td>
          <td class="paramname"><em>icon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the icon for a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window for which the icon should be set. </td></tr>
    <tr><td class="paramname">icon</td><td>The icon for the window. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaf95e53a3b70d55d71d7b2cf822ea77e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowMaximumSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>max_w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>max_h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the maximum size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to set a new maximum size. </td></tr>
    <tr><td class="paramname">max_w</td><td>The maximum width of the window, must be &gt;0 </td></tr>
    <tr><td class="paramname">max_h</td><td>The maximum height of the window, must be &gt;0</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>You can't change the maximum size of a fullscreen window, it automatically matches the size of the display mode.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a38d65795da3feacfec1c392c101e92fd" title="Get the maximum size of a window&#39;s client area. ">SDL_GetWindowMaximumSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#a1b6dd546d8dec383be411f98926335ae" title="Set the minimum size of a window&#39;s client area. ">SDL_SetWindowMinimumSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1b6dd546d8dec383be411f98926335ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowMinimumSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>min_w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>min_h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the minimum size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to set a new minimum size. </td></tr>
    <tr><td class="paramname">min_w</td><td>The minimum width of the window, must be &gt;0 </td></tr>
    <tr><td class="paramname">min_h</td><td>The minimum height of the window, must be &gt;0</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>You can't change the minimum size of a fullscreen window, it automatically matches the size of the display mode.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#afe1c6ca08d5b8c336b1276236559287a" title="Get the minimum size of a window&#39;s client area. ">SDL_GetWindowMinimumSize()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#aaf95e53a3b70d55d71d7b2cf822ea77e" title="Set the maximum size of a window&#39;s client area. ">SDL_SetWindowMaximumSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab200a53e01ddc697fd6b8e017cc4e6dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the position of a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to reposition. </td></tr>
    <tr><td class="paramname">x</td><td>The x coordinate of the window, ::SDL_WINDOWPOS_CENTERED, or ::SDL_WINDOWPOS_UNDEFINED. </td></tr>
    <tr><td class="paramname">y</td><td>The y coordinate of the window, ::SDL_WINDOWPOS_CENTERED, or ::SDL_WINDOWPOS_UNDEFINED.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The window coordinate origin is the upper left of the display.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a03adfc1ed4aaf57da4af00bd247ac99c" title="Get the position of a window. ">SDL_GetWindowPosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a29b118c6932ccb94d85b5435ae1e0a19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the size of a window's client area. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">window</td><td>The window to resize. </td></tr>
    <tr><td class="paramname">w</td><td>The width of the window, must be &gt;0 </td></tr>
    <tr><td class="paramname">h</td><td>The height of the window, must be &gt;0</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>You can't change the size of a fullscreen window, it automatically matches the size of the display mode.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a5cbfffcfec91c22a7ca95fd1d5163db5" title="Get the size of a window&#39;s client area. ">SDL_GetWindowSize()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a41aabc4b68f75f41d97995e02eb9deb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_SetWindowTitle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the title of a window, in UTF-8 format. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a1e82096618e15a831f5dd77c1aa2b579" title="Get the title of a window, in UTF-8 format. ">SDL_GetWindowTitle()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6051ce26885b32b80bc7285b4facd0a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_ShowWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show a window. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#aa3cbe663e0bd62aa7a747a6c11781766" title="Hide a window. ">SDL_HideWindow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7bbfee05788dc85a1d67218cf3006653"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_UpdateWindowSurface </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy the window surface to the screen. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a0f7a1d102e1d5dd2d739ad70fe268385" title="Get the SDL surface associated with the window. ">SDL_GetWindowSurface()</a> </dd>
<dd>
<a class="el" href="SDL__video_8h.html#ae6b0c6cf354beb87291887bfa02385b1" title="Copy a number of rectangles on the window surface to the screen. ">SDL_UpdateWindowSurfaceRects()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae6b0c6cf354beb87291887bfa02385b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_UpdateWindowSurfaceRects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__video_8h.html#a55a196c7d3b8497538632c79ae1e6392">SDL_Window</a> *&#160;</td>
          <td class="paramname"><em>window</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structSDL__Rect.html">SDL_Rect</a> *&#160;</td>
          <td class="paramname"><em>rects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a>&#160;</td>
          <td class="paramname"><em>numrects</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy a number of rectangles on the window surface to the screen. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on success, or -1 on error.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a0f7a1d102e1d5dd2d739ad70fe268385" title="Get the SDL surface associated with the window. ">SDL_GetWindowSurface()</a> </dd>
<dd>
SDL_UpdateWindowSurfaceRect() </dd></dl>

</div>
</div>
<a class="anchor" id="a05244b30716f0339dcd140c6f92017b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__thread_8h.html#a6a64f9be4433e4de6e2f2f548cf3c08e">int</a> SDLCALL SDL_VideoInit </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>driver_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the video subsystem, optionally specifying a video driver. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">driver_name</td><td>Initialize a specific driver by name, or NULL for the default video driver.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on error</dd></dl>
<p>This function initializes the video subsystem; setting up a connection to the window manager, etc, and determines the available display modes and pixel formats, but does not initialize a window or graphics mode.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#ade5fc4847320fb235f17265b683fa013" title="Shuts down the video subsystem. ">SDL_VideoQuit()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ade5fc4847320fb235f17265b683fa013"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DECLSPEC <a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a> SDLCALL SDL_VideoQuit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="SDL__audio_8h.html#a52835ae37c4bb905b903cbaf5d04b05f">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shuts down the video subsystem. </p>
<p>This function closes all windows, and restores the original video mode.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="SDL__video_8h.html#a05244b30716f0339dcd140c6f92017b7" title="Initialize the video subsystem, optionally specifying a video driver. ">SDL_VideoInit()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 16 2014 16:33:09 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>