2d-platformer/vendor/SFML-3.0.0/doc/html/Event_8hpp_source.html

473 lines
81 KiB
HTML

<!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>
<title>SFML - Simple and Fast Multimedia Library</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link rel="stylesheet" type="text/css" href="search/search.css" />
<link rel="stylesheet" type="text/css" href="searchOverrides.css" />
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
</head>
<body>
<div id="banner-container">
<div id="banner">
<span id="sfml">SFML 3.0.0</span>
</div>
</div>
<div id="content">
<div>
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="topics.html"><span>Topics</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
<input type="text" id="MSearchField" value="" placeholder="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.svg" 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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_c0a853e81d6f1c1f0a3eb7a27dc24256.html">SFML</a></li><li class="navelem"><a class="el" href="dir_5cf786e58cbf7297a26339ae6e44357c.html">Window</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">Event.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="Event_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">//</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// SFML - Simple and Fast Multimedia Library</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Copyright (C) 2007-2024 Laurent Gomila (laurent@sfml-dev.org)</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">//</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// This software is provided &#39;as-is&#39;, without any express or implied warranty.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">// In no event will the authors be held liable for any damages arising from the use of this software.</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">//</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// Permission is granted to anyone to use this software for any purpose,</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// including commercial applications, and to alter it and redistribute it freely,</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// subject to the following restrictions:</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">//</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">// 1. The origin of this software must not be misrepresented;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">// you must not claim that you wrote the original software.</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">// If you use this software in a product, an acknowledgment</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">// in the product documentation would be appreciated but is not required.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">//</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// 2. Altered source versions must be plainly marked as such,</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">// and must not be misrepresented as being the original software.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">//</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">// 3. This notice may not be removed or altered from any source distribution.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">//</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">// Headers</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;<a class="code" href="Joystick_8hpp.html">SFML/Window/Joystick.hpp</a>&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &lt;<a class="code" href="Keyboard_8hpp.html">SFML/Window/Keyboard.hpp</a>&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &lt;<a class="code" href="Mouse_8hpp.html">SFML/Window/Mouse.hpp</a>&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include &lt;<a class="code" href="Sensor_8hpp.html">SFML/Window/Sensor.hpp</a>&gt;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include &lt;<a class="code" href="Vector2_8hpp.html">SFML/System/Vector2.hpp</a>&gt;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include &lt;variant&gt;</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacesf.html">sf</a></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span>{</div>
<div class="foldopen" id="foldopen00046" data-start="{" data-end="};">
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classsf_1_1Event.html"> 46</a></span><span class="keyword">class </span><a class="code hl_class" href="classsf_1_1Event.html">Event</a></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span>{</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00053" data-start="{" data-end="};">
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1Closed.html"> 53</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1Closed.html">Closed</a></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> {</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> };</div>
</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1Resized.html"> 61</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1Resized.html">Resized</a></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> {</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1Resized.html#a23159621438eda3eb8b1c75ec8117336"> 63</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2u</a> <a class="code hl_variable" href="structsf_1_1Event_1_1Resized.html#a23159621438eda3eb8b1c75ec8117336">size</a>; </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> };</div>
</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="foldopen" id="foldopen00070" data-start="{" data-end="};">
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1FocusLost.html"> 70</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1FocusLost.html">FocusLost</a></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> {</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> };</div>
</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="foldopen" id="foldopen00078" data-start="{" data-end="};">
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1FocusGained.html"> 78</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1FocusGained.html">FocusGained</a></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> {</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> };</div>
</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="foldopen" id="foldopen00086" data-start="{" data-end="};">
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TextEntered.html"> 86</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1TextEntered.html">TextEntered</a></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> {</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TextEntered.html#abde9dc42f895f727d1f1ebb41c33b780"> 88</a></span> <span class="keywordtype">char32_t</span> <a class="code hl_variable" href="structsf_1_1Event_1_1TextEntered.html#abde9dc42f895f727d1f1ebb41c33b780">unicode</a>{}; </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> };</div>
</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="foldopen" id="foldopen00095" data-start="{" data-end="};">
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html"> 95</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1KeyPressed.html">KeyPressed</a></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> {</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#a8d0e09b379708f01b22f390810994613"> 97</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Keyboard.html#acb4cacd7cc5802dec45724cf3314a142">Keyboard::Key</a> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#a8d0e09b379708f01b22f390810994613">code</a>{}; </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#ada98a5d7f8ccc5a2cbdb1c76d9441ea0"> 98</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Keyboard.html#aed978288ff367518d29cfe0c9e3b295f">Keyboard::Scancode</a> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#ada98a5d7f8ccc5a2cbdb1c76d9441ea0">scancode</a>{}; </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#a593c73fc3009844773ef1aea1bfebd3c"> 99</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#a593c73fc3009844773ef1aea1bfebd3c">alt</a>{}; </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#a2f9bd39699a4d7a21ee13dfe00219fe3"> 100</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#a2f9bd39699a4d7a21ee13dfe00219fe3">control</a>{}; </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#a339d98e26c0d9d48b4821b0e3bc3651b"> 101</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#a339d98e26c0d9d48b4821b0e3bc3651b">shift</a>{}; </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyPressed.html#a07abad6ab8c1abc565853091a2df3b6f"> 102</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyPressed.html#a07abad6ab8c1abc565853091a2df3b6f">system</a>{}; </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> };</div>
</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
<div class="foldopen" id="foldopen00109" data-start="{" data-end="};">
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html"> 109</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1KeyReleased.html">KeyReleased</a></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> {</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#aa6db1f2d21cbfcfc33902f444a1ee027"> 111</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Keyboard.html#acb4cacd7cc5802dec45724cf3314a142">Keyboard::Key</a> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#aa6db1f2d21cbfcfc33902f444a1ee027">code</a>{}; </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#ae3bedd5b0b0c97bb1a0d7a86775d4c8a"> 112</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Keyboard.html#aed978288ff367518d29cfe0c9e3b295f">Keyboard::Scancode</a> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#ae3bedd5b0b0c97bb1a0d7a86775d4c8a">scancode</a>{}; </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#a61c09330d00d283ac7d043f14609c666"> 113</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#a61c09330d00d283ac7d043f14609c666">alt</a>{}; </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#a779d36144c9ecafc3e32fbc652fd1a2a"> 114</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#a779d36144c9ecafc3e32fbc652fd1a2a">control</a>{}; </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#a8593f74ee7e43ec525002c0cbee40075"> 115</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#a8593f74ee7e43ec525002c0cbee40075">shift</a>{}; </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1KeyReleased.html#a89422254b7f0968cba83bc219a9e68f1"> 116</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsf_1_1Event_1_1KeyReleased.html#a89422254b7f0968cba83bc219a9e68f1">system</a>{}; </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> };</div>
</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="foldopen" id="foldopen00123" data-start="{" data-end="};">
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseWheelScrolled.html"> 123</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseWheelScrolled.html">MouseWheelScrolled</a></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> {</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a02d581d6baf283dcbf6ea38a6e1f8d04"> 125</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Mouse.html#a60dd479a43f26f200e7957aa11803ff4">Mouse::Wheel</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a02d581d6baf283dcbf6ea38a6e1f8d04">wheel</a>{}; </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a7c78e2320d061bafa10af92055c69172"> 126</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a7c78e2320d061bafa10af92055c69172">delta</a>{}; </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a50ebfbc800ccba96defa6d3a1f54feda"> 127</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseWheelScrolled.html#a50ebfbc800ccba96defa6d3a1f54feda">position</a>; </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> };</div>
</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="foldopen" id="foldopen00134" data-start="{" data-end="};">
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonPressed.html"> 134</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseButtonPressed.html">MouseButtonPressed</a></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> {</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonPressed.html#ade09e3382f11ae8d4c0ab7bf850c10e0"> 136</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Mouse.html#a4fb128be433f9aafe66bc0c605daaa90">Mouse::Button</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseButtonPressed.html#ade09e3382f11ae8d4c0ab7bf850c10e0">button</a>{}; </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonPressed.html#a9752a69c84a75425f5c3ccd0b4557b46"> 137</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseButtonPressed.html#a9752a69c84a75425f5c3ccd0b4557b46">position</a>; </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> };</div>
</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="foldopen" id="foldopen00144" data-start="{" data-end="};">
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonReleased.html"> 144</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseButtonReleased.html">MouseButtonReleased</a></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> {</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonReleased.html#a9fc43d99fc8e905a4aec0ea1579a4f99"> 146</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Mouse.html#a4fb128be433f9aafe66bc0c605daaa90">Mouse::Button</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseButtonReleased.html#a9fc43d99fc8e905a4aec0ea1579a4f99">button</a>{}; </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseButtonReleased.html#a4471a4643d7b7e3d7286eed0390b5d04"> 147</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseButtonReleased.html#a4471a4643d7b7e3d7286eed0390b5d04">position</a>; </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> };</div>
</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="foldopen" id="foldopen00154" data-start="{" data-end="};">
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseMoved.html"> 154</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseMoved.html">MouseMoved</a></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> {</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseMoved.html#ad28578ff7dc681f819dbbf629662ee32"> 156</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseMoved.html#ad28578ff7dc681f819dbbf629662ee32">position</a>; </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> };</div>
</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="foldopen" id="foldopen00187" data-start="{" data-end="};">
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseMovedRaw.html"> 187</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseMovedRaw.html">MouseMovedRaw</a></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> {</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseMovedRaw.html#acdf6da3297c13359b5b1cb0a8af29359"> 189</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1MouseMovedRaw.html#acdf6da3297c13359b5b1cb0a8af29359">delta</a>; </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> };</div>
</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> </div>
<div class="foldopen" id="foldopen00196" data-start="{" data-end="};">
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseEntered.html"> 196</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseEntered.html">MouseEntered</a></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> {</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> };</div>
</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="foldopen" id="foldopen00204" data-start="{" data-end="};">
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1MouseLeft.html"> 204</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1MouseLeft.html">MouseLeft</a></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> {</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> };</div>
</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
<div class="foldopen" id="foldopen00212" data-start="{" data-end="};">
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonPressed.html"> 212</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1JoystickButtonPressed.html">JoystickButtonPressed</a></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> {</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonPressed.html#a628d89c9b5ae5bd99d7dd74ce9a15bff"> 214</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickButtonPressed.html#a628d89c9b5ae5bd99d7dd74ce9a15bff">joystickId</a>{}; </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonPressed.html#a2258d3416bec2b63485d65d0b842571f"> 215</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickButtonPressed.html#a2258d3416bec2b63485d65d0b842571f">button</a>{}; </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> };</div>
</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="foldopen" id="foldopen00222" data-start="{" data-end="};">
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonReleased.html"> 222</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1JoystickButtonReleased.html">JoystickButtonReleased</a></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> {</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonReleased.html#aafd3630358ed9e00ac74ff6b76803609"> 224</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickButtonReleased.html#aafd3630358ed9e00ac74ff6b76803609">joystickId</a>{}; </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickButtonReleased.html#a99de976352240b1c3cdcbbaf1a824ccc"> 225</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickButtonReleased.html#a99de976352240b1c3cdcbbaf1a824ccc">button</a>{}; </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> };</div>
</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
<div class="foldopen" id="foldopen00232" data-start="{" data-end="};">
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickMoved.html"> 232</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1JoystickMoved.html">JoystickMoved</a></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> {</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickMoved.html#a1f0dc41a3f7f3ced3e08e7daac917396"> 234</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickMoved.html#a1f0dc41a3f7f3ced3e08e7daac917396">joystickId</a>{}; </div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickMoved.html#a60f21fbcb7697e4685f997b9b5dc8c48"> 235</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Joystick.html#a48db337092c2e263774f94de6d50baa7">Joystick::Axis</a> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickMoved.html#a60f21fbcb7697e4685f997b9b5dc8c48">axis</a>{}; </div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickMoved.html#aa0ced59d8ddc52442ae5bb71360527fb"> 236</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickMoved.html#aa0ced59d8ddc52442ae5bb71360527fb">position</a>{}; </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> };</div>
</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> </div>
<div class="foldopen" id="foldopen00243" data-start="{" data-end="};">
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickConnected.html"> 243</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1JoystickConnected.html">JoystickConnected</a></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> {</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickConnected.html#a0ff751ccabb36225f040d5c60d1eb38b"> 245</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickConnected.html#a0ff751ccabb36225f040d5c60d1eb38b">joystickId</a>{}; </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> };</div>
</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
<div class="foldopen" id="foldopen00252" data-start="{" data-end="};">
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickDisconnected.html"> 252</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1JoystickDisconnected.html">JoystickDisconnected</a></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> {</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1JoystickDisconnected.html#a7b96e66218e4ae84aedec4e8c7f0d49f"> 254</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1JoystickDisconnected.html#a7b96e66218e4ae84aedec4e8c7f0d49f">joystickId</a>{}; </div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> };</div>
</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
<div class="foldopen" id="foldopen00261" data-start="{" data-end="};">
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchBegan.html"> 261</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1TouchBegan.html">TouchBegan</a></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> {</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchBegan.html#acfdcf51fabda85a32ac76c7772ec9814"> 263</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchBegan.html#acfdcf51fabda85a32ac76c7772ec9814">finger</a>{}; </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchBegan.html#a514712f9b5bffddc9422efa6321ddc5f"> 264</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchBegan.html#a514712f9b5bffddc9422efa6321ddc5f">position</a>; </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> };</div>
</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="foldopen" id="foldopen00271" data-start="{" data-end="};">
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchMoved.html"> 271</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1TouchMoved.html">TouchMoved</a></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> {</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchMoved.html#aa6856eab50d6ee8573c8c8257fa681b1"> 273</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchMoved.html#aa6856eab50d6ee8573c8c8257fa681b1">finger</a>{}; </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchMoved.html#a163a5db3ac0250bc7600b6d1c365af60"> 274</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchMoved.html#a163a5db3ac0250bc7600b6d1c365af60">position</a>; </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> };</div>
</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
<div class="foldopen" id="foldopen00281" data-start="{" data-end="};">
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchEnded.html"> 281</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1TouchEnded.html">TouchEnded</a></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> {</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchEnded.html#ae875e9ca00ddf52f101197a6f3a3775f"> 283</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchEnded.html#ae875e9ca00ddf52f101197a6f3a3775f">finger</a>{}; </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1TouchEnded.html#ae6997d678a68380dddb5c3995abf3858"> 284</a></span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2i</a> <a class="code hl_variable" href="structsf_1_1Event_1_1TouchEnded.html#ae6997d678a68380dddb5c3995abf3858">position</a>; </div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> };</div>
</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> </div>
<div class="foldopen" id="foldopen00291" data-start="{" data-end="};">
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1SensorChanged.html"> 291</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Event_1_1SensorChanged.html">SensorChanged</a></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> {</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1SensorChanged.html#a312d00af6eb10094508d0861368cd57f"> 293</a></span> <a class="code hl_enumeration" href="namespacesf_1_1Sensor.html#a687375af3ab77b818fca73735bcaea84">Sensor::Type</a> <a class="code hl_variable" href="structsf_1_1Event_1_1SensorChanged.html#a312d00af6eb10094508d0861368cd57f">type</a>{}; </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"><a class="line" href="structsf_1_1Event_1_1SensorChanged.html#a46dc2e8291b183572021194761b342d2"> 294</a></span> <a class="code hl_class" href="classsf_1_1Vector3.html">Vector3f</a> <a class="code hl_variable" href="structsf_1_1Event_1_1SensorChanged.html#a46dc2e8291b183572021194761b342d2">value</a>; </div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> };</div>
</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> TEventSubtype&gt;</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="classsf_1_1Event.html#a9972ec2d645cb27f66948760d867c169"> 306</a></span> <a class="code hl_function" href="classsf_1_1Event.html#a9972ec2d645cb27f66948760d867c169">Event</a>(<span class="keyword">const</span> TEventSubtype&amp; eventSubtype);</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> </div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> TEventSubtype&gt;</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"><a class="line" href="classsf_1_1Event.html#a40df10cc639742089960c7dbe9144343"> 317</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Event.html#a40df10cc639742089960c7dbe9144343">is</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> </div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> TEventSubtype&gt;</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="classsf_1_1Event.html#a2f7d5c82b6401ae288a252c295129a32"> 328</a></span> [[nodiscard]] <span class="keyword">const</span> TEventSubtype* <a class="code hl_function" href="classsf_1_1Event.html#a2f7d5c82b6401ae288a252c295129a32">getIf</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"><a class="line" href="classsf_1_1Event.html#af8d4d0891f8919074891416d0d6474d8"> 339</a></span> <span class="keyword">decltype</span>(<span class="keyword">auto</span>) <a class="code hl_function" href="classsf_1_1Event.html#af8d4d0891f8919074891416d0d6474d8">visit</a>(T&amp;&amp; visitor) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <span class="comment">// Member data</span></div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> std::variant&lt;<a class="code hl_struct" href="structsf_1_1Event_1_1Closed.html">Closed</a>,</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <a class="code hl_struct" href="structsf_1_1Event_1_1Resized.html">Resized</a>,</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <a class="code hl_struct" href="structsf_1_1Event_1_1FocusLost.html">FocusLost</a>,</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <a class="code hl_struct" href="structsf_1_1Event_1_1FocusGained.html">FocusGained</a>,</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> <a class="code hl_struct" href="structsf_1_1Event_1_1TextEntered.html">TextEntered</a>,</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <a class="code hl_struct" href="structsf_1_1Event_1_1KeyPressed.html">KeyPressed</a>,</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <a class="code hl_struct" href="structsf_1_1Event_1_1KeyReleased.html">KeyReleased</a>,</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseWheelScrolled.html">MouseWheelScrolled</a>,</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseButtonPressed.html">MouseButtonPressed</a>,</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseButtonReleased.html">MouseButtonReleased</a>,</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseMoved.html">MouseMoved</a>,</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseMovedRaw.html">MouseMovedRaw</a>,</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseEntered.html">MouseEntered</a>,</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <a class="code hl_struct" href="structsf_1_1Event_1_1MouseLeft.html">MouseLeft</a>,</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <a class="code hl_struct" href="structsf_1_1Event_1_1JoystickButtonPressed.html">JoystickButtonPressed</a>,</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <a class="code hl_struct" href="structsf_1_1Event_1_1JoystickButtonReleased.html">JoystickButtonReleased</a>,</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <a class="code hl_struct" href="structsf_1_1Event_1_1JoystickMoved.html">JoystickMoved</a>,</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <a class="code hl_struct" href="structsf_1_1Event_1_1JoystickConnected.html">JoystickConnected</a>,</div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <a class="code hl_struct" href="structsf_1_1Event_1_1JoystickDisconnected.html">JoystickDisconnected</a>,</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> <a class="code hl_struct" href="structsf_1_1Event_1_1TouchBegan.html">TouchBegan</a>,</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <a class="code hl_struct" href="structsf_1_1Event_1_1TouchMoved.html">TouchMoved</a>,</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> <a class="code hl_struct" href="structsf_1_1Event_1_1TouchEnded.html">TouchEnded</a>,</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> <a class="code hl_struct" href="structsf_1_1Event_1_1SensorChanged.html">SensorChanged</a>&gt;</div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> m_data; </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> </div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> <span class="comment">// Helper functions</span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span>... Ts&gt;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> [[nodiscard]] <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> isInParameterPack(<span class="keyword">const</span> std::variant&lt;Ts...&gt;*)</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> {</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> <span class="keywordflow">return</span> (std::is_same_v&lt;T, Ts&gt; || ...);</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> }</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> </div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> isEventSubtype = isInParameterPack&lt;T&gt;(<span class="keyword">decltype</span> (&amp;m_data)(<span class="keyword">nullptr</span>));</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span>};</div>
</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span>} <span class="comment">// namespace sf</span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> </div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span><span class="preprocessor">#include &lt;SFML/Window/Event.inl&gt;</span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> </div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> </div>
<div class="ttc" id="aJoystick_8hpp_html"><div class="ttname"><a href="Joystick_8hpp.html">Joystick.hpp</a></div></div>
<div class="ttc" id="aKeyboard_8hpp_html"><div class="ttname"><a href="Keyboard_8hpp.html">Keyboard.hpp</a></div></div>
<div class="ttc" id="aMouse_8hpp_html"><div class="ttname"><a href="Mouse_8hpp.html">Mouse.hpp</a></div></div>
<div class="ttc" id="aSensor_8hpp_html"><div class="ttname"><a href="Sensor_8hpp.html">Sensor.hpp</a></div></div>
<div class="ttc" id="aVector2_8hpp_html"><div class="ttname"><a href="Vector2_8hpp.html">Vector2.hpp</a></div></div>
<div class="ttc" id="aclasssf_1_1Event_html"><div class="ttname"><a href="classsf_1_1Event.html">sf::Event</a></div><div class="ttdoc">Defines a system event and its parameters.</div><div class="ttdef"><b>Definition</b> <a href="#l00046">Event.hpp:47</a></div></div>
<div class="ttc" id="aclasssf_1_1Event_html_a2f7d5c82b6401ae288a252c295129a32"><div class="ttname"><a href="classsf_1_1Event.html#a2f7d5c82b6401ae288a252c295129a32">sf::Event::getIf</a></div><div class="ttdeci">const TEventSubtype * getIf() const</div><div class="ttdoc">Attempt to get specified event subtype.</div></div>
<div class="ttc" id="aclasssf_1_1Event_html_a40df10cc639742089960c7dbe9144343"><div class="ttname"><a href="classsf_1_1Event.html#a40df10cc639742089960c7dbe9144343">sf::Event::is</a></div><div class="ttdeci">bool is() const</div><div class="ttdoc">Check current event subtype.</div></div>
<div class="ttc" id="aclasssf_1_1Event_html_a9972ec2d645cb27f66948760d867c169"><div class="ttname"><a href="classsf_1_1Event.html#a9972ec2d645cb27f66948760d867c169">sf::Event::Event</a></div><div class="ttdeci">Event(const TEventSubtype &amp;eventSubtype)</div><div class="ttdoc">Construct from a given sf::Event subtype.</div></div>
<div class="ttc" id="aclasssf_1_1Event_html_af8d4d0891f8919074891416d0d6474d8"><div class="ttname"><a href="classsf_1_1Event.html#af8d4d0891f8919074891416d0d6474d8">sf::Event::visit</a></div><div class="ttdeci">decltype(auto) visit(T &amp;&amp;visitor) const</div><div class="ttdoc">Apply a visitor to the event.</div></div>
<div class="ttc" id="aclasssf_1_1Vector2_html"><div class="ttname"><a href="classsf_1_1Vector2.html">sf::Vector2&lt; unsigned int &gt;</a></div></div>
<div class="ttc" id="aclasssf_1_1Vector3_html"><div class="ttname"><a href="classsf_1_1Vector3.html">sf::Vector3&lt; float &gt;</a></div></div>
<div class="ttc" id="anamespacesf_1_1Joystick_html_a48db337092c2e263774f94de6d50baa7"><div class="ttname"><a href="namespacesf_1_1Joystick.html#a48db337092c2e263774f94de6d50baa7">sf::Joystick::Axis</a></div><div class="ttdeci">Axis</div><div class="ttdoc">Axes supported by SFML joysticks.</div><div class="ttdef"><b>Definition</b> <a href="Joystick_8hpp_source.html#l00054">Joystick.hpp:55</a></div></div>
<div class="ttc" id="anamespacesf_1_1Keyboard_html_acb4cacd7cc5802dec45724cf3314a142"><div class="ttname"><a href="namespacesf_1_1Keyboard.html#acb4cacd7cc5802dec45724cf3314a142">sf::Keyboard::Key</a></div><div class="ttdeci">Key</div><div class="ttdoc">Key codes.</div><div class="ttdef"><b>Definition</b> <a href="Keyboard_8hpp_source.html#l00051">Keyboard.hpp:52</a></div></div>
<div class="ttc" id="anamespacesf_1_1Keyboard_html_aed978288ff367518d29cfe0c9e3b295f"><div class="ttname"><a href="namespacesf_1_1Keyboard.html#aed978288ff367518d29cfe0c9e3b295f">sf::Keyboard::Scan</a></div><div class="ttdeci">Scan</div><div class="ttdoc">Scancodes.</div><div class="ttdef"><b>Definition</b> <a href="Keyboard_8hpp_source.html#l00172">Keyboard.hpp:173</a></div></div>
<div class="ttc" id="anamespacesf_1_1Mouse_html_a4fb128be433f9aafe66bc0c605daaa90"><div class="ttname"><a href="namespacesf_1_1Mouse.html#a4fb128be433f9aafe66bc0c605daaa90">sf::Mouse::Button</a></div><div class="ttdeci">Button</div><div class="ttdoc">Mouse buttons.</div><div class="ttdef"><b>Definition</b> <a href="Mouse_8hpp_source.html#l00049">Mouse.hpp:50</a></div></div>
<div class="ttc" id="anamespacesf_1_1Mouse_html_a60dd479a43f26f200e7957aa11803ff4"><div class="ttname"><a href="namespacesf_1_1Mouse.html#a60dd479a43f26f200e7957aa11803ff4">sf::Mouse::Wheel</a></div><div class="ttdeci">Wheel</div><div class="ttdoc">Mouse wheels.</div><div class="ttdef"><b>Definition</b> <a href="Mouse_8hpp_source.html#l00065">Mouse.hpp:66</a></div></div>
<div class="ttc" id="anamespacesf_1_1Sensor_html_a687375af3ab77b818fca73735bcaea84"><div class="ttname"><a href="namespacesf_1_1Sensor.html#a687375af3ab77b818fca73735bcaea84">sf::Sensor::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Sensor type.</div><div class="ttdef"><b>Definition</b> <a href="Sensor_8hpp_source.html#l00044">Sensor.hpp:45</a></div></div>
<div class="ttc" id="anamespacesf_html"><div class="ttname"><a href="namespacesf.html">sf</a></div><div class="ttdef"><b>Definition</b> <a href="AudioResource_8hpp_source.html#l00035">AudioResource.hpp:36</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1Closed_html"><div class="ttname"><a href="structsf_1_1Event_1_1Closed.html">sf::Event::Closed</a></div><div class="ttdoc">Closed event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00053">Event.hpp:54</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1FocusGained_html"><div class="ttname"><a href="structsf_1_1Event_1_1FocusGained.html">sf::Event::FocusGained</a></div><div class="ttdoc">Gained focus event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00078">Event.hpp:79</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1FocusLost_html"><div class="ttname"><a href="structsf_1_1Event_1_1FocusLost.html">sf::Event::FocusLost</a></div><div class="ttdoc">Lost focus event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00070">Event.hpp:71</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonPressed_html"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonPressed.html">sf::Event::JoystickButtonPressed</a></div><div class="ttdoc">Joystick button pressed event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00212">Event.hpp:213</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonPressed_html_a2258d3416bec2b63485d65d0b842571f"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonPressed.html#a2258d3416bec2b63485d65d0b842571f">sf::Event::JoystickButtonPressed::button</a></div><div class="ttdeci">unsigned int button</div><div class="ttdoc">Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00215">Event.hpp:215</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonPressed_html_a628d89c9b5ae5bd99d7dd74ce9a15bff"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonPressed.html#a628d89c9b5ae5bd99d7dd74ce9a15bff">sf::Event::JoystickButtonPressed::joystickId</a></div><div class="ttdeci">unsigned int joystickId</div><div class="ttdoc">Index of the joystick (in range [0 .. Joystick::Count - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00214">Event.hpp:214</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonReleased_html"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonReleased.html">sf::Event::JoystickButtonReleased</a></div><div class="ttdoc">Joystick button released event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00222">Event.hpp:223</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonReleased_html_a99de976352240b1c3cdcbbaf1a824ccc"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonReleased.html#a99de976352240b1c3cdcbbaf1a824ccc">sf::Event::JoystickButtonReleased::button</a></div><div class="ttdeci">unsigned int button</div><div class="ttdoc">Index of the button that has been released (in range [0 .. Joystick::ButtonCount - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00225">Event.hpp:225</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickButtonReleased_html_aafd3630358ed9e00ac74ff6b76803609"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickButtonReleased.html#aafd3630358ed9e00ac74ff6b76803609">sf::Event::JoystickButtonReleased::joystickId</a></div><div class="ttdeci">unsigned int joystickId</div><div class="ttdoc">Index of the joystick (in range [0 .. Joystick::Count - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00224">Event.hpp:224</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickConnected_html"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickConnected.html">sf::Event::JoystickConnected</a></div><div class="ttdoc">Joystick connected event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00243">Event.hpp:244</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickConnected_html_a0ff751ccabb36225f040d5c60d1eb38b"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickConnected.html#a0ff751ccabb36225f040d5c60d1eb38b">sf::Event::JoystickConnected::joystickId</a></div><div class="ttdeci">unsigned int joystickId</div><div class="ttdoc">Index of the joystick (in range [0 .. Joystick::Count - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00245">Event.hpp:245</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickDisconnected_html"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickDisconnected.html">sf::Event::JoystickDisconnected</a></div><div class="ttdoc">Joystick disconnected event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00252">Event.hpp:253</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickDisconnected_html_a7b96e66218e4ae84aedec4e8c7f0d49f"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickDisconnected.html#a7b96e66218e4ae84aedec4e8c7f0d49f">sf::Event::JoystickDisconnected::joystickId</a></div><div class="ttdeci">unsigned int joystickId</div><div class="ttdoc">Index of the joystick (in range [0 .. Joystick::Count - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00254">Event.hpp:254</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickMoved_html"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickMoved.html">sf::Event::JoystickMoved</a></div><div class="ttdoc">Joystick axis move event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00232">Event.hpp:233</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickMoved_html_a1f0dc41a3f7f3ced3e08e7daac917396"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickMoved.html#a1f0dc41a3f7f3ced3e08e7daac917396">sf::Event::JoystickMoved::joystickId</a></div><div class="ttdeci">unsigned int joystickId</div><div class="ttdoc">Index of the joystick (in range [0 .. Joystick::Count - 1])</div><div class="ttdef"><b>Definition</b> <a href="#l00234">Event.hpp:234</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickMoved_html_a60f21fbcb7697e4685f997b9b5dc8c48"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickMoved.html#a60f21fbcb7697e4685f997b9b5dc8c48">sf::Event::JoystickMoved::axis</a></div><div class="ttdeci">Joystick::Axis axis</div><div class="ttdoc">Axis on which the joystick moved.</div><div class="ttdef"><b>Definition</b> <a href="#l00235">Event.hpp:235</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1JoystickMoved_html_aa0ced59d8ddc52442ae5bb71360527fb"><div class="ttname"><a href="structsf_1_1Event_1_1JoystickMoved.html#aa0ced59d8ddc52442ae5bb71360527fb">sf::Event::JoystickMoved::position</a></div><div class="ttdeci">float position</div><div class="ttdoc">New position on the axis (in range [-100 .. 100])</div><div class="ttdef"><b>Definition</b> <a href="#l00236">Event.hpp:236</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html">sf::Event::KeyPressed</a></div><div class="ttdoc">Key pressed event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00095">Event.hpp:96</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_a07abad6ab8c1abc565853091a2df3b6f"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#a07abad6ab8c1abc565853091a2df3b6f">sf::Event::KeyPressed::system</a></div><div class="ttdeci">bool system</div><div class="ttdoc">Is the System key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00102">Event.hpp:102</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_a2f9bd39699a4d7a21ee13dfe00219fe3"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#a2f9bd39699a4d7a21ee13dfe00219fe3">sf::Event::KeyPressed::control</a></div><div class="ttdeci">bool control</div><div class="ttdoc">Is the Control key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00100">Event.hpp:100</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_a339d98e26c0d9d48b4821b0e3bc3651b"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#a339d98e26c0d9d48b4821b0e3bc3651b">sf::Event::KeyPressed::shift</a></div><div class="ttdeci">bool shift</div><div class="ttdoc">Is the Shift key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00101">Event.hpp:101</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_a593c73fc3009844773ef1aea1bfebd3c"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#a593c73fc3009844773ef1aea1bfebd3c">sf::Event::KeyPressed::alt</a></div><div class="ttdeci">bool alt</div><div class="ttdoc">Is the Alt key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00099">Event.hpp:99</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_a8d0e09b379708f01b22f390810994613"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#a8d0e09b379708f01b22f390810994613">sf::Event::KeyPressed::code</a></div><div class="ttdeci">Keyboard::Key code</div><div class="ttdoc">Code of the key that has been pressed.</div><div class="ttdef"><b>Definition</b> <a href="#l00097">Event.hpp:97</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyPressed_html_ada98a5d7f8ccc5a2cbdb1c76d9441ea0"><div class="ttname"><a href="structsf_1_1Event_1_1KeyPressed.html#ada98a5d7f8ccc5a2cbdb1c76d9441ea0">sf::Event::KeyPressed::scancode</a></div><div class="ttdeci">Keyboard::Scancode scancode</div><div class="ttdoc">Physical code of the key that has been pressed.</div><div class="ttdef"><b>Definition</b> <a href="#l00098">Event.hpp:98</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html">sf::Event::KeyReleased</a></div><div class="ttdoc">Key released event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00109">Event.hpp:110</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_a61c09330d00d283ac7d043f14609c666"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#a61c09330d00d283ac7d043f14609c666">sf::Event::KeyReleased::alt</a></div><div class="ttdeci">bool alt</div><div class="ttdoc">Is the Alt key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00113">Event.hpp:113</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_a779d36144c9ecafc3e32fbc652fd1a2a"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#a779d36144c9ecafc3e32fbc652fd1a2a">sf::Event::KeyReleased::control</a></div><div class="ttdeci">bool control</div><div class="ttdoc">Is the Control key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00114">Event.hpp:114</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_a8593f74ee7e43ec525002c0cbee40075"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#a8593f74ee7e43ec525002c0cbee40075">sf::Event::KeyReleased::shift</a></div><div class="ttdeci">bool shift</div><div class="ttdoc">Is the Shift key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00115">Event.hpp:115</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_a89422254b7f0968cba83bc219a9e68f1"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#a89422254b7f0968cba83bc219a9e68f1">sf::Event::KeyReleased::system</a></div><div class="ttdeci">bool system</div><div class="ttdoc">Is the System key pressed?</div><div class="ttdef"><b>Definition</b> <a href="#l00116">Event.hpp:116</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_aa6db1f2d21cbfcfc33902f444a1ee027"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#aa6db1f2d21cbfcfc33902f444a1ee027">sf::Event::KeyReleased::code</a></div><div class="ttdeci">Keyboard::Key code</div><div class="ttdoc">Code of the key that has been released.</div><div class="ttdef"><b>Definition</b> <a href="#l00111">Event.hpp:111</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1KeyReleased_html_ae3bedd5b0b0c97bb1a0d7a86775d4c8a"><div class="ttname"><a href="structsf_1_1Event_1_1KeyReleased.html#ae3bedd5b0b0c97bb1a0d7a86775d4c8a">sf::Event::KeyReleased::scancode</a></div><div class="ttdeci">Keyboard::Scancode scancode</div><div class="ttdoc">Physical code of the key that has been released.</div><div class="ttdef"><b>Definition</b> <a href="#l00112">Event.hpp:112</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonPressed_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonPressed.html">sf::Event::MouseButtonPressed</a></div><div class="ttdoc">Mouse button pressed event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00134">Event.hpp:135</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonPressed_html_a9752a69c84a75425f5c3ccd0b4557b46"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonPressed.html#a9752a69c84a75425f5c3ccd0b4557b46">sf::Event::MouseButtonPressed::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Position of the mouse pointer, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00137">Event.hpp:137</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonPressed_html_ade09e3382f11ae8d4c0ab7bf850c10e0"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonPressed.html#ade09e3382f11ae8d4c0ab7bf850c10e0">sf::Event::MouseButtonPressed::button</a></div><div class="ttdeci">Mouse::Button button</div><div class="ttdoc">Code of the button that has been pressed.</div><div class="ttdef"><b>Definition</b> <a href="#l00136">Event.hpp:136</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonReleased_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonReleased.html">sf::Event::MouseButtonReleased</a></div><div class="ttdoc">Mouse button released event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00144">Event.hpp:145</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonReleased_html_a4471a4643d7b7e3d7286eed0390b5d04"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonReleased.html#a4471a4643d7b7e3d7286eed0390b5d04">sf::Event::MouseButtonReleased::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Position of the mouse pointer, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00147">Event.hpp:147</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseButtonReleased_html_a9fc43d99fc8e905a4aec0ea1579a4f99"><div class="ttname"><a href="structsf_1_1Event_1_1MouseButtonReleased.html#a9fc43d99fc8e905a4aec0ea1579a4f99">sf::Event::MouseButtonReleased::button</a></div><div class="ttdeci">Mouse::Button button</div><div class="ttdoc">Code of the button that has been released.</div><div class="ttdef"><b>Definition</b> <a href="#l00146">Event.hpp:146</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseEntered_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseEntered.html">sf::Event::MouseEntered</a></div><div class="ttdoc">Mouse entered event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00196">Event.hpp:197</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseLeft_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseLeft.html">sf::Event::MouseLeft</a></div><div class="ttdoc">Mouse left event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00204">Event.hpp:205</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseMovedRaw_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseMovedRaw.html">sf::Event::MouseMovedRaw</a></div><div class="ttdoc">Mouse move raw event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00187">Event.hpp:188</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseMovedRaw_html_acdf6da3297c13359b5b1cb0a8af29359"><div class="ttname"><a href="structsf_1_1Event_1_1MouseMovedRaw.html#acdf6da3297c13359b5b1cb0a8af29359">sf::Event::MouseMovedRaw::delta</a></div><div class="ttdeci">Vector2i delta</div><div class="ttdoc">Delta movement of the mouse since the last event.</div><div class="ttdef"><b>Definition</b> <a href="#l00189">Event.hpp:189</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseMoved_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseMoved.html">sf::Event::MouseMoved</a></div><div class="ttdoc">Mouse move event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00154">Event.hpp:155</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseMoved_html_ad28578ff7dc681f819dbbf629662ee32"><div class="ttname"><a href="structsf_1_1Event_1_1MouseMoved.html#ad28578ff7dc681f819dbbf629662ee32">sf::Event::MouseMoved::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Position of the mouse pointer, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00156">Event.hpp:156</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseWheelScrolled_html"><div class="ttname"><a href="structsf_1_1Event_1_1MouseWheelScrolled.html">sf::Event::MouseWheelScrolled</a></div><div class="ttdoc">Mouse wheel scrolled event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00123">Event.hpp:124</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseWheelScrolled_html_a02d581d6baf283dcbf6ea38a6e1f8d04"><div class="ttname"><a href="structsf_1_1Event_1_1MouseWheelScrolled.html#a02d581d6baf283dcbf6ea38a6e1f8d04">sf::Event::MouseWheelScrolled::wheel</a></div><div class="ttdeci">Mouse::Wheel wheel</div><div class="ttdoc">Which wheel (for mice with multiple ones)</div><div class="ttdef"><b>Definition</b> <a href="#l00125">Event.hpp:125</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseWheelScrolled_html_a50ebfbc800ccba96defa6d3a1f54feda"><div class="ttname"><a href="structsf_1_1Event_1_1MouseWheelScrolled.html#a50ebfbc800ccba96defa6d3a1f54feda">sf::Event::MouseWheelScrolled::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Position of the mouse pointer, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00127">Event.hpp:127</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1MouseWheelScrolled_html_a7c78e2320d061bafa10af92055c69172"><div class="ttname"><a href="structsf_1_1Event_1_1MouseWheelScrolled.html#a7c78e2320d061bafa10af92055c69172">sf::Event::MouseWheelScrolled::delta</a></div><div class="ttdeci">float delta</div><div class="ttdoc">Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral ...</div><div class="ttdef"><b>Definition</b> <a href="#l00126">Event.hpp:126</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1Resized_html"><div class="ttname"><a href="structsf_1_1Event_1_1Resized.html">sf::Event::Resized</a></div><div class="ttdoc">Resized event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00061">Event.hpp:62</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1Resized_html_a23159621438eda3eb8b1c75ec8117336"><div class="ttname"><a href="structsf_1_1Event_1_1Resized.html#a23159621438eda3eb8b1c75ec8117336">sf::Event::Resized::size</a></div><div class="ttdeci">Vector2u size</div><div class="ttdoc">New size, in pixels.</div><div class="ttdef"><b>Definition</b> <a href="#l00063">Event.hpp:63</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1SensorChanged_html"><div class="ttname"><a href="structsf_1_1Event_1_1SensorChanged.html">sf::Event::SensorChanged</a></div><div class="ttdoc">Sensor event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00291">Event.hpp:292</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1SensorChanged_html_a312d00af6eb10094508d0861368cd57f"><div class="ttname"><a href="structsf_1_1Event_1_1SensorChanged.html#a312d00af6eb10094508d0861368cd57f">sf::Event::SensorChanged::type</a></div><div class="ttdeci">Sensor::Type type</div><div class="ttdoc">Type of the sensor.</div><div class="ttdef"><b>Definition</b> <a href="#l00293">Event.hpp:293</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1SensorChanged_html_a46dc2e8291b183572021194761b342d2"><div class="ttname"><a href="structsf_1_1Event_1_1SensorChanged.html#a46dc2e8291b183572021194761b342d2">sf::Event::SensorChanged::value</a></div><div class="ttdeci">Vector3f value</div><div class="ttdoc">Current value of the sensor on the X, Y, and Z axes.</div><div class="ttdef"><b>Definition</b> <a href="#l00294">Event.hpp:294</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TextEntered_html"><div class="ttname"><a href="structsf_1_1Event_1_1TextEntered.html">sf::Event::TextEntered</a></div><div class="ttdoc">Text event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00086">Event.hpp:87</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TextEntered_html_abde9dc42f895f727d1f1ebb41c33b780"><div class="ttname"><a href="structsf_1_1Event_1_1TextEntered.html#abde9dc42f895f727d1f1ebb41c33b780">sf::Event::TextEntered::unicode</a></div><div class="ttdeci">char32_t unicode</div><div class="ttdoc">UTF-32 Unicode value of the character.</div><div class="ttdef"><b>Definition</b> <a href="#l00088">Event.hpp:88</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchBegan_html"><div class="ttname"><a href="structsf_1_1Event_1_1TouchBegan.html">sf::Event::TouchBegan</a></div><div class="ttdoc">Touch began event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00261">Event.hpp:262</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchBegan_html_a514712f9b5bffddc9422efa6321ddc5f"><div class="ttname"><a href="structsf_1_1Event_1_1TouchBegan.html#a514712f9b5bffddc9422efa6321ddc5f">sf::Event::TouchBegan::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Start position of the touch, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00264">Event.hpp:264</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchBegan_html_acfdcf51fabda85a32ac76c7772ec9814"><div class="ttname"><a href="structsf_1_1Event_1_1TouchBegan.html#acfdcf51fabda85a32ac76c7772ec9814">sf::Event::TouchBegan::finger</a></div><div class="ttdeci">unsigned int finger</div><div class="ttdoc">Index of the finger in case of multi-touch events.</div><div class="ttdef"><b>Definition</b> <a href="#l00263">Event.hpp:263</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchEnded_html"><div class="ttname"><a href="structsf_1_1Event_1_1TouchEnded.html">sf::Event::TouchEnded</a></div><div class="ttdoc">Touch ended event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00281">Event.hpp:282</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchEnded_html_ae6997d678a68380dddb5c3995abf3858"><div class="ttname"><a href="structsf_1_1Event_1_1TouchEnded.html#ae6997d678a68380dddb5c3995abf3858">sf::Event::TouchEnded::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Final position of the touch, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00284">Event.hpp:284</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchEnded_html_ae875e9ca00ddf52f101197a6f3a3775f"><div class="ttname"><a href="structsf_1_1Event_1_1TouchEnded.html#ae875e9ca00ddf52f101197a6f3a3775f">sf::Event::TouchEnded::finger</a></div><div class="ttdeci">unsigned int finger</div><div class="ttdoc">Index of the finger in case of multi-touch events.</div><div class="ttdef"><b>Definition</b> <a href="#l00283">Event.hpp:283</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchMoved_html"><div class="ttname"><a href="structsf_1_1Event_1_1TouchMoved.html">sf::Event::TouchMoved</a></div><div class="ttdoc">Touch moved event subtype.</div><div class="ttdef"><b>Definition</b> <a href="#l00271">Event.hpp:272</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchMoved_html_a163a5db3ac0250bc7600b6d1c365af60"><div class="ttname"><a href="structsf_1_1Event_1_1TouchMoved.html#a163a5db3ac0250bc7600b6d1c365af60">sf::Event::TouchMoved::position</a></div><div class="ttdeci">Vector2i position</div><div class="ttdoc">Current position of the touch, relative to the top left of the owner window.</div><div class="ttdef"><b>Definition</b> <a href="#l00274">Event.hpp:274</a></div></div>
<div class="ttc" id="astructsf_1_1Event_1_1TouchMoved_html_aa6856eab50d6ee8573c8c8257fa681b1"><div class="ttname"><a href="structsf_1_1Event_1_1TouchMoved.html#aa6856eab50d6ee8573c8c8257fa681b1">sf::Event::TouchMoved::finger</a></div><div class="ttdeci">unsigned int finger</div><div class="ttdoc">Index of the finger in case of multi-touch events.</div><div class="ttdef"><b>Definition</b> <a href="#l00273">Event.hpp:273</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br />
Copyright &copy; Laurent Gomila &nbsp;::&nbsp;
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> &nbsp;::&nbsp;
</div>
</div>
</body>
</html>