230 lines
29 KiB
HTML
230 lines
29 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>SFML - Simple and Fast Multimedia Library</title>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
|
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="search/search.css" />
|
|
<link rel="stylesheet" type="text/css" href="searchOverrides.css" />
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_search(); });
|
|
/* @license-end */
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="banner-container">
|
|
<div id="banner">
|
|
<span id="sfml">SFML 3.0.0</span>
|
|
</div>
|
|
</div>
|
|
<div id="content">
|
|
<div>
|
|
<!-- Generated by Doxygen 1.12.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="topics.html"><span>Topics</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
|
|
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_c0a853e81d6f1c1f0a3eb7a27dc24256.html">SFML</a></li><li class="navelem"><a class="el" href="dir_e71ec51a9abd604c65f6abb639f6ea75.html">Graphics</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">RenderWindow.hpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="RenderWindow_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// SFML - Simple and Fast Multimedia Library</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Copyright (C) 2007-2024 Laurent Gomila (laurent@sfml-dev.org)</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// This software is provided 'as-is', without any express or implied warranty.</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">// In no event will the authors be held liable for any damages arising from the use of this software.</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// Permission is granted to anyone to use this software for any purpose,</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">// including commercial applications, and to alter it and redistribute it freely,</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">// subject to the following restrictions:</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">// 1. The origin of this software must not be misrepresented;</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">// you must not claim that you wrote the original software.</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">// If you use this software in a product, an acknowledgment</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">// in the product documentation would be appreciated but is not required.</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// 2. Altered source versions must be plainly marked as such,</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">// and must not be misrepresented as being the original software.</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">// 3. This notice may not be removed or altered from any source distribution.</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">// Headers</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include <<a class="code" href="Graphics_2Export_8hpp.html">SFML/Graphics/Export.hpp</a>></span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <<a class="code" href="RenderTarget_8hpp.html">SFML/Graphics/RenderTarget.hpp</a>></span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include <<a class="code" href="ContextSettings_8hpp.html">SFML/Window/ContextSettings.hpp</a>></span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include <<a class="code" href="VideoMode_8hpp.html">SFML/Window/VideoMode.hpp</a>></span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include <<a class="code" href="Window_2Window_8hpp.html">SFML/Window/Window.hpp</a>></span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include <<a class="code" href="WindowEnums_8hpp.html">SFML/Window/WindowEnums.hpp</a>></span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#include <<a class="code" href="WindowHandle_8hpp.html">SFML/Window/WindowHandle.hpp</a>></span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#include <<a class="code" href="Vector2_8hpp.html">SFML/System/Vector2.hpp</a>></span></div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#include <cstdint></span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacesf.html">sf</a></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>{</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keyword">class </span>Image;</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">class </span>String;</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
|
<div class="foldopen" id="foldopen00054" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html"> 54</a></span><span class="keyword">class </span><a class="code hl_define" href="Graphics_2Export_8hpp.html#ab84c9f1035e146917de3bc0f98d72b35">SFML_GRAPHICS_API</a> <a class="code hl_class" href="classsf_1_1RenderWindow.html">RenderWindow</a> : <span class="keyword">public</span> <a class="code hl_class" href="classsf_1_1Window.html">Window</a>, <span class="keyword">public</span> <a class="code hl_class" href="classsf_1_1RenderTarget.html">RenderTarget</a></div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>{</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#add082448ad1384c0bd475a70cf4f7df1"> 64</a></span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#add082448ad1384c0bd475a70cf4f7df1">RenderWindow</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#a417c0ea193537b0104b6f6c52e9d7163"> 86</a></span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#a417c0ea193537b0104b6f6c52e9d7163">RenderWindow</a>(<a class="code hl_class" href="classsf_1_1VideoMode.html">VideoMode</a> mode,</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1String.html">String</a>& title,</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> std::uint32_t style = Style::Default,</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <a class="code hl_enumeration" href="group__window.html#ga504e2cd8fc6a852463f8d049db1151e5">State</a> state = State::Windowed,</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">const</span> <a class="code hl_class" href="structsf_1_1ContextSettings.html">ContextSettings</a>& settings = {});</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#af405d17c1e5e042886afff04b3a77f97"> 109</a></span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#af405d17c1e5e042886afff04b3a77f97">RenderWindow</a>(<a class="code hl_class" href="classsf_1_1VideoMode.html">VideoMode</a> mode, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1String.html">String</a>& title, <a class="code hl_enumeration" href="group__window.html#ga504e2cd8fc6a852463f8d049db1151e5">State</a> state, <span class="keyword">const</span> <a class="code hl_class" href="structsf_1_1ContextSettings.html">ContextSettings</a>& settings = {});</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#a19debea720c5cb4b7c19886f464ae1c7"> 127</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#a19debea720c5cb4b7c19886f464ae1c7">RenderWindow</a>(<a class="code hl_typedef" href="group__window.html#ga9858f04701033cd01859037d8dafd289">WindowHandle</a> handle, <span class="keyword">const</span> <a class="code hl_class" href="structsf_1_1ContextSettings.html">ContextSettings</a>& settings = {});</div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#af5d9a6263e05fd4ed4b31a5c202cc642"> 138</a></span> [[nodiscard]] <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2u</a> <a class="code hl_function" href="classsf_1_1RenderWindow.html#af5d9a6263e05fd4ed4b31a5c202cc642">getSize</a>() <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#aba4d2434d6c2d058485d8a35b10afb25"> 150</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#aba4d2434d6c2d058485d8a35b10afb25">setIcon</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Image.html">Image</a>& icon);</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keyword">using </span>Window::setIcon;</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#a1e57e5284d9abf1095171d157dd27b3f"> 161</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#a1e57e5284d9abf1095171d157dd27b3f">isSrgb</a>() <span class="keyword">const override</span>;</div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#a3f5476821139d5a7f0e4df19dab69b56"> 179</a></span> [[nodiscard]] <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#a3f5476821139d5a7f0e4df19dab69b56">setActive</a>(<span class="keywordtype">bool</span> active = <span class="keyword">true</span>) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> </div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><span class="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#aab231189dcb7d529d7d535772ac5ab01"> 190</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#aab231189dcb7d529d7d535772ac5ab01">onCreate</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> </div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="classsf_1_1RenderWindow.html#a5223392a3ebd6581bd7b2c5e211ba072"> 199</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1RenderWindow.html#a5223392a3ebd6581bd7b2c5e211ba072">onResize</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> <span class="comment">// Member data</span></div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_defaultFrameBuffer{}; </div>
|
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span>} <span class="comment">// namespace sf</span></div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> </div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
|
|
<div class="ttc" id="aContextSettings_8hpp_html"><div class="ttname"><a href="ContextSettings_8hpp.html">ContextSettings.hpp</a></div></div>
|
|
<div class="ttc" id="aGraphics_2Export_8hpp_html"><div class="ttname"><a href="Graphics_2Export_8hpp.html">Export.hpp</a></div></div>
|
|
<div class="ttc" id="aGraphics_2Export_8hpp_html_ab84c9f1035e146917de3bc0f98d72b35"><div class="ttname"><a href="Graphics_2Export_8hpp.html#ab84c9f1035e146917de3bc0f98d72b35">SFML_GRAPHICS_API</a></div><div class="ttdeci">#define SFML_GRAPHICS_API</div><div class="ttdef"><b>Definition</b> <a href="Graphics_2Export_8hpp_source.html#l00042">Graphics/Export.hpp:42</a></div></div>
|
|
<div class="ttc" id="aRenderTarget_8hpp_html"><div class="ttname"><a href="RenderTarget_8hpp.html">RenderTarget.hpp</a></div></div>
|
|
<div class="ttc" id="aVector2_8hpp_html"><div class="ttname"><a href="Vector2_8hpp.html">Vector2.hpp</a></div></div>
|
|
<div class="ttc" id="aVideoMode_8hpp_html"><div class="ttname"><a href="VideoMode_8hpp.html">VideoMode.hpp</a></div></div>
|
|
<div class="ttc" id="aWindowEnums_8hpp_html"><div class="ttname"><a href="WindowEnums_8hpp.html">WindowEnums.hpp</a></div></div>
|
|
<div class="ttc" id="aWindowHandle_8hpp_html"><div class="ttname"><a href="WindowHandle_8hpp.html">WindowHandle.hpp</a></div></div>
|
|
<div class="ttc" id="aWindow_2Window_8hpp_html"><div class="ttname"><a href="Window_2Window_8hpp.html">Window.hpp</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1Image_html"><div class="ttname"><a href="classsf_1_1Image.html">sf::Image</a></div><div class="ttdoc">Class for loading, manipulating and saving images.</div><div class="ttdef"><b>Definition</b> <a href="Image_8hpp_source.html#l00054">Image.hpp:55</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderTarget_html"><div class="ttname"><a href="classsf_1_1RenderTarget.html">sf::RenderTarget</a></div><div class="ttdoc">Base class for all render targets (window, texture, ...)</div><div class="ttdef"><b>Definition</b> <a href="RenderTarget_8hpp_source.html#l00062">RenderTarget.hpp:63</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html"><div class="ttname"><a href="classsf_1_1RenderWindow.html">sf::RenderWindow</a></div><div class="ttdoc">Window that can serve as a target for 2D drawing.</div><div class="ttdef"><b>Definition</b> <a href="#l00054">RenderWindow.hpp:55</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_a19debea720c5cb4b7c19886f464ae1c7"><div class="ttname"><a href="classsf_1_1RenderWindow.html#a19debea720c5cb4b7c19886f464ae1c7">sf::RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(WindowHandle handle, const ContextSettings &settings={})</div><div class="ttdoc">Construct the window from an existing control.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_a1e57e5284d9abf1095171d157dd27b3f"><div class="ttname"><a href="classsf_1_1RenderWindow.html#a1e57e5284d9abf1095171d157dd27b3f">sf::RenderWindow::isSrgb</a></div><div class="ttdeci">bool isSrgb() const override</div><div class="ttdoc">Tell if the window will use sRGB encoding when drawing on it.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_a3f5476821139d5a7f0e4df19dab69b56"><div class="ttname"><a href="classsf_1_1RenderWindow.html#a3f5476821139d5a7f0e4df19dab69b56">sf::RenderWindow::setActive</a></div><div class="ttdeci">bool setActive(bool active=true) override</div><div class="ttdoc">Activate or deactivate the window as the current target for OpenGL rendering.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_a417c0ea193537b0104b6f6c52e9d7163"><div class="ttname"><a href="classsf_1_1RenderWindow.html#a417c0ea193537b0104b6f6c52e9d7163">sf::RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(VideoMode mode, const String &title, std::uint32_t style=Style::Default, State state=State::Windowed, const ContextSettings &settings={})</div><div class="ttdoc">Construct a new window.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_a5223392a3ebd6581bd7b2c5e211ba072"><div class="ttname"><a href="classsf_1_1RenderWindow.html#a5223392a3ebd6581bd7b2c5e211ba072">sf::RenderWindow::onResize</a></div><div class="ttdeci">void onResize() override</div><div class="ttdoc">Function called after the window has been resized.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_aab231189dcb7d529d7d535772ac5ab01"><div class="ttname"><a href="classsf_1_1RenderWindow.html#aab231189dcb7d529d7d535772ac5ab01">sf::RenderWindow::onCreate</a></div><div class="ttdeci">void onCreate() override</div><div class="ttdoc">Function called after the window has been created.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_aba4d2434d6c2d058485d8a35b10afb25"><div class="ttname"><a href="classsf_1_1RenderWindow.html#aba4d2434d6c2d058485d8a35b10afb25">sf::RenderWindow::setIcon</a></div><div class="ttdeci">void setIcon(const Image &icon)</div><div class="ttdoc">Change the window's icon.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_add082448ad1384c0bd475a70cf4f7df1"><div class="ttname"><a href="classsf_1_1RenderWindow.html#add082448ad1384c0bd475a70cf4f7df1">sf::RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow()=default</div><div class="ttdoc">Default constructor.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_af405d17c1e5e042886afff04b3a77f97"><div class="ttname"><a href="classsf_1_1RenderWindow.html#af405d17c1e5e042886afff04b3a77f97">sf::RenderWindow::RenderWindow</a></div><div class="ttdeci">RenderWindow(VideoMode mode, const String &title, State state, const ContextSettings &settings={})</div><div class="ttdoc">Construct a new window.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1RenderWindow_html_af5d9a6263e05fd4ed4b31a5c202cc642"><div class="ttname"><a href="classsf_1_1RenderWindow.html#af5d9a6263e05fd4ed4b31a5c202cc642">sf::RenderWindow::getSize</a></div><div class="ttdeci">Vector2u getSize() const override</div><div class="ttdoc">Get the size of the rendering region of the window.</div></div>
|
|
<div class="ttc" id="aclasssf_1_1String_html"><div class="ttname"><a href="classsf_1_1String.html">sf::String</a></div><div class="ttdoc">Utility string class that automatically handles conversions between types and encodings.</div><div class="ttdef"><b>Definition</b> <a href="String_8hpp_source.html#l00088">String.hpp:89</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1Vector2_html"><div class="ttname"><a href="classsf_1_1Vector2.html">sf::Vector2< unsigned int ></a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1VideoMode_html"><div class="ttname"><a href="classsf_1_1VideoMode.html">sf::VideoMode</a></div><div class="ttdoc">VideoMode defines a video mode (size, bpp)</div><div class="ttdef"><b>Definition</b> <a href="VideoMode_8hpp_source.html#l00043">VideoMode.hpp:44</a></div></div>
|
|
<div class="ttc" id="aclasssf_1_1Window_html"><div class="ttname"><a href="classsf_1_1Window.html">sf::Window</a></div><div class="ttdoc">Window that serves as a target for OpenGL rendering.</div><div class="ttdef"><b>Definition</b> <a href="Window_2Window_8hpp_source.html#l00055">Window/Window.hpp:56</a></div></div>
|
|
<div class="ttc" id="agroup__window_html_ga504e2cd8fc6a852463f8d049db1151e5"><div class="ttname"><a href="group__window.html#ga504e2cd8fc6a852463f8d049db1151e5">sf::State</a></div><div class="ttdeci">State</div><div class="ttdoc">Enumeration of the window states.</div><div class="ttdef"><b>Definition</b> <a href="WindowEnums_8hpp_source.html#l00054">WindowEnums.hpp:55</a></div></div>
|
|
<div class="ttc" id="agroup__window_html_ga9858f04701033cd01859037d8dafd289"><div class="ttname"><a href="group__window.html#ga9858f04701033cd01859037d8dafd289">sf::WindowHandle</a></div><div class="ttdeci">"platform-specific" WindowHandle</div><div class="ttdoc">Low-level window handle type, specific to each platform.</div><div class="ttdef"><b>Definition</b> <a href="WindowHandle_8hpp_source.html#l00068">WindowHandle.hpp:68</a></div></div>
|
|
<div class="ttc" id="anamespacesf_html"><div class="ttname"><a href="namespacesf.html">sf</a></div><div class="ttdef"><b>Definition</b> <a href="AudioResource_8hpp_source.html#l00035">AudioResource.hpp:36</a></div></div>
|
|
<div class="ttc" id="astructsf_1_1ContextSettings_html"><div class="ttname"><a href="structsf_1_1ContextSettings.html">sf::ContextSettings</a></div><div class="ttdoc">Structure defining the settings of the OpenGL context attached to a window.</div><div class="ttdef"><b>Definition</b> <a href="ContextSettings_8hpp_source.html#l00038">ContextSettings.hpp:39</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div>
|
|
<div id="footer-container">
|
|
<div id="footer">
|
|
SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br />
|
|
Copyright © Laurent Gomila ::
|
|
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> ::
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|