SDLU/docs/html/_window_8hpp_source.html
2021-04-24 02:01:36 +02:00

259 lines
44 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SDL Utility: C:/Users/Robert/source/repos/SDLU/include/structures/Window.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">SDL Utility
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_window_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">Window.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_window_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_util_8hpp.html">Util.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_vector2_8hpp.html">structures/Vector2.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">struct </span>SDL_Window;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">union </span>SDL_Event;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">struct </span>SDL_Surface;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">struct </span>SDL_Cursor;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">class </span><a class="code" href="class_cursor.html">Cursor</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_window.html"> 25</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_window.html">Window</a></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;{</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0"> 28</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0">Flags</a> {</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7"> 29</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Fullscreen</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 0),</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9"> 30</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9">OpenGL</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 1),</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a"> 31</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a">Shown</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 2),</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268"> 32</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268">Hidden</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 3),</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34"> 33</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34">Borderless</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 4),</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8"> 34</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8">Resizable</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 5),</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022"> 35</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022">Minimized</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 6),</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf"> 36</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf">Maximized</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 7),</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf"> 37</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf">InputGrabbed</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 8),</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392"> 38</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392">InputFocus</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 9),</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4"> 39</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4">MouseFocus</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 10),</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d"> 40</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d">Foregin</a> = ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 11),</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4"> 41</a></span>&#160; <a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4">FullscreenDesktop</a> = (<a class="code" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Fullscreen</a> | ((<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>)1 &lt;&lt; 12)),</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c"> 47</a></span>&#160; <a class="code" href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">Window</a>();</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e"> 55</a></span>&#160; <a class="code" href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">Window</a>(<a class="code" href="struct_vector2.html">Vector2u</a> dimension, <span class="keyword">const</span> std::string&amp; title,</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_window.html#a362fb58d60e3254edddfe71e546e6993"> 58</a></span>&#160; <a class="code" href="class_window.html#a362fb58d60e3254edddfe71e546e6993">Window</a>(<span class="keyword">const</span> <a class="code" href="class_window.html">Window</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a"> 59</a></span>&#160; <a class="code" href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a">Window</a>(<a class="code" href="class_window.html">Window</a>&amp;&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9"> 61</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9">~Window</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_window.html#af74d004bddf986f316fe54269f733fca"> 73</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#af74d004bddf986f316fe54269f733fca">Create</a>(<a class="code" href="struct_vector2.html">Vector2u</a> dimension, <span class="keyword">const</span> std::string&amp; title,</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_window.html#a4ef67808752d9e9b618859e698f31362"> 79</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a4ef67808752d9e9b618859e698f31362">Close</a>();</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d"> 86</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">IsOpen</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329"> 94</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">PollEvent</a>(SDL_Event* event);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_window.html#a4421c838374771e6b9c8681a69e25daf"> 102</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_window.html#a4421c838374771e6b9c8681a69e25daf">WaitEvent</a>(SDL_Event* event);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_window.html#a85002103c92958c59fc21bcf7041403d"> 110</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2i</a> <a class="code" href="class_window.html#a85002103c92958c59fc21bcf7041403d">GetPosition</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10"> 117</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">SetPosition</a>(<a class="code" href="struct_vector2.html">Vector2i</a> position);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb"> 125</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">SetPosition</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_window.html#afde66bf9b3762c0300c8212dd18e474d"> 133</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2u</a> <a class="code" href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">GetSize</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654"> 140</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">SetSize</a>(<a class="code" href="struct_vector2.html">Vector2u</a> size);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d"> 148</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">SetSize</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f"> 156</a></span>&#160; std::string <a class="code" href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">GetTitle</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_window.html#a4b2829cb820c5a7232e641c571faccb3"> 163</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">SetTitle</a>(std::string title);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5"> 170</a></span>&#160; SDL_Window* <span class="keyword">const</span> <a class="code" href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">GetWindow</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe"> 177</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">SetVisible</a>(<span class="keywordtype">bool</span> visible);</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_window.html#a883027178d805d82c6bead962ee5fcea"> 184</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a883027178d805d82c6bead962ee5fcea">SetVsync</a>(<span class="keywordtype">bool</span> vsync);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed"> 191</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">SetMouseCursorVisible</a>(<span class="keywordtype">bool</span> visible);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="class_window.html#ae3514e6471ef00a3a109855b5408caac"> 198</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#ae3514e6471ef00a3a109855b5408caac">SetMouseCursorGrabbed</a>(<span class="keywordtype">bool</span> grabbed);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="class_window.html#a501612c893d5e0e32fe43af476f9624c"> 207</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a501612c893d5e0e32fe43af476f9624c">SetIcon</a>(<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> width, <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> height, <span class="keyword">const</span> <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>* pixels);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="class_window.html#a49a1afc39f915f0477b434974bc0eefc"> 216</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">SetIcon</a>(<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> width, <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> height, <span class="keyword">const</span> <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>* pixels);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="class_window.html#aaf5ca853594504788e13789e8018bbac"> 223</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#aaf5ca853594504788e13789e8018bbac">SetIcon</a>(SDL_Surface* icon);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd"> 230</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">SetMouseCursor</a>(SDL_Cursor* cursor);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa"> 237</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">SetMouseCursor</a>(<span class="keyword">const</span> <a class="code" href="class_cursor.html">Cursor</a>&amp; cursor);</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820"> 240</a></span>&#160; SDL_Window* <a class="code" href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820">window</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="class_window.html#a1b32c581ae9b570faca395e5d23e9abf"> 246</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_window.html#a1b32c581ae9b570faca395e5d23e9abf">OnCreate</a>();</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="class_window.html#a6ff3b3bd30b3121801089910e7f6a757"> 255</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_window.html#a6ff3b3bd30b3121801089910e7f6a757">OnResize</a>();</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="class_window.html#a25b97b17c457a41e233e7213077d8487"> 260</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_window.html#a25b97b17c457a41e233e7213077d8487">OnClose</a>();</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;};</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;SDLU_END</div>
<div class="ttc" id="a_util_8hpp_html"><div class="ttname"><a href="_util_8hpp.html">Util.hpp</a></div><div class="ttdoc">Basic utility macros, typedefs...</div></div>
<div class="ttc" id="a_util_8hpp_html_a2944638813a090aa23e62f4da842c3e2"><div class="ttname"><a href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a></div><div class="ttdeci">uint8_t Uint8</div><div class="ttdef"><b>Definition:</b> Util.hpp:17</div></div>
<div class="ttc" id="a_util_8hpp_html_ad0494d8896dbc587136819e261afdc91"><div class="ttname"><a href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div><div class="ttdeci">#define SDLU_BEGIN</div><div class="ttdef"><b>Definition:</b> Util.hpp:32</div></div>
<div class="ttc" id="a_util_8hpp_html_add440eff171ea5f55cb00c4a9ab8672d"><div class="ttname"><a href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a></div><div class="ttdeci">uint32_t Uint32</div><div class="ttdef"><b>Definition:</b> Util.hpp:23</div></div>
<div class="ttc" id="a_vector2_8hpp_html"><div class="ttname"><a href="_vector2_8hpp.html">Vector2.hpp</a></div><div class="ttdoc">Provides a structure for simple vector calculations.</div></div>
<div class="ttc" id="aclass_cursor_html"><div class="ttname"><a href="class_cursor.html">Cursor</a></div><div class="ttdef"><b>Definition:</b> Cursor.hpp:12</div></div>
<div class="ttc" id="aclass_window_html"><div class="ttname"><a href="class_window.html">Window</a></div><div class="ttdoc">Stores information about a window. You probably want RenderWindow.</div><div class="ttdef"><b>Definition:</b> Window.hpp:26</div></div>
<div class="ttc" id="aclass_window_html_a07fdcde18ef213e1d6bf8417051de24e"><div class="ttname"><a href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">Window::Window</a></div><div class="ttdeci">Window(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</div><div class="ttdoc">Creates a window with the given parameters.</div></div>
<div class="ttc" id="aclass_window_html_a122d7cdf6dc109cc0555c69341a7a329"><div class="ttname"><a href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">Window::PollEvent</a></div><div class="ttdeci">bool PollEvent(SDL_Event *event)</div><div class="ttdoc">A non-blocking event polling function.</div></div>
<div class="ttc" id="aclass_window_html_a1b32c581ae9b570faca395e5d23e9abf"><div class="ttname"><a href="class_window.html#a1b32c581ae9b570faca395e5d23e9abf">Window::OnCreate</a></div><div class="ttdeci">virtual void OnCreate()</div><div class="ttdoc">This function is called after Create() finishes.</div></div>
<div class="ttc" id="aclass_window_html_a25b97b17c457a41e233e7213077d8487"><div class="ttname"><a href="class_window.html#a25b97b17c457a41e233e7213077d8487">Window::OnClose</a></div><div class="ttdeci">virtual void OnClose()</div><div class="ttdoc">This function is called after Close() finishes.</div></div>
<div class="ttc" id="aclass_window_html_a2e6641f14a62a9b2a4853e10e0ffe5fb"><div class="ttname"><a href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">Window::SetPosition</a></div><div class="ttdeci">void SetPosition(int x, int y)</div><div class="ttdoc">Sets a new window position.</div></div>
<div class="ttc" id="aclass_window_html_a362fb58d60e3254edddfe71e546e6993"><div class="ttname"><a href="class_window.html#a362fb58d60e3254edddfe71e546e6993">Window::Window</a></div><div class="ttdeci">Window(const Window &amp;other)=delete</div></div>
<div class="ttc" id="aclass_window_html_a4421c838374771e6b9c8681a69e25daf"><div class="ttname"><a href="class_window.html#a4421c838374771e6b9c8681a69e25daf">Window::WaitEvent</a></div><div class="ttdeci">bool WaitEvent(SDL_Event *event)</div><div class="ttdoc">A blocking event polling function.</div></div>
<div class="ttc" id="aclass_window_html_a49a1afc39f915f0477b434974bc0eefc"><div class="ttname"><a href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">Window::SetIcon</a></div><div class="ttdeci">void SetIcon(Uint32 width, Uint32 height, const Uint32 *pixels)</div><div class="ttdoc">Sets the window icon to an array of RGBA values.</div></div>
<div class="ttc" id="aclass_window_html_a4b2829cb820c5a7232e641c571faccb3"><div class="ttname"><a href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">Window::SetTitle</a></div><div class="ttdeci">void SetTitle(std::string title)</div><div class="ttdoc">Sets a new window title.</div></div>
<div class="ttc" id="aclass_window_html_a4c6529cd07516c53c3c446c0637a5ebd"><div class="ttname"><a href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">Window::SetMouseCursor</a></div><div class="ttdeci">void SetMouseCursor(SDL_Cursor *cursor)</div><div class="ttdoc">Changes the mouse cursor.</div></div>
<div class="ttc" id="aclass_window_html_a4ef67808752d9e9b618859e698f31362"><div class="ttname"><a href="class_window.html#a4ef67808752d9e9b618859e698f31362">Window::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Destroys the window.</div></div>
<div class="ttc" id="aclass_window_html_a501612c893d5e0e32fe43af476f9624c"><div class="ttname"><a href="class_window.html#a501612c893d5e0e32fe43af476f9624c">Window::SetIcon</a></div><div class="ttdeci">void SetIcon(Uint32 width, Uint32 height, const Uint8 *pixels)</div><div class="ttdoc">Sets the window icon to an array of RGBA values.</div></div>
<div class="ttc" id="aclass_window_html_a5692be0678fcf6721cec66cb97f7a66a"><div class="ttname"><a href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a">Window::Window</a></div><div class="ttdeci">Window(Window &amp;&amp;other)=delete</div></div>
<div class="ttc" id="aclass_window_html_a5ab72b2f7bfc9a8fdbe9fd75bbea8654"><div class="ttname"><a href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">Window::SetSize</a></div><div class="ttdeci">void SetSize(Vector2u size)</div><div class="ttdoc">Sets a new window size.</div></div>
<div class="ttc" id="aclass_window_html_a5f02b192d076a98b72916e45ff5c40fe"><div class="ttname"><a href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">Window::SetVisible</a></div><div class="ttdeci">void SetVisible(bool visible)</div><div class="ttdoc">Set the windows visibility.</div></div>
<div class="ttc" id="aclass_window_html_a62b4a97b3c2e492f1d9a46092011e2d9"><div class="ttname"><a href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9">Window::~Window</a></div><div class="ttdeci">virtual ~Window()</div></div>
<div class="ttc" id="aclass_window_html_a6ff3b3bd30b3121801089910e7f6a757"><div class="ttname"><a href="class_window.html#a6ff3b3bd30b3121801089910e7f6a757">Window::OnResize</a></div><div class="ttdeci">virtual bool OnResize()</div><div class="ttdoc">This function is called after a SDL_WINDOWEVENT_RESIZED is polled. (PollEvent() must be called for th...</div></div>
<div class="ttc" id="aclass_window_html_a74e6087da23d3c24e9fac0245e5ec92c"><div class="ttname"><a href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">Window::Window</a></div><div class="ttdeci">Window()</div><div class="ttdoc">Default Constructor. No window is created.</div></div>
<div class="ttc" id="aclass_window_html_a85002103c92958c59fc21bcf7041403d"><div class="ttname"><a href="class_window.html#a85002103c92958c59fc21bcf7041403d">Window::GetPosition</a></div><div class="ttdeci">Vector2i GetPosition() const</div><div class="ttdoc">Returns the current position of the window.</div></div>
<div class="ttc" id="aclass_window_html_a883027178d805d82c6bead962ee5fcea"><div class="ttname"><a href="class_window.html#a883027178d805d82c6bead962ee5fcea">Window::SetVsync</a></div><div class="ttdeci">void SetVsync(bool vsync)</div><div class="ttdoc">(De)activates VSync !globally!</div></div>
<div class="ttc" id="aclass_window_html_a8fd53d315aa4c9c38be8e8f920f7eb10"><div class="ttname"><a href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">Window::SetPosition</a></div><div class="ttdeci">void SetPosition(Vector2i position)</div><div class="ttdoc">Sets a new window position.</div></div>
<div class="ttc" id="aclass_window_html_aa3ac9c3ea21fa54a4b38fe7993a10b7d"><div class="ttname"><a href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">Window::SetSize</a></div><div class="ttdeci">void SetSize(unsigned int width, unsigned int height)</div><div class="ttdoc">Sets a new window size.</div></div>
<div class="ttc" id="aclass_window_html_aaf5ca853594504788e13789e8018bbac"><div class="ttname"><a href="class_window.html#aaf5ca853594504788e13789e8018bbac">Window::SetIcon</a></div><div class="ttdeci">void SetIcon(SDL_Surface *icon)</div><div class="ttdoc">Sets the window icon to a SDL_Surface.</div></div>
<div class="ttc" id="aclass_window_html_ad735ec09123e1633186b3bbcfcb8365d"><div class="ttname"><a href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">Window::IsOpen</a></div><div class="ttdeci">bool IsOpen() const</div><div class="ttdoc">Wether or not the window object is created.</div></div>
<div class="ttc" id="aclass_window_html_ae3514e6471ef00a3a109855b5408caac"><div class="ttname"><a href="class_window.html#ae3514e6471ef00a3a109855b5408caac">Window::SetMouseCursorGrabbed</a></div><div class="ttdeci">void SetMouseCursorGrabbed(bool grabbed)</div><div class="ttdoc">Traps the mouse cursor inside the window.</div></div>
<div class="ttc" id="aclass_window_html_ae39a7755a5a6ab74bcbdbe3e2e206820"><div class="ttname"><a href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820">Window::window</a></div><div class="ttdeci">SDL_Window * window</div><div class="ttdef"><b>Definition:</b> Window.hpp:240</div></div>
<div class="ttc" id="aclass_window_html_ae4e84683ba72d48cc2a7d49dd47be1aa"><div class="ttname"><a href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">Window::SetMouseCursor</a></div><div class="ttdeci">void SetMouseCursor(const Cursor &amp;cursor)</div><div class="ttdoc">Changes the mouse cursor.</div></div>
<div class="ttc" id="aclass_window_html_ae66865d49d16710c1cb11fd39ab7564f"><div class="ttname"><a href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">Window::GetTitle</a></div><div class="ttdeci">std::string GetTitle() const</div><div class="ttdoc">Gets the current window title.</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0">Window::Flags</a></div><div class="ttdeci">Flags</div><div class="ttdef"><b>Definition:</b> Window.hpp:28</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9">Window::OpenGL</a></div><div class="ttdeci">@ OpenGL</div><div class="ttdef"><b>Definition:</b> Window.hpp:30</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a">Window::Shown</a></div><div class="ttdeci">@ Shown</div><div class="ttdef"><b>Definition:</b> Window.hpp:31</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4">Window::FullscreenDesktop</a></div><div class="ttdeci">@ FullscreenDesktop</div><div class="ttdef"><b>Definition:</b> Window.hpp:41</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268">Window::Hidden</a></div><div class="ttdeci">@ Hidden</div><div class="ttdef"><b>Definition:</b> Window.hpp:32</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf">Window::InputGrabbed</a></div><div class="ttdeci">@ InputGrabbed</div><div class="ttdef"><b>Definition:</b> Window.hpp:37</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4">Window::MouseFocus</a></div><div class="ttdeci">@ MouseFocus</div><div class="ttdef"><b>Definition:</b> Window.hpp:39</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392">Window::InputFocus</a></div><div class="ttdeci">@ InputFocus</div><div class="ttdef"><b>Definition:</b> Window.hpp:38</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Window::Fullscreen</a></div><div class="ttdeci">@ Fullscreen</div><div class="ttdef"><b>Definition:</b> Window.hpp:29</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022">Window::Minimized</a></div><div class="ttdeci">@ Minimized</div><div class="ttdef"><b>Definition:</b> Window.hpp:35</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34">Window::Borderless</a></div><div class="ttdeci">@ Borderless</div><div class="ttdef"><b>Definition:</b> Window.hpp:33</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8">Window::Resizable</a></div><div class="ttdeci">@ Resizable</div><div class="ttdef"><b>Definition:</b> Window.hpp:34</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf">Window::Maximized</a></div><div class="ttdeci">@ Maximized</div><div class="ttdef"><b>Definition:</b> Window.hpp:36</div></div>
<div class="ttc" id="aclass_window_html_aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d"><div class="ttname"><a href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d">Window::Foregin</a></div><div class="ttdeci">@ Foregin</div><div class="ttdef"><b>Definition:</b> Window.hpp:40</div></div>
<div class="ttc" id="aclass_window_html_aeb93384307a3e4b2bbda7ca7d241ebed"><div class="ttname"><a href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">Window::SetMouseCursorVisible</a></div><div class="ttdeci">void SetMouseCursorVisible(bool visible)</div><div class="ttdoc">Hides/Shows the mouse cursor inside the windos.</div></div>
<div class="ttc" id="aclass_window_html_af5c5abd7cfe7b2287cf9a0ad0e95c1a5"><div class="ttname"><a href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">Window::GetWindow</a></div><div class="ttdeci">SDL_Window *const GetWindow() const</div><div class="ttdoc">Returns a constant pointer to the SDL_Window.</div></div>
<div class="ttc" id="aclass_window_html_af74d004bddf986f316fe54269f733fca"><div class="ttname"><a href="class_window.html#af74d004bddf986f316fe54269f733fca">Window::Create</a></div><div class="ttdeci">void Create(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</div><div class="ttdoc">Creates the window.</div></div>
<div class="ttc" id="aclass_window_html_afde66bf9b3762c0300c8212dd18e474d"><div class="ttname"><a href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">Window::GetSize</a></div><div class="ttdeci">Vector2u GetSize() const</div><div class="ttdoc">Gets the current window size.</div></div>
<div class="ttc" id="astruct_vector2_html"><div class="ttname"><a href="struct_vector2.html">Vector2</a></div><div class="ttdoc">A struct to handle basic 2D vector operations.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:22</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_ae392c548e81aebab219dc0867f8ff50.html">structures</a></li><li class="navelem"><a class="el" href="_window_8hpp.html">Window.hpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>