Added documentation

This commit is contained in:
Robert 2021-04-24 02:01:36 +02:00
parent a3726d0887
commit ab2961cf92
413 changed files with 34002 additions and 8 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
*.json
out/
.vs/
docs/

View file

@ -0,0 +1,99 @@
<!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/src/structures/Clock.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_clock_8cpp.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">Clock.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;structures/Clock.hpp&quot;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_clock_8cpp.html">Clock.cpp</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>

118
docs/html/_clock_8hpp.html Normal file
View file

@ -0,0 +1,118 @@
<!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/Clock.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_clock_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Clock.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A small timing utility.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_time_8hpp_source.html">Time.hpp</a>&quot;</code><br />
</div>
<p><a href="_clock_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clock.html">Clock</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Essentially a timer. <a href="class_clock.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A small timing utility. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 2021 </dd></dl>
</div></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="_clock_8hpp.html">Clock.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>

View file

@ -0,0 +1,128 @@
<!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/Clock.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('_clock_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">Clock.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_clock_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;<span class="comment">/*****************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#pragma once</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="_time_8hpp.html">Time.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;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_clock.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_clock.html">Clock</a></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8"> 25</a></span>&#160; <a class="code" href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8">Clock</a>();</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf"> 30</a></span>&#160; <a class="code" href="class_time.html">Time</a> <a class="code" href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf">GetElapsedTime</a>();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab"> 37</a></span>&#160; <a class="code" href="class_time.html">Time</a> <a class="code" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab">Restart</a>();</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="class_time.html">Time</a> lastTime;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;};</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;SDLU_END</div>
<div class="ttc" id="a_time_8hpp_html"><div class="ttname"><a href="_time_8hpp.html">Time.hpp</a></div><div class="ttdoc">A wrapper around std::chrono::duration.</div></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_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="aclass_clock_html"><div class="ttname"><a href="class_clock.html">Clock</a></div><div class="ttdoc">Essentially a timer.</div><div class="ttdef"><b>Definition:</b> Clock.hpp:20</div></div>
<div class="ttc" id="aclass_clock_html_a5909f7677c453f589ef109c5e30251ab"><div class="ttname"><a href="class_clock.html#a5909f7677c453f589ef109c5e30251ab">Clock::Restart</a></div><div class="ttdeci">Time Restart()</div><div class="ttdoc">Restarts the Clock.</div></div>
<div class="ttc" id="aclass_clock_html_ad4e54aeb04cbe28644343eee710bbdaf"><div class="ttname"><a href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf">Clock::GetElapsedTime</a></div><div class="ttdeci">Time GetElapsedTime()</div><div class="ttdoc">Returns the time elapsed since the last Restart() call.</div></div>
<div class="ttc" id="aclass_clock_html_adbc370eb6b5f8d01645cf440188160a8"><div class="ttname"><a href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8">Clock::Clock</a></div><div class="ttdeci">Clock()</div><div class="ttdoc">Creates a new Clock. It has not yet been started, call Restart() before doing anything else.</div></div>
<div class="ttc" id="aclass_time_html"><div class="ttname"><a href="class_time.html">Time</a></div><div class="ttdoc">This class wraps std::chrono::duration and defines some conversions for commonly used times.</div><div class="ttdef"><b>Definition:</b> Time.hpp:24</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="_clock_8hpp.html">Clock.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>

408
docs/html/_color_8cpp.html Normal file
View file

@ -0,0 +1,408 @@
<!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/src/structures/Color.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_color_8cpp.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="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Color.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;structures/Color.hpp&quot;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;cmath&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0355ba6bfd2f83ffd8f8fafdca26cdd0"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0">operator+</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a0355ba6bfd2f83ffd8f8fafdca26cdd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4586e31d668f183fc46576511169bf2c"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a4586e31d668f183fc46576511169bf2c">operator-</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a4586e31d668f183fc46576511169bf2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bae779fb49bb92dbf820a65e45a6602"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a1bae779fb49bb92dbf820a65e45a6602">operator*</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a1bae779fb49bb92dbf820a65e45a6602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade5f2933d4f26442db55ce5d62d159bf"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#ade5f2933d4f26442db55ce5d62d159bf">operator/</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:ade5f2933d4f26442db55ce5d62d159bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0188773d3a987785bf5526575a6e4da4"><td class="memItemLeft" align="right" valign="top">Color &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a0188773d3a987785bf5526575a6e4da4">operator+=</a> (Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a0188773d3a987785bf5526575a6e4da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab32f8ac00bb2212b3c09856906d9e2e4"><td class="memItemLeft" align="right" valign="top">Color &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#ab32f8ac00bb2212b3c09856906d9e2e4">operator-=</a> (Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:ab32f8ac00bb2212b3c09856906d9e2e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad98121707eec6ffe191c46e33d64a86"><td class="memItemLeft" align="right" valign="top">Color &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#aad98121707eec6ffe191c46e33d64a86">operator*=</a> (Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:aad98121707eec6ffe191c46e33d64a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22e98f7e8f06756aba100ef4087c035b"><td class="memItemLeft" align="right" valign="top">Color &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a22e98f7e8f06756aba100ef4087c035b">operator/=</a> (Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a22e98f7e8f06756aba100ef4087c035b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2adc3f68860f7aa5e4d7c79dcbb31d30"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a2adc3f68860f7aa5e4d7c79dcbb31d30">operator==</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a2adc3f68860f7aa5e4d7c79dcbb31d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394c3495753c4b17f9cd45556ef00b8c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_color_8cpp.html#a394c3495753c4b17f9cd45556ef00b8c">operator!=</a> (const Color &amp;left, const Color &amp;right)</td></tr>
<tr class="separator:a394c3495753c4b17f9cd45556ef00b8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a394c3495753c4b17f9cd45556ef00b8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a394c3495753c4b17f9cd45556ef00b8c">&#9670;&nbsp;</a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a1bae779fb49bb92dbf820a65e45a6602"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bae779fb49bb92dbf820a65e45a6602">&#9670;&nbsp;</a></span>operator*()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color operator* </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aad98121707eec6ffe191c46e33d64a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad98121707eec6ffe191c46e33d64a86">&#9670;&nbsp;</a></span>operator*=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color&amp; operator*= </td>
<td>(</td>
<td class="paramtype">Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0355ba6bfd2f83ffd8f8fafdca26cdd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0355ba6bfd2f83ffd8f8fafdca26cdd0">&#9670;&nbsp;</a></span>operator+()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color operator+ </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0188773d3a987785bf5526575a6e4da4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0188773d3a987785bf5526575a6e4da4">&#9670;&nbsp;</a></span>operator+=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color&amp; operator+= </td>
<td>(</td>
<td class="paramtype">Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4586e31d668f183fc46576511169bf2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4586e31d668f183fc46576511169bf2c">&#9670;&nbsp;</a></span>operator-()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color operator- </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab32f8ac00bb2212b3c09856906d9e2e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab32f8ac00bb2212b3c09856906d9e2e4">&#9670;&nbsp;</a></span>operator-=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color&amp; operator-= </td>
<td>(</td>
<td class="paramtype">Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ade5f2933d4f26442db55ce5d62d159bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade5f2933d4f26442db55ce5d62d159bf">&#9670;&nbsp;</a></span>operator/()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color operator/ </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a22e98f7e8f06756aba100ef4087c035b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22e98f7e8f06756aba100ef4087c035b">&#9670;&nbsp;</a></span>operator/=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Color&amp; operator/= </td>
<td>(</td>
<td class="paramtype">Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2adc3f68860f7aa5e4d7c79dcbb31d30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2adc3f68860f7aa5e4d7c79dcbb31d30">&#9670;&nbsp;</a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Color &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_color_8cpp.html">Color.cpp</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>

13
docs/html/_color_8cpp.js Normal file
View file

@ -0,0 +1,13 @@
var _color_8cpp =
[
[ "operator!=", "_color_8cpp.html#a394c3495753c4b17f9cd45556ef00b8c", null ],
[ "operator*", "_color_8cpp.html#a1bae779fb49bb92dbf820a65e45a6602", null ],
[ "operator*=", "_color_8cpp.html#aad98121707eec6ffe191c46e33d64a86", null ],
[ "operator+", "_color_8cpp.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0", null ],
[ "operator+=", "_color_8cpp.html#a0188773d3a987785bf5526575a6e4da4", null ],
[ "operator-", "_color_8cpp.html#a4586e31d668f183fc46576511169bf2c", null ],
[ "operator-=", "_color_8cpp.html#ab32f8ac00bb2212b3c09856906d9e2e4", null ],
[ "operator/", "_color_8cpp.html#ade5f2933d4f26442db55ce5d62d159bf", null ],
[ "operator/=", "_color_8cpp.html#a22e98f7e8f06756aba100ef4087c035b", null ],
[ "operator==", "_color_8cpp.html#a2adc3f68860f7aa5e4d7c79dcbb31d30", null ]
];

117
docs/html/_color_8hpp.html Normal file
View file

@ -0,0 +1,117 @@
<!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/Color.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_color_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Color.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Provides utility for creating and handling colors.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
</div>
<p><a href="_color_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color.html">Color</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A structure holding color data. <a href="struct_color.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provides utility for creating and handling colors. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>16.05.2020 </dd></dl>
</div></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="_color_8hpp.html">Color.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>

View file

@ -0,0 +1,191 @@
<!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/Color.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('_color_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">Color.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_color_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; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</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="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="struct_color.html"> 19</a></span>&#160; <span class="keyword">struct </span><a class="code" href="struct_color.html">Color</a></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; {</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c"> 21</a></span>&#160; <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">r</a>; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc"> 22</a></span>&#160; <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">g</a>; </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783"> 23</a></span>&#160; <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">b</a>; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92"> 24</a></span>&#160; <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">a</a>; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_color.html#a9a742cbe9f9f4037f5d9f4e81a9b2428"> 29</a></span>&#160; <a class="code" href="struct_color.html#a9a742cbe9f9f4037f5d9f4e81a9b2428">Color</a>();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="struct_color.html#ad5d30115c5c219f816cb6bb91a862e76"> 39</a></span>&#160; <a class="code" href="struct_color.html#ad5d30115c5c219f816cb6bb91a862e76">Color</a>(<a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">r</a>, <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">g</a>, <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">b</a>, <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> <a class="code" href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">a</a> = 255);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="struct_color.html#a9b8cdcde06fa626fd39105f6bebe14fc"> 46</a></span>&#160; <a class="code" href="struct_color.html#a9b8cdcde06fa626fd39105f6bebe14fc">Color</a>(<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> color);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="struct_color.html#a93d812e534f522fa220207a6ec3d523d"> 53</a></span>&#160; <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> <a class="code" href="struct_color.html#a93d812e534f522fa220207a6ec3d523d">ToInt</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="struct_color.html#a4e71e3d75112405e544017ccacc618f5"> 60</a></span>&#160; <span class="keyword">static</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a4e71e3d75112405e544017ccacc618f5">FromHSV</a>(<a class="code" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a> h, <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> s, <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> v);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd"> 65</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Black</a>; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="struct_color.html#ade25ce437fd74a7b08fee1583b329c8e"> 66</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#ade25ce437fd74a7b08fee1583b329c8e">Red</a>; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct_color.html#a99d190056130b083fe716a721f0e2b74"> 67</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a99d190056130b083fe716a721f0e2b74">Green</a>; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct_color.html#a662b7359238c900518fa4a5595c3b2d5"> 68</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a662b7359238c900518fa4a5595c3b2d5">Blue</a>; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="struct_color.html#afc6c72f651b3fb77452a86a4fcab7582"> 69</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#afc6c72f651b3fb77452a86a4fcab7582">Yellow</a>; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="struct_color.html#a7f0f5e5f4e3d9fb0d335109d15971f29"> 70</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a7f0f5e5f4e3d9fb0d335109d15971f29">Magenta</a>; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="struct_color.html#aba8a75025a243f2186eef9bc5f8b0536"> 71</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#aba8a75025a243f2186eef9bc5f8b0536">Cyan</a>; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct_color.html#a64abba1de9a93b7b2cf3ddbde14f640b"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a64abba1de9a93b7b2cf3ddbde14f640b">White</a>; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="struct_color.html#ab0826c48816176cd42b5226becebf69d"> 74</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#ab0826c48816176cd42b5226becebf69d">Transparent</a>; </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="struct_color.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0"> 86</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0">operator+</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="struct_color.html#a4586e31d668f183fc46576511169bf2c"> 95</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a4586e31d668f183fc46576511169bf2c">operator-</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="struct_color.html#a1bae779fb49bb92dbf820a65e45a6602"> 104</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#a1bae779fb49bb92dbf820a65e45a6602">operator*</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="struct_color.html#ade5f2933d4f26442db55ce5d62d159bf"> 113</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a> <a class="code" href="struct_color.html#ade5f2933d4f26442db55ce5d62d159bf">operator/</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_color.html#a0188773d3a987785bf5526575a6e4da4"> 122</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a>&amp; <a class="code" href="struct_color.html#a0188773d3a987785bf5526575a6e4da4">operator+=</a>(<a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="struct_color.html#ab32f8ac00bb2212b3c09856906d9e2e4"> 131</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a>&amp; <a class="code" href="struct_color.html#ab32f8ac00bb2212b3c09856906d9e2e4">operator-=</a>(<a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="struct_color.html#aad98121707eec6ffe191c46e33d64a86"> 140</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a>&amp; <a class="code" href="struct_color.html#aad98121707eec6ffe191c46e33d64a86">operator*=</a>(<a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="struct_color.html#a22e98f7e8f06756aba100ef4087c035b"> 149</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_color.html">Color</a>&amp; <a class="code" href="struct_color.html#a22e98f7e8f06756aba100ef4087c035b">operator/=</a>(<a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="struct_color.html#a2adc3f68860f7aa5e4d7c79dcbb31d30"> 158</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_color.html#a2adc3f68860f7aa5e4d7c79dcbb31d30">operator==</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="struct_color.html#a394c3495753c4b17f9cd45556ef00b8c"> 167</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_color.html#a394c3495753c4b17f9cd45556ef00b8c">operator!=</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; right);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; };</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</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_a31fcc0a076c9068668173ee26d33e42b"><div class="ttname"><a href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a></div><div class="ttdeci">uint16_t Uint16</div><div class="ttdef"><b>Definition:</b> Util.hpp:20</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="astruct_color_html"><div class="ttname"><a href="struct_color.html">Color</a></div><div class="ttdoc">A structure holding color data.</div><div class="ttdef"><b>Definition:</b> Color.hpp:20</div></div>
<div class="ttc" id="astruct_color_html_a010dfea24ef55827d62d1c02c74ba783"><div class="ttname"><a href="struct_color.html#a010dfea24ef55827d62d1c02c74ba783">Color::b</a></div><div class="ttdeci">Uint8 b</div><div class="ttdoc">Blue component.</div><div class="ttdef"><b>Definition:</b> Color.hpp:23</div></div>
<div class="ttc" id="astruct_color_html_a0188773d3a987785bf5526575a6e4da4"><div class="ttname"><a href="struct_color.html#a0188773d3a987785bf5526575a6e4da4">Color::operator+=</a></div><div class="ttdeci">friend Color &amp; operator+=(Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color addition.</div></div>
<div class="ttc" id="astruct_color_html_a0355ba6bfd2f83ffd8f8fafdca26cdd0"><div class="ttname"><a href="struct_color.html#a0355ba6bfd2f83ffd8f8fafdca26cdd0">Color::operator+</a></div><div class="ttdeci">friend Color operator+(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color addition.</div></div>
<div class="ttc" id="astruct_color_html_a1bae779fb49bb92dbf820a65e45a6602"><div class="ttname"><a href="struct_color.html#a1bae779fb49bb92dbf820a65e45a6602">Color::operator*</a></div><div class="ttdeci">friend Color operator*(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color multiplication.</div></div>
<div class="ttc" id="astruct_color_html_a22e98f7e8f06756aba100ef4087c035b"><div class="ttname"><a href="struct_color.html#a22e98f7e8f06756aba100ef4087c035b">Color::operator/=</a></div><div class="ttdeci">friend Color &amp; operator/=(Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color division.</div></div>
<div class="ttc" id="astruct_color_html_a2adc3f68860f7aa5e4d7c79dcbb31d30"><div class="ttname"><a href="struct_color.html#a2adc3f68860f7aa5e4d7c79dcbb31d30">Color::operator==</a></div><div class="ttdeci">friend bool operator==(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color comparison.</div></div>
<div class="ttc" id="astruct_color_html_a394c3495753c4b17f9cd45556ef00b8c"><div class="ttname"><a href="struct_color.html#a394c3495753c4b17f9cd45556ef00b8c">Color::operator!=</a></div><div class="ttdeci">friend bool operator!=(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color comparison.</div></div>
<div class="ttc" id="astruct_color_html_a3ecdd61478c70580cb1f31a6d5075afc"><div class="ttname"><a href="struct_color.html#a3ecdd61478c70580cb1f31a6d5075afc">Color::g</a></div><div class="ttdeci">Uint8 g</div><div class="ttdoc">Green component.</div><div class="ttdef"><b>Definition:</b> Color.hpp:22</div></div>
<div class="ttc" id="astruct_color_html_a4586e31d668f183fc46576511169bf2c"><div class="ttname"><a href="struct_color.html#a4586e31d668f183fc46576511169bf2c">Color::operator-</a></div><div class="ttdeci">friend Color operator-(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color subtraction.</div></div>
<div class="ttc" id="astruct_color_html_a4e71e3d75112405e544017ccacc618f5"><div class="ttname"><a href="struct_color.html#a4e71e3d75112405e544017ccacc618f5">Color::FromHSV</a></div><div class="ttdeci">static Color FromHSV(Uint16 h, Uint8 s, Uint8 v)</div><div class="ttdoc">Generate color from HSV values.</div></div>
<div class="ttc" id="astruct_color_html_a64abba1de9a93b7b2cf3ddbde14f640b"><div class="ttname"><a href="struct_color.html#a64abba1de9a93b7b2cf3ddbde14f640b">Color::White</a></div><div class="ttdeci">static const Color White</div><div class="ttdoc">Default Color White (#FFFFFFFF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:72</div></div>
<div class="ttc" id="astruct_color_html_a662b7359238c900518fa4a5595c3b2d5"><div class="ttname"><a href="struct_color.html#a662b7359238c900518fa4a5595c3b2d5">Color::Blue</a></div><div class="ttdeci">static const Color Blue</div><div class="ttdoc">Default Color Blue (#0000FFFF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:68</div></div>
<div class="ttc" id="astruct_color_html_a7953638afd0a75b0eb837f47fc64bb0c"><div class="ttname"><a href="struct_color.html#a7953638afd0a75b0eb837f47fc64bb0c">Color::r</a></div><div class="ttdeci">Uint8 r</div><div class="ttdoc">Red component.</div><div class="ttdef"><b>Definition:</b> Color.hpp:21</div></div>
<div class="ttc" id="astruct_color_html_a7f0f5e5f4e3d9fb0d335109d15971f29"><div class="ttname"><a href="struct_color.html#a7f0f5e5f4e3d9fb0d335109d15971f29">Color::Magenta</a></div><div class="ttdeci">static const Color Magenta</div><div class="ttdoc">Default Color Magenta (#FF00FFFF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:70</div></div>
<div class="ttc" id="astruct_color_html_a93d812e534f522fa220207a6ec3d523d"><div class="ttname"><a href="struct_color.html#a93d812e534f522fa220207a6ec3d523d">Color::ToInt</a></div><div class="ttdeci">Uint32 ToInt()</div><div class="ttdoc">Returns color data as a 32-Bit integer.</div></div>
<div class="ttc" id="astruct_color_html_a999bf399ffcdc659430abbe5254bdd92"><div class="ttname"><a href="struct_color.html#a999bf399ffcdc659430abbe5254bdd92">Color::a</a></div><div class="ttdeci">Uint8 a</div><div class="ttdoc">Alpha component.</div><div class="ttdef"><b>Definition:</b> Color.hpp:24</div></div>
<div class="ttc" id="astruct_color_html_a99d190056130b083fe716a721f0e2b74"><div class="ttname"><a href="struct_color.html#a99d190056130b083fe716a721f0e2b74">Color::Green</a></div><div class="ttdeci">static const Color Green</div><div class="ttdoc">Default Color Green (#00FF00FF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:67</div></div>
<div class="ttc" id="astruct_color_html_a9a742cbe9f9f4037f5d9f4e81a9b2428"><div class="ttname"><a href="struct_color.html#a9a742cbe9f9f4037f5d9f4e81a9b2428">Color::Color</a></div><div class="ttdeci">Color()</div><div class="ttdoc">Default constructor (Black)</div></div>
<div class="ttc" id="astruct_color_html_a9b8cdcde06fa626fd39105f6bebe14fc"><div class="ttname"><a href="struct_color.html#a9b8cdcde06fa626fd39105f6bebe14fc">Color::Color</a></div><div class="ttdeci">Color(Uint32 color)</div><div class="ttdoc">Construct color from a 32-Bit integer value.</div></div>
<div class="ttc" id="astruct_color_html_aad98121707eec6ffe191c46e33d64a86"><div class="ttname"><a href="struct_color.html#aad98121707eec6ffe191c46e33d64a86">Color::operator*=</a></div><div class="ttdeci">friend Color &amp; operator*=(Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color multiplication.</div></div>
<div class="ttc" id="astruct_color_html_ab0826c48816176cd42b5226becebf69d"><div class="ttname"><a href="struct_color.html#ab0826c48816176cd42b5226becebf69d">Color::Transparent</a></div><div class="ttdeci">static const Color Transparent</div><div class="ttdoc">Default Color Transparent (#00000000)</div><div class="ttdef"><b>Definition:</b> Color.hpp:74</div></div>
<div class="ttc" id="astruct_color_html_ab32f8ac00bb2212b3c09856906d9e2e4"><div class="ttname"><a href="struct_color.html#ab32f8ac00bb2212b3c09856906d9e2e4">Color::operator-=</a></div><div class="ttdeci">friend Color &amp; operator-=(Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color subtraction.</div></div>
<div class="ttc" id="astruct_color_html_aba8a75025a243f2186eef9bc5f8b0536"><div class="ttname"><a href="struct_color.html#aba8a75025a243f2186eef9bc5f8b0536">Color::Cyan</a></div><div class="ttdeci">static const Color Cyan</div><div class="ttdoc">Default Color Cyan (#00FFFFFF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:71</div></div>
<div class="ttc" id="astruct_color_html_abfda8f6d25cb1b8ddbf029624bf879dd"><div class="ttname"><a href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a></div><div class="ttdeci">static const Color Black</div><div class="ttdoc">Default Color Black (#000000FF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:65</div></div>
<div class="ttc" id="astruct_color_html_ad5d30115c5c219f816cb6bb91a862e76"><div class="ttname"><a href="struct_color.html#ad5d30115c5c219f816cb6bb91a862e76">Color::Color</a></div><div class="ttdeci">Color(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255)</div><div class="ttdoc">Construct color from four 8-Bit integer values.</div></div>
<div class="ttc" id="astruct_color_html_ade25ce437fd74a7b08fee1583b329c8e"><div class="ttname"><a href="struct_color.html#ade25ce437fd74a7b08fee1583b329c8e">Color::Red</a></div><div class="ttdeci">static const Color Red</div><div class="ttdoc">Default Color Red (#FF0000FF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:66</div></div>
<div class="ttc" id="astruct_color_html_ade5f2933d4f26442db55ce5d62d159bf"><div class="ttname"><a href="struct_color.html#ade5f2933d4f26442db55ce5d62d159bf">Color::operator/</a></div><div class="ttdeci">friend Color operator/(const Color &amp;left, const Color &amp;right)</div><div class="ttdoc">Componentwise color division.</div></div>
<div class="ttc" id="astruct_color_html_afc6c72f651b3fb77452a86a4fcab7582"><div class="ttname"><a href="struct_color.html#afc6c72f651b3fb77452a86a4fcab7582">Color::Yellow</a></div><div class="ttdeci">static const Color Yellow</div><div class="ttdoc">Default Color Yellow (#FFFF00FF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:69</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="_color_8hpp.html">Color.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>

100
docs/html/_cursor_8cpp.html Normal file
View file

@ -0,0 +1,100 @@
<!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/src/structures/Cursor.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_cursor_8cpp.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">Cursor.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;structures/Cursor.hpp&quot;</code><br />
<code>#include &lt;SDL2/SDL_mouse.h&gt;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_cursor_8cpp.html">Cursor.cpp</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>

110
docs/html/_cursor_8hpp.html Normal file
View file

@ -0,0 +1,110 @@
<!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/Cursor.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_cursor_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Cursor.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_vector2_8hpp_source.html">Vector2.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
</div>
<p><a href="_cursor_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html">Cursor</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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="_cursor_8hpp.html">Cursor.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>

View file

@ -0,0 +1,164 @@
<!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/Cursor.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('_cursor_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">Cursor.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_cursor_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;<span class="preprocessor">#pragma once </span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_vector2_8hpp.html">Vector2.hpp</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</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="l00005"></a><span class="lineno"> 5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">struct </span>SDL_Cursor;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">struct </span>SDL_Surface;</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></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"><a class="line" href="class_cursor.html"> 11</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_cursor.html">Cursor</a></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58"> 14</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> {</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e">Arrow</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61">IBeam</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652">Wait</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd">Crosshair</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2">WaitArrow</a>,</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09">SizeNWSE</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf">SizeNESW</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd">SizeWE</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6">SizeNS</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea">SizeAll</a>,</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b">No</a>, <a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604">Hand</a></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; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_cursor.html#a553f958a25683445088050a69d3de8e9"> 20</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_window.html">Window</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_cursor.html#a126c5677653ce46f555eaee0f3881fae"> 23</a></span>&#160; <a class="code" href="class_cursor.html#a126c5677653ce46f555eaee0f3881fae">Cursor</a>();</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd"> 24</a></span>&#160; <a class="code" href="class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd">Cursor</a>(<a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> type);</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_cursor.html#ace847a3f319f4393823a5da050dae526"> 25</a></span>&#160; <a class="code" href="class_cursor.html#ace847a3f319f4393823a5da050dae526">Cursor</a>(<span class="keyword">const</span> <a class="code" href="class_cursor.html">Cursor</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803"> 26</a></span>&#160; <a class="code" href="class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803">Cursor</a>(<a class="code" href="class_cursor.html">Cursor</a>&amp;&amp; other) noexcept;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_cursor.html#a025d505a120236dc61a889bd5b0aef16"> 28</a></span>&#160; <a class="code" href="class_cursor.html#a025d505a120236dc61a889bd5b0aef16">~Cursor</a>();</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1"> 30</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1">LoadFromPixels</a>(<span class="keyword">const</span> <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>* pixels, <a class="code" href="struct_vector2.html">Vector2u</a> size, <a class="code" href="struct_vector2.html">Vector2u</a> hotspot);</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_cursor.html#a888633271180cd0b7d1e3213a1bfee00"> 31</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_cursor.html#a888633271180cd0b7d1e3213a1bfee00">LoadFromSurface</a>(SDL_Surface* surface, <a class="code" href="struct_vector2.html">Vector2u</a> hotspot);</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_cursor.html#aae90dcd92936cba7e3aaec98b7261156"> 32</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_cursor.html#aae90dcd92936cba7e3aaec98b7261156">LoadFromSystem</a>(<a class="code" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> type);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; SDL_Cursor* cursor;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;};</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</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_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_cursor_html_a025d505a120236dc61a889bd5b0aef16"><div class="ttname"><a href="class_cursor.html#a025d505a120236dc61a889bd5b0aef16">Cursor::~Cursor</a></div><div class="ttdeci">~Cursor()</div></div>
<div class="ttc" id="aclass_cursor_html_a126c5677653ce46f555eaee0f3881fae"><div class="ttname"><a href="class_cursor.html#a126c5677653ce46f555eaee0f3881fae">Cursor::Cursor</a></div><div class="ttdeci">Cursor()</div></div>
<div class="ttc" id="aclass_cursor_html_a269e7ae29fa52c4ae8e57e966a97cadd"><div class="ttname"><a href="class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd">Cursor::Cursor</a></div><div class="ttdeci">Cursor(Type type)</div></div>
<div class="ttc" id="aclass_cursor_html_a888633271180cd0b7d1e3213a1bfee00"><div class="ttname"><a href="class_cursor.html#a888633271180cd0b7d1e3213a1bfee00">Cursor::LoadFromSurface</a></div><div class="ttdeci">bool LoadFromSurface(SDL_Surface *surface, Vector2u hotspot)</div></div>
<div class="ttc" id="aclass_cursor_html_aa52d3c672d1ff5e824696eb9f6d40df1"><div class="ttname"><a href="class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1">Cursor::LoadFromPixels</a></div><div class="ttdeci">bool LoadFromPixels(const Uint8 *pixels, Vector2u size, Vector2u hotspot)</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Cursor::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> Cursor.hpp:14</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd">Cursor::Type::Crosshair</a></div><div class="ttdeci">@ Crosshair</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e">Cursor::Type::Arrow</a></div><div class="ttdeci">@ Arrow</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652">Cursor::Type::Wait</a></div><div class="ttdeci">@ Wait</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2">Cursor::Type::WaitArrow</a></div><div class="ttdeci">@ WaitArrow</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61">Cursor::Type::IBeam</a></div><div class="ttdeci">@ IBeam</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd">Cursor::Type::SizeWE</a></div><div class="ttdeci">@ SizeWE</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea">Cursor::Type::SizeAll</a></div><div class="ttdeci">@ SizeAll</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf">Cursor::Type::SizeNESW</a></div><div class="ttdeci">@ SizeNESW</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09">Cursor::Type::SizeNWSE</a></div><div class="ttdeci">@ SizeNWSE</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604">Cursor::Type::Hand</a></div><div class="ttdeci">@ Hand</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b">Cursor::Type::No</a></div><div class="ttdeci">@ No</div></div>
<div class="ttc" id="aclass_cursor_html_aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6"><div class="ttname"><a href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6">Cursor::Type::SizeNS</a></div><div class="ttdeci">@ SizeNS</div></div>
<div class="ttc" id="aclass_cursor_html_aae90dcd92936cba7e3aaec98b7261156"><div class="ttname"><a href="class_cursor.html#aae90dcd92936cba7e3aaec98b7261156">Cursor::LoadFromSystem</a></div><div class="ttdeci">bool LoadFromSystem(Type type)</div></div>
<div class="ttc" id="aclass_cursor_html_ab7353cb11dd1040e498e81a3b7b4c803"><div class="ttname"><a href="class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803">Cursor::Cursor</a></div><div class="ttdeci">Cursor(Cursor &amp;&amp;other) noexcept</div></div>
<div class="ttc" id="aclass_cursor_html_ace847a3f319f4393823a5da050dae526"><div class="ttname"><a href="class_cursor.html#ace847a3f319f4393823a5da050dae526">Cursor::Cursor</a></div><div class="ttdeci">Cursor(const Cursor &amp;other)=delete</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="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="_cursor_8hpp.html">Cursor.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>

View file

@ -0,0 +1,117 @@
<!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/graphics/drawable/Drawable.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_drawable_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Drawable.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The base class of everything renderable by <a class="el" href="class_render_target.html" title="Acts as a wrapper for SDL_Renderer*. You can&#39;t (and shouldn&#39;t) instantiate this, but rather derive fr...">RenderTarget</a>.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
</div>
<p><a href="_drawable_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html">Drawable</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Everything that can be rendered derives from this class. <a href="class_drawable.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The base class of everything renderable by <a class="el" href="class_render_target.html" title="Acts as a wrapper for SDL_Renderer*. You can&#39;t (and shouldn&#39;t) instantiate this, but rather derive fr...">RenderTarget</a>. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>20.05.2020 </dd></dl>
</div></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="_drawable_8hpp.html">Drawable.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>

View file

@ -0,0 +1,129 @@
<!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/graphics/drawable/Drawable.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('_drawable_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">Drawable.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_drawable_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; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</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="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">struct </span>SDL_Renderer;</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_drawable.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_drawable.html">Drawable</a></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;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39"> 20</a></span>&#160; <a class="code" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a>(<span class="keyword">const</span> <a class="code" href="class_drawable.html">Drawable</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d"> 21</a></span>&#160; <a class="code" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a>(<a class="code" href="class_drawable.html">Drawable</a>&amp;&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327"> 22</a></span>&#160; <a class="code" href="class_drawable.html">Drawable</a>&amp; <a class="code" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_drawable.html">Drawable</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_drawable.html#aa5afc6f82b7b587ed5ada4d227ce32aa"> 24</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_render_target.html">RenderTarget</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_drawable.html#aac88608db6081da479c772c96636acb1"> 27</a></span>&#160; <a class="code" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a>() { }</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed"> 28</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Draw</a>(SDL_Renderer* <span class="keyword">const</span> target) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;};</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</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_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="aclass_drawable_html"><div class="ttname"><a href="class_drawable.html">Drawable</a></div><div class="ttdoc">Everything that can be rendered derives from this class.</div><div class="ttdef"><b>Definition:</b> Drawable.hpp:18</div></div>
<div class="ttc" id="aclass_drawable_html_a02393acfdc07d52b5e318352064c2327"><div class="ttname"><a href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">Drawable::operator=</a></div><div class="ttdeci">Drawable &amp; operator=(const Drawable &amp;other)=delete</div></div>
<div class="ttc" id="aclass_drawable_html_a1f24cac47fa9281aa9b50d0cb47c353d"><div class="ttname"><a href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable::Drawable</a></div><div class="ttdeci">Drawable(Drawable &amp;&amp;other)=delete</div></div>
<div class="ttc" id="aclass_drawable_html_a3d6fd34a29f7d6d861828e65aa02cb39"><div class="ttname"><a href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable::Drawable</a></div><div class="ttdeci">Drawable(const Drawable &amp;other)=delete</div></div>
<div class="ttc" id="aclass_drawable_html_aac88608db6081da479c772c96636acb1"><div class="ttname"><a href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable::Drawable</a></div><div class="ttdeci">Drawable()</div><div class="ttdef"><b>Definition:</b> Drawable.hpp:27</div></div>
<div class="ttc" id="aclass_drawable_html_ae50710a7322d5ab41019739213f5bbed"><div class="ttname"><a href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Drawable::Draw</a></div><div class="ttdeci">virtual void Draw(SDL_Renderer *const target) const =0</div></div>
<div class="ttc" id="aclass_render_target_html"><div class="ttname"><a href="class_render_target.html">RenderTarget</a></div><div class="ttdoc">Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive fr...</div><div class="ttdef"><b>Definition:</b> RenderTarget.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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="_drawable_8hpp.html">Drawable.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>

View file

@ -0,0 +1,102 @@
<!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/graphics/Graphics.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_graphics_8hpp.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">Graphics.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_render_window_8hpp_source.html">RenderWindow.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_rectangle_8hpp_source.html">drawable/shapes/Rectangle.hpp</a>&quot;</code><br />
</div>
<p><a href="_graphics_8hpp_source.html">Go to the source code of this file.</a></p>
</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_graphics_8hpp.html">Graphics.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>

View file

@ -0,0 +1,104 @@
<!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/graphics/Graphics.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('_graphics_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">Graphics.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_graphics_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;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_render_window_8hpp.html">RenderWindow.hpp</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_rectangle_8hpp.html">drawable/shapes/Rectangle.hpp</a>&quot;</span></div>
<div class="ttc" id="a_rectangle_8hpp_html"><div class="ttname"><a href="_rectangle_8hpp.html">Rectangle.hpp</a></div><div class="ttdoc">The primitive Rectangle shape.</div></div>
<div class="ttc" id="a_render_window_8hpp_html"><div class="ttname"><a href="_render_window_8hpp.html">RenderWindow.hpp</a></div><div class="ttdoc">A wrapper around SDL_Window and SDL_Renderer.</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_graphics_8hpp.html">Graphics.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>

100
docs/html/_mouse_8cpp.html Normal file
View file

@ -0,0 +1,100 @@
<!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/src/structures/Mouse.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_mouse_8cpp.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">Mouse.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;structures/Mouse.hpp&gt;</code><br />
<code>#include &lt;SDL_mouse.h&gt;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_mouse_8cpp.html">Mouse.cpp</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>

118
docs/html/_mouse_8hpp.html Normal file
View file

@ -0,0 +1,118 @@
<!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/Mouse.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_mouse_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Mouse.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A static class to provide easy handling of the mouse.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_vector2_8hpp_source.html">structures/Vector2.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_render_window_8hpp_source.html">graphics/RenderWindow.hpp</a>&quot;</code><br />
</div>
<p><a href="_mouse_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html">Mouse</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A static class that contains/handles data about mouse position and button states. <a href="class_mouse.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A static class to provide easy handling of the mouse. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>19.05.2020 </dd></dl>
</div></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="_mouse_8hpp.html">Mouse.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>

View file

@ -0,0 +1,147 @@
<!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/Mouse.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('_mouse_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">Mouse.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_mouse_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 &quot;<a class="code" href="_vector2_8hpp.html">structures/Vector2.hpp</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_render_window_8hpp.html">graphics/RenderWindow.hpp</a>&quot;</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;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_mouse.html"> 16</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_mouse.html">Mouse</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_mouse.html#a2189c95ac90001266b97105c25085270"> 22</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a> {</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff">Left</a> = 1,</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c">Right</a> = 2,</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05">Middle</a> = 3,</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428">XButton1</a> = 4,</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d">XButton2</a> = 5</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; };</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b"> 35</a></span>&#160; <span class="keyword">static</span> <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> <a class="code" href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b">GetButtonState</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_mouse.html#a03c02466c8713509e0bed311e55520a6"> 43</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_mouse.html#a03c02466c8713509e0bed311e55520a6">IsButtonDown</a>(<a class="code" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a> button);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a"> 50</a></span>&#160; <span class="keyword">static</span> <a class="code" href="struct_vector2.html">Vector2i</a> <a class="code" href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a">GetPosition</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e"> 58</a></span>&#160; <span class="keyword">static</span> <a class="code" href="struct_vector2.html">Vector2i</a> <a class="code" href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e">GetPosition</a>(<span class="keyword">const</span> <a class="code" href="class_render_window.html">RenderWindow</a>&amp; relativeTo);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5"> 65</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5">SetPosition</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2i</a>&amp; position);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e"> 73</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e">SetPosition</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2i</a>&amp; position, <span class="keyword">const</span> <a class="code" href="class_render_window.html">RenderWindow</a>&amp; relativeTo);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;};</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;SDLU_END</div>
<div class="ttc" id="a_render_window_8hpp_html"><div class="ttname"><a href="_render_window_8hpp.html">RenderWindow.hpp</a></div><div class="ttdoc">A wrapper around SDL_Window and SDL_Renderer.</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_mouse_html"><div class="ttname"><a href="class_mouse.html">Mouse</a></div><div class="ttdoc">A static class that contains/handles data about mouse position and button states.</div><div class="ttdef"><b>Definition:</b> Mouse.hpp:17</div></div>
<div class="ttc" id="aclass_mouse_html_a03c02466c8713509e0bed311e55520a6"><div class="ttname"><a href="class_mouse.html#a03c02466c8713509e0bed311e55520a6">Mouse::IsButtonDown</a></div><div class="ttdeci">static bool IsButtonDown(Button button)</div><div class="ttdoc">Checks if a specific button is pressed.</div></div>
<div class="ttc" id="aclass_mouse_html_a07faafbfb9f42a45b155fdd0c98a027b"><div class="ttname"><a href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b">Mouse::GetButtonState</a></div><div class="ttdeci">static Uint32 GetButtonState()</div><div class="ttdoc">Returns the current mouse button state.</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270">Mouse::Button</a></div><div class="ttdeci">Button</div><div class="ttdoc">Mouse buttons.</div><div class="ttdef"><b>Definition:</b> Mouse.hpp:22</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d">Mouse::Button::XButton2</a></div><div class="ttdeci">@ XButton2</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c">Mouse::Button::Right</a></div><div class="ttdeci">@ Right</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff">Mouse::Button::Left</a></div><div class="ttdeci">@ Left</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428">Mouse::Button::XButton1</a></div><div class="ttdeci">@ XButton1</div></div>
<div class="ttc" id="aclass_mouse_html_a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05"><div class="ttname"><a href="class_mouse.html#a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05">Mouse::Button::Middle</a></div><div class="ttdeci">@ Middle</div></div>
<div class="ttc" id="aclass_mouse_html_aaa904df11f52c1484e0630144c6e4e0e"><div class="ttname"><a href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e">Mouse::SetPosition</a></div><div class="ttdeci">static void SetPosition(const Vector2i &amp;position, const RenderWindow &amp;relativeTo)</div><div class="ttdoc">Sets current relative position of the mouse.</div></div>
<div class="ttc" id="aclass_mouse_html_ab18b92fb5eb5fecf6918d0dcbe696a2a"><div class="ttname"><a href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a">Mouse::GetPosition</a></div><div class="ttdeci">static Vector2i GetPosition()</div><div class="ttdoc">Gets the absolute position of the mouse.</div></div>
<div class="ttc" id="aclass_mouse_html_ad92df5406cb8d429314fa17eaa40ce1e"><div class="ttname"><a href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e">Mouse::GetPosition</a></div><div class="ttdeci">static Vector2i GetPosition(const RenderWindow &amp;relativeTo)</div><div class="ttdoc">Gets current relative position of the mouse.</div></div>
<div class="ttc" id="aclass_mouse_html_adf9d858fb89d23a9227602c169b209f5"><div class="ttname"><a href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5">Mouse::SetPosition</a></div><div class="ttdeci">static void SetPosition(const Vector2i &amp;position)</div><div class="ttdoc">Sets the absolute position of the mouse.</div></div>
<div class="ttc" id="aclass_render_window_html"><div class="ttname"><a href="class_render_window.html">RenderWindow</a></div><div class="ttdoc">A class that handles window related functionality.</div><div class="ttdef"><b>Definition:</b> RenderWindow.hpp:29</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="_mouse_8hpp.html">Mouse.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>

View file

@ -0,0 +1,109 @@
<!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/src/graphics/drawable/shapes/Rectangle.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_rectangle_8cpp.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="summary">
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">Rectangle.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;graphics/drawable/shapes/Rectangle.hpp&gt;</code><br />
<code>#include &lt;graphics/RenderTarget.hpp&gt;</code><br />
<code>#include &lt;SDL.h&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacesdlu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html">sdlu</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_560415a5d2bc4999842279f4fc1debef.html">graphics</a></li><li class="navelem"><a class="el" href="dir_8766272d147de7fceaa429cb35a6919d.html">drawable</a></li><li class="navelem"><a class="el" href="dir_9b35160dd67c0a21865c3196081799c9.html">shapes</a></li><li class="navelem"><a class="el" href="_rectangle_8cpp.html">Rectangle.cpp</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>

View file

@ -0,0 +1,122 @@
<!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/graphics/drawable/shapes/Rectangle.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_rectangle_8hpp.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="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">Rectangle.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The primitive Rectangle shape.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_shape_8hpp_source.html">Shape.hpp</a>&quot;</code><br />
</div>
<p><a href="_rectangle_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacesdlu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html">sdlu</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The primitive Rectangle shape. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>23.05.2020 </dd></dl>
</div></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="dir_b8c15fbf3c3199154c9b0a821e68d020.html">shapes</a></li><li class="navelem"><a class="el" href="_rectangle_8hpp.html">Rectangle.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>

View file

@ -0,0 +1,137 @@
<!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/graphics/drawable/shapes/Rectangle.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('_rectangle_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">Rectangle.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_rectangle_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; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_shape_8hpp.html">Shape.hpp</a>&quot;</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"><a class="line" href="namespacesdlu.html"> 11</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacesdlu.html">sdlu</a></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html"> 13</a></span>&#160; <span class="keyword">class </span><a class="code" href="classsdlu_1_1_rectangle.html">Rectangle</a> :</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">public</span> <a class="code" href="class_shape.html">Shape</a></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; {</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1"> 20</a></span>&#160; <a class="code" href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1">Rectangle</a>();</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9"> 28</a></span>&#160; <a class="code" href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9">Rectangle</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; size);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119"> 35</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119">GetSize</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e"> 42</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e">SetSize</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; size);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f"> 50</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f">SetSize</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938"> 57</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">Draw</a>(SDL_Renderer* <span class="keyword">const</span> target) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> size; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; };</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;}</div>
<div class="ttc" id="a_shape_8hpp_html"><div class="ttname"><a href="_shape_8hpp.html">Shape.hpp</a></div><div class="ttdoc">The base class for all native SDLU shapes.</div></div>
<div class="ttc" id="aclass_shape_html"><div class="ttname"><a href="class_shape.html">Shape</a></div><div class="ttdoc">The non-instantiable base class for all SDLU shapes.</div><div class="ttdef"><b>Definition:</b> Shape.hpp:19</div></div>
<div class="ttc" id="aclass_transformable_html_a1f58c94a72ecab9cca66287f8ac7b20f"><div class="ttname"><a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">Transformable::position</a></div><div class="ttdeci">Vector2f position</div><div class="ttdoc">Position of the object.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:152</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html"><div class="ttname"><a href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></div><div class="ttdef"><b>Definition:</b> Rectangle.hpp:15</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_a32046b622244b2741c697378b5f1a119"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119">sdlu::Rectangle::GetSize</a></div><div class="ttdeci">Vector2f GetSize()</div><div class="ttdoc">Gets the size of the rectangle.</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_a6a6519646c073cc57ff9273d05c01e6f"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f">sdlu::Rectangle::SetSize</a></div><div class="ttdeci">void SetSize(float x, float y)</div><div class="ttdoc">Sets a new size for the rectangle.</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_a86aa089b0e8594b87a1673819306a2a9"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9">sdlu::Rectangle::Rectangle</a></div><div class="ttdeci">Rectangle(const Vector2f &amp;position, const Vector2f &amp;size)</div><div class="ttdoc">Constructor with default parameters.</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_ae18bda0b59c8a960eba2d9b7d48c9ec1"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1">sdlu::Rectangle::Rectangle</a></div><div class="ttdeci">Rectangle()</div><div class="ttdoc">Default constructor.</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_af36bf7eb0f6456c7be56a480a0666938"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">sdlu::Rectangle::Draw</a></div><div class="ttdeci">virtual void Draw(SDL_Renderer *const target) const override</div><div class="ttdoc">Draws the Rectangle to the target.</div></div>
<div class="ttc" id="aclasssdlu_1_1_rectangle_html_af930b1ee8415a3f94345b8054c0e949e"><div class="ttname"><a href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e">sdlu::Rectangle::SetSize</a></div><div class="ttdeci">void SetSize(const Vector2f &amp;size)</div><div class="ttdoc">Sets a new size for the rectangle.</div></div>
<div class="ttc" id="anamespacesdlu_html"><div class="ttname"><a href="namespacesdlu.html">sdlu</a></div><div class="ttdef"><b>Definition:</b> Rectangle.hpp:12</div></div>
<div class="ttc" id="astruct_vector2_html"><div class="ttname"><a href="struct_vector2.html">Vector2&lt; float &gt;</a></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="dir_b8c15fbf3c3199154c9b0a821e68d020.html">shapes</a></li><li class="navelem"><a class="el" href="_rectangle_8hpp.html">Rectangle.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>

View file

@ -0,0 +1,101 @@
<!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/src/graphics/RenderTarget.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_render_target_8cpp.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">RenderTarget.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;graphics/RenderTarget.hpp&quot;</code><br />
<code>#include &lt;SDL.h&gt;</code><br />
<code>#include &lt;Util.hpp&gt;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_560415a5d2bc4999842279f4fc1debef.html">graphics</a></li><li class="navelem"><a class="el" href="_render_target_8cpp.html">RenderTarget.cpp</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>

View file

@ -0,0 +1,112 @@
<!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/graphics/RenderTarget.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_render_target_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">RenderTarget.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;chrono&gt;</code><br />
<code>#include &quot;<a class="el" href="_color_8hpp_source.html">structures/Color.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_drawable_8hpp_source.html">graphics/drawable/Drawable.hpp</a>&quot;</code><br />
</div>
<p><a href="_render_target_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html">RenderTarget</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive from it. <a href="class_render_target.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_render_target_8hpp.html">RenderTarget.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>

View file

@ -0,0 +1,152 @@
<!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/graphics/RenderTarget.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('_render_target_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">RenderTarget.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_render_target_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;chrono&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_color_8hpp.html">structures/Color.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_drawable_8hpp.html">graphics/drawable/Drawable.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">struct </span>SDL_Window;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">struct </span>SDL_Surface;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_render_target.html"> 21</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_render_target.html">RenderTarget</a></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;{</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df"> 24</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">~RenderTarget</a>();</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f"> 31</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">Clear</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; color = <a class="code" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a>);</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3"> 38</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">Draw</a>(<span class="keyword">const</span> <a class="code" href="class_drawable.html">Drawable</a>&amp; drawable);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9"> 43</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">Display</a>();</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c"> 54</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">SetMaxFramerate</a>(<a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> max);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3"> 62</a></span>&#160; <a class="code" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget</a>(SDL_Window* target);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1"> 69</a></span>&#160; <a class="code" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget</a>(SDL_Surface* target);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8"> 72</a></span>&#160; SDL_Renderer* <a class="code" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">renderer</a>; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> m_oFramerate; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; std::chrono::steady_clock::time_point m_oTimeSinceLastDisplay; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;};</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;SDLU_END</div>
<div class="ttc" id="a_color_8hpp_html"><div class="ttname"><a href="_color_8hpp.html">Color.hpp</a></div><div class="ttdoc">Provides utility for creating and handling colors.</div></div>
<div class="ttc" id="a_drawable_8hpp_html"><div class="ttname"><a href="_drawable_8hpp.html">Drawable.hpp</a></div><div class="ttdoc">The base class of everything renderable by RenderTarget.</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="aclass_drawable_html"><div class="ttname"><a href="class_drawable.html">Drawable</a></div><div class="ttdoc">Everything that can be rendered derives from this class.</div><div class="ttdef"><b>Definition:</b> Drawable.hpp:18</div></div>
<div class="ttc" id="aclass_render_target_html"><div class="ttname"><a href="class_render_target.html">RenderTarget</a></div><div class="ttdoc">Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive fr...</div><div class="ttdef"><b>Definition:</b> RenderTarget.hpp:22</div></div>
<div class="ttc" id="aclass_render_target_html_a1a3c1960de17ee0bc6c9802522ca43f3"><div class="ttname"><a href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">RenderTarget::Draw</a></div><div class="ttdeci">void Draw(const Drawable &amp;drawable)</div><div class="ttdoc">Draws a sdlu::Drawable to the SDL_Renderer.</div></div>
<div class="ttc" id="aclass_render_target_html_a1c07261ebc98a3df5614bb888e89d4df"><div class="ttname"><a href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">RenderTarget::~RenderTarget</a></div><div class="ttdeci">virtual ~RenderTarget()</div></div>
<div class="ttc" id="aclass_render_target_html_a20c60b9fd9dc7572c432a52a115de13c"><div class="ttname"><a href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">RenderTarget::SetMaxFramerate</a></div><div class="ttdeci">void SetMaxFramerate(Uint32 max)</div><div class="ttdoc">Sets a maximum framerate on the display function.</div></div>
<div class="ttc" id="aclass_render_target_html_a3f10a829b1882c62469333b116511bc1"><div class="ttname"><a href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget::RenderTarget</a></div><div class="ttdeci">RenderTarget(SDL_Surface *target)</div><div class="ttdoc">Create Renderer and bind it to a texture.</div></div>
<div class="ttc" id="aclass_render_target_html_a8d9f84514352b098dc9ee7b5eae59ff8"><div class="ttname"><a href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">RenderTarget::renderer</a></div><div class="ttdeci">SDL_Renderer * renderer</div><div class="ttdoc">The renderer object.</div><div class="ttdef"><b>Definition:</b> RenderTarget.hpp:72</div></div>
<div class="ttc" id="aclass_render_target_html_abc1f4a4f3b8976cdfd3f7db43869eca9"><div class="ttname"><a href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">RenderTarget::Display</a></div><div class="ttdeci">void Display()</div><div class="ttdoc">Display the current state of the renderer to the screen.</div></div>
<div class="ttc" id="aclass_render_target_html_af791541da67f68df05c3cab09847ac0f"><div class="ttname"><a href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">RenderTarget::Clear</a></div><div class="ttdeci">void Clear(const Color &amp;color=Color::Black)</div><div class="ttdoc">Clears the display.</div></div>
<div class="ttc" id="aclass_render_target_html_afcbabdc636f3175dea0ffb28952197c3"><div class="ttname"><a href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget::RenderTarget</a></div><div class="ttdeci">RenderTarget(SDL_Window *target)</div><div class="ttdoc">Create Renderer and bind it to a window.</div></div>
<div class="ttc" id="astruct_color_html"><div class="ttname"><a href="struct_color.html">Color</a></div><div class="ttdoc">A structure holding color data.</div><div class="ttdef"><b>Definition:</b> Color.hpp:20</div></div>
<div class="ttc" id="astruct_color_html_abfda8f6d25cb1b8ddbf029624bf879dd"><div class="ttname"><a href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a></div><div class="ttdeci">static const Color Black</div><div class="ttdoc">Default Color Black (#000000FF)</div><div class="ttdef"><b>Definition:</b> Color.hpp:65</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_render_target_8hpp.html">RenderTarget.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>

View file

@ -0,0 +1,101 @@
<!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/src/graphics/RenderWindow.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_render_window_8cpp.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">RenderWindow.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;graphics/RenderWindow.hpp&quot;</code><br />
<code>#include &lt;cstring&gt;</code><br />
<code>#include &lt;Util.hpp&gt;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_560415a5d2bc4999842279f4fc1debef.html">graphics</a></li><li class="navelem"><a class="el" href="_render_window_8cpp.html">RenderWindow.cpp</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>

View file

@ -0,0 +1,122 @@
<!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/graphics/RenderWindow.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_render_window_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">RenderWindow.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A wrapper around SDL_Window and SDL_Renderer.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;string&gt;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &quot;<a class="el" href="_vector2_8hpp_source.html">structures/Vector2.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_color_8hpp_source.html">structures/Color.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_window_8hpp_source.html">structures/Window.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_render_target_8hpp_source.html">graphics/RenderTarget.hpp</a>&quot;</code><br />
</div>
<p><a href="_render_window_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html">RenderWindow</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class that handles window related functionality. <a href="class_render_window.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A wrapper around SDL_Window and SDL_Renderer. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>16.05.2020 </dd></dl>
</div></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_render_window_8hpp.html">RenderWindow.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>

View file

@ -0,0 +1,152 @@
<!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/graphics/RenderWindow.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('_render_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">RenderWindow.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_render_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="_vector2_8hpp.html">structures/Vector2.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="_color_8hpp.html">structures/Color.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_window_8hpp.html">structures/Window.hpp</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_render_target_8hpp.html">graphics/RenderTarget.hpp</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// TODO: Probably break up into sdlu::Window and sdlu::Renderer</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// to avoid passing around the Renderer when only the Window is</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// needed. (See Mouse::GetPosition for example)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_render_window.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_render_window.html">RenderWindow</a> : <span class="keyword">public</span> <a class="code" href="class_window.html">Window</a>, <span class="keyword">public</span> <a class="code" href="class_render_target.html">RenderTarget</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952"> 34</a></span>&#160; <a class="code" href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952">RenderWindow</a>();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4"> 42</a></span>&#160; <a class="code" href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4">RenderWindow</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="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags = Window::Flags::Shown);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef"> 45</a></span>&#160; <a class="code" href="class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef">RenderWindow</a>(<span class="keyword">const</span> <a class="code" href="class_render_window.html">RenderWindow</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_render_window.html#a42b60cb6ec327448c03b64610e25c38b"> 46</a></span>&#160; <a class="code" href="class_render_window.html#a42b60cb6ec327448c03b64610e25c38b">RenderWindow</a>(<span class="keyword">const</span> <a class="code" href="class_render_window.html">RenderWindow</a>&amp;&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc"> 48</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc">~RenderWindow</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab"> 54</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab">OnCreate</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884"> 62</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884">OnResize</a>();</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0"> 67</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0">OnClose</a>();</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;};</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;SDLU_END</div>
<div class="ttc" id="a_color_8hpp_html"><div class="ttname"><a href="_color_8hpp.html">Color.hpp</a></div><div class="ttdoc">Provides utility for creating and handling colors.</div></div>
<div class="ttc" id="a_render_target_8hpp_html"><div class="ttname"><a href="_render_target_8hpp.html">RenderTarget.hpp</a></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="a_window_8hpp_html"><div class="ttname"><a href="_window_8hpp.html">Window.hpp</a></div><div class="ttdoc">Contains window related objects.</div></div>
<div class="ttc" id="aclass_render_target_html"><div class="ttname"><a href="class_render_target.html">RenderTarget</a></div><div class="ttdoc">Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive fr...</div><div class="ttdef"><b>Definition:</b> RenderTarget.hpp:22</div></div>
<div class="ttc" id="aclass_render_window_html"><div class="ttname"><a href="class_render_window.html">RenderWindow</a></div><div class="ttdoc">A class that handles window related functionality.</div><div class="ttdef"><b>Definition:</b> RenderWindow.hpp:29</div></div>
<div class="ttc" id="aclass_render_window_html_a42b60cb6ec327448c03b64610e25c38b"><div class="ttname"><a href="class_render_window.html#a42b60cb6ec327448c03b64610e25c38b">RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(const RenderWindow &amp;&amp;other)=delete</div></div>
<div class="ttc" id="aclass_render_window_html_a47e4b099bacd3f79ae03ca56770d38a4"><div class="ttname"><a href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4">RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags=Window::Flags::Shown)</div><div class="ttdoc">Creates a window and renderer with the given parameters.</div></div>
<div class="ttc" id="aclass_render_window_html_a5b54652402d9eafb0677045cc54bb5ab"><div class="ttname"><a href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab">RenderWindow::OnCreate</a></div><div class="ttdeci">virtual void OnCreate()</div><div class="ttdoc">Function called after Window creation.</div></div>
<div class="ttc" id="aclass_render_window_html_a8f395ca25a39a29631b4c5df6dfa9eef"><div class="ttname"><a href="class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef">RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(const RenderWindow &amp;other)=delete</div></div>
<div class="ttc" id="aclass_render_window_html_ab19eb1b76839ea7961275d19d805f9dc"><div class="ttname"><a href="class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc">RenderWindow::~RenderWindow</a></div><div class="ttdeci">virtual ~RenderWindow()</div></div>
<div class="ttc" id="aclass_render_window_html_ab73b98b3d1b7336243e3f782d00b9884"><div class="ttname"><a href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884">RenderWindow::OnResize</a></div><div class="ttdeci">virtual bool OnResize()</div><div class="ttdoc">Function called after resize event.</div></div>
<div class="ttc" id="aclass_render_window_html_ac644ce5a7654e4cdbc5a644bd9e02952"><div class="ttname"><a href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952">RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow()</div><div class="ttdoc">Default Constructor. No window or renderer is created.</div></div>
<div class="ttc" id="aclass_render_window_html_af15b3acc63e48d82a512e16455d47ef0"><div class="ttname"><a href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0">RenderWindow::OnClose</a></div><div class="ttdeci">virtual void OnClose()</div><div class="ttdoc">Function called after closing the window.</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="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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="_render_window_8hpp.html">RenderWindow.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>

View file

@ -0,0 +1,167 @@
<!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/src/SDLU.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_s_d_l_u_8cpp.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="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">SDLU.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;SDLU.hpp&quot;</code><br />
<code>#include &lt;SDL.h&gt;</code><br />
<code>#include &quot;Util.hpp&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a571bc7e68a313e85dd26317c54fb56f6"><td class="memItemLeft" align="right" valign="top">SDLU_BEGIN int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l_u_8cpp.html#a571bc7e68a313e85dd26317c54fb56f6">Initialize</a> ()</td></tr>
<tr class="separator:a571bc7e68a313e85dd26317c54fb56f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab931737e073f8a2f3c2fae9fe20c1783"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l_u_8cpp.html#ab931737e073f8a2f3c2fae9fe20c1783">Quit</a> ()</td></tr>
<tr class="separator:ab931737e073f8a2f3c2fae9fe20c1783"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a5cbb40aba3d39f9a178adba2a7680641"><td class="memItemLeft" align="right" valign="top">SDL_CommonEvent&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_s_d_l_u_8cpp.html#a5cbb40aba3d39f9a178adba2a7680641">c</a></td></tr>
<tr class="separator:a5cbb40aba3d39f9a178adba2a7680641"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a571bc7e68a313e85dd26317c54fb56f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a571bc7e68a313e85dd26317c54fb56f6">&#9670;&nbsp;</a></span>Initialize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SDLU_BEGIN int Initialize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab931737e073f8a2f3c2fae9fe20c1783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab931737e073f8a2f3c2fae9fe20c1783">&#9670;&nbsp;</a></span>Quit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Quit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a5cbb40aba3d39f9a178adba2a7680641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cbb40aba3d39f9a178adba2a7680641">&#9670;&nbsp;</a></span>c</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SDL_CommonEvent c</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="_s_d_l_u_8cpp.html">SDLU.cpp</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>

View file

@ -0,0 +1,6 @@
var _s_d_l_u_8cpp =
[
[ "Initialize", "_s_d_l_u_8cpp.html#a571bc7e68a313e85dd26317c54fb56f6", null ],
[ "Quit", "_s_d_l_u_8cpp.html#ab931737e073f8a2f3c2fae9fe20c1783", null ],
[ "c", "_s_d_l_u_8cpp.html#a5cbb40aba3d39f9a178adba2a7680641", null ]
];

View file

@ -0,0 +1,120 @@
<!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/SDLU.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_s_d_l_u_8hpp.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="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">SDLU.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="_graphics_8hpp_source.html">graphics/Graphics.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_mouse_8hpp_source.html">structures/Mouse.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_cursor_8hpp_source.html">structures/Cursor.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_clock_8hpp_source.html">structures/Clock.hpp</a>&gt;</code><br />
</div>
<p><a href="_s_d_l_u_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacesdlu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html">sdlu</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa32eb52895fef6cc6626d783f8088314"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html#aa32eb52895fef6cc6626d783f8088314">sdlu::Initialize</a> ()</td></tr>
<tr class="separator:aa32eb52895fef6cc6626d783f8088314"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a978a1d110246867e4ca50533b21bd0fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html#a978a1d110246867e4ca50533b21bd0fb">sdlu::Quit</a> ()</td></tr>
<tr class="separator:a978a1d110246867e4ca50533b21bd0fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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="_s_d_l_u_8hpp.html">SDLU.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>

View file

@ -0,0 +1,5 @@
var _s_d_l_u_8hpp =
[
[ "Initialize", "_s_d_l_u_8hpp.html#aa32eb52895fef6cc6626d783f8088314", null ],
[ "Quit", "_s_d_l_u_8hpp.html#a978a1d110246867e4ca50533b21bd0fb", null ]
];

View file

@ -0,0 +1,117 @@
<!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/SDLU.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('_s_d_l_u_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">SDLU.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_s_d_l_u_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;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_graphics_8hpp.html">graphics/Graphics.hpp</a>&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_mouse_8hpp.html">structures/Mouse.hpp</a>&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_cursor_8hpp.html">structures/Cursor.hpp</a>&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_clock_8hpp.html">structures/Clock.hpp</a>&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacesdlu.html">sdlu</a> {</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; <span class="comment">// TODO: Eventually we should initialize things once the object gets created</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="namespacesdlu.html#aa32eb52895fef6cc6626d783f8088314"> 10</a></span>&#160; <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="namespacesdlu.html#aa32eb52895fef6cc6626d783f8088314">Initialize</a>();</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="namespacesdlu.html#a978a1d110246867e4ca50533b21bd0fb"> 11</a></span>&#160; <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="namespacesdlu.html#a978a1d110246867e4ca50533b21bd0fb">Quit</a>();</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;}</div>
<div class="ttc" id="a_clock_8hpp_html"><div class="ttname"><a href="_clock_8hpp.html">Clock.hpp</a></div><div class="ttdoc">A small timing utility.</div></div>
<div class="ttc" id="a_cursor_8hpp_html"><div class="ttname"><a href="_cursor_8hpp.html">Cursor.hpp</a></div></div>
<div class="ttc" id="a_graphics_8hpp_html"><div class="ttname"><a href="_graphics_8hpp.html">Graphics.hpp</a></div></div>
<div class="ttc" id="a_mouse_8hpp_html"><div class="ttname"><a href="_mouse_8hpp.html">Mouse.hpp</a></div><div class="ttdoc">A static class to provide easy handling of the mouse.</div></div>
<div class="ttc" id="anamespacesdlu_html"><div class="ttname"><a href="namespacesdlu.html">sdlu</a></div><div class="ttdef"><b>Definition:</b> Rectangle.hpp:12</div></div>
<div class="ttc" id="anamespacesdlu_html_a978a1d110246867e4ca50533b21bd0fb"><div class="ttname"><a href="namespacesdlu.html#a978a1d110246867e4ca50533b21bd0fb">sdlu::Quit</a></div><div class="ttdeci">void Quit()</div></div>
<div class="ttc" id="anamespacesdlu_html_aa32eb52895fef6cc6626d783f8088314"><div class="ttname"><a href="namespacesdlu.html#aa32eb52895fef6cc6626d783f8088314">sdlu::Initialize</a></div><div class="ttdeci">int Initialize()</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="_s_d_l_u_8hpp.html">SDLU.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>

107
docs/html/_shape_8cpp.html Normal file
View file

@ -0,0 +1,107 @@
<!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/src/graphics/drawable/shapes/Shape.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_shape_8cpp.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="summary">
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">Shape.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;graphics/drawable/shapes/Shape.hpp&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacesdlu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacesdlu.html">sdlu</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_560415a5d2bc4999842279f4fc1debef.html">graphics</a></li><li class="navelem"><a class="el" href="dir_8766272d147de7fceaa429cb35a6919d.html">drawable</a></li><li class="navelem"><a class="el" href="dir_9b35160dd67c0a21865c3196081799c9.html">shapes</a></li><li class="navelem"><a class="el" href="_shape_8cpp.html">Shape.cpp</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>

119
docs/html/_shape_8hpp.html Normal file
View file

@ -0,0 +1,119 @@
<!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/graphics/drawable/shapes/Shape.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_shape_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Shape.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The base class for all native SDLU shapes.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_drawable_8hpp_source.html">graphics/drawable/Drawable.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_transformable_8hpp_source.html">graphics/drawable/Transformable.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_color_8hpp_source.html">structures/Color.hpp</a>&quot;</code><br />
</div>
<p><a href="_shape_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html">Shape</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The non-instantiable base class for all SDLU shapes. <a href="class_shape.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The base class for all native SDLU shapes. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>23.05.2020 </dd></dl>
</div></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="dir_b8c15fbf3c3199154c9b0a821e68d020.html">shapes</a></li><li class="navelem"><a class="el" href="_shape_8hpp.html">Shape.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>

View file

@ -0,0 +1,136 @@
<!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/graphics/drawable/shapes/Shape.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('_shape_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">Shape.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_shape_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; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_drawable_8hpp.html">graphics/drawable/Drawable.hpp</a>&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_transformable_8hpp.html">graphics/drawable/Transformable.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_color_8hpp.html">structures/Color.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_shape.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_shape.html">Shape</a> :</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">public</span> <a class="code" href="class_drawable.html">Drawable</a>, <span class="keyword">public</span> <a class="code" href="class_transformable.html">Transformable</a></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665"> 24</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a>();</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec"> 29</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">SetColor</a>(<span class="keyword">const</span> <a class="code" href="struct_color.html">Color</a>&amp; <a class="code" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a>);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc"> 34</a></span>&#160; <a class="code" href="struct_color.html">Color</a> <a class="code" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">GetColor</a>();</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7"> 40</a></span>&#160; <a class="code" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape</a>();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b"> 43</a></span>&#160; <a class="code" href="struct_color.html">Color</a> <a class="code" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;};</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;SDLU_END</div>
<div class="ttc" id="a_color_8hpp_html"><div class="ttname"><a href="_color_8hpp.html">Color.hpp</a></div><div class="ttdoc">Provides utility for creating and handling colors.</div></div>
<div class="ttc" id="a_drawable_8hpp_html"><div class="ttname"><a href="_drawable_8hpp.html">Drawable.hpp</a></div><div class="ttdoc">The base class of everything renderable by RenderTarget.</div></div>
<div class="ttc" id="a_transformable_8hpp_html"><div class="ttname"><a href="_transformable_8hpp.html">Transformable.hpp</a></div><div class="ttdoc">Contains information for transformable objects.</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="aclass_drawable_html"><div class="ttname"><a href="class_drawable.html">Drawable</a></div><div class="ttdoc">Everything that can be rendered derives from this class.</div><div class="ttdef"><b>Definition:</b> Drawable.hpp:18</div></div>
<div class="ttc" id="aclass_shape_html"><div class="ttname"><a href="class_shape.html">Shape</a></div><div class="ttdoc">The non-instantiable base class for all SDLU shapes.</div><div class="ttdef"><b>Definition:</b> Shape.hpp:19</div></div>
<div class="ttc" id="aclass_shape_html_a206be0235ad015ac23e5ece55b2621bc"><div class="ttname"><a href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">Shape::GetColor</a></div><div class="ttdeci">Color GetColor()</div><div class="ttdoc">Gets the color of the shape.</div></div>
<div class="ttc" id="aclass_shape_html_a61fb6adee1930ee57dd3337ef42926ec"><div class="ttname"><a href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">Shape::SetColor</a></div><div class="ttdeci">void SetColor(const Color &amp;color)</div><div class="ttdoc">Sets the color of the shape.</div></div>
<div class="ttc" id="aclass_shape_html_aaa8d87171e65e0d8ba3c5459978992a7"><div class="ttname"><a href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape::Shape</a></div><div class="ttdeci">Shape()</div><div class="ttdoc">Default constructor.</div></div>
<div class="ttc" id="aclass_shape_html_ac3b9fc48965274893f25b18aa14ba665"><div class="ttname"><a href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">Shape::~Shape</a></div><div class="ttdeci">virtual ~Shape()</div><div class="ttdoc">Deconstructor.</div></div>
<div class="ttc" id="aclass_shape_html_ac56e2bf5eb24cf37b6e08c671501566b"><div class="ttname"><a href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">Shape::color</a></div><div class="ttdeci">Color color</div><div class="ttdef"><b>Definition:</b> Shape.hpp:43</div></div>
<div class="ttc" id="aclass_transformable_html"><div class="ttname"><a href="class_transformable.html">Transformable</a></div><div class="ttdoc">A class that stores locational information.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:21</div></div>
<div class="ttc" id="astruct_color_html"><div class="ttname"><a href="struct_color.html">Color</a></div><div class="ttdoc">A structure holding color data.</div><div class="ttdef"><b>Definition:</b> Color.hpp:20</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="dir_b8c15fbf3c3199154c9b0a821e68d020.html">shapes</a></li><li class="navelem"><a class="el" href="_shape_8hpp.html">Shape.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>

877
docs/html/_time_8cpp.html Normal file
View file

@ -0,0 +1,877 @@
<!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/src/structures/Time.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_time_8cpp.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="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Time.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;structures/Time.hpp&quot;</code><br />
<code>#include &quot;..\..\include\structures\Time.hpp&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aaea901fceef777e45cb7b50099a8dd25"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#aaea901fceef777e45cb7b50099a8dd25">Seconds</a> (float seconds)</td></tr>
<tr class="separator:aaea901fceef777e45cb7b50099a8dd25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">Milliseconds</a> (Int32 milliseconds)</td></tr>
<tr class="separator:a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2361ddfe30cda51480b066eac103fb4"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ab2361ddfe30cda51480b066eac103fb4">Microseconds</a> (Int64 microseconds)</td></tr>
<tr class="separator:ab2361ddfe30cda51480b066eac103fb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90988eb9657b79c370253c0cc952386a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a90988eb9657b79c370253c0cc952386a">operator==</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:a90988eb9657b79c370253c0cc952386a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07472e52ba2ce81714f231d23adf8547"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a07472e52ba2ce81714f231d23adf8547">operator!=</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:a07472e52ba2ce81714f231d23adf8547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac32257e5c86d2e57b56b0915e1809ead"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ac32257e5c86d2e57b56b0915e1809ead">operator&lt;</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:ac32257e5c86d2e57b56b0915e1809ead"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afef5512f7171297e82db0046b7028562"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#afef5512f7171297e82db0046b7028562">operator&gt;</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:afef5512f7171297e82db0046b7028562"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa678c360a26ff8f65d6e1a8e22a2ba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#afaa678c360a26ff8f65d6e1a8e22a2ba">operator&lt;=</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:afaa678c360a26ff8f65d6e1a8e22a2ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a34ee9cd59bb411822899ad5132814"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#af7a34ee9cd59bb411822899ad5132814">operator&gt;=</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:af7a34ee9cd59bb411822899ad5132814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad79e35ba7b47ff8c6fa44a91ba7e1db3"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">operator-</a> (const Time &amp;right)</td></tr>
<tr class="separator:ad79e35ba7b47ff8c6fa44a91ba7e1db3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3220188faf2f26989df18166286bfe43"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a3220188faf2f26989df18166286bfe43">operator+</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:a3220188faf2f26989df18166286bfe43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac113395867bbeb311793564b53b992fa"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ac113395867bbeb311793564b53b992fa">operator+=</a> (Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:ac113395867bbeb311793564b53b992fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a000bf792d7b6f0b77248cff9f8003e29"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a000bf792d7b6f0b77248cff9f8003e29">operator-</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:a000bf792d7b6f0b77248cff9f8003e29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accdb29e09b8488f69817d8b51b87db0d"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#accdb29e09b8488f69817d8b51b87db0d">operator-=</a> (Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:accdb29e09b8488f69817d8b51b87db0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadaa37244866e6de72d68f5c30c2fe32"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#aadaa37244866e6de72d68f5c30c2fe32">operator*</a> (const Time &amp;left, float right)</td></tr>
<tr class="separator:aadaa37244866e6de72d68f5c30c2fe32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26c778130ebbffc45d4e9dec2669d761"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a26c778130ebbffc45d4e9dec2669d761">operator*</a> (const Time &amp;left, Int64 right)</td></tr>
<tr class="separator:a26c778130ebbffc45d4e9dec2669d761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a963d4b276627f9971ac89d24d9764c05"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a963d4b276627f9971ac89d24d9764c05">operator*</a> (float left, const Time &amp;right)</td></tr>
<tr class="separator:a963d4b276627f9971ac89d24d9764c05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a42ea3e8a757b74ffb13b5de927fb30"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a9a42ea3e8a757b74ffb13b5de927fb30">operator*</a> (Int64 left, const Time &amp;right)</td></tr>
<tr class="separator:a9a42ea3e8a757b74ffb13b5de927fb30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada2793fbd13ff189dedbb312b7e85b20"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ada2793fbd13ff189dedbb312b7e85b20">operator*=</a> (Time &amp;left, float right)</td></tr>
<tr class="separator:ada2793fbd13ff189dedbb312b7e85b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92903308f09b4e214b82f5d77cc9450b"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a92903308f09b4e214b82f5d77cc9450b">operator*=</a> (Time &amp;left, Int64 right)</td></tr>
<tr class="separator:a92903308f09b4e214b82f5d77cc9450b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab26c444540fdcff4d1cfa06f10fd4e39"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ab26c444540fdcff4d1cfa06f10fd4e39">operator/</a> (const Time &amp;left, float right)</td></tr>
<tr class="separator:ab26c444540fdcff4d1cfa06f10fd4e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae86e3c3598a3f0b712fabb219e0c2e7e"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ae86e3c3598a3f0b712fabb219e0c2e7e">operator/</a> (const Time &amp;left, Int64 right)</td></tr>
<tr class="separator:ae86e3c3598a3f0b712fabb219e0c2e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a471ce6cdae8759db5ec95194cc90aaf8"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a471ce6cdae8759db5ec95194cc90aaf8">operator/=</a> (Time &amp;left, float right)</td></tr>
<tr class="separator:a471ce6cdae8759db5ec95194cc90aaf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0916454a50c60ca9488b98d715baaaa7"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a0916454a50c60ca9488b98d715baaaa7">operator/=</a> (Time &amp;left, Int64 right)</td></tr>
<tr class="separator:a0916454a50c60ca9488b98d715baaaa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab43b815f827c470721c837da24758b58"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#ab43b815f827c470721c837da24758b58">operator/</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:ab43b815f827c470721c837da24758b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8849ab5e3c1954a8590dfd4f978caf01"><td class="memItemLeft" align="right" valign="top">Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#a8849ab5e3c1954a8590dfd4f978caf01">operator%</a> (const Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:a8849ab5e3c1954a8590dfd4f978caf01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af56e896bfd738245c2cc6c3c706f06f4"><td class="memItemLeft" align="right" valign="top">Time &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8cpp.html#af56e896bfd738245c2cc6c3c706f06f4">operator%=</a> (Time &amp;left, const Time &amp;right)</td></tr>
<tr class="separator:af56e896bfd738245c2cc6c3c706f06f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ab2361ddfe30cda51480b066eac103fb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2361ddfe30cda51480b066eac103fb4">&#9670;&nbsp;</a></span>Microseconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time Microseconds </td>
<td>(</td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>microseconds</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">&#9670;&nbsp;</a></span>Milliseconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time Milliseconds </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>milliseconds</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a07472e52ba2ce81714f231d23adf8547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07472e52ba2ce81714f231d23adf8547">&#9670;&nbsp;</a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator!= </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a8849ab5e3c1954a8590dfd4f978caf01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8849ab5e3c1954a8590dfd4f978caf01">&#9670;&nbsp;</a></span>operator%()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator% </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af56e896bfd738245c2cc6c3c706f06f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af56e896bfd738245c2cc6c3c706f06f4">&#9670;&nbsp;</a></span>operator%=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator%= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aadaa37244866e6de72d68f5c30c2fe32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadaa37244866e6de72d68f5c30c2fe32">&#9670;&nbsp;</a></span>operator*() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator* </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a26c778130ebbffc45d4e9dec2669d761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26c778130ebbffc45d4e9dec2669d761">&#9670;&nbsp;</a></span>operator*() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator* </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a963d4b276627f9971ac89d24d9764c05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a963d4b276627f9971ac89d24d9764c05">&#9670;&nbsp;</a></span>operator*() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator* </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a9a42ea3e8a757b74ffb13b5de927fb30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a42ea3e8a757b74ffb13b5de927fb30">&#9670;&nbsp;</a></span>operator*() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator* </td>
<td>(</td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ada2793fbd13ff189dedbb312b7e85b20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada2793fbd13ff189dedbb312b7e85b20">&#9670;&nbsp;</a></span>operator*=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator*= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a92903308f09b4e214b82f5d77cc9450b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92903308f09b4e214b82f5d77cc9450b">&#9670;&nbsp;</a></span>operator*=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator*= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3220188faf2f26989df18166286bfe43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3220188faf2f26989df18166286bfe43">&#9670;&nbsp;</a></span>operator+()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator+ </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac113395867bbeb311793564b53b992fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac113395867bbeb311793564b53b992fa">&#9670;&nbsp;</a></span>operator+=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator+= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a000bf792d7b6f0b77248cff9f8003e29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a000bf792d7b6f0b77248cff9f8003e29">&#9670;&nbsp;</a></span>operator-() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator- </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad79e35ba7b47ff8c6fa44a91ba7e1db3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad79e35ba7b47ff8c6fa44a91ba7e1db3">&#9670;&nbsp;</a></span>operator-() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator- </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="accdb29e09b8488f69817d8b51b87db0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accdb29e09b8488f69817d8b51b87db0d">&#9670;&nbsp;</a></span>operator-=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator-= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab43b815f827c470721c837da24758b58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab43b815f827c470721c837da24758b58">&#9670;&nbsp;</a></span>operator/() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float operator/ </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab26c444540fdcff4d1cfa06f10fd4e39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab26c444540fdcff4d1cfa06f10fd4e39">&#9670;&nbsp;</a></span>operator/() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator/ </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ae86e3c3598a3f0b712fabb219e0c2e7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae86e3c3598a3f0b712fabb219e0c2e7e">&#9670;&nbsp;</a></span>operator/() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time operator/ </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a471ce6cdae8759db5ec95194cc90aaf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a471ce6cdae8759db5ec95194cc90aaf8">&#9670;&nbsp;</a></span>operator/=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator/= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0916454a50c60ca9488b98d715baaaa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0916454a50c60ca9488b98d715baaaa7">&#9670;&nbsp;</a></span>operator/=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time&amp; operator/= </td>
<td>(</td>
<td class="paramtype">Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int64&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac32257e5c86d2e57b56b0915e1809ead"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac32257e5c86d2e57b56b0915e1809ead">&#9670;&nbsp;</a></span>operator&lt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator&lt; </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afaa678c360a26ff8f65d6e1a8e22a2ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaa678c360a26ff8f65d6e1a8e22a2ba">&#9670;&nbsp;</a></span>operator&lt;=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator&lt;= </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a90988eb9657b79c370253c0cc952386a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90988eb9657b79c370253c0cc952386a">&#9670;&nbsp;</a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afef5512f7171297e82db0046b7028562"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afef5512f7171297e82db0046b7028562">&#9670;&nbsp;</a></span>operator&gt;()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator&gt; </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af7a34ee9cd59bb411822899ad5132814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7a34ee9cd59bb411822899ad5132814">&#9670;&nbsp;</a></span>operator&gt;=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool operator&gt;= </td>
<td>(</td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Time &amp;&#160;</td>
<td class="paramname"><em>right</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aaea901fceef777e45cb7b50099a8dd25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaea901fceef777e45cb7b50099a8dd25">&#9670;&nbsp;</a></span>Seconds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Time Seconds </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>seconds</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_time_8cpp.html">Time.cpp</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>

30
docs/html/_time_8cpp.js Normal file
View file

@ -0,0 +1,30 @@
var _time_8cpp =
[
[ "Microseconds", "_time_8cpp.html#ab2361ddfe30cda51480b066eac103fb4", null ],
[ "Milliseconds", "_time_8cpp.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56", null ],
[ "operator!=", "_time_8cpp.html#a07472e52ba2ce81714f231d23adf8547", null ],
[ "operator%", "_time_8cpp.html#a8849ab5e3c1954a8590dfd4f978caf01", null ],
[ "operator%=", "_time_8cpp.html#af56e896bfd738245c2cc6c3c706f06f4", null ],
[ "operator*", "_time_8cpp.html#aadaa37244866e6de72d68f5c30c2fe32", null ],
[ "operator*", "_time_8cpp.html#a26c778130ebbffc45d4e9dec2669d761", null ],
[ "operator*", "_time_8cpp.html#a963d4b276627f9971ac89d24d9764c05", null ],
[ "operator*", "_time_8cpp.html#a9a42ea3e8a757b74ffb13b5de927fb30", null ],
[ "operator*=", "_time_8cpp.html#ada2793fbd13ff189dedbb312b7e85b20", null ],
[ "operator*=", "_time_8cpp.html#a92903308f09b4e214b82f5d77cc9450b", null ],
[ "operator+", "_time_8cpp.html#a3220188faf2f26989df18166286bfe43", null ],
[ "operator+=", "_time_8cpp.html#ac113395867bbeb311793564b53b992fa", null ],
[ "operator-", "_time_8cpp.html#a000bf792d7b6f0b77248cff9f8003e29", null ],
[ "operator-", "_time_8cpp.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3", null ],
[ "operator-=", "_time_8cpp.html#accdb29e09b8488f69817d8b51b87db0d", null ],
[ "operator/", "_time_8cpp.html#ab43b815f827c470721c837da24758b58", null ],
[ "operator/", "_time_8cpp.html#ab26c444540fdcff4d1cfa06f10fd4e39", null ],
[ "operator/", "_time_8cpp.html#ae86e3c3598a3f0b712fabb219e0c2e7e", null ],
[ "operator/=", "_time_8cpp.html#a471ce6cdae8759db5ec95194cc90aaf8", null ],
[ "operator/=", "_time_8cpp.html#a0916454a50c60ca9488b98d715baaaa7", null ],
[ "operator<", "_time_8cpp.html#ac32257e5c86d2e57b56b0915e1809ead", null ],
[ "operator<=", "_time_8cpp.html#afaa678c360a26ff8f65d6e1a8e22a2ba", null ],
[ "operator==", "_time_8cpp.html#a90988eb9657b79c370253c0cc952386a", null ],
[ "operator>", "_time_8cpp.html#afef5512f7171297e82db0046b7028562", null ],
[ "operator>=", "_time_8cpp.html#af7a34ee9cd59bb411822899ad5132814", null ],
[ "Seconds", "_time_8cpp.html#aaea901fceef777e45cb7b50099a8dd25", null ]
];

160
docs/html/_time_8hpp.html Normal file
View file

@ -0,0 +1,160 @@
<!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/Time.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_time_8hpp.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="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">Time.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A wrapper around std::chrono::duration.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;chrono&gt;</code><br />
<code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
</div>
<p><a href="_time_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_time.html">Time</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This class wraps std::chrono::duration and defines some conversions for commonly used times. <a href="class_time.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a20dec395170af789ab53b192f4779e13"><td class="memItemLeft" align="right" valign="top">typedef std::nano&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8hpp.html#a20dec395170af789ab53b192f4779e13">TimePeriod</a></td></tr>
<tr class="separator:a20dec395170af789ab53b192f4779e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a43ef4129965cab7191b6f0cccc85172c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a> typedef <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_time_8hpp.html#a43ef4129965cab7191b6f0cccc85172c">TimeRep</a></td></tr>
<tr class="separator:a43ef4129965cab7191b6f0cccc85172c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A wrapper around std::chrono::duration. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder </dd></dl>
<dl class="section date"><dt>Date</dt><dd>April 2021 </dd></dl>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a20dec395170af789ab53b192f4779e13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20dec395170af789ab53b192f4779e13">&#9670;&nbsp;</a></span>TimePeriod</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::nano <a class="el" href="_time_8hpp.html#a20dec395170af789ab53b192f4779e13">TimePeriod</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a43ef4129965cab7191b6f0cccc85172c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43ef4129965cab7191b6f0cccc85172c">&#9670;&nbsp;</a></span>TimeRep</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a> typedef <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> TimeRep</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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="_time_8hpp.html">Time.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>

6
docs/html/_time_8hpp.js Normal file
View file

@ -0,0 +1,6 @@
var _time_8hpp =
[
[ "Time", "class_time.html", "class_time" ],
[ "TimePeriod", "_time_8hpp.html#a20dec395170af789ab53b192f4779e13", null ],
[ "TimeRep", "_time_8hpp.html#a43ef4129965cab7191b6f0cccc85172c", null ]
];

View file

@ -0,0 +1,286 @@
<!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/Time.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('_time_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">Time.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_time_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;<span class="comment">/*****************************************************************/</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</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="preprocessor">#include &quot;<a class="code" href="_util_8hpp.html">Util.hpp</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="_time_8hpp.html#a43ef4129965cab7191b6f0cccc85172c"> 18</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> <a class="code" href="_time_8hpp.html#a43ef4129965cab7191b6f0cccc85172c">TimeRep</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="_time_8hpp.html#a20dec395170af789ab53b192f4779e13"> 19</a></span>&#160;<span class="keyword">typedef</span> std::nano <a class="code" href="_time_8hpp.html#a20dec395170af789ab53b192f4779e13">TimePeriod</a>;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_time.html"> 24</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_time.html">Time</a> {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_time.html#a4245e409c7347d1d671858962c2ca3b5"> 29</a></span>&#160; <a class="code" href="class_time.html#a4245e409c7347d1d671858962c2ca3b5">Time</a>();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep = Int64, <span class="keyword">typename</span> Period = std::ratio&lt;1&gt;&gt; </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; Rep <a class="code" href="class_time.html#a390653f89d18d9755ef3d4d149600ece">AsValue</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_time.html#a2193058fee71c2d63de3c113d92a2de7"> 45</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_time.html#a2193058fee71c2d63de3c113d92a2de7">AsSeconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d"> 50</a></span>&#160; <a class="code" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> <a class="code" href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d">AsMilliseconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433"> 55</a></span>&#160; <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> <a class="code" href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433">AsMicroseconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep = Int64, <span class="keyword">typename</span> Period = std::ratio&lt;1&gt;&gt; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; std::chrono::duration&lt;Rep, Period&gt; <a class="code" href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">AsChrono</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_time.html#a927a66f4a96151c1e241ba69755fa982"> 72</a></span>&#160; std::chrono::seconds <a class="code" href="class_time.html#a927a66f4a96151c1e241ba69755fa982">AsChronoSeconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6"> 77</a></span>&#160; std::chrono::milliseconds <a class="code" href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6">AsChronoMilliseconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_time.html#a953a4bbac412bf3064879a495bf91a96"> 82</a></span>&#160; std::chrono::microseconds <a class="code" href="class_time.html#a953a4bbac412bf3064879a495bf91a96">AsChronoMicroseconds</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep = Int64, <span class="keyword">typename</span> Period = std::ratio&lt;1&gt;&gt; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">static</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Create</a>(<span class="keyword">const</span> Rep&amp; duration);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep = Int64, <span class="keyword">typename</span> Period = std::ratio&lt;1&gt;&gt; </div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">static</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Create</a>(<span class="keyword">const</span> std::chrono::duration&lt;Rep, Period&gt;&amp; duration);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">static</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">Now</a>();</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_time.html#aaea901fceef777e45cb7b50099a8dd25"> 121</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#aaea901fceef777e45cb7b50099a8dd25">Seconds</a>(<span class="keywordtype">float</span> seconds);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"> 130</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">Milliseconds</a>(<a class="code" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a> milliseconds);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_time.html#ab2361ddfe30cda51480b066eac103fb4"> 139</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#ab2361ddfe30cda51480b066eac103fb4">Microseconds</a>(<a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> microseconds);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_time.html#a90988eb9657b79c370253c0cc952386a"> 150</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#a90988eb9657b79c370253c0cc952386a">operator==</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="class_time.html#a07472e52ba2ce81714f231d23adf8547"> 160</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#a07472e52ba2ce81714f231d23adf8547">operator!=</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead"> 170</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_time.html#afef5512f7171297e82db0046b7028562"> 180</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#afef5512f7171297e82db0046b7028562">operator&gt;</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba"> 190</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba">operator&lt;=</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_time.html#af7a34ee9cd59bb411822899ad5132814"> 200</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_time.html#af7a34ee9cd59bb411822899ad5132814">operator&gt;=</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3"> 210</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">operator-</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="class_time.html#a3220188faf2f26989df18166286bfe43"> 221</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a3220188faf2f26989df18166286bfe43">operator+</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="class_time.html#ac113395867bbeb311793564b53b992fa"> 231</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#ac113395867bbeb311793564b53b992fa">operator+=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29"> 242</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29">operator-</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="class_time.html#accdb29e09b8488f69817d8b51b87db0d"> 252</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#accdb29e09b8488f69817d8b51b87db0d">operator-=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32"> 263</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32">operator*</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keywordtype">float</span> right);</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="class_time.html#a26c778130ebbffc45d4e9dec2669d761"> 273</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a26c778130ebbffc45d4e9dec2669d761">operator*</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; </div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="class_time.html#a963d4b276627f9971ac89d24d9764c05"> 283</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a963d4b276627f9971ac89d24d9764c05">operator*</a>(<span class="keywordtype">float</span> left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30"> 293</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30">operator*</a>(<a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20"> 303</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20">operator*=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <span class="keywordtype">float</span> right);</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="class_time.html#a92903308f09b4e214b82f5d77cc9450b"> 313</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#a92903308f09b4e214b82f5d77cc9450b">operator*=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right);</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39"> 324</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39">operator/</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keywordtype">float</span> right);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; </div>
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e"> 334</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e">operator/</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right);</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8"> 344</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8">operator/=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <span class="keywordtype">float</span> right);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="class_time.html#a0916454a50c60ca9488b98d715baaaa7"> 354</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#a0916454a50c60ca9488b98d715baaaa7">operator/=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a> right);</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; </div>
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="class_time.html#ab43b815f827c470721c837da24758b58"> 364</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">float</span> <a class="code" href="class_time.html#ab43b815f827c470721c837da24758b58">operator/</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; </div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01"> 374</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01">operator%</a>(<span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; </div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4"> 384</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="class_time.html">Time</a>&amp; <a class="code" href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4">operator%=</a>(<a class="code" href="class_time.html">Time</a>&amp; left, <span class="keyword">const</span> <a class="code" href="class_time.html">Time</a>&amp; right);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; std::chrono::duration&lt;TimeRep, TimePeriod&gt; microseconds;</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160;};</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; </div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep, <span class="keyword">typename</span> Period&gt;</div>
<div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="class_time.html#a390653f89d18d9755ef3d4d149600ece"> 392</a></span>&#160;<span class="keyword">inline</span> Rep <a class="code" href="class_time.html#a390653f89d18d9755ef3d4d149600ece">Time::AsValue</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">return</span> std::chrono::duration_cast&lt;std::chrono::duration&lt;Rep, Period&gt;&gt;(microseconds).count();</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;}</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; </div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep, <span class="keyword">typename</span> Period&gt;</div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="class_time.html#ab1f48322b99266fea871d67a1fee90cd"> 398</a></span>&#160;<span class="keyword">inline</span> std::chrono::duration&lt;Rep, Period&gt; <a class="code" href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">Time::AsChrono</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordflow">return</span> std::chrono::duration_cast&lt;std::chrono::duration&lt;Rep, Period&gt;&gt;(microseconds);</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;}</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep, <span class="keyword">typename</span> Period&gt;</div>
<div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a"> 404</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Time::Create</a>(<span class="keyword">const</span> Rep&amp; duration)</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160;{</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; <a class="code" href="class_time.html">Time</a> newTime;</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; newTime.microseconds = std::chrono::duration_cast&lt;std::chrono::duration&lt;TimeRep, TimePeriod&gt;&gt;(std::chrono::duration&lt;Rep, Period&gt;(duration));</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordflow">return</span> newTime;</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;}</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; </div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Rep, <span class="keyword">typename</span> Period&gt;</div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="class_time.html#a2155604a8ee3ede7afb38b9196068e29"> 412</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Time::Create</a>(<span class="keyword">const</span> std::chrono::duration&lt;Rep, Period&gt;&amp; duration)</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160;{</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; <a class="code" href="class_time.html">Time</a> newTime;</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; newTime.microseconds = std::chrono::duration_cast&lt;std::chrono::duration&lt;TimeRep, TimePeriod&gt;&gt;(duration);</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; <span class="keywordflow">return</span> newTime;</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;}</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="class_time.html#a93c19710e3f655d6fd0053d156a953a2"> 419</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="class_time.html">Time</a> <a class="code" href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">Time::Now</a>()</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160;{</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Create</a>(std::chrono::steady_clock::now().time_since_epoch());</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160;}</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; </div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160;SDLU_END</div>
<div class="ttc" id="a_time_8hpp_html_a20dec395170af789ab53b192f4779e13"><div class="ttname"><a href="_time_8hpp.html#a20dec395170af789ab53b192f4779e13">TimePeriod</a></div><div class="ttdeci">std::nano TimePeriod</div><div class="ttdef"><b>Definition:</b> Time.hpp:19</div></div>
<div class="ttc" id="a_time_8hpp_html_a43ef4129965cab7191b6f0cccc85172c"><div class="ttname"><a href="_time_8hpp.html#a43ef4129965cab7191b6f0cccc85172c">TimeRep</a></div><div class="ttdeci">SDLU_BEGIN typedef Int64 TimeRep</div><div class="ttdef"><b>Definition:</b> Time.hpp:18</div></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_a20b0c262d9ef5d263888e463dfa99638"><div class="ttname"><a href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a></div><div class="ttdeci">int32_t Int32</div><div class="ttdef"><b>Definition:</b> Util.hpp:24</div></div>
<div class="ttc" id="a_util_8hpp_html_a2de3f49eadcae5078cd57134586ee25d"><div class="ttname"><a href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a></div><div class="ttdeci">int64_t Int64</div><div class="ttdef"><b>Definition:</b> Util.hpp:27</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="aclass_time_html"><div class="ttname"><a href="class_time.html">Time</a></div><div class="ttdoc">This class wraps std::chrono::duration and defines some conversions for commonly used times.</div><div class="ttdef"><b>Definition:</b> Time.hpp:24</div></div>
<div class="ttc" id="aclass_time_html_a000b522aafdbb493acc70be9fe5abc4a"><div class="ttname"><a href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Time::Create</a></div><div class="ttdeci">static Time Create(const Rep &amp;duration)</div><div class="ttdoc">Stores the given scalar as a time, using the given format.</div><div class="ttdef"><b>Definition:</b> Time.hpp:404</div></div>
<div class="ttc" id="aclass_time_html_a000bf792d7b6f0b77248cff9f8003e29"><div class="ttname"><a href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29">Time::operator-</a></div><div class="ttdeci">friend Time operator-(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of - operator to subtract two Times.</div></div>
<div class="ttc" id="aclass_time_html_a07472e52ba2ce81714f231d23adf8547"><div class="ttname"><a href="class_time.html#a07472e52ba2ce81714f231d23adf8547">Time::operator!=</a></div><div class="ttdeci">friend bool operator!=(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of != operator comparing two Times.</div></div>
<div class="ttc" id="aclass_time_html_a0916454a50c60ca9488b98d715baaaa7"><div class="ttname"><a href="class_time.html#a0916454a50c60ca9488b98d715baaaa7">Time::operator/=</a></div><div class="ttdeci">friend Time &amp; operator/=(Time &amp;left, Int64 right)</div><div class="ttdoc">Overload of /= operator to divide a Time by a scalar.</div></div>
<div class="ttc" id="aclass_time_html_a2193058fee71c2d63de3c113d92a2de7"><div class="ttname"><a href="class_time.html#a2193058fee71c2d63de3c113d92a2de7">Time::AsSeconds</a></div><div class="ttdeci">float AsSeconds() const</div><div class="ttdoc">Returns the stored time in seconds.</div></div>
<div class="ttc" id="aclass_time_html_a26c778130ebbffc45d4e9dec2669d761"><div class="ttname"><a href="class_time.html#a26c778130ebbffc45d4e9dec2669d761">Time::operator*</a></div><div class="ttdeci">friend Time operator*(const Time &amp;left, Int64 right)</div><div class="ttdoc">Overload of * operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_a3220188faf2f26989df18166286bfe43"><div class="ttname"><a href="class_time.html#a3220188faf2f26989df18166286bfe43">Time::operator+</a></div><div class="ttdeci">friend Time operator+(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of + operator to add two Times.</div></div>
<div class="ttc" id="aclass_time_html_a390653f89d18d9755ef3d4d149600ece"><div class="ttname"><a href="class_time.html#a390653f89d18d9755ef3d4d149600ece">Time::AsValue</a></div><div class="ttdeci">Rep AsValue() const</div><div class="ttdoc">Returns the stored time in the specified format as a scalar.</div><div class="ttdef"><b>Definition:</b> Time.hpp:392</div></div>
<div class="ttc" id="aclass_time_html_a3c3dad1ce180f5759e1228713b2c30e6"><div class="ttname"><a href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6">Time::AsChronoMilliseconds</a></div><div class="ttdeci">std::chrono::milliseconds AsChronoMilliseconds() const</div><div class="ttdoc">Returns the stored time in std::chrono::milliseconds.</div></div>
<div class="ttc" id="aclass_time_html_a4245e409c7347d1d671858962c2ca3b5"><div class="ttname"><a href="class_time.html#a4245e409c7347d1d671858962c2ca3b5">Time::Time</a></div><div class="ttdeci">Time()</div><div class="ttdoc">Default constructor. Constructs a time with value 0.</div></div>
<div class="ttc" id="aclass_time_html_a471ce6cdae8759db5ec95194cc90aaf8"><div class="ttname"><a href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8">Time::operator/=</a></div><div class="ttdeci">friend Time &amp; operator/=(Time &amp;left, float right)</div><div class="ttdoc">Overload of /= operator to divide a Time by a scalar.</div></div>
<div class="ttc" id="aclass_time_html_a7c6ad1774af8c8f70bd7d0a4f1f2928d"><div class="ttname"><a href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d">Time::AsMilliseconds</a></div><div class="ttdeci">Int32 AsMilliseconds() const</div><div class="ttdoc">Returns the stored time in milliseconds.</div></div>
<div class="ttc" id="aclass_time_html_a7cdacd27ba57fdc59daeca5e787ed433"><div class="ttname"><a href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433">Time::AsMicroseconds</a></div><div class="ttdeci">Int64 AsMicroseconds() const</div><div class="ttdoc">Returns the stored time in microseconds.</div></div>
<div class="ttc" id="aclass_time_html_a8849ab5e3c1954a8590dfd4f978caf01"><div class="ttname"><a href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01">Time::operator%</a></div><div class="ttdeci">friend Time operator%(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of % operator to calculate the modulo of a Time.</div></div>
<div class="ttc" id="aclass_time_html_a8d0e9f87d5b0fdd8d12b0cc35cfd4e56"><div class="ttname"><a href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">Time::Milliseconds</a></div><div class="ttdeci">friend Time Milliseconds(Int32 milliseconds)</div><div class="ttdoc">Creates a Time object from a given number of milliseconds.</div></div>
<div class="ttc" id="aclass_time_html_a90988eb9657b79c370253c0cc952386a"><div class="ttname"><a href="class_time.html#a90988eb9657b79c370253c0cc952386a">Time::operator==</a></div><div class="ttdeci">friend bool operator==(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of == operator comparing two Times.</div></div>
<div class="ttc" id="aclass_time_html_a927a66f4a96151c1e241ba69755fa982"><div class="ttname"><a href="class_time.html#a927a66f4a96151c1e241ba69755fa982">Time::AsChronoSeconds</a></div><div class="ttdeci">std::chrono::seconds AsChronoSeconds() const</div><div class="ttdoc">Returns the stored time in std::chrono::seconds.</div></div>
<div class="ttc" id="aclass_time_html_a92903308f09b4e214b82f5d77cc9450b"><div class="ttname"><a href="class_time.html#a92903308f09b4e214b82f5d77cc9450b">Time::operator*=</a></div><div class="ttdeci">friend Time &amp; operator*=(Time &amp;left, Int64 right)</div><div class="ttdoc">Overload of *= operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_a93c19710e3f655d6fd0053d156a953a2"><div class="ttname"><a href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">Time::Now</a></div><div class="ttdeci">static Time Now()</div><div class="ttdoc">Creates a Time object storing the current point in time.</div><div class="ttdef"><b>Definition:</b> Time.hpp:419</div></div>
<div class="ttc" id="aclass_time_html_a953a4bbac412bf3064879a495bf91a96"><div class="ttname"><a href="class_time.html#a953a4bbac412bf3064879a495bf91a96">Time::AsChronoMicroseconds</a></div><div class="ttdeci">std::chrono::microseconds AsChronoMicroseconds() const</div><div class="ttdoc">Returns the stored time in std::chrono::microseconds.</div></div>
<div class="ttc" id="aclass_time_html_a963d4b276627f9971ac89d24d9764c05"><div class="ttname"><a href="class_time.html#a963d4b276627f9971ac89d24d9764c05">Time::operator*</a></div><div class="ttdeci">friend Time operator*(float left, const Time &amp;right)</div><div class="ttdoc">Overload of * operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_a9a42ea3e8a757b74ffb13b5de927fb30"><div class="ttname"><a href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30">Time::operator*</a></div><div class="ttdeci">friend Time operator*(Int64 left, const Time &amp;right)</div><div class="ttdoc">Overload of * operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_aadaa37244866e6de72d68f5c30c2fe32"><div class="ttname"><a href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32">Time::operator*</a></div><div class="ttdeci">friend Time operator*(const Time &amp;left, float right)</div><div class="ttdoc">Overload of * operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_aaea901fceef777e45cb7b50099a8dd25"><div class="ttname"><a href="class_time.html#aaea901fceef777e45cb7b50099a8dd25">Time::Seconds</a></div><div class="ttdeci">friend Time Seconds(float seconds)</div><div class="ttdoc">Creates a Time object from a given number of seconds.</div></div>
<div class="ttc" id="aclass_time_html_ab1f48322b99266fea871d67a1fee90cd"><div class="ttname"><a href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">Time::AsChrono</a></div><div class="ttdeci">std::chrono::duration&lt; Rep, Period &gt; AsChrono() const</div><div class="ttdoc">Returns the stored time in the specified format as a std::duration.</div><div class="ttdef"><b>Definition:</b> Time.hpp:398</div></div>
<div class="ttc" id="aclass_time_html_ab2361ddfe30cda51480b066eac103fb4"><div class="ttname"><a href="class_time.html#ab2361ddfe30cda51480b066eac103fb4">Time::Microseconds</a></div><div class="ttdeci">friend Time Microseconds(Int64 microseconds)</div><div class="ttdoc">Creates a Time object from a given number of microseconds.</div></div>
<div class="ttc" id="aclass_time_html_ab26c444540fdcff4d1cfa06f10fd4e39"><div class="ttname"><a href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39">Time::operator/</a></div><div class="ttdeci">friend Time operator/(const Time &amp;left, float right)</div><div class="ttdoc">Overload of / operator to divide a Time by a scalar.</div></div>
<div class="ttc" id="aclass_time_html_ab43b815f827c470721c837da24758b58"><div class="ttname"><a href="class_time.html#ab43b815f827c470721c837da24758b58">Time::operator/</a></div><div class="ttdeci">friend float operator/(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of / operator to divide two Times.</div></div>
<div class="ttc" id="aclass_time_html_ac113395867bbeb311793564b53b992fa"><div class="ttname"><a href="class_time.html#ac113395867bbeb311793564b53b992fa">Time::operator+=</a></div><div class="ttdeci">friend Time &amp; operator+=(Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of += operator to add two Times.</div></div>
<div class="ttc" id="aclass_time_html_ac32257e5c86d2e57b56b0915e1809ead"><div class="ttname"><a href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead">Time::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of &lt; operator comparing two Times.</div></div>
<div class="ttc" id="aclass_time_html_accdb29e09b8488f69817d8b51b87db0d"><div class="ttname"><a href="class_time.html#accdb29e09b8488f69817d8b51b87db0d">Time::operator-=</a></div><div class="ttdeci">friend Time &amp; operator-=(Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of -= operator to subtract two Times.</div></div>
<div class="ttc" id="aclass_time_html_ad79e35ba7b47ff8c6fa44a91ba7e1db3"><div class="ttname"><a href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">Time::operator-</a></div><div class="ttdeci">friend Time operator-(const Time &amp;right)</div><div class="ttdoc">Overload of the unary - operator.</div></div>
<div class="ttc" id="aclass_time_html_ada2793fbd13ff189dedbb312b7e85b20"><div class="ttname"><a href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20">Time::operator*=</a></div><div class="ttdeci">friend Time &amp; operator*=(Time &amp;left, float right)</div><div class="ttdoc">Overload of *= operator to multiply a Time with a scalar.</div></div>
<div class="ttc" id="aclass_time_html_ae86e3c3598a3f0b712fabb219e0c2e7e"><div class="ttname"><a href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e">Time::operator/</a></div><div class="ttdeci">friend Time operator/(const Time &amp;left, Int64 right)</div><div class="ttdoc">Overload of / operator to divide a Time by a scalar.</div></div>
<div class="ttc" id="aclass_time_html_af56e896bfd738245c2cc6c3c706f06f4"><div class="ttname"><a href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4">Time::operator%=</a></div><div class="ttdeci">friend Time &amp; operator%=(Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of % operator to calculate the modulo of a Time.</div></div>
<div class="ttc" id="aclass_time_html_af7a34ee9cd59bb411822899ad5132814"><div class="ttname"><a href="class_time.html#af7a34ee9cd59bb411822899ad5132814">Time::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of &lt; operator comparing two Times.</div></div>
<div class="ttc" id="aclass_time_html_afaa678c360a26ff8f65d6e1a8e22a2ba"><div class="ttname"><a href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba">Time::operator&lt;=</a></div><div class="ttdeci">friend bool operator&lt;=(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of &lt;= operator comparing two Times.</div></div>
<div class="ttc" id="aclass_time_html_afef5512f7171297e82db0046b7028562"><div class="ttname"><a href="class_time.html#afef5512f7171297e82db0046b7028562">Time::operator&gt;</a></div><div class="ttdeci">friend bool operator&gt;(const Time &amp;left, const Time &amp;right)</div><div class="ttdoc">Overload of &gt; operator comparing two Times.</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="_time_8hpp.html">Time.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>

View file

@ -0,0 +1,99 @@
<!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/src/graphics/drawable/Transformable.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_transformable_8cpp.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">Transformable.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;graphics/drawable/Transformable.hpp&quot;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_560415a5d2bc4999842279f4fc1debef.html">graphics</a></li><li class="navelem"><a class="el" href="dir_8766272d147de7fceaa429cb35a6919d.html">drawable</a></li><li class="navelem"><a class="el" href="_transformable_8cpp.html">Transformable.cpp</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>

View file

@ -0,0 +1,117 @@
<!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/graphics/drawable/Transformable.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_transformable_8hpp.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Transformable.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Contains information for transformable objects.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_vector2_8hpp_source.html">structures/Vector2.hpp</a>&quot;</code><br />
</div>
<p><a href="_transformable_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html">Transformable</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class that stores locational information. <a href="class_transformable.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Contains information for transformable objects. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>23.05.2020 </dd></dl>
</div></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="_transformable_8hpp.html">Transformable.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>

View file

@ -0,0 +1,177 @@
<!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/graphics/drawable/Transformable.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('_transformable_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">Transformable.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_transformable_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; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</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="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_transformable.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_transformable.html">Transformable</a></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a"> 26</a></span>&#160; <a class="code" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412"> 31</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a>();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66"> 38</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf"> 45</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2"> 53</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd"> 60</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf"> 68</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45"> 76</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109"> 83</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8"> 91</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00"> 98</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a>();</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec"> 105</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18"> 113</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a"> 120</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2"> 128</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae"> 135</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_transformable.html#a6644393bb743781a7745071c307cb481"> 142</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a>(<span class="keywordtype">float</span> angle);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938"> 149</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a>(<span class="keywordtype">float</span> angle);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f"> 152</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8"> 153</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>; </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c"> 154</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0"> 155</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a>; </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;};</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;SDLU_END</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_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_transformable_html"><div class="ttname"><a href="class_transformable.html">Transformable</a></div><div class="ttdoc">A class that stores locational information.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:21</div></div>
<div class="ttc" id="aclass_transformable_html_a0a4764e72329b3120812569e8d35c109"><div class="ttname"><a href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">Transformable::SetOrigin</a></div><div class="ttdeci">void SetOrigin(const Vector2f &amp;origin)</div><div class="ttdoc">Sets a new local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_a0dff4cf64143f46e2740da16e8b588bf"><div class="ttname"><a href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">Transformable::SetPosition</a></div><div class="ttdeci">void SetPosition(const Vector2f &amp;position)</div><div class="ttdoc">Sets a new position.</div></div>
<div class="ttc" id="aclass_transformable_html_a0ef8796a3ca3ad79b22be5ef59cd4c3a"><div class="ttname"><a href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Transformable::Scale</a></div><div class="ttdeci">void Scale(const Vector2f &amp;scale)</div><div class="ttdoc">Scales the object by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_a10235cf98c74ee27ed5eb57d440e02e2"><div class="ttname"><a href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">Transformable::SetPosition</a></div><div class="ttdeci">void SetPosition(float x, float y)</div><div class="ttdoc">Sets a new position.</div></div>
<div class="ttc" id="aclass_transformable_html_a19db1bbc145ea631f8caa16ddcf852bf"><div class="ttname"><a href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Transformable::Move</a></div><div class="ttdeci">void Move(float x, float y)</div><div class="ttdoc">Adds to the current position.</div></div>
<div class="ttc" id="aclass_transformable_html_a1f58c94a72ecab9cca66287f8ac7b20f"><div class="ttname"><a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">Transformable::position</a></div><div class="ttdeci">Vector2f position</div><div class="ttdoc">Position of the object.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:152</div></div>
<div class="ttc" id="aclass_transformable_html_a2072c3a7060c9867ce887b937fcc92ae"><div class="ttname"><a href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">Transformable::GetRotation</a></div><div class="ttdeci">float GetRotation()</div><div class="ttdoc">Gets the current rotation.</div></div>
<div class="ttc" id="aclass_transformable_html_a32758b5ffec2466bdd6824d314bc7cbd"><div class="ttname"><a href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Transformable::Move</a></div><div class="ttdeci">void Move(const Vector2f &amp;position)</div><div class="ttdoc">Adds to the current position.</div></div>
<div class="ttc" id="aclass_transformable_html_a49f770487198dc60ab7bdfc131778a66"><div class="ttname"><a href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">Transformable::GetPosition</a></div><div class="ttdeci">Vector2f GetPosition()</div><div class="ttdoc">Returns the position of the object.</div></div>
<div class="ttc" id="aclass_transformable_html_a587fe840ddac456ba4e8caa5f00ddf0c"><div class="ttname"><a href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">Transformable::scale</a></div><div class="ttdeci">Vector2f scale</div><div class="ttdoc">Scale of the object.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:154</div></div>
<div class="ttc" id="aclass_transformable_html_a5bd1f0833826cc91cddbb630f4d2ea00"><div class="ttname"><a href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">Transformable::GetScale</a></div><div class="ttdeci">Vector2f GetScale()</div><div class="ttdoc">Gets the current scale of the object.</div></div>
<div class="ttc" id="aclass_transformable_html_a6644393bb743781a7745071c307cb481"><div class="ttname"><a href="class_transformable.html#a6644393bb743781a7745071c307cb481">Transformable::SetRotation</a></div><div class="ttdeci">void SetRotation(float angle)</div><div class="ttdoc">Sets a new rotation.</div></div>
<div class="ttc" id="aclass_transformable_html_a6dfad28c0725d65023164580dbe40eec"><div class="ttname"><a href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">Transformable::SetScale</a></div><div class="ttdeci">void SetScale(const Vector2f &amp;scale)</div><div class="ttdoc">Sets a new scale.</div></div>
<div class="ttc" id="aclass_transformable_html_a6f1cb1413a0b26398b35aa0c9e6c5bc8"><div class="ttname"><a href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">Transformable::SetOrigin</a></div><div class="ttdeci">void SetOrigin(float x, float y)</div><div class="ttdoc">Sets a new local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_a7eaf9ee1d0110fb92e4643ca856e4e18"><div class="ttname"><a href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">Transformable::SetScale</a></div><div class="ttdeci">void SetScale(float x, float y)</div><div class="ttdoc">Sets a new scale.</div></div>
<div class="ttc" id="aclass_transformable_html_a7f823978c527cdca2ce5667926aa7ce2"><div class="ttname"><a href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Transformable::Scale</a></div><div class="ttdeci">void Scale(float x, float y)</div><div class="ttdoc">Scales the object by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_a8a27de0d8dbb0e0bd0af4092ec7509c0"><div class="ttname"><a href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">Transformable::rotation</a></div><div class="ttdeci">float rotation</div><div class="ttdoc">Rotation of the object (in degrees)</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:155</div></div>
<div class="ttc" id="aclass_transformable_html_aa21dbaab5c9f7f5703d827ae7090a0e8"><div class="ttname"><a href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">Transformable::origin</a></div><div class="ttdeci">Vector2f origin</div><div class="ttdoc">Offset of the top-left corner from the position.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:153</div></div>
<div class="ttc" id="aclass_transformable_html_aaf42df1fbbc11ac758342a0cb26eb80a"><div class="ttname"><a href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable::Transformable</a></div><div class="ttdeci">Transformable()</div><div class="ttdoc">Default constructur.</div></div>
<div class="ttc" id="aclass_transformable_html_ab45027854676ecff39b45f7b1bb8db45"><div class="ttname"><a href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">Transformable::GetOrigin</a></div><div class="ttdeci">Vector2f GetOrigin()</div><div class="ttdoc">Gets the current local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_ab4c7bb0f85cc1670f4c13d89f09b5938"><div class="ttname"><a href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Transformable::Rotate</a></div><div class="ttdeci">void Rotate(float angle)</div><div class="ttdoc">Rotates by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_ab8eae21f70d709159d849a2966c24412"><div class="ttname"><a href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">Transformable::~Transformable</a></div><div class="ttdeci">virtual ~Transformable()</div><div class="ttdoc">Deconstructor.</div></div>
<div class="ttc" id="astruct_vector2_html"><div class="ttname"><a href="struct_vector2.html">Vector2&lt; float &gt;</a></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="_transformable_8hpp.html">Transformable.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>

420
docs/html/_util_8hpp.html Normal file
View file

@ -0,0 +1,420 @@
<!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/Util.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_util_8hpp.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="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">Util.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Basic utility macros, typedefs...
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;cstdint&gt;</code><br />
</div>
<p><a href="_util_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a598a3330b3c21701223ee0ca14316eca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a598a3330b3c21701223ee0ca14316eca">PI</a>&#160;&#160;&#160;3.1415926f</td></tr>
<tr class="separator:a598a3330b3c21701223ee0ca14316eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c68e5e049464b06576d7b1a190a9ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce">IS_NULLPTR</a>(x)&#160;&#160;&#160;(x == nullptr)</td></tr>
<tr class="separator:aa4c68e5e049464b06576d7b1a190a9ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad78bed6042757c22a0a7415695d83912"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#ad78bed6042757c22a0a7415695d83912">RETURN_IF_NULLPTR</a>(x, ...)&#160;&#160;&#160;{ if(<a class="el" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce">IS_NULLPTR</a>(x)) return __VA_ARGS__; }</td></tr>
<tr class="separator:ad78bed6042757c22a0a7415695d83912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f4e3d7f412af2f887266042b63bb23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#aa5f4e3d7f412af2f887266042b63bb23">RETURN_IF_NOT_NULLPTR</a>(x, ...)&#160;&#160;&#160;{ if(!<a class="el" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce">IS_NULLPTR</a>(x)) return __VA_ARGS__; }</td></tr>
<tr class="separator:aa5f4e3d7f412af2f887266042b63bb23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f6f72fed1b9e22bc996980c4da87c5f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a6f6f72fed1b9e22bc996980c4da87c5f">THROW_IF</a>(condition, exception)&#160;&#160;&#160;( condition ? throw exception : false)</td></tr>
<tr class="separator:a6f6f72fed1b9e22bc996980c4da87c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e2f2eee0698641fd77fbc489bf5b72a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a8e2f2eee0698641fd77fbc489bf5b72a">THROW_IF_NOT</a>(condition, exception)&#160;&#160;&#160;( <a class="el" href="_util_8hpp.html#a6f6f72fed1b9e22bc996980c4da87c5f">THROW_IF</a>(!condition, exception) )</td></tr>
<tr class="separator:a8e2f2eee0698641fd77fbc489bf5b72a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0494d8896dbc587136819e261afdc91"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a>&#160;&#160;&#160;namespace sdlu {</td></tr>
<tr class="separator:ad0494d8896dbc587136819e261afdc91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a2944638813a090aa23e62f4da842c3e2"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a></td></tr>
<tr class="separator:a2944638813a090aa23e62f4da842c3e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6ba23467c5f743eb2b594913650a61"><td class="memItemLeft" align="right" valign="top">typedef int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61">Int8</a></td></tr>
<tr class="separator:a1d6ba23467c5f743eb2b594913650a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31fcc0a076c9068668173ee26d33e42b"><td class="memItemLeft" align="right" valign="top">typedef uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a></td></tr>
<tr class="separator:a31fcc0a076c9068668173ee26d33e42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d70d2452bc784cc9a499c567e4b5a77"><td class="memItemLeft" align="right" valign="top">typedef int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77">Int16</a></td></tr>
<tr class="separator:a6d70d2452bc784cc9a499c567e4b5a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add440eff171ea5f55cb00c4a9ab8672d"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a></td></tr>
<tr class="separator:add440eff171ea5f55cb00c4a9ab8672d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20b0c262d9ef5d263888e463dfa99638"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a></td></tr>
<tr class="separator:a20b0c262d9ef5d263888e463dfa99638"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac006cf2bd55a42a9cc8ae9f123aa7e13"><td class="memItemLeft" align="right" valign="top">typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13">Uint64</a></td></tr>
<tr class="separator:ac006cf2bd55a42a9cc8ae9f123aa7e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de3f49eadcae5078cd57134586ee25d"><td class="memItemLeft" align="right" valign="top">typedef int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a></td></tr>
<tr class="separator:a2de3f49eadcae5078cd57134586ee25d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Basic utility macros, typedefs... </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>16.05.2020 </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aa4c68e5e049464b06576d7b1a190a9ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4c68e5e049464b06576d7b1a190a9ce">&#9670;&nbsp;</a></span>IS_NULLPTR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define IS_NULLPTR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x</td><td>)</td>
<td>&#160;&#160;&#160;(x == nullptr)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a598a3330b3c21701223ee0ca14316eca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a598a3330b3c21701223ee0ca14316eca">&#9670;&nbsp;</a></span>PI</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PI&#160;&#160;&#160;3.1415926f</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa5f4e3d7f412af2f887266042b63bb23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f4e3d7f412af2f887266042b63bb23">&#9670;&nbsp;</a></span>RETURN_IF_NOT_NULLPTR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RETURN_IF_NOT_NULLPTR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;{ if(!<a class="el" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce">IS_NULLPTR</a>(x)) return __VA_ARGS__; }</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad78bed6042757c22a0a7415695d83912"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad78bed6042757c22a0a7415695d83912">&#9670;&nbsp;</a></span>RETURN_IF_NULLPTR</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RETURN_IF_NULLPTR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">x, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;{ if(<a class="el" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce">IS_NULLPTR</a>(x)) return __VA_ARGS__; }</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad0494d8896dbc587136819e261afdc91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0494d8896dbc587136819e261afdc91">&#9670;&nbsp;</a></span>SDLU_BEGIN</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SDLU_BEGIN&#160;&#160;&#160;namespace sdlu {</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6f6f72fed1b9e22bc996980c4da87c5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f6f72fed1b9e22bc996980c4da87c5f">&#9670;&nbsp;</a></span>THROW_IF</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define THROW_IF</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">condition, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">exception&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;( condition ? throw exception : false)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a8e2f2eee0698641fd77fbc489bf5b72a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e2f2eee0698641fd77fbc489bf5b72a">&#9670;&nbsp;</a></span>THROW_IF_NOT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define THROW_IF_NOT</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">condition, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">exception&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;( <a class="el" href="_util_8hpp.html#a6f6f72fed1b9e22bc996980c4da87c5f">THROW_IF</a>(!condition, exception) )</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a6d70d2452bc784cc9a499c567e4b5a77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d70d2452bc784cc9a499c567e4b5a77">&#9670;&nbsp;</a></span>Int16</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int16_t <a class="el" href="_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77">Int16</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a20b0c262d9ef5d263888e463dfa99638"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20b0c262d9ef5d263888e463dfa99638">&#9670;&nbsp;</a></span>Int32</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int32_t <a class="el" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2de3f49eadcae5078cd57134586ee25d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2de3f49eadcae5078cd57134586ee25d">&#9670;&nbsp;</a></span>Int64</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int64_t <a class="el" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a1d6ba23467c5f743eb2b594913650a61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d6ba23467c5f743eb2b594913650a61">&#9670;&nbsp;</a></span>Int8</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int8_t <a class="el" href="_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61">Int8</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a31fcc0a076c9068668173ee26d33e42b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31fcc0a076c9068668173ee26d33e42b">&#9670;&nbsp;</a></span>Uint16</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint16_t <a class="el" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="add440eff171ea5f55cb00c4a9ab8672d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add440eff171ea5f55cb00c4a9ab8672d">&#9670;&nbsp;</a></span>Uint32</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac006cf2bd55a42a9cc8ae9f123aa7e13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac006cf2bd55a42a9cc8ae9f123aa7e13">&#9670;&nbsp;</a></span>Uint64</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint64_t <a class="el" href="_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13">Uint64</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2944638813a090aa23e62f4da842c3e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2944638813a090aa23e62f4da842c3e2">&#9670;&nbsp;</a></span>Uint8</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint8_t <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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="_util_8hpp.html">Util.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>

18
docs/html/_util_8hpp.js Normal file
View file

@ -0,0 +1,18 @@
var _util_8hpp =
[
[ "IS_NULLPTR", "_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce", null ],
[ "PI", "_util_8hpp.html#a598a3330b3c21701223ee0ca14316eca", null ],
[ "RETURN_IF_NOT_NULLPTR", "_util_8hpp.html#aa5f4e3d7f412af2f887266042b63bb23", null ],
[ "RETURN_IF_NULLPTR", "_util_8hpp.html#ad78bed6042757c22a0a7415695d83912", null ],
[ "SDLU_BEGIN", "_util_8hpp.html#ad0494d8896dbc587136819e261afdc91", null ],
[ "THROW_IF", "_util_8hpp.html#a6f6f72fed1b9e22bc996980c4da87c5f", null ],
[ "THROW_IF_NOT", "_util_8hpp.html#a8e2f2eee0698641fd77fbc489bf5b72a", null ],
[ "Int16", "_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77", null ],
[ "Int32", "_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638", null ],
[ "Int64", "_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d", null ],
[ "Int8", "_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61", null ],
[ "Uint16", "_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b", null ],
[ "Uint32", "_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d", null ],
[ "Uint64", "_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13", null ],
[ "Uint8", "_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2", null ]
];

View file

@ -0,0 +1,134 @@
<!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/Util.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('_util_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">Util.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_util_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;cstdint&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a598a3330b3c21701223ee0ca14316eca"> 10</a></span>&#160;<span class="preprocessor">#define PI 3.1415926f</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="_util_8hpp.html#aa4c68e5e049464b06576d7b1a190a9ce"> 12</a></span>&#160;<span class="preprocessor">#define IS_NULLPTR( x ) (x == nullptr)</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"><a class="line" href="_util_8hpp.html#ad78bed6042757c22a0a7415695d83912"> 14</a></span>&#160;<span class="preprocessor">#define RETURN_IF_NULLPTR( x, ... ) { if(IS_NULLPTR(x)) return __VA_ARGS__; }</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="_util_8hpp.html#aa5f4e3d7f412af2f887266042b63bb23"> 15</a></span>&#160;<span class="preprocessor">#define RETURN_IF_NOT_NULLPTR( x, ... ) { if(!IS_NULLPTR(x)) return __VA_ARGS__; }</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2"> 17</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61"> 18</a></span>&#160;<span class="keyword">typedef</span> int8_t <a class="code" href="_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61">Int8</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b"> 20</a></span>&#160;<span class="keyword">typedef</span> uint16_t <a class="code" href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77"> 21</a></span>&#160;<span class="keyword">typedef</span> int16_t <a class="code" href="_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77">Int16</a>;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d"> 23</a></span>&#160;<span class="keyword">typedef</span> uint32_t <a class="code" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638"> 24</a></span>&#160;<span class="keyword">typedef</span> int32_t <a class="code" href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13"> 26</a></span>&#160;<span class="keyword">typedef</span> uint64_t <a class="code" href="_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13">Uint64</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d"> 27</a></span>&#160;<span class="keyword">typedef</span> int64_t <a class="code" href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a6f6f72fed1b9e22bc996980c4da87c5f"> 29</a></span>&#160;<span class="preprocessor">#define THROW_IF( condition, exception ) ( condition ? throw exception : false)</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_util_8hpp.html#a8e2f2eee0698641fd77fbc489bf5b72a"> 30</a></span>&#160;<span class="preprocessor">#define THROW_IF_NOT( condition, exception ) ( THROW_IF(!condition, exception) )</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91"> 32</a></span>&#160;<span class="preprocessor">#define SDLU_BEGIN namespace sdlu {</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#define SDLU_END }</span></div>
<div class="ttc" id="a_util_8hpp_html_a1d6ba23467c5f743eb2b594913650a61"><div class="ttname"><a href="_util_8hpp.html#a1d6ba23467c5f743eb2b594913650a61">Int8</a></div><div class="ttdeci">int8_t Int8</div><div class="ttdef"><b>Definition:</b> Util.hpp:18</div></div>
<div class="ttc" id="a_util_8hpp_html_a20b0c262d9ef5d263888e463dfa99638"><div class="ttname"><a href="_util_8hpp.html#a20b0c262d9ef5d263888e463dfa99638">Int32</a></div><div class="ttdeci">int32_t Int32</div><div class="ttdef"><b>Definition:</b> Util.hpp:24</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_a2de3f49eadcae5078cd57134586ee25d"><div class="ttname"><a href="_util_8hpp.html#a2de3f49eadcae5078cd57134586ee25d">Int64</a></div><div class="ttdeci">int64_t Int64</div><div class="ttdef"><b>Definition:</b> Util.hpp:27</div></div>
<div class="ttc" id="a_util_8hpp_html_a31fcc0a076c9068668173ee26d33e42b"><div class="ttname"><a href="_util_8hpp.html#a31fcc0a076c9068668173ee26d33e42b">Uint16</a></div><div class="ttdeci">uint16_t Uint16</div><div class="ttdef"><b>Definition:</b> Util.hpp:20</div></div>
<div class="ttc" id="a_util_8hpp_html_a6d70d2452bc784cc9a499c567e4b5a77"><div class="ttname"><a href="_util_8hpp.html#a6d70d2452bc784cc9a499c567e4b5a77">Int16</a></div><div class="ttdeci">int16_t Int16</div><div class="ttdef"><b>Definition:</b> Util.hpp:21</div></div>
<div class="ttc" id="a_util_8hpp_html_ac006cf2bd55a42a9cc8ae9f123aa7e13"><div class="ttname"><a href="_util_8hpp.html#ac006cf2bd55a42a9cc8ae9f123aa7e13">Uint64</a></div><div class="ttdeci">uint64_t Uint64</div><div class="ttdef"><b>Definition:</b> Util.hpp:26</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><!-- 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="_util_8hpp.html">Util.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>

View file

@ -0,0 +1,251 @@
<!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/Vector2.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('_vector2_8hpp.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="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">Vector2.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Provides a structure for simple vector calculations.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;type_traits&gt;</code><br />
<code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
</div>
<p><a href="_vector2_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html">Vector2&lt; T, typename &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A struct to handle basic 2D vector operations. <a href="struct_vector2.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a36e88d2e65c41e97d7cd32ab4f5a2209"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></td></tr>
<tr class="separator:a36e88d2e65c41e97d7cd32ab4f5a2209"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a767179840bda2f40b1440cc936cb35eb"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></td></tr>
<tr class="separator:a767179840bda2f40b1440cc936cb35eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83d444bd6cbecb112158663c2e0c213"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></td></tr>
<tr class="separator:aa83d444bd6cbecb112158663c2e0c213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b050d6e00926384f32882b08391ae33"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></td></tr>
<tr class="separator:a5b050d6e00926384f32882b08391ae33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3739462b0605dcb64299fa289b6afe"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></td></tr>
<tr class="separator:a9f3739462b0605dcb64299fa289b6afe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></td></tr>
<tr class="separator:a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24c210e370bbcafa705a5ba97a2f025"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></td></tr>
<tr class="separator:aa24c210e370bbcafa705a5ba97a2f025"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c6badd69e2091503489b6b2cf0aae02"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></td></tr>
<tr class="separator:a4c6badd69e2091503489b6b2cf0aae02"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provides a structure for simple vector calculations. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>16.05.2020 </dd></dl>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a4c6badd69e2091503489b6b2cf0aae02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c6badd69e2091503489b6b2cf0aae02">&#9670;&nbsp;</a></span>Vec2d</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;double&gt; <a class="el" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6b9cbc8191bf5e5c2591f0e8cfb42ed6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">&#9670;&nbsp;</a></span>Vec2f</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;float&gt; <a class="el" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a5b050d6e00926384f32882b08391ae33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b050d6e00926384f32882b08391ae33">&#9670;&nbsp;</a></span>Vec2i</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;int&gt; <a class="el" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a767179840bda2f40b1440cc936cb35eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a767179840bda2f40b1440cc936cb35eb">&#9670;&nbsp;</a></span>Vec2u</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;unsigned int&gt; <a class="el" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa24c210e370bbcafa705a5ba97a2f025"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa24c210e370bbcafa705a5ba97a2f025">&#9670;&nbsp;</a></span>Vector2d</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;double&gt; <a class="el" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a9f3739462b0605dcb64299fa289b6afe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f3739462b0605dcb64299fa289b6afe">&#9670;&nbsp;</a></span>Vector2f</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;float&gt; <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa83d444bd6cbecb112158663c2e0c213"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa83d444bd6cbecb112158663c2e0c213">&#9670;&nbsp;</a></span>Vector2i</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;int&gt; <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a36e88d2e65c41e97d7cd32ab4f5a2209"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36e88d2e65c41e97d7cd32ab4f5a2209">&#9670;&nbsp;</a></span>Vector2u</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a>&lt;unsigned int&gt; <a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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="_vector2_8hpp.html">Vector2.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>

View file

@ -0,0 +1,12 @@
var _vector2_8hpp =
[
[ "Vector2", "struct_vector2.html", "struct_vector2" ],
[ "Vec2d", "_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02", null ],
[ "Vec2f", "_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6", null ],
[ "Vec2i", "_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33", null ],
[ "Vec2u", "_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb", null ],
[ "Vector2d", "_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025", null ],
[ "Vector2f", "_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe", null ],
[ "Vector2i", "_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213", null ],
[ "Vector2u", "_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209", null ]
];

View file

@ -0,0 +1,271 @@
<!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/Vector2.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('_vector2_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">Vector2.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_vector2_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;type_traits&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</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="l00011"></a><span class="lineno"> 11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">template</span>&lt;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">typename</span> T,</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">typename</span> = <span class="keyword">typename</span> std::enable_if&lt;std::is_arithmetic&lt;T&gt;::value, T&gt;::type</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct_vector2.html"> 21</a></span>&#160;&gt; <span class="keyword">struct </span><a class="code" href="struct_vector2.html">Vector2</a></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;{</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f"> 23</a></span>&#160; T <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47"> 24</a></span>&#160; T <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="comment">//################## CONSTRUCTORS ##################//</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57"> 29</a></span>&#160; <a class="code" href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">Vector2</a>() :</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(0), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(0)</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; { </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// Empty</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; }</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd"> 36</a></span>&#160; <a class="code" href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">Vector2</a>(T <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, T <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>) :</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>)</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="comment">// Empty</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; }</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89"> 43</a></span>&#160; <a class="code" href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">Vector2</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; other) :</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(other.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(other.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>)</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="comment">// Empty</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; }</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="comment">//################## OPERATORS ##################//</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6"> 52</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6">operator-</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(-right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, -right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077"> 57</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077">operator+</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; {</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> + right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> + right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</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"> 61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct_vector2.html#a98e159eabaebddf0ec16573815519112"> 62</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#a98e159eabaebddf0ec16573815519112">operator-</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; {</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">return</span> left + (-right);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5"> 67</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5">operator*</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> * right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> * right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; }</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b"> 72</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b">operator/</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> / right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> / right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; }</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="struct_vector2.html#a40592d244935cba2d3840cf919693061"> 77</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#a40592d244935cba2d3840cf919693061">operator*</a>(T left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(left * right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left * right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; }</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5"> 82</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5">operator*</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, T right)</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; {</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">return</span> right * left;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9"> 87</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a> <a class="code" href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9">operator/</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, T right)</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; {</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> / right, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> / right);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; }</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da"> 92</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da">operator+=</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; {</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> += right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> += right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">return</span> left;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; }</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137"> 99</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137">operator-=</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; {</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; left += (-right);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> left;</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="l00105"></a><span class="lineno"><a class="line" href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f"> 105</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f">operator*=</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; {</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> *= right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> *= right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> left;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; }</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e"> 112</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e">operator/</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> /= right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> /= right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">return</span> left;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b"> 119</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b">operator*=</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, T right)</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; {</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> *= right;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> *= right;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">return</span> left;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; }</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d"> 126</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; <a class="code" href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d">operator/=</a>(<a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, T right)</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; {</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> /= right;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> /= right;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">return</span> left;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678"> 133</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678">operator==</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">return</span> ((left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> == right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>) &amp;&amp; (left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> == right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>));</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2"> 138</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2">operator!=</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2&lt;T&gt;</a>&amp; right)</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; {</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">return</span> !(left == right);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;};</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="comment">//################## TYPEDEFS ##################//</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb"> 149</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2&lt;unsigned int&gt;</a> <a class="code" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>, <a class="code" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33"> 150</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2&lt;int&gt;</a> <a class="code" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a>, <a class="code" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6"> 151</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2&lt;float&gt;</a> <a class="code" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>, <a class="code" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02"> 152</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2&lt;double&gt;</a> <a class="code" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a>, <a class="code" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</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_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_vector2_8hpp_html_a36e88d2e65c41e97d7cd32ab4f5a2209"><div class="ttname"><a href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></div><div class="ttdeci">Vector2&lt; unsigned int &gt; Vector2u</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:149</div></div>
<div class="ttc" id="a_vector2_8hpp_html_a4c6badd69e2091503489b6b2cf0aae02"><div class="ttname"><a href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vec2d</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:152</div></div>
<div class="ttc" id="a_vector2_8hpp_html_a5b050d6e00926384f32882b08391ae33"><div class="ttname"><a href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></div><div class="ttdeci">Vector2&lt; int &gt; Vec2i</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:150</div></div>
<div class="ttc" id="a_vector2_8hpp_html_a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><div class="ttname"><a href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></div><div class="ttdeci">Vector2&lt; float &gt; Vec2f</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:151</div></div>
<div class="ttc" id="a_vector2_8hpp_html_a767179840bda2f40b1440cc936cb35eb"><div class="ttname"><a href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></div><div class="ttdeci">Vector2&lt; unsigned int &gt; Vec2u</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:149</div></div>
<div class="ttc" id="a_vector2_8hpp_html_a9f3739462b0605dcb64299fa289b6afe"><div class="ttname"><a href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></div><div class="ttdeci">Vector2&lt; float &gt; Vector2f</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:151</div></div>
<div class="ttc" id="a_vector2_8hpp_html_aa24c210e370bbcafa705a5ba97a2f025"><div class="ttname"><a href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:152</div></div>
<div class="ttc" id="a_vector2_8hpp_html_aa83d444bd6cbecb112158663c2e0c213"><div class="ttname"><a href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></div><div class="ttdeci">Vector2&lt; int &gt; Vector2i</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:150</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 class="ttc" id="astruct_vector2_html_a128bc6743be87cbb770e09a7524049e2"><div class="ttname"><a href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2">Vector2::operator!=</a></div><div class="ttdeci">friend bool operator!=(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:138</div></div>
<div class="ttc" id="astruct_vector2_html_a1950869ee807adaa07af7ec07088fe89"><div class="ttname"><a href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">Vector2::Vector2</a></div><div class="ttdeci">Vector2(const Vector2&lt; T &gt; &amp;other)</div><div class="ttdoc">Copies the components of a vector.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:43</div></div>
<div class="ttc" id="astruct_vector2_html_a1bfd6dcda6169f824c2356a90a421fcd"><div class="ttname"><a href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">Vector2::Vector2</a></div><div class="ttdeci">Vector2(T x, T y)</div><div class="ttdoc">Initializes a vector with default values.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:36</div></div>
<div class="ttc" id="astruct_vector2_html_a3b0d8d656232db9761e0c459626fb1a6"><div class="ttname"><a href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6">Vector2::operator-</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator-(const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:52</div></div>
<div class="ttc" id="astruct_vector2_html_a3d4180688c2f1aa4ae1914bdef94a06e"><div class="ttname"><a href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e">Vector2::operator/</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator/(Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:112</div></div>
<div class="ttc" id="astruct_vector2_html_a40592d244935cba2d3840cf919693061"><div class="ttname"><a href="struct_vector2.html#a40592d244935cba2d3840cf919693061">Vector2::operator*</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator*(T left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:77</div></div>
<div class="ttc" id="astruct_vector2_html_a55a521eeb914e6e20f32d63b7f26ec47"><div class="ttname"><a href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">Vector2::y</a></div><div class="ttdeci">T y</div><div class="ttdoc">y component</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:24</div></div>
<div class="ttc" id="astruct_vector2_html_a6acf5f423812c4045eaad73f2af7334b"><div class="ttname"><a href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b">Vector2::operator/</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator/(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:72</div></div>
<div class="ttc" id="astruct_vector2_html_a72f0e6633e0a30ce575ca3449a80f0da"><div class="ttname"><a href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da">Vector2::operator+=</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator+=(Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:92</div></div>
<div class="ttc" id="astruct_vector2_html_a8139b93789ac0d0642c5a29d1a43c8b9"><div class="ttname"><a href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9">Vector2::operator/</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator/(const Vector2&lt; T &gt; &amp;left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:87</div></div>
<div class="ttc" id="astruct_vector2_html_a97e82fb706a11e3fd9e45c0f9b2e9d57"><div class="ttname"><a href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">Vector2::Vector2</a></div><div class="ttdeci">Vector2()</div><div class="ttdoc">Initializes a zero vector.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:29</div></div>
<div class="ttc" id="astruct_vector2_html_a98e159eabaebddf0ec16573815519112"><div class="ttname"><a href="struct_vector2.html#a98e159eabaebddf0ec16573815519112">Vector2::operator-</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator-(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:62</div></div>
<div class="ttc" id="astruct_vector2_html_a9e8d88f60ab5fbe3a0683d98b3b9c22b"><div class="ttname"><a href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b">Vector2::operator*=</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator*=(Vector2&lt; T &gt; &amp;left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:119</div></div>
<div class="ttc" id="astruct_vector2_html_aba70479668d8bcbc87c9355b20d75077"><div class="ttname"><a href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077">Vector2::operator+</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator+(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:57</div></div>
<div class="ttc" id="astruct_vector2_html_ac573f527fa90fae5ab5be41832a7e20f"><div class="ttname"><a href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">Vector2::x</a></div><div class="ttdeci">T x</div><div class="ttdoc">x component</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:23</div></div>
<div class="ttc" id="astruct_vector2_html_ac873f3e94b54998e6b1c940af4e97678"><div class="ttname"><a href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678">Vector2::operator==</a></div><div class="ttdeci">friend bool operator==(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:133</div></div>
<div class="ttc" id="astruct_vector2_html_ae11ef82119c2cce4f5ce2266ced7a137"><div class="ttname"><a href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137">Vector2::operator-=</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator-=(Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:99</div></div>
<div class="ttc" id="astruct_vector2_html_aebd0564ead3fe6b66908e76611acdf0f"><div class="ttname"><a href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f">Vector2::operator*=</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator*=(Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:105</div></div>
<div class="ttc" id="astruct_vector2_html_af44c84af67417c860ad29a01d1538fc5"><div class="ttname"><a href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5">Vector2::operator*</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator*(const Vector2&lt; T &gt; &amp;left, const Vector2&lt; T &gt; &amp;right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:67</div></div>
<div class="ttc" id="astruct_vector2_html_af7205a70b53fe62ddf9cf5237a80c24d"><div class="ttname"><a href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d">Vector2::operator/=</a></div><div class="ttdeci">friend Vector2&lt; T &gt; &amp; operator/=(Vector2&lt; T &gt; &amp;left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:126</div></div>
<div class="ttc" id="astruct_vector2_html_afaf9b701ccc1954e9f26ce5e04b149a5"><div class="ttname"><a href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5">Vector2::operator*</a></div><div class="ttdeci">friend Vector2&lt; T &gt; operator*(const Vector2&lt; T &gt; &amp;left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:82</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="_vector2_8hpp.html">Vector2.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>

102
docs/html/_window_8cpp.html Normal file
View file

@ -0,0 +1,102 @@
<!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/src/structures/Window.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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_8cpp.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.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;structures/Window.hpp&quot;</code><br />
<code>#include &lt;SDL.h&gt;</code><br />
<code>#include &lt;cstring&gt;</code><br />
<code>#include &quot;structures/Cursor.hpp&quot;</code><br />
</div></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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6272b9d4c8f62107df4c324a97442de0.html">structures</a></li><li class="navelem"><a class="el" href="_window_8cpp.html">Window.cpp</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>

120
docs/html/_window_8hpp.html Normal file
View file

@ -0,0 +1,120 @@
<!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 File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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.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="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Window.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Contains window related objects.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;string&gt;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &quot;<a class="el" href="_util_8hpp_source.html">Util.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_vector2_8hpp_source.html">structures/Vector2.hpp</a>&quot;</code><br />
</div>
<p><a href="_window_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html">Window</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores information about a window. You probably want <a class="el" href="class_render_window.html" title="A class that handles window related functionality.">RenderWindow</a>. <a href="class_window.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Contains window related objects. </p>
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>20.05.20 </dd></dl>
</div></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>

View file

@ -0,0 +1,258 @@
<!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>

115
docs/html/annotated.html Normal file
View file

@ -0,0 +1,115 @@
<!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: Class List</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('annotated.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">Class List</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacesdlu.html" target="_self">sdlu</a></td><td class="desc"></td></tr>
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classsdlu_1_1_rectangle.html" target="_self">Rectangle</a></td><td class="desc"></td></tr>
<tr id="row_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_clock.html" target="_self">Clock</a></td><td class="desc">Essentially a timer </td></tr>
<tr id="row_2_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_color.html" target="_self">Color</a></td><td class="desc">A structure holding color data </td></tr>
<tr id="row_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_cursor.html" target="_self">Cursor</a></td><td class="desc"></td></tr>
<tr id="row_4_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_drawable.html" target="_self">Drawable</a></td><td class="desc">Everything that can be rendered derives from this class </td></tr>
<tr id="row_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_mouse.html" target="_self">Mouse</a></td><td class="desc">A static class that contains/handles data about mouse position and button states </td></tr>
<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_render_target.html" target="_self">RenderTarget</a></td><td class="desc">Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive from it </td></tr>
<tr id="row_7_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_render_window.html" target="_self">RenderWindow</a></td><td class="desc">A class that handles window related functionality </td></tr>
<tr id="row_8_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_shape.html" target="_self">Shape</a></td><td class="desc">The non-instantiable base class for all SDLU shapes </td></tr>
<tr id="row_9_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_time.html" target="_self">Time</a></td><td class="desc">This class wraps std::chrono::duration and defines some conversions for commonly used times </td></tr>
<tr id="row_10_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_transformable.html" target="_self">Transformable</a></td><td class="desc">A class that stores locational information </td></tr>
<tr id="row_11_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_vector2.html" target="_self">Vector2</a></td><td class="desc">A struct to handle basic 2D vector operations </td></tr>
<tr id="row_12_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_window.html" target="_self">Window</a></td><td class="desc">Stores information about a window. You probably want <a class="el" href="class_render_window.html" title="A class that handles window related functionality.">RenderWindow</a> </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,18 @@
var annotated_dup =
[
[ "sdlu", "namespacesdlu.html", [
[ "Rectangle", "classsdlu_1_1_rectangle.html", "classsdlu_1_1_rectangle" ]
] ],
[ "Clock", "class_clock.html", "class_clock" ],
[ "Color", "struct_color.html", "struct_color" ],
[ "Cursor", "class_cursor.html", "class_cursor" ],
[ "Drawable", "class_drawable.html", "class_drawable" ],
[ "Mouse", "class_mouse.html", "class_mouse" ],
[ "RenderTarget", "class_render_target.html", "class_render_target" ],
[ "RenderWindow", "class_render_window.html", "class_render_window" ],
[ "Shape", "class_shape.html", "class_shape" ],
[ "Time", "class_time.html", "class_time" ],
[ "Transformable", "class_transformable.html", "class_transformable" ],
[ "Vector2", "struct_vector2.html", "struct_vector2" ],
[ "Window", "class_window.html", "class_window" ]
];

BIN
docs/html/bc_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

BIN
docs/html/bdwn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

View file

@ -0,0 +1,103 @@
<!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: Member List</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('class_clock.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">Clock Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_clock.html">Clock</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8">Clock</a>()</td><td class="entry"><a class="el" href="class_clock.html">Clock</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf">GetElapsedTime</a>()</td><td class="entry"><a class="el" href="class_clock.html">Clock</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab">Restart</a>()</td><td class="entry"><a class="el" href="class_clock.html">Clock</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

184
docs/html/class_clock.html Normal file
View file

@ -0,0 +1,184 @@
<!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: Clock Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_clock.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_clock-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Clock Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Essentially a timer.
<a href="class_clock.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_clock_8hpp_source.html">Clock.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adbc370eb6b5f8d01645cf440188160a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8">Clock</a> ()</td></tr>
<tr class="memdesc:adbc370eb6b5f8d01645cf440188160a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_clock.html" title="Essentially a timer.">Clock</a>. It has not yet been started, call <a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab" title="Restarts the Clock.">Restart()</a> before doing anything else. <a href="class_clock.html#adbc370eb6b5f8d01645cf440188160a8">More...</a><br /></td></tr>
<tr class="separator:adbc370eb6b5f8d01645cf440188160a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4e54aeb04cbe28644343eee710bbdaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf">GetElapsedTime</a> ()</td></tr>
<tr class="memdesc:ad4e54aeb04cbe28644343eee710bbdaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time elapsed since the last <a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab" title="Restarts the Clock.">Restart()</a> call. <a href="class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf">More...</a><br /></td></tr>
<tr class="separator:ad4e54aeb04cbe28644343eee710bbdaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5909f7677c453f589ef109c5e30251ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab">Restart</a> ()</td></tr>
<tr class="memdesc:a5909f7677c453f589ef109c5e30251ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restarts the <a class="el" href="class_clock.html" title="Essentially a timer.">Clock</a>. <a href="class_clock.html#a5909f7677c453f589ef109c5e30251ab">More...</a><br /></td></tr>
<tr class="separator:a5909f7677c453f589ef109c5e30251ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Essentially a timer. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="adbc370eb6b5f8d01645cf440188160a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbc370eb6b5f8d01645cf440188160a8">&#9670;&nbsp;</a></span>Clock()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Clock::Clock </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="class_clock.html" title="Essentially a timer.">Clock</a>. It has not yet been started, call <a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab" title="Restarts the Clock.">Restart()</a> before doing anything else. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad4e54aeb04cbe28644343eee710bbdaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4e54aeb04cbe28644343eee710bbdaf">&#9670;&nbsp;</a></span>GetElapsedTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_time.html">Time</a> Clock::GetElapsedTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the time elapsed since the last <a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab" title="Restarts the Clock.">Restart()</a> call. </p>
</div>
</div>
<a id="a5909f7677c453f589ef109c5e30251ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5909f7677c453f589ef109c5e30251ab">&#9670;&nbsp;</a></span>Restart()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_time.html">Time</a> Clock::Restart </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Restarts the <a class="el" href="class_clock.html" title="Essentially a timer.">Clock</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>The time elapsed since the last <a class="el" href="class_clock.html#a5909f7677c453f589ef109c5e30251ab" title="Restarts the Clock.">Restart()</a> call. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_clock_8hpp_source.html">Clock.hpp</a></li>
</ul>
</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="class_clock.html">Clock</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>

6
docs/html/class_clock.js Normal file
View file

@ -0,0 +1,6 @@
var class_clock =
[
[ "Clock", "class_clock.html#adbc370eb6b5f8d01645cf440188160a8", null ],
[ "GetElapsedTime", "class_clock.html#ad4e54aeb04cbe28644343eee710bbdaf", null ],
[ "Restart", "class_clock.html#a5909f7677c453f589ef109c5e30251ab", null ]
];

View file

@ -0,0 +1,110 @@
<!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: Member List</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('class_cursor.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">Cursor Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_cursor.html">Cursor</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_cursor.html#a126c5677653ce46f555eaee0f3881fae">Cursor</a>()</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd">Cursor</a>(Type type)</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_cursor.html#ace847a3f319f4393823a5da050dae526">Cursor</a>(const Cursor &amp;other)=delete</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803">Cursor</a>(Cursor &amp;&amp;other) noexcept</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1">LoadFromPixels</a>(const Uint8 *pixels, Vector2u size, Vector2u hotspot)</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_cursor.html#a888633271180cd0b7d1e3213a1bfee00">LoadFromSurface</a>(SDL_Surface *surface, Vector2u hotspot)</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_cursor.html#aae90dcd92936cba7e3aaec98b7261156">LoadFromSystem</a>(Type type)</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> enum name</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_cursor.html#a553f958a25683445088050a69d3de8e9">Window</a> class</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_cursor.html#a025d505a120236dc61a889bd5b0aef16">~Cursor</a>()</td><td class="entry"><a class="el" href="class_cursor.html">Cursor</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

400
docs/html/class_cursor.html Normal file
View file

@ -0,0 +1,400 @@
<!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: Cursor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_cursor.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="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_cursor-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Cursor Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_cursor_8hpp_source.html">Cursor.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa99dd82cd449a09a73160d6026654d58"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> { <br />
&#160;&#160;<a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e">Arrow</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61">IBeam</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652">Wait</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd">Crosshair</a>
, <br />
&#160;&#160;<a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2">WaitArrow</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09">SizeNWSE</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf">SizeNESW</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd">SizeWE</a>
, <br />
&#160;&#160;<a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6">SizeNS</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea">SizeAll</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b">No</a>
, <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604">Hand</a>
<br />
}</td></tr>
<tr class="separator:aa99dd82cd449a09a73160d6026654d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a126c5677653ce46f555eaee0f3881fae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#a126c5677653ce46f555eaee0f3881fae">Cursor</a> ()</td></tr>
<tr class="separator:a126c5677653ce46f555eaee0f3881fae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a269e7ae29fa52c4ae8e57e966a97cadd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd">Cursor</a> (<a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> type)</td></tr>
<tr class="separator:a269e7ae29fa52c4ae8e57e966a97cadd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace847a3f319f4393823a5da050dae526"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#ace847a3f319f4393823a5da050dae526">Cursor</a> (const <a class="el" href="class_cursor.html">Cursor</a> &amp;other)=delete</td></tr>
<tr class="separator:ace847a3f319f4393823a5da050dae526"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7353cb11dd1040e498e81a3b7b4c803"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803">Cursor</a> (<a class="el" href="class_cursor.html">Cursor</a> &amp;&amp;other) noexcept</td></tr>
<tr class="separator:ab7353cb11dd1040e498e81a3b7b4c803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a025d505a120236dc61a889bd5b0aef16"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#a025d505a120236dc61a889bd5b0aef16">~Cursor</a> ()</td></tr>
<tr class="separator:a025d505a120236dc61a889bd5b0aef16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa52d3c672d1ff5e824696eb9f6d40df1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1">LoadFromPixels</a> (const <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> *pixels, <a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> size, <a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> hotspot)</td></tr>
<tr class="separator:aa52d3c672d1ff5e824696eb9f6d40df1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a888633271180cd0b7d1e3213a1bfee00"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#a888633271180cd0b7d1e3213a1bfee00">LoadFromSurface</a> (SDL_Surface *surface, <a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> hotspot)</td></tr>
<tr class="separator:a888633271180cd0b7d1e3213a1bfee00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae90dcd92936cba7e3aaec98b7261156"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#aae90dcd92936cba7e3aaec98b7261156">LoadFromSystem</a> (<a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a> type)</td></tr>
<tr class="separator:aae90dcd92936cba7e3aaec98b7261156"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a553f958a25683445088050a69d3de8e9"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cursor.html#a553f958a25683445088050a69d3de8e9">Window</a></td></tr>
<tr class="separator:a553f958a25683445088050a69d3de8e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="aa99dd82cd449a09a73160d6026654d58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa99dd82cd449a09a73160d6026654d58">&#9670;&nbsp;</a></span>Type</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Cursor::Type</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e"></a>Arrow&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61"></a>IBeam&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652"></a>Wait&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd"></a>Crosshair&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2"></a>WaitArrow&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09"></a>SizeNWSE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf"></a>SizeNESW&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd"></a>SizeWE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6"></a>SizeNS&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea"></a>SizeAll&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b"></a>No&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604"></a>Hand&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a126c5677653ce46f555eaee0f3881fae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a126c5677653ce46f555eaee0f3881fae">&#9670;&nbsp;</a></span>Cursor() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Cursor::Cursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a269e7ae29fa52c4ae8e57e966a97cadd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a269e7ae29fa52c4ae8e57e966a97cadd">&#9670;&nbsp;</a></span>Cursor() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Cursor::Cursor </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ace847a3f319f4393823a5da050dae526"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace847a3f319f4393823a5da050dae526">&#9670;&nbsp;</a></span>Cursor() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Cursor::Cursor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_cursor.html">Cursor</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab7353cb11dd1040e498e81a3b7b4c803"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7353cb11dd1040e498e81a3b7b4c803">&#9670;&nbsp;</a></span>Cursor() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Cursor::Cursor </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_cursor.html">Cursor</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a025d505a120236dc61a889bd5b0aef16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a025d505a120236dc61a889bd5b0aef16">&#9670;&nbsp;</a></span>~Cursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Cursor::~Cursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa52d3c672d1ff5e824696eb9f6d40df1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52d3c672d1ff5e824696eb9f6d40df1">&#9670;&nbsp;</a></span>LoadFromPixels()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Cursor::LoadFromPixels </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> *&#160;</td>
<td class="paramname"><em>pixels</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>&#160;</td>
<td class="paramname"><em>hotspot</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a888633271180cd0b7d1e3213a1bfee00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a888633271180cd0b7d1e3213a1bfee00">&#9670;&nbsp;</a></span>LoadFromSurface()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Cursor::LoadFromSurface </td>
<td>(</td>
<td class="paramtype">SDL_Surface *&#160;</td>
<td class="paramname"><em>surface</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>&#160;</td>
<td class="paramname"><em>hotspot</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aae90dcd92936cba7e3aaec98b7261156"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae90dcd92936cba7e3aaec98b7261156">&#9670;&nbsp;</a></span>LoadFromSystem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Cursor::LoadFromSystem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_cursor.html#aa99dd82cd449a09a73160d6026654d58">Type</a>&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a553f958a25683445088050a69d3de8e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a553f958a25683445088050a69d3de8e9">&#9670;&nbsp;</a></span>Window</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="class_window.html">Window</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_cursor_8hpp_source.html">Cursor.hpp</a></li>
</ul>
</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="class_cursor.html">Cursor</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>

26
docs/html/class_cursor.js Normal file
View file

@ -0,0 +1,26 @@
var class_cursor =
[
[ "Type", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58", [
[ "Arrow", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f4e1aaabd074689b7d3ead824d1ee8e", null ],
[ "IBeam", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a4ca8b47601e7a843e23d0139a8a4ff61", null ],
[ "Wait", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0f68101772bd5397ef8eb1b632798652", null ],
[ "Crosshair", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a0a7ad1fc7e1bda1d661fc937c4e6eedd", null ],
[ "WaitArrow", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a437d4d25369ccdb9d2904d2e580690f2", null ],
[ "SizeNWSE", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a8cfa3f5cbcc23e58611dc92662ddac09", null ],
[ "SizeNESW", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6f0db7974d460608c90ad08e351619cf", null ],
[ "SizeWE", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a520236df30bebadfd156ccc777bb84cd", null ],
[ "SizeNS", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58ad24a7fbad35193c43fb833d4c3b33fb6", null ],
[ "SizeAll", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58a6ba8042ceea48823ba6c4c72b9354cea", null ],
[ "No", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58abafd7322c6e97d25b6299b5d6fe8920b", null ],
[ "Hand", "class_cursor.html#aa99dd82cd449a09a73160d6026654d58aa78b1ac16c0cd02168097fc9a9bd7604", null ]
] ],
[ "Cursor", "class_cursor.html#a126c5677653ce46f555eaee0f3881fae", null ],
[ "Cursor", "class_cursor.html#a269e7ae29fa52c4ae8e57e966a97cadd", null ],
[ "Cursor", "class_cursor.html#ace847a3f319f4393823a5da050dae526", null ],
[ "Cursor", "class_cursor.html#ab7353cb11dd1040e498e81a3b7b4c803", null ],
[ "~Cursor", "class_cursor.html#a025d505a120236dc61a889bd5b0aef16", null ],
[ "LoadFromPixels", "class_cursor.html#aa52d3c672d1ff5e824696eb9f6d40df1", null ],
[ "LoadFromSurface", "class_cursor.html#a888633271180cd0b7d1e3213a1bfee00", null ],
[ "LoadFromSystem", "class_cursor.html#aae90dcd92936cba7e3aaec98b7261156", null ],
[ "Window", "class_cursor.html#a553f958a25683445088050a69d3de8e9", null ]
];

View file

@ -0,0 +1,106 @@
<!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: Member List</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('class_drawable.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">Drawable Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_drawable.html">Drawable</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Draw</a>(SDL_Renderer *const target) const =0</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a>(Drawable &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a>()</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#aa5afc6f82b7b587ed5ada4d227ce32aa">RenderTarget</a> class</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,301 @@
<!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: Drawable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_drawable.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_drawable-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Drawable Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Everything that can be rendered derives from this class.
<a href="class_drawable.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_drawable_8hpp_source.html">Drawable.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Drawable:</div>
<div class="dyncontent">
<div class="center">
<img src="class_drawable.png" usemap="#Drawable_map" alt=""/>
<map id="Drawable_map" name="Drawable_map">
<area href="class_shape.html" title="The non-instantiable base class for all SDLU shapes." alt="Shape" shape="rect" coords="0,56,97,80"/>
<area href="classsdlu_1_1_rectangle.html" alt="sdlu::Rectangle" shape="rect" coords="0,112,97,136"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3d6fd34a29f7d6d861828e65aa02cb39"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a3d6fd34a29f7d6d861828e65aa02cb39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f24cac47fa9281aa9b50d0cb47c353d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a> (<a class="el" href="class_drawable.html">Drawable</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a1f24cac47fa9281aa9b50d0cb47c353d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02393acfdc07d52b5e318352064c2327"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a02393acfdc07d52b5e318352064c2327"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aac88608db6081da479c772c96636acb1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a> ()</td></tr>
<tr class="separator:aac88608db6081da479c772c96636acb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae50710a7322d5ab41019739213f5bbed"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Draw</a> (SDL_Renderer *const target) const =0</td></tr>
<tr class="separator:ae50710a7322d5ab41019739213f5bbed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aa5afc6f82b7b587ed5ada4d227ce32aa"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#aa5afc6f82b7b587ed5ada4d227ce32aa">RenderTarget</a></td></tr>
<tr class="separator:aa5afc6f82b7b587ed5ada4d227ce32aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Everything that can be rendered derives from this class. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3d6fd34a29f7d6d861828e65aa02cb39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d6fd34a29f7d6d861828e65aa02cb39">&#9670;&nbsp;</a></span>Drawable() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Drawable::Drawable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a1f24cac47fa9281aa9b50d0cb47c353d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f24cac47fa9281aa9b50d0cb47c353d">&#9670;&nbsp;</a></span>Drawable() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Drawable::Drawable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_drawable.html">Drawable</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aac88608db6081da479c772c96636acb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac88608db6081da479c772c96636acb1">&#9670;&nbsp;</a></span>Drawable() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Drawable::Drawable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae50710a7322d5ab41019739213f5bbed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae50710a7322d5ab41019739213f5bbed">&#9670;&nbsp;</a></span>Draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Drawable::Draw </td>
<td>(</td>
<td class="paramtype">SDL_Renderer *const&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">sdlu::Rectangle</a>.</p>
</div>
</div>
<a id="a02393acfdc07d52b5e318352064c2327"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02393acfdc07d52b5e318352064c2327">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_drawable.html">Drawable</a>&amp; Drawable::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="aa5afc6f82b7b587ed5ada4d227ce32aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5afc6f82b7b587ed5ada4d227ce32aa">&#9670;&nbsp;</a></span>RenderTarget</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="class_render_target.html">RenderTarget</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/drawable/<a class="el" href="_drawable_8hpp_source.html">Drawable.hpp</a></li>
</ul>
</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="class_drawable.html">Drawable</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>

View file

@ -0,0 +1,9 @@
var class_drawable =
[
[ "Drawable", "class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39", null ],
[ "Drawable", "class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d", null ],
[ "Drawable", "class_drawable.html#aac88608db6081da479c772c96636acb1", null ],
[ "Draw", "class_drawable.html#ae50710a7322d5ab41019739213f5bbed", null ],
[ "operator=", "class_drawable.html#a02393acfdc07d52b5e318352064c2327", null ],
[ "RenderTarget", "class_drawable.html#aa5afc6f82b7b587ed5ada4d227ce32aa", null ]
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

View file

@ -0,0 +1,107 @@
<!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: Member List</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('class_mouse.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">Mouse Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_mouse.html">Mouse</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a> enum name</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b">GetButtonState</a>()</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a">GetPosition</a>()</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e">GetPosition</a>(const RenderWindow &amp;relativeTo)</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_mouse.html#a03c02466c8713509e0bed311e55520a6">IsButtonDown</a>(Button button)</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5">SetPosition</a>(const Vector2i &amp;position)</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e">SetPosition</a>(const Vector2i &amp;position, const RenderWindow &amp;relativeTo)</td><td class="entry"><a class="el" href="class_mouse.html">Mouse</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

386
docs/html/class_mouse.html Normal file
View file

@ -0,0 +1,386 @@
<!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: Mouse Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_mouse.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="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_mouse-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Mouse Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A static class that contains/handles data about mouse position and button states.
<a href="class_mouse.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_mouse_8hpp_source.html">Mouse.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a2189c95ac90001266b97105c25085270"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a> { <br />
&#160;&#160;<a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff">Left</a> = 1
, <a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c">Right</a> = 2
, <a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05">Middle</a> = 3
, <a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428">XButton1</a> = 4
, <br />
&#160;&#160;<a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d">XButton2</a> = 5
<br />
}</td></tr>
<tr class="memdesc:a2189c95ac90001266b97105c25085270"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_mouse.html" title="A static class that contains/handles data about mouse position and button states.">Mouse</a> buttons. <a href="class_mouse.html#a2189c95ac90001266b97105c25085270">More...</a><br /></td></tr>
<tr class="separator:a2189c95ac90001266b97105c25085270"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a07faafbfb9f42a45b155fdd0c98a027b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b">GetButtonState</a> ()</td></tr>
<tr class="memdesc:a07faafbfb9f42a45b155fdd0c98a027b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current mouse button state. <a href="class_mouse.html#a07faafbfb9f42a45b155fdd0c98a027b">More...</a><br /></td></tr>
<tr class="separator:a07faafbfb9f42a45b155fdd0c98a027b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03c02466c8713509e0bed311e55520a6"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#a03c02466c8713509e0bed311e55520a6">IsButtonDown</a> (<a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a> button)</td></tr>
<tr class="memdesc:a03c02466c8713509e0bed311e55520a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a specific button is pressed. <a href="class_mouse.html#a03c02466c8713509e0bed311e55520a6">More...</a><br /></td></tr>
<tr class="separator:a03c02466c8713509e0bed311e55520a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab18b92fb5eb5fecf6918d0dcbe696a2a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a">GetPosition</a> ()</td></tr>
<tr class="memdesc:ab18b92fb5eb5fecf6918d0dcbe696a2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the absolute position of the mouse. <a href="class_mouse.html#ab18b92fb5eb5fecf6918d0dcbe696a2a">More...</a><br /></td></tr>
<tr class="separator:ab18b92fb5eb5fecf6918d0dcbe696a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad92df5406cb8d429314fa17eaa40ce1e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e">GetPosition</a> (const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;relativeTo)</td></tr>
<tr class="memdesc:ad92df5406cb8d429314fa17eaa40ce1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets current relative position of the mouse. <a href="class_mouse.html#ad92df5406cb8d429314fa17eaa40ce1e">More...</a><br /></td></tr>
<tr class="separator:ad92df5406cb8d429314fa17eaa40ce1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf9d858fb89d23a9227602c169b209f5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5">SetPosition</a> (const <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> &amp;position)</td></tr>
<tr class="memdesc:adf9d858fb89d23a9227602c169b209f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the absolute position of the mouse. <a href="class_mouse.html#adf9d858fb89d23a9227602c169b209f5">More...</a><br /></td></tr>
<tr class="separator:adf9d858fb89d23a9227602c169b209f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa904df11f52c1484e0630144c6e4e0e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e">SetPosition</a> (const <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> &amp;position, const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;relativeTo)</td></tr>
<tr class="memdesc:aaa904df11f52c1484e0630144c6e4e0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets current relative position of the mouse. <a href="class_mouse.html#aaa904df11f52c1484e0630144c6e4e0e">More...</a><br /></td></tr>
<tr class="separator:aaa904df11f52c1484e0630144c6e4e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A static class that contains/handles data about mouse position and button states. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a2189c95ac90001266b97105c25085270"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2189c95ac90001266b97105c25085270">&#9670;&nbsp;</a></span>Button</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Mouse::Button</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_mouse.html" title="A static class that contains/handles data about mouse position and button states.">Mouse</a> buttons. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff"></a>Left&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c"></a>Right&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05"></a>Middle&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428"></a>XButton1&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d"></a>XButton2&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a07faafbfb9f42a45b155fdd0c98a027b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07faafbfb9f42a45b155fdd0c98a027b">&#9670;&nbsp;</a></span>GetButtonState()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> Mouse::GetButtonState </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current mouse button state. </p>
<dl class="section return"><dt>Returns</dt><dd>A 32-bit mask of the current button state </dd></dl>
</div>
</div>
<a id="ab18b92fb5eb5fecf6918d0dcbe696a2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab18b92fb5eb5fecf6918d0dcbe696a2a">&#9670;&nbsp;</a></span>GetPosition() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> Mouse::GetPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the absolute position of the mouse. </p>
<dl class="section return"><dt>Returns</dt><dd>Current mouse position relative to screen </dd></dl>
</div>
</div>
<a id="ad92df5406cb8d429314fa17eaa40ce1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad92df5406cb8d429314fa17eaa40ce1e">&#9670;&nbsp;</a></span>GetPosition() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> Mouse::GetPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;&#160;</td>
<td class="paramname"><em>relativeTo</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets current relative position of the mouse. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">relativeTo</td><td>The window the mouse position should be relative to </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The position of the mouse relative to the top left of the passed window object </dd></dl>
</div>
</div>
<a id="a03c02466c8713509e0bed311e55520a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03c02466c8713509e0bed311e55520a6">&#9670;&nbsp;</a></span>IsButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool Mouse::IsButtonDown </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_mouse.html#a2189c95ac90001266b97105c25085270">Button</a>&#160;</td>
<td class="paramname"><em>button</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if a specific button is pressed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">button</td><td>The button to check </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the button is pressed </dd></dl>
</div>
</div>
<a id="adf9d858fb89d23a9227602c169b209f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf9d858fb89d23a9227602c169b209f5">&#9670;&nbsp;</a></span>SetPosition() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Mouse::SetPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> &amp;&#160;</td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the absolute position of the mouse. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A 2D vector of the new position </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aaa904df11f52c1484e0630144c6e4e0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa904df11f52c1484e0630144c6e4e0e">&#9670;&nbsp;</a></span>SetPosition() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Mouse::SetPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> &amp;&#160;</td>
<td class="paramname"><em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;&#160;</td>
<td class="paramname"><em>relativeTo</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets current relative position of the mouse. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A 2D vector of the new position </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">relativeTo</td><td>The window the mouse position should be relative to </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_mouse_8hpp_source.html">Mouse.hpp</a></li>
</ul>
</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="class_mouse.html">Mouse</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>

10
docs/html/class_mouse.js Normal file
View file

@ -0,0 +1,10 @@
var class_mouse =
[
[ "Button", "class_mouse.html#a2189c95ac90001266b97105c25085270", [
[ "Left", "class_mouse.html#a2189c95ac90001266b97105c25085270a945d5e233cf7d6240f6b783b36a374ff", null ],
[ "Right", "class_mouse.html#a2189c95ac90001266b97105c25085270a92b09c7c48c520c3c55e497875da437c", null ],
[ "Middle", "class_mouse.html#a2189c95ac90001266b97105c25085270ab1ca34f82e83c52b010f86955f264e05", null ],
[ "XButton1", "class_mouse.html#a2189c95ac90001266b97105c25085270aac8e5aa1a680bd64e6fb9313db5b4428", null ],
[ "XButton2", "class_mouse.html#a2189c95ac90001266b97105c25085270a7af9d9a16f813c045a3dbe8068a13f4d", null ]
] ]
];

View file

@ -0,0 +1,108 @@
<!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: Member List</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('class_render_target.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">RenderTarget Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_render_target.html">RenderTarget</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">Clear</a>(const Color &amp;color=Color::Black)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">Display</a>()</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">Draw</a>(const Drawable &amp;drawable)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">renderer</a></td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget</a>(SDL_Window *target)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget</a>(SDL_Surface *target)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">SetMaxFramerate</a>(Uint32 max)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">~RenderTarget</a>()</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,373 @@
<!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: RenderTarget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_render_target.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_render_target-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">RenderTarget Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive from it.
<a href="class_render_target.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_render_target_8hpp_source.html">RenderTarget.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for RenderTarget:</div>
<div class="dyncontent">
<div class="center">
<img src="class_render_target.png" usemap="#RenderTarget_map" alt=""/>
<map id="RenderTarget_map" name="RenderTarget_map">
<area href="class_render_window.html" title="A class that handles window related functionality." alt="RenderWindow" shape="rect" coords="0,56,97,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1c07261ebc98a3df5614bb888e89d4df"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">~RenderTarget</a> ()</td></tr>
<tr class="separator:a1c07261ebc98a3df5614bb888e89d4df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af791541da67f68df05c3cab09847ac0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">Clear</a> (const <a class="el" href="struct_color.html">Color</a> &amp;color=<a class="el" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a>)</td></tr>
<tr class="memdesc:af791541da67f68df05c3cab09847ac0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the display. <a href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">More...</a><br /></td></tr>
<tr class="separator:af791541da67f68df05c3cab09847ac0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a3c1960de17ee0bc6c9802522ca43f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">Draw</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;drawable)</td></tr>
<tr class="memdesc:a1a3c1960de17ee0bc6c9802522ca43f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a sdlu::Drawable to the SDL_Renderer. <a href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">More...</a><br /></td></tr>
<tr class="separator:a1a3c1960de17ee0bc6c9802522ca43f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc1f4a4f3b8976cdfd3f7db43869eca9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">Display</a> ()</td></tr>
<tr class="memdesc:abc1f4a4f3b8976cdfd3f7db43869eca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the current state of the renderer to the screen. <a href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">More...</a><br /></td></tr>
<tr class="separator:abc1f4a4f3b8976cdfd3f7db43869eca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c60b9fd9dc7572c432a52a115de13c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">SetMaxFramerate</a> (<a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> max)</td></tr>
<tr class="memdesc:a20c60b9fd9dc7572c432a52a115de13c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a maximum framerate on the display function. <a href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">More...</a><br /></td></tr>
<tr class="separator:a20c60b9fd9dc7572c432a52a115de13c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:afcbabdc636f3175dea0ffb28952197c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget</a> (SDL_Window *target)</td></tr>
<tr class="memdesc:afcbabdc636f3175dea0ffb28952197c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create Renderer and bind it to a window. <a href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">More...</a><br /></td></tr>
<tr class="separator:afcbabdc636f3175dea0ffb28952197c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f10a829b1882c62469333b116511bc1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget</a> (SDL_Surface *target)</td></tr>
<tr class="memdesc:a3f10a829b1882c62469333b116511bc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create Renderer and bind it to a texture. <a href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">More...</a><br /></td></tr>
<tr class="separator:a3f10a829b1882c62469333b116511bc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8d9f84514352b098dc9ee7b5eae59ff8"><td class="memItemLeft" align="right" valign="top">SDL_Renderer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">renderer</a></td></tr>
<tr class="memdesc:a8d9f84514352b098dc9ee7b5eae59ff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The renderer object. <a href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">More...</a><br /></td></tr>
<tr class="separator:a8d9f84514352b098dc9ee7b5eae59ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Acts as a wrapper for SDL_Renderer*. You can't (and shouldn't) instantiate this, but rather derive from it. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1c07261ebc98a3df5614bb888e89d4df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c07261ebc98a3df5614bb888e89d4df">&#9670;&nbsp;</a></span>~RenderTarget()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual RenderTarget::~RenderTarget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afcbabdc636f3175dea0ffb28952197c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcbabdc636f3175dea0ffb28952197c3">&#9670;&nbsp;</a></span>RenderTarget() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RenderTarget::RenderTarget </td>
<td>(</td>
<td class="paramtype">SDL_Window *&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create Renderer and bind it to a window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The SDL_Window to bind to </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3f10a829b1882c62469333b116511bc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f10a829b1882c62469333b116511bc1">&#9670;&nbsp;</a></span>RenderTarget() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RenderTarget::RenderTarget </td>
<td>(</td>
<td class="paramtype">SDL_Surface *&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create Renderer and bind it to a texture. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The SDL_Surface to bind to </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af791541da67f68df05c3cab09847ac0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af791541da67f68df05c3cab09847ac0f">&#9670;&nbsp;</a></span>Clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RenderTarget::Clear </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>color</em> = <code><a class="el" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears the display. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">color</td><td>The color to clear the display with </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abc1f4a4f3b8976cdfd3f7db43869eca9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc1f4a4f3b8976cdfd3f7db43869eca9">&#9670;&nbsp;</a></span>Display()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RenderTarget::Display </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Display the current state of the renderer to the screen. </p>
</div>
</div>
<a id="a1a3c1960de17ee0bc6c9802522ca43f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a3c1960de17ee0bc6c9802522ca43f3">&#9670;&nbsp;</a></span>Draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RenderTarget::Draw </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td>
<td class="paramname"><em>drawable</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a sdlu::Drawable to the SDL_Renderer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">drawable</td><td>A reference to a derived class of <a class="el" href="class_drawable.html" title="Everything that can be rendered derives from this class.">Drawable</a> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a20c60b9fd9dc7572c432a52a115de13c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20c60b9fd9dc7572c432a52a115de13c">&#9670;&nbsp;</a></span>SetMaxFramerate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RenderTarget::SetMaxFramerate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td>
<td class="paramname"><em>max</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a maximum framerate on the display function. </p>
<p>If the maximum framerate is not 0, SDL_Delay() will be called after each <a class="el" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9" title="Display the current state of the renderer to the screen.">Display()</a> to ensure that the time between displays is not shorter than the framerate limit.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">max</td><td>The new maximum framerate </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8d9f84514352b098dc9ee7b5eae59ff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d9f84514352b098dc9ee7b5eae59ff8">&#9670;&nbsp;</a></span>renderer</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">SDL_Renderer* RenderTarget::renderer</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The renderer object. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/<a class="el" href="_render_target_8hpp_source.html">RenderTarget.hpp</a></li>
</ul>
</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="class_render_target.html">RenderTarget</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>

View file

@ -0,0 +1,11 @@
var class_render_target =
[
[ "~RenderTarget", "class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df", null ],
[ "RenderTarget", "class_render_target.html#afcbabdc636f3175dea0ffb28952197c3", null ],
[ "RenderTarget", "class_render_target.html#a3f10a829b1882c62469333b116511bc1", null ],
[ "Clear", "class_render_target.html#af791541da67f68df05c3cab09847ac0f", null ],
[ "Display", "class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9", null ],
[ "Draw", "class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3", null ],
[ "SetMaxFramerate", "class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c", null ],
[ "renderer", "class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8", null ]
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

View file

@ -0,0 +1,159 @@
<!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: Member List</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('class_render_window.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">RenderWindow Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_render_window.html">RenderWindow</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34">Borderless</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">Clear</a>(const Color &amp;color=Color::Black)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a4ef67808752d9e9b618859e698f31362">Close</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#af74d004bddf986f316fe54269f733fca">Create</a>(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">Display</a>()</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">Draw</a>(const Drawable &amp;drawable)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0">Flags</a> enum name</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d">Foregin</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Fullscreen</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4">FullscreenDesktop</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a85002103c92958c59fc21bcf7041403d">GetPosition</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">GetSize</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">GetTitle</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">GetWindow</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268">Hidden</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392">InputFocus</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf">InputGrabbed</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">IsOpen</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf">Maximized</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022">Minimized</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4">MouseFocus</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0">OnClose</a>()</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab">OnCreate</a>()</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884">OnResize</a>()</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9">OpenGL</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">PollEvent</a>(SDL_Event *event)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">renderer</a></td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget</a>(SDL_Window *target)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget</a>(SDL_Surface *target)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952">RenderWindow</a>()</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4">RenderWindow</a>(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags=Window::Flags::Shown)</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef">RenderWindow</a>(const RenderWindow &amp;other)=delete</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_window.html#a42b60cb6ec327448c03b64610e25c38b">RenderWindow</a>(const RenderWindow &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8">Resizable</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a501612c893d5e0e32fe43af476f9624c">SetIcon</a>(Uint32 width, Uint32 height, const Uint8 *pixels)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">SetIcon</a>(Uint32 width, Uint32 height, const Uint32 *pixels)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aaf5ca853594504788e13789e8018bbac">SetIcon</a>(SDL_Surface *icon)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">SetMaxFramerate</a>(Uint32 max)</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">SetMouseCursor</a>(SDL_Cursor *cursor)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">SetMouseCursor</a>(const Cursor &amp;cursor)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#ae3514e6471ef00a3a109855b5408caac">SetMouseCursorGrabbed</a>(bool grabbed)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">SetMouseCursorVisible</a>(bool visible)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">SetPosition</a>(Vector2i position)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">SetPosition</a>(int x, int y)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">SetSize</a>(Vector2u size)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">SetSize</a>(unsigned int width, unsigned int height)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">SetTitle</a>(std::string title)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">SetVisible</a>(bool visible)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a883027178d805d82c6bead962ee5fcea">SetVsync</a>(bool vsync)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a">Shown</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a4421c838374771e6b9c8681a69e25daf">WaitEvent</a>(SDL_Event *event)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">Window</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">Window</a>(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a362fb58d60e3254edddfe71e546e6993">Window</a>(const Window &amp;other)=delete</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a">Window</a>(Window &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820">window</a></td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">~RenderTarget</a>()</td><td class="entry"><a class="el" href="class_render_target.html">RenderTarget</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc">~RenderWindow</a>()</td><td class="entry"><a class="el" href="class_render_window.html">RenderWindow</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9">~Window</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,515 @@
<!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: RenderWindow Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_render_window.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_render_window-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">RenderWindow Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A class that handles window related functionality.
<a href="class_render_window.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_render_window_8hpp_source.html">RenderWindow.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for RenderWindow:</div>
<div class="dyncontent">
<div class="center">
<img src="class_render_window.png" usemap="#RenderWindow_map" alt=""/>
<map id="RenderWindow_map" name="RenderWindow_map">
<area href="class_window.html" title="Stores information about a window. You probably want RenderWindow." alt="Window" shape="rect" coords="0,0,97,24"/>
<area href="class_render_target.html" title="Acts as a wrapper for SDL_Renderer*. You can&#39;t (and shouldn&#39;t) instantiate this, but rather derive fr..." alt="RenderTarget" shape="rect" coords="107,0,204,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac644ce5a7654e4cdbc5a644bd9e02952"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952">RenderWindow</a> ()</td></tr>
<tr class="memdesc:ac644ce5a7654e4cdbc5a644bd9e02952"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. No window or renderer is created. <a href="class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952">More...</a><br /></td></tr>
<tr class="separator:ac644ce5a7654e4cdbc5a644bd9e02952"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47e4b099bacd3f79ae03ca56770d38a4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4">RenderWindow</a> (<a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> dimension, const std::string &amp;title, <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags=Window::Flags::Shown)</td></tr>
<tr class="memdesc:a47e4b099bacd3f79ae03ca56770d38a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a window and renderer with the given parameters. <a href="class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4">More...</a><br /></td></tr>
<tr class="separator:a47e4b099bacd3f79ae03ca56770d38a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f395ca25a39a29631b4c5df6dfa9eef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef">RenderWindow</a> (const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;other)=delete</td></tr>
<tr class="separator:a8f395ca25a39a29631b4c5df6dfa9eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42b60cb6ec327448c03b64610e25c38b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#a42b60cb6ec327448c03b64610e25c38b">RenderWindow</a> (const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a42b60cb6ec327448c03b64610e25c38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab19eb1b76839ea7961275d19d805f9dc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc">~RenderWindow</a> ()</td></tr>
<tr class="separator:ab19eb1b76839ea7961275d19d805f9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_window"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_window')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_window.html">Window</a></td></tr>
<tr class="memitem:a74e6087da23d3c24e9fac0245e5ec92c inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">Window</a> ()</td></tr>
<tr class="memdesc:a74e6087da23d3c24e9fac0245e5ec92c inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. No window is created. <a href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">More...</a><br /></td></tr>
<tr class="separator:a74e6087da23d3c24e9fac0245e5ec92c inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07fdcde18ef213e1d6bf8417051de24e inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">Window</a> (<a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> dimension, const std::string &amp;title, <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags)</td></tr>
<tr class="memdesc:a07fdcde18ef213e1d6bf8417051de24e inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a window with the given parameters. <a href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">More...</a><br /></td></tr>
<tr class="separator:a07fdcde18ef213e1d6bf8417051de24e inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362fb58d60e3254edddfe71e546e6993 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a362fb58d60e3254edddfe71e546e6993">Window</a> (const <a class="el" href="class_window.html">Window</a> &amp;other)=delete</td></tr>
<tr class="separator:a362fb58d60e3254edddfe71e546e6993 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5692be0678fcf6721cec66cb97f7a66a inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a">Window</a> (<a class="el" href="class_window.html">Window</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a5692be0678fcf6721cec66cb97f7a66a inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62b4a97b3c2e492f1d9a46092011e2d9 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9">~Window</a> ()</td></tr>
<tr class="separator:a62b4a97b3c2e492f1d9a46092011e2d9 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af74d004bddf986f316fe54269f733fca inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#af74d004bddf986f316fe54269f733fca">Create</a> (<a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> dimension, const std::string &amp;title, <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> windowFlags)</td></tr>
<tr class="memdesc:af74d004bddf986f316fe54269f733fca inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the window. <a href="class_window.html#af74d004bddf986f316fe54269f733fca">More...</a><br /></td></tr>
<tr class="separator:af74d004bddf986f316fe54269f733fca inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ef67808752d9e9b618859e698f31362 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a4ef67808752d9e9b618859e698f31362">Close</a> ()</td></tr>
<tr class="memdesc:a4ef67808752d9e9b618859e698f31362 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys the window. <a href="class_window.html#a4ef67808752d9e9b618859e698f31362">More...</a><br /></td></tr>
<tr class="separator:a4ef67808752d9e9b618859e698f31362 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad735ec09123e1633186b3bbcfcb8365d inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">IsOpen</a> () const</td></tr>
<tr class="memdesc:ad735ec09123e1633186b3bbcfcb8365d inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wether or not the window object is created. <a href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">More...</a><br /></td></tr>
<tr class="separator:ad735ec09123e1633186b3bbcfcb8365d inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a122d7cdf6dc109cc0555c69341a7a329 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">PollEvent</a> (SDL_Event *event)</td></tr>
<tr class="memdesc:a122d7cdf6dc109cc0555c69341a7a329 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">A non-blocking event polling function. <a href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">More...</a><br /></td></tr>
<tr class="separator:a122d7cdf6dc109cc0555c69341a7a329 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4421c838374771e6b9c8681a69e25daf inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a4421c838374771e6b9c8681a69e25daf">WaitEvent</a> (SDL_Event *event)</td></tr>
<tr class="memdesc:a4421c838374771e6b9c8681a69e25daf inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">A blocking event polling function. <a href="class_window.html#a4421c838374771e6b9c8681a69e25daf">More...</a><br /></td></tr>
<tr class="separator:a4421c838374771e6b9c8681a69e25daf inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85002103c92958c59fc21bcf7041403d inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a85002103c92958c59fc21bcf7041403d">GetPosition</a> () const</td></tr>
<tr class="memdesc:a85002103c92958c59fc21bcf7041403d inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current position of the window. <a href="class_window.html#a85002103c92958c59fc21bcf7041403d">More...</a><br /></td></tr>
<tr class="separator:a85002103c92958c59fc21bcf7041403d inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd53d315aa4c9c38be8e8f920f7eb10 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">SetPosition</a> (<a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a> position)</td></tr>
<tr class="memdesc:a8fd53d315aa4c9c38be8e8f920f7eb10 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new window position. <a href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">More...</a><br /></td></tr>
<tr class="separator:a8fd53d315aa4c9c38be8e8f920f7eb10 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e6641f14a62a9b2a4853e10e0ffe5fb inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">SetPosition</a> (int x, int y)</td></tr>
<tr class="memdesc:a2e6641f14a62a9b2a4853e10e0ffe5fb inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new window position. <a href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">More...</a><br /></td></tr>
<tr class="separator:a2e6641f14a62a9b2a4853e10e0ffe5fb inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afde66bf9b3762c0300c8212dd18e474d inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">GetSize</a> () const</td></tr>
<tr class="memdesc:afde66bf9b3762c0300c8212dd18e474d inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current window size. <a href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">More...</a><br /></td></tr>
<tr class="separator:afde66bf9b3762c0300c8212dd18e474d inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ab72b2f7bfc9a8fdbe9fd75bbea8654 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">SetSize</a> (<a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a> size)</td></tr>
<tr class="memdesc:a5ab72b2f7bfc9a8fdbe9fd75bbea8654 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new window size. <a href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">More...</a><br /></td></tr>
<tr class="separator:a5ab72b2f7bfc9a8fdbe9fd75bbea8654 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3ac9c3ea21fa54a4b38fe7993a10b7d inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">SetSize</a> (unsigned int width, unsigned int height)</td></tr>
<tr class="memdesc:aa3ac9c3ea21fa54a4b38fe7993a10b7d inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new window size. <a href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">More...</a><br /></td></tr>
<tr class="separator:aa3ac9c3ea21fa54a4b38fe7993a10b7d inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66865d49d16710c1cb11fd39ab7564f inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">GetTitle</a> () const</td></tr>
<tr class="memdesc:ae66865d49d16710c1cb11fd39ab7564f inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current window title. <a href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">More...</a><br /></td></tr>
<tr class="separator:ae66865d49d16710c1cb11fd39ab7564f inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b2829cb820c5a7232e641c571faccb3 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">SetTitle</a> (std::string title)</td></tr>
<tr class="memdesc:a4b2829cb820c5a7232e641c571faccb3 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new window title. <a href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">More...</a><br /></td></tr>
<tr class="separator:a4b2829cb820c5a7232e641c571faccb3 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5c5abd7cfe7b2287cf9a0ad0e95c1a5 inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">SDL_Window *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">GetWindow</a> () const</td></tr>
<tr class="memdesc:af5c5abd7cfe7b2287cf9a0ad0e95c1a5 inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a constant pointer to the SDL_Window. <a href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">More...</a><br /></td></tr>
<tr class="separator:af5c5abd7cfe7b2287cf9a0ad0e95c1a5 inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f02b192d076a98b72916e45ff5c40fe inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">SetVisible</a> (bool visible)</td></tr>
<tr class="memdesc:a5f02b192d076a98b72916e45ff5c40fe inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the windows visibility. <a href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">More...</a><br /></td></tr>
<tr class="separator:a5f02b192d076a98b72916e45ff5c40fe inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a883027178d805d82c6bead962ee5fcea inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a883027178d805d82c6bead962ee5fcea">SetVsync</a> (bool vsync)</td></tr>
<tr class="memdesc:a883027178d805d82c6bead962ee5fcea inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">(De)activates VSync !globally! <a href="class_window.html#a883027178d805d82c6bead962ee5fcea">More...</a><br /></td></tr>
<tr class="separator:a883027178d805d82c6bead962ee5fcea inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb93384307a3e4b2bbda7ca7d241ebed inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">SetMouseCursorVisible</a> (bool visible)</td></tr>
<tr class="memdesc:aeb93384307a3e4b2bbda7ca7d241ebed inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hides/Shows the mouse cursor inside the windos. <a href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">More...</a><br /></td></tr>
<tr class="separator:aeb93384307a3e4b2bbda7ca7d241ebed inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3514e6471ef00a3a109855b5408caac inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#ae3514e6471ef00a3a109855b5408caac">SetMouseCursorGrabbed</a> (bool grabbed)</td></tr>
<tr class="memdesc:ae3514e6471ef00a3a109855b5408caac inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Traps the mouse cursor inside the window. <a href="class_window.html#ae3514e6471ef00a3a109855b5408caac">More...</a><br /></td></tr>
<tr class="separator:ae3514e6471ef00a3a109855b5408caac inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501612c893d5e0e32fe43af476f9624c inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a501612c893d5e0e32fe43af476f9624c">SetIcon</a> (<a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> width, <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> height, const <a class="el" href="_util_8hpp.html#a2944638813a090aa23e62f4da842c3e2">Uint8</a> *pixels)</td></tr>
<tr class="memdesc:a501612c893d5e0e32fe43af476f9624c inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the window icon to an array of RGBA values. <a href="class_window.html#a501612c893d5e0e32fe43af476f9624c">More...</a><br /></td></tr>
<tr class="separator:a501612c893d5e0e32fe43af476f9624c inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49a1afc39f915f0477b434974bc0eefc inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">SetIcon</a> (<a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> width, <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> height, const <a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> *pixels)</td></tr>
<tr class="memdesc:a49a1afc39f915f0477b434974bc0eefc inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the window icon to an array of RGBA values. <a href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">More...</a><br /></td></tr>
<tr class="separator:a49a1afc39f915f0477b434974bc0eefc inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf5ca853594504788e13789e8018bbac inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#aaf5ca853594504788e13789e8018bbac">SetIcon</a> (SDL_Surface *icon)</td></tr>
<tr class="memdesc:aaf5ca853594504788e13789e8018bbac inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the window icon to a SDL_Surface. <a href="class_window.html#aaf5ca853594504788e13789e8018bbac">More...</a><br /></td></tr>
<tr class="separator:aaf5ca853594504788e13789e8018bbac inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c6529cd07516c53c3c446c0637a5ebd inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">SetMouseCursor</a> (SDL_Cursor *cursor)</td></tr>
<tr class="memdesc:a4c6529cd07516c53c3c446c0637a5ebd inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the mouse cursor. <a href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">More...</a><br /></td></tr>
<tr class="separator:a4c6529cd07516c53c3c446c0637a5ebd inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4e84683ba72d48cc2a7d49dd47be1aa inherit pub_methods_class_window"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">SetMouseCursor</a> (const <a class="el" href="class_cursor.html">Cursor</a> &amp;cursor)</td></tr>
<tr class="memdesc:ae4e84683ba72d48cc2a7d49dd47be1aa inherit pub_methods_class_window"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the mouse cursor. <a href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">More...</a><br /></td></tr>
<tr class="separator:ae4e84683ba72d48cc2a7d49dd47be1aa inherit pub_methods_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_render_target"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_render_target')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_render_target.html">RenderTarget</a></td></tr>
<tr class="memitem:a1c07261ebc98a3df5614bb888e89d4df inherit pub_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a1c07261ebc98a3df5614bb888e89d4df">~RenderTarget</a> ()</td></tr>
<tr class="separator:a1c07261ebc98a3df5614bb888e89d4df inherit pub_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af791541da67f68df05c3cab09847ac0f inherit pub_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">Clear</a> (const <a class="el" href="struct_color.html">Color</a> &amp;color=<a class="el" href="struct_color.html#abfda8f6d25cb1b8ddbf029624bf879dd">Color::Black</a>)</td></tr>
<tr class="memdesc:af791541da67f68df05c3cab09847ac0f inherit pub_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the display. <a href="class_render_target.html#af791541da67f68df05c3cab09847ac0f">More...</a><br /></td></tr>
<tr class="separator:af791541da67f68df05c3cab09847ac0f inherit pub_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a3c1960de17ee0bc6c9802522ca43f3 inherit pub_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">Draw</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;drawable)</td></tr>
<tr class="memdesc:a1a3c1960de17ee0bc6c9802522ca43f3 inherit pub_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a sdlu::Drawable to the SDL_Renderer. <a href="class_render_target.html#a1a3c1960de17ee0bc6c9802522ca43f3">More...</a><br /></td></tr>
<tr class="separator:a1a3c1960de17ee0bc6c9802522ca43f3 inherit pub_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc1f4a4f3b8976cdfd3f7db43869eca9 inherit pub_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">Display</a> ()</td></tr>
<tr class="memdesc:abc1f4a4f3b8976cdfd3f7db43869eca9 inherit pub_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the current state of the renderer to the screen. <a href="class_render_target.html#abc1f4a4f3b8976cdfd3f7db43869eca9">More...</a><br /></td></tr>
<tr class="separator:abc1f4a4f3b8976cdfd3f7db43869eca9 inherit pub_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c60b9fd9dc7572c432a52a115de13c inherit pub_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">SetMaxFramerate</a> (<a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a> max)</td></tr>
<tr class="memdesc:a20c60b9fd9dc7572c432a52a115de13c inherit pub_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a maximum framerate on the display function. <a href="class_render_target.html#a20c60b9fd9dc7572c432a52a115de13c">More...</a><br /></td></tr>
<tr class="separator:a20c60b9fd9dc7572c432a52a115de13c inherit pub_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a5b54652402d9eafb0677045cc54bb5ab"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab">OnCreate</a> ()</td></tr>
<tr class="memdesc:a5b54652402d9eafb0677045cc54bb5ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function called after <a class="el" href="class_window.html" title="Stores information about a window. You probably want RenderWindow.">Window</a> creation. <a href="class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab">More...</a><br /></td></tr>
<tr class="separator:a5b54652402d9eafb0677045cc54bb5ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab73b98b3d1b7336243e3f782d00b9884"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884">OnResize</a> ()</td></tr>
<tr class="memdesc:ab73b98b3d1b7336243e3f782d00b9884"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function called after resize event. <a href="class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884">More...</a><br /></td></tr>
<tr class="separator:ab73b98b3d1b7336243e3f782d00b9884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af15b3acc63e48d82a512e16455d47ef0"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0">OnClose</a> ()</td></tr>
<tr class="memdesc:af15b3acc63e48d82a512e16455d47ef0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function called after closing the window. <a href="class_render_window.html#af15b3acc63e48d82a512e16455d47ef0">More...</a><br /></td></tr>
<tr class="separator:af15b3acc63e48d82a512e16455d47ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_render_target"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_render_target')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_render_target.html">RenderTarget</a></td></tr>
<tr class="memitem:afcbabdc636f3175dea0ffb28952197c3 inherit pro_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">RenderTarget</a> (SDL_Window *target)</td></tr>
<tr class="memdesc:afcbabdc636f3175dea0ffb28952197c3 inherit pro_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create Renderer and bind it to a window. <a href="class_render_target.html#afcbabdc636f3175dea0ffb28952197c3">More...</a><br /></td></tr>
<tr class="separator:afcbabdc636f3175dea0ffb28952197c3 inherit pro_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f10a829b1882c62469333b116511bc1 inherit pro_methods_class_render_target"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">RenderTarget</a> (SDL_Surface *target)</td></tr>
<tr class="memdesc:a3f10a829b1882c62469333b116511bc1 inherit pro_methods_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create Renderer and bind it to a texture. <a href="class_render_target.html#a3f10a829b1882c62469333b116511bc1">More...</a><br /></td></tr>
<tr class="separator:a3f10a829b1882c62469333b116511bc1 inherit pro_methods_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_window"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_window')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_window.html">Window</a></td></tr>
<tr class="memitem:aeafa59c8d05819c1ac68dfe53f6ff1b0 inherit pub_types_class_window"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0">Flags</a> { <br />
&#160;&#160;<a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Fullscreen</a> = ((Uint32)1 &lt;&lt; 0)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9">OpenGL</a> = ((Uint32)1 &lt;&lt; 1)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a">Shown</a> = ((Uint32)1 &lt;&lt; 2)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268">Hidden</a> = ((Uint32)1 &lt;&lt; 3)
, <br />
&#160;&#160;<a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34">Borderless</a> = ((Uint32)1 &lt;&lt; 4)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8">Resizable</a> = ((Uint32)1 &lt;&lt; 5)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022">Minimized</a> = ((Uint32)1 &lt;&lt; 6)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf">Maximized</a> = ((Uint32)1 &lt;&lt; 7)
, <br />
&#160;&#160;<a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf">InputGrabbed</a> = ((Uint32)1 &lt;&lt; 8)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392">InputFocus</a> = ((Uint32)1 &lt;&lt; 9)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4">MouseFocus</a> = ((Uint32)1 &lt;&lt; 10)
, <a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d">Foregin</a> = ((Uint32)1 &lt;&lt; 11)
, <br />
&#160;&#160;<a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4">FullscreenDesktop</a> = (Fullscreen | ((Uint32)1 &lt;&lt; 12))
<br />
}</td></tr>
<tr class="separator:aeafa59c8d05819c1ac68dfe53f6ff1b0 inherit pub_types_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_window"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_window')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_window.html">Window</a></td></tr>
<tr class="memitem:ae39a7755a5a6ab74bcbdbe3e2e206820 inherit pro_attribs_class_window"><td class="memItemLeft" align="right" valign="top">SDL_Window *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820">window</a></td></tr>
<tr class="separator:ae39a7755a5a6ab74bcbdbe3e2e206820 inherit pro_attribs_class_window"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_render_target"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_render_target')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_render_target.html">RenderTarget</a></td></tr>
<tr class="memitem:a8d9f84514352b098dc9ee7b5eae59ff8 inherit pro_attribs_class_render_target"><td class="memItemLeft" align="right" valign="top">SDL_Renderer *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">renderer</a></td></tr>
<tr class="memdesc:a8d9f84514352b098dc9ee7b5eae59ff8 inherit pro_attribs_class_render_target"><td class="mdescLeft">&#160;</td><td class="mdescRight">The renderer object. <a href="class_render_target.html#a8d9f84514352b098dc9ee7b5eae59ff8">More...</a><br /></td></tr>
<tr class="separator:a8d9f84514352b098dc9ee7b5eae59ff8 inherit pro_attribs_class_render_target"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class that handles window related functionality. </p>
<p>A class that combines the SDL_Window and SDL_Renderer and behaves similar to the sf::RenderWindow from SFML. It provides utility and wrappers for common operations on those objects. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac644ce5a7654e4cdbc5a644bd9e02952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac644ce5a7654e4cdbc5a644bd9e02952">&#9670;&nbsp;</a></span>RenderWindow() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RenderWindow::RenderWindow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default Constructor. No window or renderer is created. </p>
</div>
</div>
<a id="a47e4b099bacd3f79ae03ca56770d38a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47e4b099bacd3f79ae03ca56770d38a4">&#9670;&nbsp;</a></span>RenderWindow() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RenderWindow::RenderWindow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>&#160;</td>
<td class="paramname"><em>dimension</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>title</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="_util_8hpp.html#add440eff171ea5f55cb00c4a9ab8672d">Uint32</a>&#160;</td>
<td class="paramname"><em>windowFlags</em> = <code>Window::Flags::Shown</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a window and renderer with the given parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>A vector containing the width and height </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">title</td><td>The title of the create window </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a8f395ca25a39a29631b4c5df6dfa9eef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f395ca25a39a29631b4c5df6dfa9eef">&#9670;&nbsp;</a></span>RenderWindow() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RenderWindow::RenderWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a42b60cb6ec327448c03b64610e25c38b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42b60cb6ec327448c03b64610e25c38b">&#9670;&nbsp;</a></span>RenderWindow() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RenderWindow::RenderWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_render_window.html">RenderWindow</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ab19eb1b76839ea7961275d19d805f9dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab19eb1b76839ea7961275d19d805f9dc">&#9670;&nbsp;</a></span>~RenderWindow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual RenderWindow::~RenderWindow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af15b3acc63e48d82a512e16455d47ef0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af15b3acc63e48d82a512e16455d47ef0">&#9670;&nbsp;</a></span>OnClose()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void RenderWindow::OnClose </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function called after closing the window. </p>
<p>Reimplemented from <a class="el" href="class_window.html#a25b97b17c457a41e233e7213077d8487">Window</a>.</p>
</div>
</div>
<a id="a5b54652402d9eafb0677045cc54bb5ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b54652402d9eafb0677045cc54bb5ab">&#9670;&nbsp;</a></span>OnCreate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void RenderWindow::OnCreate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function called after <a class="el" href="class_window.html" title="Stores information about a window. You probably want RenderWindow.">Window</a> creation. </p>
<p>Reimplemented from <a class="el" href="class_window.html#a1b32c581ae9b570faca395e5d23e9abf">Window</a>.</p>
</div>
</div>
<a id="ab73b98b3d1b7336243e3f782d00b9884"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab73b98b3d1b7336243e3f782d00b9884">&#9670;&nbsp;</a></span>OnResize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool RenderWindow::OnResize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Function called after resize event. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the resize event should not be returned via <a class="el" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329" title="A non-blocking event polling function.">PollEvent()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="class_window.html#a6ff3b3bd30b3121801089910e7f6a757">Window</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/<a class="el" href="_render_window_8hpp_source.html">RenderWindow.hpp</a></li>
</ul>
</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="class_render_window.html">RenderWindow</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>

View file

@ -0,0 +1,11 @@
var class_render_window =
[
[ "RenderWindow", "class_render_window.html#ac644ce5a7654e4cdbc5a644bd9e02952", null ],
[ "RenderWindow", "class_render_window.html#a47e4b099bacd3f79ae03ca56770d38a4", null ],
[ "RenderWindow", "class_render_window.html#a8f395ca25a39a29631b4c5df6dfa9eef", null ],
[ "RenderWindow", "class_render_window.html#a42b60cb6ec327448c03b64610e25c38b", null ],
[ "~RenderWindow", "class_render_window.html#ab19eb1b76839ea7961275d19d805f9dc", null ],
[ "OnClose", "class_render_window.html#af15b3acc63e48d82a512e16455d47ef0", null ],
[ "OnCreate", "class_render_window.html#a5b54652402d9eafb0677045cc54bb5ab", null ],
[ "OnResize", "class_render_window.html#ab73b98b3d1b7336243e3f782d00b9884", null ]
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

View file

@ -0,0 +1,132 @@
<!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: Member List</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('class_shape.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">Shape Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_shape.html">Shape</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a></td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Draw</a>(SDL_Renderer *const target) const =0</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a>(Drawable &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a>()</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">GetColor</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">SetColor</a>(const Color &amp;color)</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a>(const Vector2f &amp;origin)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

346
docs/html/class_shape.html Normal file
View file

@ -0,0 +1,346 @@
<!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: Shape Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_shape.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_shape-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Shape Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The non-instantiable base class for all SDLU shapes.
<a href="class_shape.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_shape_8hpp_source.html">Shape.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Shape:</div>
<div class="dyncontent">
<div class="center">
<img src="class_shape.png" usemap="#Shape_map" alt=""/>
<map id="Shape_map" name="Shape_map">
<area href="class_drawable.html" title="Everything that can be rendered derives from this class." alt="Drawable" shape="rect" coords="0,0,97,24"/>
<area href="class_transformable.html" title="A class that stores locational information." alt="Transformable" shape="rect" coords="107,0,204,24"/>
<area href="classsdlu_1_1_rectangle.html" alt="sdlu::Rectangle" shape="rect" coords="53,112,150,136"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3b9fc48965274893f25b18aa14ba665"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a> ()</td></tr>
<tr class="memdesc:ac3b9fc48965274893f25b18aa14ba665"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor. <a href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">More...</a><br /></td></tr>
<tr class="separator:ac3b9fc48965274893f25b18aa14ba665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61fb6adee1930ee57dd3337ef42926ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">SetColor</a> (const <a class="el" href="struct_color.html">Color</a> &amp;<a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a>)</td></tr>
<tr class="memdesc:a61fb6adee1930ee57dd3337ef42926ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the shape. <a href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">More...</a><br /></td></tr>
<tr class="separator:a61fb6adee1930ee57dd3337ef42926ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206be0235ad015ac23e5ece55b2621bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">GetColor</a> ()</td></tr>
<tr class="memdesc:a206be0235ad015ac23e5ece55b2621bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the color of the shape. <a href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">More...</a><br /></td></tr>
<tr class="separator:a206be0235ad015ac23e5ece55b2621bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_drawable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_drawable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_drawable.html">Drawable</a></td></tr>
<tr class="memitem:a3d6fd34a29f7d6d861828e65aa02cb39 inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a3d6fd34a29f7d6d861828e65aa02cb39 inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f24cac47fa9281aa9b50d0cb47c353d inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a> (<a class="el" href="class_drawable.html">Drawable</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a1f24cac47fa9281aa9b50d0cb47c353d inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02393acfdc07d52b5e318352064c2327 inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a02393acfdc07d52b5e318352064c2327 inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_transformable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_transformable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_transformable.html">Transformable</a></td></tr>
<tr class="memitem:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a> ()</td></tr>
<tr class="memdesc:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructur. <a href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">More...</a><br /></td></tr>
<tr class="separator:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a> ()</td></tr>
<tr class="memdesc:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor. <a href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">More...</a><br /></td></tr>
<tr class="separator:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a> ()</td></tr>
<tr class="memdesc:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of the object. <a href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">More...</a><br /></td></tr>
<tr class="separator:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">More...</a><br /></td></tr>
<tr class="separator:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">More...</a><br /></td></tr>
<tr class="separator:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">More...</a><br /></td></tr>
<tr class="separator:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a> (float x, float y)</td></tr>
<tr class="memdesc:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">More...</a><br /></td></tr>
<tr class="separator:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a> ()</td></tr>
<tr class="memdesc:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current local origin. <a href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">More...</a><br /></td></tr>
<tr class="separator:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>)</td></tr>
<tr class="memdesc:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">More...</a><br /></td></tr>
<tr class="separator:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a> (float x, float y)</td></tr>
<tr class="memdesc:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">More...</a><br /></td></tr>
<tr class="separator:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a> ()</td></tr>
<tr class="memdesc:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current scale of the object. <a href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">More...</a><br /></td></tr>
<tr class="separator:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">More...</a><br /></td></tr>
<tr class="separator:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">More...</a><br /></td></tr>
<tr class="separator:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">More...</a><br /></td></tr>
<tr class="separator:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">More...</a><br /></td></tr>
<tr class="separator:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a> ()</td></tr>
<tr class="memdesc:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current rotation. <a href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">More...</a><br /></td></tr>
<tr class="separator:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a> (float angle)</td></tr>
<tr class="memdesc:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new rotation. <a href="class_transformable.html#a6644393bb743781a7745071c307cb481">More...</a><br /></td></tr>
<tr class="separator:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a> (float angle)</td></tr>
<tr class="memdesc:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates by some amount. <a href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">More...</a><br /></td></tr>
<tr class="separator:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aaa8d87171e65e0d8ba3c5459978992a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape</a> ()</td></tr>
<tr class="memdesc:aaa8d87171e65e0d8ba3c5459978992a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">More...</a><br /></td></tr>
<tr class="separator:aaa8d87171e65e0d8ba3c5459978992a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_drawable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_drawable')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_drawable.html">Drawable</a></td></tr>
<tr class="memitem:aac88608db6081da479c772c96636acb1 inherit pro_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a> ()</td></tr>
<tr class="separator:aac88608db6081da479c772c96636acb1 inherit pro_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae50710a7322d5ab41019739213f5bbed inherit pro_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Draw</a> (SDL_Renderer *const target) const =0</td></tr>
<tr class="separator:ae50710a7322d5ab41019739213f5bbed inherit pro_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac56e2bf5eb24cf37b6e08c671501566b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a></td></tr>
<tr class="separator:ac56e2bf5eb24cf37b6e08c671501566b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_transformable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_transformable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_transformable.html">Transformable</a></td></tr>
<tr class="memitem:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td></tr>
<tr class="memdesc:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of the object. <a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">More...</a><br /></td></tr>
<tr class="separator:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td></tr>
<tr class="memdesc:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset of the top-left corner from the position. <a href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">More...</a><br /></td></tr>
<tr class="separator:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td></tr>
<tr class="memdesc:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scale of the object. <a href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">More...</a><br /></td></tr>
<tr class="separator:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td></tr>
<tr class="memdesc:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation of the object (in degrees) <a href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">More...</a><br /></td></tr>
<tr class="separator:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The non-instantiable base class for all SDLU shapes. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac3b9fc48965274893f25b18aa14ba665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3b9fc48965274893f25b18aa14ba665">&#9670;&nbsp;</a></span>~Shape()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual Shape::~Shape </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Deconstructor. </p>
</div>
</div>
<a id="aaa8d87171e65e0d8ba3c5459978992a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa8d87171e65e0d8ba3c5459978992a7">&#9670;&nbsp;</a></span>Shape()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Shape::Shape </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a206be0235ad015ac23e5ece55b2621bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a206be0235ad015ac23e5ece55b2621bc">&#9670;&nbsp;</a></span>GetColor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> Shape::GetColor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the color of the shape. </p>
</div>
</div>
<a id="a61fb6adee1930ee57dd3337ef42926ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61fb6adee1930ee57dd3337ef42926ec">&#9670;&nbsp;</a></span>SetColor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Shape::SetColor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_color.html">Color</a> &amp;&#160;</td>
<td class="paramname"><em>color</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the color of the shape. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac56e2bf5eb24cf37b6e08c671501566b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac56e2bf5eb24cf37b6e08c671501566b">&#9670;&nbsp;</a></span>color</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_color.html">Color</a> Shape::color</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/drawable/shapes/<a class="el" href="_shape_8hpp_source.html">Shape.hpp</a></li>
</ul>
</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="class_shape.html">Shape</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>

8
docs/html/class_shape.js Normal file
View file

@ -0,0 +1,8 @@
var class_shape =
[
[ "~Shape", "class_shape.html#ac3b9fc48965274893f25b18aa14ba665", null ],
[ "Shape", "class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7", null ],
[ "GetColor", "class_shape.html#a206be0235ad015ac23e5ece55b2621bc", null ],
[ "SetColor", "class_shape.html#a61fb6adee1930ee57dd3337ef42926ec", null ],
[ "color", "class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b", null ]
];

BIN
docs/html/class_shape.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 916 B

View file

@ -0,0 +1,139 @@
<!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: Member List</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('class_time.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">Time Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_time.html">Time</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ab1f48322b99266fea871d67a1fee90cd">AsChrono</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a953a4bbac412bf3064879a495bf91a96">AsChronoMicroseconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a3c3dad1ce180f5759e1228713b2c30e6">AsChronoMilliseconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a927a66f4a96151c1e241ba69755fa982">AsChronoSeconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a7cdacd27ba57fdc59daeca5e787ed433">AsMicroseconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d">AsMilliseconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a2193058fee71c2d63de3c113d92a2de7">AsSeconds</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a390653f89d18d9755ef3d4d149600ece">AsValue</a>() const</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a000b522aafdbb493acc70be9fe5abc4a">Create</a>(const Rep &amp;duration)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a2155604a8ee3ede7afb38b9196068e29">Create</a>(const std::chrono::duration&lt; Rep, Period &gt; &amp;duration)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ab2361ddfe30cda51480b066eac103fb4">Microseconds</a>(Int64 microseconds)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56">Milliseconds</a>(Int32 milliseconds)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a93c19710e3f655d6fd0053d156a953a2">Now</a>()</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a07472e52ba2ce81714f231d23adf8547">operator!=</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a8849ab5e3c1954a8590dfd4f978caf01">operator%</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#af56e896bfd738245c2cc6c3c706f06f4">operator%=</a>(Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#aadaa37244866e6de72d68f5c30c2fe32">operator*</a>(const Time &amp;left, float right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a26c778130ebbffc45d4e9dec2669d761">operator*</a>(const Time &amp;left, Int64 right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a963d4b276627f9971ac89d24d9764c05">operator*</a>(float left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30">operator*</a>(Int64 left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ada2793fbd13ff189dedbb312b7e85b20">operator*=</a>(Time &amp;left, float right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a92903308f09b4e214b82f5d77cc9450b">operator*=</a>(Time &amp;left, Int64 right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a3220188faf2f26989df18166286bfe43">operator+</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#ac113395867bbeb311793564b53b992fa">operator+=</a>(Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3">operator-</a>(const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a000bf792d7b6f0b77248cff9f8003e29">operator-</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#accdb29e09b8488f69817d8b51b87db0d">operator-=</a>(Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39">operator/</a>(const Time &amp;left, float right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e">operator/</a>(const Time &amp;left, Int64 right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#ab43b815f827c470721c837da24758b58">operator/</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a471ce6cdae8759db5ec95194cc90aaf8">operator/=</a>(Time &amp;left, float right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#a0916454a50c60ca9488b98d715baaaa7">operator/=</a>(Time &amp;left, Int64 right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#ac32257e5c86d2e57b56b0915e1809ead">operator&lt;</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba">operator&lt;=</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a90988eb9657b79c370253c0cc952386a">operator==</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#afef5512f7171297e82db0046b7028562">operator&gt;</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#af7a34ee9cd59bb411822899ad5132814">operator&gt;=</a>(const Time &amp;left, const Time &amp;right)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr><td class="entry"><a class="el" href="class_time.html#aaea901fceef777e45cb7b50099a8dd25">Seconds</a>(float seconds)</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_time.html#a4245e409c7347d1d671858962c2ca3b5">Time</a>()</td><td class="entry"><a class="el" href="class_time.html">Time</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

1750
docs/html/class_time.html Normal file

File diff suppressed because it is too large Load diff

39
docs/html/class_time.js Normal file
View file

@ -0,0 +1,39 @@
var class_time =
[
[ "Time", "class_time.html#a4245e409c7347d1d671858962c2ca3b5", null ],
[ "AsChrono", "class_time.html#ab1f48322b99266fea871d67a1fee90cd", null ],
[ "AsChronoMicroseconds", "class_time.html#a953a4bbac412bf3064879a495bf91a96", null ],
[ "AsChronoMilliseconds", "class_time.html#a3c3dad1ce180f5759e1228713b2c30e6", null ],
[ "AsChronoSeconds", "class_time.html#a927a66f4a96151c1e241ba69755fa982", null ],
[ "AsMicroseconds", "class_time.html#a7cdacd27ba57fdc59daeca5e787ed433", null ],
[ "AsMilliseconds", "class_time.html#a7c6ad1774af8c8f70bd7d0a4f1f2928d", null ],
[ "AsSeconds", "class_time.html#a2193058fee71c2d63de3c113d92a2de7", null ],
[ "AsValue", "class_time.html#a390653f89d18d9755ef3d4d149600ece", null ],
[ "Microseconds", "class_time.html#ab2361ddfe30cda51480b066eac103fb4", null ],
[ "Milliseconds", "class_time.html#a8d0e9f87d5b0fdd8d12b0cc35cfd4e56", null ],
[ "operator!=", "class_time.html#a07472e52ba2ce81714f231d23adf8547", null ],
[ "operator%", "class_time.html#a8849ab5e3c1954a8590dfd4f978caf01", null ],
[ "operator%=", "class_time.html#af56e896bfd738245c2cc6c3c706f06f4", null ],
[ "operator*", "class_time.html#aadaa37244866e6de72d68f5c30c2fe32", null ],
[ "operator*", "class_time.html#a26c778130ebbffc45d4e9dec2669d761", null ],
[ "operator*", "class_time.html#a963d4b276627f9971ac89d24d9764c05", null ],
[ "operator*", "class_time.html#a9a42ea3e8a757b74ffb13b5de927fb30", null ],
[ "operator*=", "class_time.html#ada2793fbd13ff189dedbb312b7e85b20", null ],
[ "operator*=", "class_time.html#a92903308f09b4e214b82f5d77cc9450b", null ],
[ "operator+", "class_time.html#a3220188faf2f26989df18166286bfe43", null ],
[ "operator+=", "class_time.html#ac113395867bbeb311793564b53b992fa", null ],
[ "operator-", "class_time.html#a000bf792d7b6f0b77248cff9f8003e29", null ],
[ "operator-", "class_time.html#ad79e35ba7b47ff8c6fa44a91ba7e1db3", null ],
[ "operator-=", "class_time.html#accdb29e09b8488f69817d8b51b87db0d", null ],
[ "operator/", "class_time.html#ab43b815f827c470721c837da24758b58", null ],
[ "operator/", "class_time.html#ab26c444540fdcff4d1cfa06f10fd4e39", null ],
[ "operator/", "class_time.html#ae86e3c3598a3f0b712fabb219e0c2e7e", null ],
[ "operator/=", "class_time.html#a471ce6cdae8759db5ec95194cc90aaf8", null ],
[ "operator/=", "class_time.html#a0916454a50c60ca9488b98d715baaaa7", null ],
[ "operator<", "class_time.html#ac32257e5c86d2e57b56b0915e1809ead", null ],
[ "operator<=", "class_time.html#afaa678c360a26ff8f65d6e1a8e22a2ba", null ],
[ "operator==", "class_time.html#a90988eb9657b79c370253c0cc952386a", null ],
[ "operator>", "class_time.html#afef5512f7171297e82db0046b7028562", null ],
[ "operator>=", "class_time.html#af7a34ee9cd59bb411822899ad5132814", null ],
[ "Seconds", "class_time.html#aaea901fceef777e45cb7b50099a8dd25", null ]
];

View file

@ -0,0 +1,122 @@
<!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: Member List</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('class_transformable.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">Transformable Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_transformable.html">Transformable</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a>(const Vector2f &amp;origin)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,788 @@
<!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: Transformable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('class_transformable.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_transformable-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Transformable Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A class that stores locational information.
<a href="class_transformable.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_transformable_8hpp_source.html">Transformable.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Transformable:</div>
<div class="dyncontent">
<div class="center">
<img src="class_transformable.png" usemap="#Transformable_map" alt=""/>
<map id="Transformable_map" name="Transformable_map">
<area href="class_shape.html" title="The non-instantiable base class for all SDLU shapes." alt="Shape" shape="rect" coords="0,56,97,80"/>
<area href="classsdlu_1_1_rectangle.html" alt="sdlu::Rectangle" shape="rect" coords="0,112,97,136"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aaf42df1fbbc11ac758342a0cb26eb80a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a> ()</td></tr>
<tr class="memdesc:aaf42df1fbbc11ac758342a0cb26eb80a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructur. <a href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">More...</a><br /></td></tr>
<tr class="separator:aaf42df1fbbc11ac758342a0cb26eb80a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8eae21f70d709159d849a2966c24412"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a> ()</td></tr>
<tr class="memdesc:ab8eae21f70d709159d849a2966c24412"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor. <a href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">More...</a><br /></td></tr>
<tr class="separator:ab8eae21f70d709159d849a2966c24412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f770487198dc60ab7bdfc131778a66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a> ()</td></tr>
<tr class="memdesc:a49f770487198dc60ab7bdfc131778a66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of the object. <a href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">More...</a><br /></td></tr>
<tr class="separator:a49f770487198dc60ab7bdfc131778a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dff4cf64143f46e2740da16e8b588bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a0dff4cf64143f46e2740da16e8b588bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">More...</a><br /></td></tr>
<tr class="separator:a0dff4cf64143f46e2740da16e8b588bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10235cf98c74ee27ed5eb57d440e02e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:a10235cf98c74ee27ed5eb57d440e02e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">More...</a><br /></td></tr>
<tr class="separator:a10235cf98c74ee27ed5eb57d440e02e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32758b5ffec2466bdd6824d314bc7cbd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a32758b5ffec2466bdd6824d314bc7cbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">More...</a><br /></td></tr>
<tr class="separator:a32758b5ffec2466bdd6824d314bc7cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19db1bbc145ea631f8caa16ddcf852bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a> (float x, float y)</td></tr>
<tr class="memdesc:a19db1bbc145ea631f8caa16ddcf852bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">More...</a><br /></td></tr>
<tr class="separator:a19db1bbc145ea631f8caa16ddcf852bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab45027854676ecff39b45f7b1bb8db45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a> ()</td></tr>
<tr class="memdesc:ab45027854676ecff39b45f7b1bb8db45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current local origin. <a href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">More...</a><br /></td></tr>
<tr class="separator:ab45027854676ecff39b45f7b1bb8db45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4764e72329b3120812569e8d35c109"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>)</td></tr>
<tr class="memdesc:a0a4764e72329b3120812569e8d35c109"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">More...</a><br /></td></tr>
<tr class="separator:a0a4764e72329b3120812569e8d35c109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1cb1413a0b26398b35aa0c9e6c5bc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a> (float x, float y)</td></tr>
<tr class="memdesc:a6f1cb1413a0b26398b35aa0c9e6c5bc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">More...</a><br /></td></tr>
<tr class="separator:a6f1cb1413a0b26398b35aa0c9e6c5bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd1f0833826cc91cddbb630f4d2ea00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a> ()</td></tr>
<tr class="memdesc:a5bd1f0833826cc91cddbb630f4d2ea00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current scale of the object. <a href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">More...</a><br /></td></tr>
<tr class="separator:a5bd1f0833826cc91cddbb630f4d2ea00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dfad28c0725d65023164580dbe40eec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a6dfad28c0725d65023164580dbe40eec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">More...</a><br /></td></tr>
<tr class="separator:a6dfad28c0725d65023164580dbe40eec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaf9ee1d0110fb92e4643ca856e4e18"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7eaf9ee1d0110fb92e4643ca856e4e18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">More...</a><br /></td></tr>
<tr class="separator:a7eaf9ee1d0110fb92e4643ca856e4e18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef8796a3ca3ad79b22be5ef59cd4c3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a0ef8796a3ca3ad79b22be5ef59cd4c3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">More...</a><br /></td></tr>
<tr class="separator:a0ef8796a3ca3ad79b22be5ef59cd4c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f823978c527cdca2ce5667926aa7ce2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7f823978c527cdca2ce5667926aa7ce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">More...</a><br /></td></tr>
<tr class="separator:a7f823978c527cdca2ce5667926aa7ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2072c3a7060c9867ce887b937fcc92ae"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a> ()</td></tr>
<tr class="memdesc:a2072c3a7060c9867ce887b937fcc92ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current rotation. <a href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">More...</a><br /></td></tr>
<tr class="separator:a2072c3a7060c9867ce887b937fcc92ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6644393bb743781a7745071c307cb481"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a> (float angle)</td></tr>
<tr class="memdesc:a6644393bb743781a7745071c307cb481"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new rotation. <a href="class_transformable.html#a6644393bb743781a7745071c307cb481">More...</a><br /></td></tr>
<tr class="separator:a6644393bb743781a7745071c307cb481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c7bb0f85cc1670f4c13d89f09b5938"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a> (float angle)</td></tr>
<tr class="memdesc:ab4c7bb0f85cc1670f4c13d89f09b5938"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates by some amount. <a href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">More...</a><br /></td></tr>
<tr class="separator:ab4c7bb0f85cc1670f4c13d89f09b5938"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1f58c94a72ecab9cca66287f8ac7b20f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td></tr>
<tr class="memdesc:a1f58c94a72ecab9cca66287f8ac7b20f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of the object. <a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">More...</a><br /></td></tr>
<tr class="separator:a1f58c94a72ecab9cca66287f8ac7b20f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21dbaab5c9f7f5703d827ae7090a0e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td></tr>
<tr class="memdesc:aa21dbaab5c9f7f5703d827ae7090a0e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset of the top-left corner from the position. <a href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">More...</a><br /></td></tr>
<tr class="separator:aa21dbaab5c9f7f5703d827ae7090a0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a587fe840ddac456ba4e8caa5f00ddf0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td></tr>
<tr class="memdesc:a587fe840ddac456ba4e8caa5f00ddf0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scale of the object. <a href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">More...</a><br /></td></tr>
<tr class="separator:a587fe840ddac456ba4e8caa5f00ddf0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a27de0d8dbb0e0bd0af4092ec7509c0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td></tr>
<tr class="memdesc:a8a27de0d8dbb0e0bd0af4092ec7509c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation of the object (in degrees) <a href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">More...</a><br /></td></tr>
<tr class="separator:a8a27de0d8dbb0e0bd0af4092ec7509c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class that stores locational information. </p>
<p>Stores position, rotation, scale and the origin of an object, and provides functions to get/set those values. "Origin" is the offset between the position and the top-left corner of the object. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aaf42df1fbbc11ac758342a0cb26eb80a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf42df1fbbc11ac758342a0cb26eb80a">&#9670;&nbsp;</a></span>Transformable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Transformable::Transformable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructur. </p>
</div>
</div>
<a id="ab8eae21f70d709159d849a2966c24412"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8eae21f70d709159d849a2966c24412">&#9670;&nbsp;</a></span>~Transformable()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual Transformable::~Transformable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Deconstructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab45027854676ecff39b45f7b1bb8db45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab45027854676ecff39b45f7b1bb8db45">&#9670;&nbsp;</a></span>GetOrigin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::GetOrigin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the current local origin. </p>
<dl class="section return"><dt>Returns</dt><dd>A 2D vector with the offset </dd></dl>
</div>
</div>
<a id="a49f770487198dc60ab7bdfc131778a66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49f770487198dc60ab7bdfc131778a66">&#9670;&nbsp;</a></span>GetPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::GetPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position of the object. </p>
<dl class="section return"><dt>Returns</dt><dd>A 2D vector of the position </dd></dl>
</div>
</div>
<a id="a2072c3a7060c9867ce887b937fcc92ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2072c3a7060c9867ce887b937fcc92ae">&#9670;&nbsp;</a></span>GetRotation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float Transformable::GetRotation </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the current rotation. </p>
<dl class="section return"><dt>Returns</dt><dd>The rotation in degrees </dd></dl>
</div>
</div>
<a id="a5bd1f0833826cc91cddbb630f4d2ea00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bd1f0833826cc91cddbb630f4d2ea00">&#9670;&nbsp;</a></span>GetScale()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::GetScale </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the current scale of the object. </p>
<dl class="section return"><dt>Returns</dt><dd>A 2D vector with the scale in x- and y-direction </dd></dl>
</div>
</div>
<a id="a32758b5ffec2466bdd6824d314bc7cbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32758b5ffec2466bdd6824d314bc7cbd">&#9670;&nbsp;</a></span>Move() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::Move </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds to the current position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A 2D movement vector </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a19db1bbc145ea631f8caa16ddcf852bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19db1bbc145ea631f8caa16ddcf852bf">&#9670;&nbsp;</a></span>Move() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::Move </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds to the current position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The offset in x direction </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The offset in y direction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ab4c7bb0f85cc1670f4c13d89f09b5938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4c7bb0f85cc1670f4c13d89f09b5938">&#9670;&nbsp;</a></span>Rotate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::Rotate </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotates by some amount. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>The angle to rotate by in degrees </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0ef8796a3ca3ad79b22be5ef59cd4c3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ef8796a3ca3ad79b22be5ef59cd4c3a">&#9670;&nbsp;</a></span>Scale() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::Scale </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>scale</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Scales the object by some amount. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">scale</td><td>The amount to scale by in x- and y-direction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7f823978c527cdca2ce5667926aa7ce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f823978c527cdca2ce5667926aa7ce2">&#9670;&nbsp;</a></span>Scale() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::Scale </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Scales the object by some amount. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The amount to scale by in x direction </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The amount to scale by in y direction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0a4764e72329b3120812569e8d35c109"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a4764e72329b3120812569e8d35c109">&#9670;&nbsp;</a></span>SetOrigin() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetOrigin </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>origin</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new local origin. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">origin</td><td>A 2D vector with the new origin </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6f1cb1413a0b26398b35aa0c9e6c5bc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f1cb1413a0b26398b35aa0c9e6c5bc8">&#9670;&nbsp;</a></span>SetOrigin() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetOrigin </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new local origin. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The new x component of the origin </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The new y component of the origin </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0dff4cf64143f46e2740da16e8b588bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dff4cf64143f46e2740da16e8b588bf">&#9670;&nbsp;</a></span>SetPosition() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A 2D vector with the new position </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a10235cf98c74ee27ed5eb57d440e02e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10235cf98c74ee27ed5eb57d440e02e2">&#9670;&nbsp;</a></span>SetPosition() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetPosition </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The new x position </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The new y position </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6644393bb743781a7745071c307cb481"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6644393bb743781a7745071c307cb481">&#9670;&nbsp;</a></span>SetRotation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetRotation </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new rotation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>The new rotation in degrees </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6dfad28c0725d65023164580dbe40eec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dfad28c0725d65023164580dbe40eec">&#9670;&nbsp;</a></span>SetScale() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetScale </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>scale</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new scale. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">scale</td><td>A 2D vector with the new scale </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7eaf9ee1d0110fb92e4643ca856e4e18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eaf9ee1d0110fb92e4643ca856e4e18">&#9670;&nbsp;</a></span>SetScale() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Transformable::SetScale </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new scale. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The new scale in x direction </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The new scale in y direction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa21dbaab5c9f7f5703d827ae7090a0e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa21dbaab5c9f7f5703d827ae7090a0e8">&#9670;&nbsp;</a></span>origin</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::origin</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset of the top-left corner from the position. </p>
</div>
</div>
<a id="a1f58c94a72ecab9cca66287f8ac7b20f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f58c94a72ecab9cca66287f8ac7b20f">&#9670;&nbsp;</a></span>position</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::position</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Position of the object. </p>
</div>
</div>
<a id="a8a27de0d8dbb0e0bd0af4092ec7509c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a27de0d8dbb0e0bd0af4092ec7509c0">&#9670;&nbsp;</a></span>rotation</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float Transformable::rotation</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotation of the object (in degrees) </p>
</div>
</div>
<a id="a587fe840ddac456ba4e8caa5f00ddf0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a587fe840ddac456ba4e8caa5f00ddf0c">&#9670;&nbsp;</a></span>scale</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> Transformable::scale</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Scale of the object. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/drawable/<a class="el" href="_transformable_8hpp_source.html">Transformable.hpp</a></li>
</ul>
</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="class_transformable.html">Transformable</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>

View file

@ -0,0 +1,25 @@
var class_transformable =
[
[ "Transformable", "class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a", null ],
[ "~Transformable", "class_transformable.html#ab8eae21f70d709159d849a2966c24412", null ],
[ "GetOrigin", "class_transformable.html#ab45027854676ecff39b45f7b1bb8db45", null ],
[ "GetPosition", "class_transformable.html#a49f770487198dc60ab7bdfc131778a66", null ],
[ "GetRotation", "class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae", null ],
[ "GetScale", "class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00", null ],
[ "Move", "class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd", null ],
[ "Move", "class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf", null ],
[ "Rotate", "class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938", null ],
[ "Scale", "class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a", null ],
[ "Scale", "class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2", null ],
[ "SetOrigin", "class_transformable.html#a0a4764e72329b3120812569e8d35c109", null ],
[ "SetOrigin", "class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8", null ],
[ "SetPosition", "class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf", null ],
[ "SetPosition", "class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2", null ],
[ "SetRotation", "class_transformable.html#a6644393bb743781a7745071c307cb481", null ],
[ "SetScale", "class_transformable.html#a6dfad28c0725d65023164580dbe40eec", null ],
[ "SetScale", "class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18", null ],
[ "origin", "class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8", null ],
[ "position", "class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f", null ],
[ "rotation", "class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0", null ],
[ "scale", "class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c", null ]
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

View file

@ -0,0 +1,146 @@
<!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: Member List</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('class_window.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 Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_window.html">Window</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34">Borderless</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a4ef67808752d9e9b618859e698f31362">Close</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#af74d004bddf986f316fe54269f733fca">Create</a>(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0">Flags</a> enum name</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d">Foregin</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7">Fullscreen</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4">FullscreenDesktop</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a85002103c92958c59fc21bcf7041403d">GetPosition</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#afde66bf9b3762c0300c8212dd18e474d">GetSize</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#ae66865d49d16710c1cb11fd39ab7564f">GetTitle</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5">GetWindow</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268">Hidden</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392">InputFocus</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf">InputGrabbed</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#ad735ec09123e1633186b3bbcfcb8365d">IsOpen</a>() const</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf">Maximized</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022">Minimized</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4">MouseFocus</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a25b97b17c457a41e233e7213077d8487">OnClose</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a1b32c581ae9b570faca395e5d23e9abf">OnCreate</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a6ff3b3bd30b3121801089910e7f6a757">OnResize</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9">OpenGL</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a122d7cdf6dc109cc0555c69341a7a329">PollEvent</a>(SDL_Event *event)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8">Resizable</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a501612c893d5e0e32fe43af476f9624c">SetIcon</a>(Uint32 width, Uint32 height, const Uint8 *pixels)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a49a1afc39f915f0477b434974bc0eefc">SetIcon</a>(Uint32 width, Uint32 height, const Uint32 *pixels)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aaf5ca853594504788e13789e8018bbac">SetIcon</a>(SDL_Surface *icon)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a4c6529cd07516c53c3c446c0637a5ebd">SetMouseCursor</a>(SDL_Cursor *cursor)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa">SetMouseCursor</a>(const Cursor &amp;cursor)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#ae3514e6471ef00a3a109855b5408caac">SetMouseCursorGrabbed</a>(bool grabbed)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed">SetMouseCursorVisible</a>(bool visible)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10">SetPosition</a>(Vector2i position)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb">SetPosition</a>(int x, int y)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654">SetSize</a>(Vector2u size)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d">SetSize</a>(unsigned int width, unsigned int height)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a4b2829cb820c5a7232e641c571faccb3">SetTitle</a>(std::string title)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a5f02b192d076a98b72916e45ff5c40fe">SetVisible</a>(bool visible)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a883027178d805d82c6bead962ee5fcea">SetVsync</a>(bool vsync)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a">Shown</a> enum value</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a4421c838374771e6b9c8681a69e25daf">WaitEvent</a>(SDL_Event *event)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820">window</a></td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a74e6087da23d3c24e9fac0245e5ec92c">Window</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a07fdcde18ef213e1d6bf8417051de24e">Window</a>(Vector2u dimension, const std::string &amp;title, Uint32 windowFlags)</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a362fb58d60e3254edddfe71e546e6993">Window</a>(const Window &amp;other)=delete</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_window.html#a5692be0678fcf6721cec66cb97f7a66a">Window</a>(Window &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9">~Window</a>()</td><td class="entry"><a class="el" href="class_window.html">Window</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

1169
docs/html/class_window.html Normal file

File diff suppressed because it is too large Load diff

50
docs/html/class_window.js Normal file
View file

@ -0,0 +1,50 @@
var class_window =
[
[ "Flags", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0", [
[ "Fullscreen", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac226cd6214bef0cbdd11851d33f05fd7", null ],
[ "OpenGL", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a13b8a4fd1b8a90ef9e8de021b17755f9", null ],
[ "Shown", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a158b8d2de885a5e6b34641e27d671b1a", null ],
[ "Hidden", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a5ad727b9c4a7f111c6d68779e6a47268", null ],
[ "Borderless", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0acf5ef5faf4667e8aa320d4871f0b4d34", null ],
[ "Resizable", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ad4def267d331328e22f01a48433abda8", null ],
[ "Minimized", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ac470c191397add2ce2cab69fc7181022", null ],
[ "Maximized", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ada7cad3ff2d963a3553293b0ee9a2edf", null ],
[ "InputGrabbed", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a790604facb81515301798eac4b92ebbf", null ],
[ "InputFocus", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0ab7454990a72bab393facd4b403281392", null ],
[ "MouseFocus", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a9f9a38c289519845f9dc190ea85f54f4", null ],
[ "Foregin", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0afd11a349ab38af120ea08b18ada7037d", null ],
[ "FullscreenDesktop", "class_window.html#aeafa59c8d05819c1ac68dfe53f6ff1b0a24df7d6f540442c630e02415c8ca24f4", null ]
] ],
[ "Window", "class_window.html#a74e6087da23d3c24e9fac0245e5ec92c", null ],
[ "Window", "class_window.html#a07fdcde18ef213e1d6bf8417051de24e", null ],
[ "Window", "class_window.html#a362fb58d60e3254edddfe71e546e6993", null ],
[ "Window", "class_window.html#a5692be0678fcf6721cec66cb97f7a66a", null ],
[ "~Window", "class_window.html#a62b4a97b3c2e492f1d9a46092011e2d9", null ],
[ "Close", "class_window.html#a4ef67808752d9e9b618859e698f31362", null ],
[ "Create", "class_window.html#af74d004bddf986f316fe54269f733fca", null ],
[ "GetPosition", "class_window.html#a85002103c92958c59fc21bcf7041403d", null ],
[ "GetSize", "class_window.html#afde66bf9b3762c0300c8212dd18e474d", null ],
[ "GetTitle", "class_window.html#ae66865d49d16710c1cb11fd39ab7564f", null ],
[ "GetWindow", "class_window.html#af5c5abd7cfe7b2287cf9a0ad0e95c1a5", null ],
[ "IsOpen", "class_window.html#ad735ec09123e1633186b3bbcfcb8365d", null ],
[ "OnClose", "class_window.html#a25b97b17c457a41e233e7213077d8487", null ],
[ "OnCreate", "class_window.html#a1b32c581ae9b570faca395e5d23e9abf", null ],
[ "OnResize", "class_window.html#a6ff3b3bd30b3121801089910e7f6a757", null ],
[ "PollEvent", "class_window.html#a122d7cdf6dc109cc0555c69341a7a329", null ],
[ "SetIcon", "class_window.html#aaf5ca853594504788e13789e8018bbac", null ],
[ "SetIcon", "class_window.html#a49a1afc39f915f0477b434974bc0eefc", null ],
[ "SetIcon", "class_window.html#a501612c893d5e0e32fe43af476f9624c", null ],
[ "SetMouseCursor", "class_window.html#ae4e84683ba72d48cc2a7d49dd47be1aa", null ],
[ "SetMouseCursor", "class_window.html#a4c6529cd07516c53c3c446c0637a5ebd", null ],
[ "SetMouseCursorGrabbed", "class_window.html#ae3514e6471ef00a3a109855b5408caac", null ],
[ "SetMouseCursorVisible", "class_window.html#aeb93384307a3e4b2bbda7ca7d241ebed", null ],
[ "SetPosition", "class_window.html#a2e6641f14a62a9b2a4853e10e0ffe5fb", null ],
[ "SetPosition", "class_window.html#a8fd53d315aa4c9c38be8e8f920f7eb10", null ],
[ "SetSize", "class_window.html#aa3ac9c3ea21fa54a4b38fe7993a10b7d", null ],
[ "SetSize", "class_window.html#a5ab72b2f7bfc9a8fdbe9fd75bbea8654", null ],
[ "SetTitle", "class_window.html#a4b2829cb820c5a7232e641c571faccb3", null ],
[ "SetVisible", "class_window.html#a5f02b192d076a98b72916e45ff5c40fe", null ],
[ "SetVsync", "class_window.html#a883027178d805d82c6bead962ee5fcea", null ],
[ "WaitEvent", "class_window.html#a4421c838374771e6b9c8681a69e25daf", null ],
[ "window", "class_window.html#ae39a7755a5a6ab74bcbdbe3e2e206820", null ]
];

BIN
docs/html/class_window.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

124
docs/html/classes.html Normal file
View file

@ -0,0 +1,124 @@
<!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: Class Index</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('classes.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">Class Index</div> </div>
</div><!--header-->
<div class="contents">
<div class="qindex"><a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_D">D</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_R">R</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a>&#160;|&#160;<a class="qindex" href="#letter_T">T</a>&#160;|&#160;<a class="qindex" href="#letter_V">V</a>&#160;|&#160;<a class="qindex" href="#letter_W">W</a></div>
<div class="classindex">
<dl class="classindex even">
<dt class="alphachar"><a name="letter_C">C</a></dt>
<dd><a class="el" href="class_clock.html">Clock</a></dd><dd><a class="el" href="struct_color.html">Color</a></dd><dd><a class="el" href="class_cursor.html">Cursor</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a name="letter_D">D</a></dt>
<dd><a class="el" href="class_drawable.html">Drawable</a></dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a name="letter_M">M</a></dt>
<dd><a class="el" href="class_mouse.html">Mouse</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a name="letter_R">R</a></dt>
<dd><a class="el" href="classsdlu_1_1_rectangle.html">Rectangle</a> (<a class="el" href="namespacesdlu.html">sdlu</a>)</dd><dd><a class="el" href="class_render_target.html">RenderTarget</a></dd><dd><a class="el" href="class_render_window.html">RenderWindow</a></dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a name="letter_S">S</a></dt>
<dd><a class="el" href="class_shape.html">Shape</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a name="letter_T">T</a></dt>
<dd><a class="el" href="class_time.html">Time</a></dd><dd><a class="el" href="class_transformable.html">Transformable</a></dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a name="letter_V">V</a></dt>
<dd><a class="el" href="struct_vector2.html">Vector2</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a name="letter_W">W</a></dt>
<dd><a class="el" href="class_window.html">Window</a></dd></dl>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,137 @@
<!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: Member List</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('classsdlu_1_1_rectangle.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">sdlu::Rectangle Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a></td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">Draw</a>(SDL_Renderer *const target) const override</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a>(Drawable &amp;&amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a>()</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">GetColor</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119">GetSize</a>()</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a>(const Drawable &amp;other)=delete</td><td class="entry"><a class="el" href="class_drawable.html">Drawable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1">Rectangle</a>()</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9">Rectangle</a>(const Vector2f &amp;position, const Vector2f &amp;size)</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">SetColor</a>(const Color &amp;color)</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a>(const Vector2f &amp;origin)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a>(const Vector2f &amp;position)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a>(float angle)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a>(const Vector2f &amp;scale)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a>(float x, float y)</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e">SetSize</a>(const Vector2f &amp;size)</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f">SetSize</a>(float x, float y)</td><td class="entry"><a class="el" href="classsdlu_1_1_rectangle.html">sdlu::Rectangle</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a>()</td><td class="entry"><a class="el" href="class_shape.html">Shape</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a>()</td><td class="entry"><a class="el" href="class_transformable.html">Transformable</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>

View file

@ -0,0 +1,414 @@
<!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: sdlu::Rectangle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('classsdlu_1_1_rectangle.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classsdlu_1_1_rectangle-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">sdlu::Rectangle Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_rectangle_8hpp_source.html">Rectangle.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sdlu::Rectangle:</div>
<div class="dyncontent">
<div class="center">
<img src="classsdlu_1_1_rectangle.png" usemap="#sdlu::Rectangle_map" alt=""/>
<map id="sdlu::Rectangle_map" name="sdlu::Rectangle_map">
<area href="class_shape.html" title="The non-instantiable base class for all SDLU shapes." alt="Shape" shape="rect" coords="53,56,150,80"/>
<area href="class_drawable.html" title="Everything that can be rendered derives from this class." alt="Drawable" shape="rect" coords="0,0,97,24"/>
<area href="class_transformable.html" title="A class that stores locational information." alt="Transformable" shape="rect" coords="107,0,204,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae18bda0b59c8a960eba2d9b7d48c9ec1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1">Rectangle</a> ()</td></tr>
<tr class="memdesc:ae18bda0b59c8a960eba2d9b7d48c9ec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1">More...</a><br /></td></tr>
<tr class="separator:ae18bda0b59c8a960eba2d9b7d48c9ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86aa089b0e8594b87a1673819306a2a9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9">Rectangle</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>, const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;size)</td></tr>
<tr class="memdesc:a86aa089b0e8594b87a1673819306a2a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with default parameters. <a href="classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9">More...</a><br /></td></tr>
<tr class="separator:a86aa089b0e8594b87a1673819306a2a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32046b622244b2741c697378b5f1a119"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119">GetSize</a> ()</td></tr>
<tr class="memdesc:a32046b622244b2741c697378b5f1a119"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the size of the rectangle. <a href="classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119">More...</a><br /></td></tr>
<tr class="separator:a32046b622244b2741c697378b5f1a119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af930b1ee8415a3f94345b8054c0e949e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e">SetSize</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;size)</td></tr>
<tr class="memdesc:af930b1ee8415a3f94345b8054c0e949e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new size for the rectangle. <a href="classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e">More...</a><br /></td></tr>
<tr class="separator:af930b1ee8415a3f94345b8054c0e949e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6519646c073cc57ff9273d05c01e6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f">SetSize</a> (float x, float y)</td></tr>
<tr class="memdesc:a6a6519646c073cc57ff9273d05c01e6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new size for the rectangle. <a href="classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f">More...</a><br /></td></tr>
<tr class="separator:a6a6519646c073cc57ff9273d05c01e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36bf7eb0f6456c7be56a480a0666938"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">Draw</a> (SDL_Renderer *const target) const override</td></tr>
<tr class="memdesc:af36bf7eb0f6456c7be56a480a0666938"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the <a class="el" href="classsdlu_1_1_rectangle.html">Rectangle</a> to the target. <a href="classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938">More...</a><br /></td></tr>
<tr class="separator:af36bf7eb0f6456c7be56a480a0666938"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_shape.html">Shape</a></td></tr>
<tr class="memitem:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">~Shape</a> ()</td></tr>
<tr class="memdesc:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor. <a href="class_shape.html#ac3b9fc48965274893f25b18aa14ba665">More...</a><br /></td></tr>
<tr class="separator:ac3b9fc48965274893f25b18aa14ba665 inherit pub_methods_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61fb6adee1930ee57dd3337ef42926ec inherit pub_methods_class_shape"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">SetColor</a> (const <a class="el" href="struct_color.html">Color</a> &amp;<a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a>)</td></tr>
<tr class="memdesc:a61fb6adee1930ee57dd3337ef42926ec inherit pub_methods_class_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the shape. <a href="class_shape.html#a61fb6adee1930ee57dd3337ef42926ec">More...</a><br /></td></tr>
<tr class="separator:a61fb6adee1930ee57dd3337ef42926ec inherit pub_methods_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206be0235ad015ac23e5ece55b2621bc inherit pub_methods_class_shape"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">GetColor</a> ()</td></tr>
<tr class="memdesc:a206be0235ad015ac23e5ece55b2621bc inherit pub_methods_class_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the color of the shape. <a href="class_shape.html#a206be0235ad015ac23e5ece55b2621bc">More...</a><br /></td></tr>
<tr class="separator:a206be0235ad015ac23e5ece55b2621bc inherit pub_methods_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_drawable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_drawable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_drawable.html">Drawable</a></td></tr>
<tr class="memitem:a3d6fd34a29f7d6d861828e65aa02cb39 inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a3d6fd34a29f7d6d861828e65aa02cb39">Drawable</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a3d6fd34a29f7d6d861828e65aa02cb39 inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f24cac47fa9281aa9b50d0cb47c353d inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a1f24cac47fa9281aa9b50d0cb47c353d">Drawable</a> (<a class="el" href="class_drawable.html">Drawable</a> &amp;&amp;other)=delete</td></tr>
<tr class="separator:a1f24cac47fa9281aa9b50d0cb47c353d inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02393acfdc07d52b5e318352064c2327 inherit pub_methods_class_drawable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_drawable.html">Drawable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#a02393acfdc07d52b5e318352064c2327">operator=</a> (const <a class="el" href="class_drawable.html">Drawable</a> &amp;other)=delete</td></tr>
<tr class="separator:a02393acfdc07d52b5e318352064c2327 inherit pub_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_transformable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_transformable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_transformable.html">Transformable</a></td></tr>
<tr class="memitem:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a> ()</td></tr>
<tr class="memdesc:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructur. <a href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">More...</a><br /></td></tr>
<tr class="separator:aaf42df1fbbc11ac758342a0cb26eb80a inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a> ()</td></tr>
<tr class="memdesc:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor. <a href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">More...</a><br /></td></tr>
<tr class="separator:ab8eae21f70d709159d849a2966c24412 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a> ()</td></tr>
<tr class="memdesc:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the position of the object. <a href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">More...</a><br /></td></tr>
<tr class="separator:a49f770487198dc60ab7bdfc131778a66 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">More...</a><br /></td></tr>
<tr class="separator:a0dff4cf64143f46e2740da16e8b588bf inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new position. <a href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">More...</a><br /></td></tr>
<tr class="separator:a10235cf98c74ee27ed5eb57d440e02e2 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>)</td></tr>
<tr class="memdesc:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">More...</a><br /></td></tr>
<tr class="separator:a32758b5ffec2466bdd6824d314bc7cbd inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a> (float x, float y)</td></tr>
<tr class="memdesc:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds to the current position. <a href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">More...</a><br /></td></tr>
<tr class="separator:a19db1bbc145ea631f8caa16ddcf852bf inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a> ()</td></tr>
<tr class="memdesc:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current local origin. <a href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">More...</a><br /></td></tr>
<tr class="separator:ab45027854676ecff39b45f7b1bb8db45 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>)</td></tr>
<tr class="memdesc:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">More...</a><br /></td></tr>
<tr class="separator:a0a4764e72329b3120812569e8d35c109 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a> (float x, float y)</td></tr>
<tr class="memdesc:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new local origin. <a href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">More...</a><br /></td></tr>
<tr class="separator:a6f1cb1413a0b26398b35aa0c9e6c5bc8 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a> ()</td></tr>
<tr class="memdesc:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current scale of the object. <a href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">More...</a><br /></td></tr>
<tr class="separator:a5bd1f0833826cc91cddbb630f4d2ea00 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">More...</a><br /></td></tr>
<tr class="separator:a6dfad28c0725d65023164580dbe40eec inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new scale. <a href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">More...</a><br /></td></tr>
<tr class="separator:a7eaf9ee1d0110fb92e4643ca856e4e18 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a> (const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;<a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>)</td></tr>
<tr class="memdesc:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">More...</a><br /></td></tr>
<tr class="separator:a0ef8796a3ca3ad79b22be5ef59cd4c3a inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a> (float x, float y)</td></tr>
<tr class="memdesc:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales the object by some amount. <a href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">More...</a><br /></td></tr>
<tr class="separator:a7f823978c527cdca2ce5667926aa7ce2 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a> ()</td></tr>
<tr class="memdesc:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current rotation. <a href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">More...</a><br /></td></tr>
<tr class="separator:a2072c3a7060c9867ce887b937fcc92ae inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a> (float angle)</td></tr>
<tr class="memdesc:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a new rotation. <a href="class_transformable.html#a6644393bb743781a7745071c307cb481">More...</a><br /></td></tr>
<tr class="separator:a6644393bb743781a7745071c307cb481 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a> (float angle)</td></tr>
<tr class="memdesc:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates by some amount. <a href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">More...</a><br /></td></tr>
<tr class="separator:ab4c7bb0f85cc1670f4c13d89f09b5938 inherit pub_methods_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_shape')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_shape.html">Shape</a></td></tr>
<tr class="memitem:aaa8d87171e65e0d8ba3c5459978992a7 inherit pro_methods_class_shape"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">Shape</a> ()</td></tr>
<tr class="memdesc:aaa8d87171e65e0d8ba3c5459978992a7 inherit pro_methods_class_shape"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="class_shape.html#aaa8d87171e65e0d8ba3c5459978992a7">More...</a><br /></td></tr>
<tr class="separator:aaa8d87171e65e0d8ba3c5459978992a7 inherit pro_methods_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_drawable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_drawable')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_drawable.html">Drawable</a></td></tr>
<tr class="memitem:aac88608db6081da479c772c96636acb1 inherit pro_methods_class_drawable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawable.html#aac88608db6081da479c772c96636acb1">Drawable</a> ()</td></tr>
<tr class="separator:aac88608db6081da479c772c96636acb1 inherit pro_methods_class_drawable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_shape')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_shape.html">Shape</a></td></tr>
<tr class="memitem:ac56e2bf5eb24cf37b6e08c671501566b inherit pro_attribs_class_shape"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_color.html">Color</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_shape.html#ac56e2bf5eb24cf37b6e08c671501566b">color</a></td></tr>
<tr class="separator:ac56e2bf5eb24cf37b6e08c671501566b inherit pro_attribs_class_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_transformable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_transformable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_transformable.html">Transformable</a></td></tr>
<tr class="memitem:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a></td></tr>
<tr class="memdesc:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of the object. <a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">More...</a><br /></td></tr>
<tr class="separator:a1f58c94a72ecab9cca66287f8ac7b20f inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a></td></tr>
<tr class="memdesc:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset of the top-left corner from the position. <a href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">More...</a><br /></td></tr>
<tr class="separator:aa21dbaab5c9f7f5703d827ae7090a0e8 inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a></td></tr>
<tr class="memdesc:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scale of the object. <a href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">More...</a><br /></td></tr>
<tr class="separator:a587fe840ddac456ba4e8caa5f00ddf0c inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a></td></tr>
<tr class="memdesc:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation of the object (in degrees) <a href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">More...</a><br /></td></tr>
<tr class="separator:a8a27de0d8dbb0e0bd0af4092ec7509c0 inherit pro_attribs_class_transformable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae18bda0b59c8a960eba2d9b7d48c9ec1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae18bda0b59c8a960eba2d9b7d48c9ec1">&#9670;&nbsp;</a></span>Rectangle() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">sdlu::Rectangle::Rectangle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a id="a86aa089b0e8594b87a1673819306a2a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86aa089b0e8594b87a1673819306a2a9">&#9670;&nbsp;</a></span>Rectangle() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">sdlu::Rectangle::Rectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor with default parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A 2D position vector </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>A 2D size vector </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af36bf7eb0f6456c7be56a480a0666938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af36bf7eb0f6456c7be56a480a0666938">&#9670;&nbsp;</a></span>Draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void sdlu::Rectangle::Draw </td>
<td>(</td>
<td class="paramtype">SDL_Renderer *const&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the <a class="el" href="classsdlu_1_1_rectangle.html">Rectangle</a> to the target. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The <a class="el" href="class_render_target.html" title="Acts as a wrapper for SDL_Renderer*. You can&#39;t (and shouldn&#39;t) instantiate this, but rather derive fr...">RenderTarget</a> to draw to </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="class_drawable.html#ae50710a7322d5ab41019739213f5bbed">Drawable</a>.</p>
</div>
</div>
<a id="a32046b622244b2741c697378b5f1a119"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32046b622244b2741c697378b5f1a119">&#9670;&nbsp;</a></span>GetSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> sdlu::Rectangle::GetSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the size of the rectangle. </p>
<dl class="section return"><dt>Returns</dt><dd>A 2D vector with the size information </dd></dl>
</div>
</div>
<a id="af930b1ee8415a3f94345b8054c0e949e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af930b1ee8415a3f94345b8054c0e949e">&#9670;&nbsp;</a></span>SetSize() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void sdlu::Rectangle::SetSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a> &amp;&#160;</td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new size for the rectangle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>A 2D vector with the size information </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a6a6519646c073cc57ff9273d05c01e6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a6519646c073cc57ff9273d05c01e6f">&#9670;&nbsp;</a></span>SetSize() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void sdlu::Rectangle::SetSize </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new size for the rectangle. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The new size in x direction </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The new size in y direction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Robert/source/repos/SDLU/include/graphics/drawable/shapes/<a class="el" href="_rectangle_8hpp_source.html">Rectangle.hpp</a></li>
</ul>
</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="namespacesdlu.html">sdlu</a></li><li class="navelem"><a class="el" href="classsdlu_1_1_rectangle.html">Rectangle</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>

View file

@ -0,0 +1,9 @@
var classsdlu_1_1_rectangle =
[
[ "Rectangle", "classsdlu_1_1_rectangle.html#ae18bda0b59c8a960eba2d9b7d48c9ec1", null ],
[ "Rectangle", "classsdlu_1_1_rectangle.html#a86aa089b0e8594b87a1673819306a2a9", null ],
[ "Draw", "classsdlu_1_1_rectangle.html#af36bf7eb0f6456c7be56a480a0666938", null ],
[ "GetSize", "classsdlu_1_1_rectangle.html#a32046b622244b2741c697378b5f1a119", null ],
[ "SetSize", "classsdlu_1_1_rectangle.html#af930b1ee8415a3f94345b8054c0e949e", null ],
[ "SetSize", "classsdlu_1_1_rectangle.html#a6a6519646c073cc57ff9273d05c01e6f", null ]
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

BIN
docs/html/closed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

View file

@ -0,0 +1,113 @@
<!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/graphics/drawable Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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('dir_0ad5046be0f935a9cae2c1d790701d38.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">drawable Directory Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a>
Directories</h2></td></tr>
<tr class="memitem:dir_b8c15fbf3c3199154c9b0a821e68d020"><td class="memItemLeft" align="right" valign="top">directory &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_b8c15fbf3c3199154c9b0a821e68d020.html">shapes</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
Files</h2></td></tr>
<tr class="memitem:_drawable_8hpp"><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_drawable_8hpp.html">Drawable.hpp</a> <a href="_drawable_8hpp_source.html">[code]</a></td></tr>
<tr class="memdesc:_drawable_8hpp"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base class of everything renderable by <a class="el" href="class_render_target.html" title="Acts as a wrapper for SDL_Renderer*. You can&#39;t (and shouldn&#39;t) instantiate this, but rather derive fr...">RenderTarget</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:_transformable_8hpp"><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_transformable_8hpp.html">Transformable.hpp</a> <a href="_transformable_8hpp_source.html">[code]</a></td></tr>
<tr class="memdesc:_transformable_8hpp"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contains information for transformable objects. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</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>

View file

@ -0,0 +1,10 @@
var dir_0ad5046be0f935a9cae2c1d790701d38 =
[
[ "shapes", "dir_b8c15fbf3c3199154c9b0a821e68d020.html", "dir_b8c15fbf3c3199154c9b0a821e68d020" ],
[ "Drawable.hpp", "_drawable_8hpp.html", [
[ "Drawable", "class_drawable.html", "class_drawable" ]
] ],
[ "Transformable.hpp", "_transformable_8hpp.html", [
[ "Transformable", "class_transformable.html", "class_transformable" ]
] ]
];

Some files were not shown because too many files have changed in this diff Show more