|
- <!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>DISTRHO Plugin Framework: dgl/StandaloneWindow.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="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">DISTRHO Plugin Framework
- </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&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&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>
- <!-- 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 id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="dir_99893ac99dd47c2a73745483a12a725f.html">dgl</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="headertitle">
- <div class="title">StandaloneWindow.hpp</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
- <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * DISTRHO Plugin Framework (DPF)</span></div>
- <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (C) 2012-2022 Filipe Coelho <falktx@falktx.com></span></div>
- <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Permission to use, copy, modify, and/or distribute this software for any purpose with</span></div>
- <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * or without fee is hereby granted, provided that the above copyright notice and this</span></div>
- <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * permission notice appear in all copies.</span></div>
- <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div>
- <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD</span></div>
- <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN</span></div>
- <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL</span></div>
- <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER</span></div>
- <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN</span></div>
- <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
- <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
- <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
- <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
- <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
- <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "TopLevelWidget.hpp"</span></div>
- <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "Window.hpp"</span></div>
- <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
- <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> START_NAMESPACE_DGL</div>
- <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
- <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// -----------------------------------------------------------------------</span></div>
- <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
- <div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html"> 27</a></span> <span class="keyword">class </span><a class="code" href="classStandaloneWindow.html">StandaloneWindow</a> : <span class="keyword">public</span> <a class="code" href="classWindow.html">Window</a>,</div>
- <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">public</span> <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a></div>
- <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div>
- <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:<span class="comment"></span></div>
- <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> /**</span></div>
- <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> Constructor without parent.</span></div>
- <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48"> 34</a></span>  <a class="code" href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48">StandaloneWindow</a>(<a class="code" href="classApplication.html">Application</a>& app)</div>
- <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : <a class="code" href="classWindow.html">Window</a>(app),</div>
- <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a>((<a class="code" href="classWindow.html">Window</a>&)*this),</div>
- <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  sgc((<a class="code" href="classWindow.html">Window</a>&)*this) {}</div>
- <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span> </div>
- <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> /**</span></div>
- <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> Constructor with a transient parent window, typically used to run as modal.</span></div>
- <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c"> 42</a></span>  <a class="code" href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c">StandaloneWindow</a>(<a class="code" href="classApplication.html">Application</a>& app, <a class="code" href="classWindow.html">Window</a>& transientParentWindow)</div>
- <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  : <a class="code" href="classWindow.html">Window</a>(app, transientParentWindow),</div>
- <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a>((<a class="code" href="classWindow.html">Window</a>&)*this),</div>
- <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  sgc((<a class="code" href="classWindow.html">Window</a>&)*this, transientParentWindow) {}</div>
- <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"></span> </div>
- <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> /**</span></div>
- <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> Clear current graphics context.</span></div>
- <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> Must be called at the end of your StandaloneWindow constructor.</span></div>
- <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a3b13bbbe8b8c431806ab50d2ea3410ad"> 51</a></span>  <span class="keywordtype">void</span> <a class="code" href="classStandaloneWindow.html#a3b13bbbe8b8c431806ab50d2ea3410ad">done</a>()</div>
- <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div>
- <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  sgc.<a class="code" href="structWindow_1_1ScopedGraphicsContext.html#a4647e1da0c4477f021f668459fb3221f">done</a>();</div>
- <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div>
- <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"></span> </div>
- <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> /**</span></div>
- <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> Get a graphics context back again.</span></div>
- <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> Called when a valid graphics context is needed outside the constructor.</span></div>
- <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#ad5848f401a4b91a2d4d5c8c420b4f72e"> 60</a></span>  <span class="keywordtype">void</span> <a class="code" href="classStandaloneWindow.html#ad5848f401a4b91a2d4d5c8c420b4f72e">reinit</a>()</div>
- <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div>
- <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  sgc.<a class="code" href="structWindow_1_1ScopedGraphicsContext.html#afe259111bbf09fcf95995b0e447de221">reinit</a>();</div>
- <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div>
- <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"></span> </div>
- <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> /**</span></div>
- <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> Overloaded functions to ensure they apply to the Window class.</span></div>
- <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> */</span></div>
- <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a645f7c56f44d9a8a72e81595b28650e2"> 68</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classStandaloneWindow.html#a645f7c56f44d9a8a72e81595b28650e2">isVisible</a>() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a6be53a737e7dfcc74167962437e93b8f">Window::isVisible</a>(); }</div>
- <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> setVisible(<span class="keywordtype">bool</span> yesNo) { <a class="code" href="classWindow.html#a118e0356bb6fcf081955f2bd97686036">Window::setVisible</a>(yesNo); }</div>
- <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">void</span> hide() { <a class="code" href="classWindow.html#a4626829d3cb9d01285f739d2bbc69b74">Window::hide</a>(); }</div>
- <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> show() { <a class="code" href="classWindow.html#a8f986e19a11c4c97ed8e6ad3d0e648b7">Window::show</a>(); }</div>
- <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  uint getWidth() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#ab19430997dd1b3d7bf9bd3640d73b007">Window::getWidth</a>(); }</div>
- <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  uint getHeight() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a5d53bcba43455f8f77cfcbac61ec6c8e">Window::getHeight</a>(); }</div>
- <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> <a class="code" href="classSize.html">Size<uint></a> getSize() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#acd158570648b07967a4af011d6223eea">Window::getSize</a>(); }</div>
- <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#aa1475d362245c793b516a232deab70ff"> 75</a></span>  <span class="keywordtype">void</span> <a class="code" href="classStandaloneWindow.html#aa1475d362245c793b516a232deab70ff">repaint</a>() noexcept { <a class="code" href="classWindow.html#a729ab39a1ac99d81b289e08a42582ade">Window::repaint</a>(); }</div>
- <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">void</span> setWidth(uint width) { <a class="code" href="classWindow.html#acfc9a6f22176e204009acbb387d3861c">Window::setWidth</a>(width); }</div>
- <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> setHeight(uint height) { <a class="code" href="classWindow.html#a13f314cfd5c9048ec8ea0b88b611f54d">Window::setHeight</a>(height); }</div>
- <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">void</span> setSize(uint width, uint height) { <a class="code" href="classWindow.html#a89bd0c91920029ddcb21b8975e8b47d9">Window::setSize</a>(width, height); }</div>
- <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> setSize(<span class="keyword">const</span> <a class="code" href="classSize.html">Size<uint></a>& size) { <a class="code" href="classWindow.html#a89bd0c91920029ddcb21b8975e8b47d9">Window::setSize</a>(size); }</div>
- <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">bool</span> addIdleCallback(<a class="code" href="structIdleCallback.html">IdleCallback</a>* callback, uint timerFrequencyInMs = 0)</div>
- <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#ad17a7f53a62673982f4861cdc27fd54e">Window::addIdleCallback</a>(callback, timerFrequencyInMs); }</div>
- <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">bool</span> removeIdleCallback(<a class="code" href="structIdleCallback.html">IdleCallback</a>* callback) { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a5c5c4f53c53cb081b39a40d5ce9afd65">Window::removeIdleCallback</a>(callback); }</div>
- <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classApplication.html">Application</a>& getApp() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a92600b2e0715646b80474fccbcadf336">Window::getApp</a>(); }</div>
- <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> <a class="code" href="structGraphicsContext.html">GraphicsContext</a>& getGraphicsContext() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#aa73a74df08f29d576e18cf1d61ea9897">Window::getGraphicsContext</a>(); }</div>
- <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">double</span> getScaleFactor() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a77774c8ce4b01113fcd525079f9b8787">Window::getScaleFactor</a>(); }</div>
- <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> setGeometryConstraints(uint minimumWidth, uint minimumHeight,</div>
- <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">bool</span> keepAspectRatio = <span class="keyword">false</span>, <span class="keywordtype">bool</span> automaticallyScale = <span class="keyword">false</span>)</div>
- <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  { <a class="code" href="classWindow.html#aa3824e300206b15241df8c8c78785d73">Window::setGeometryConstraints</a>(minimumWidth, minimumHeight, keepAspectRatio, automaticallyScale); }</div>
- <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
- <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">private</span>:</div>
- <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  ScopedGraphicsContext sgc;</div>
- <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
- <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(<a class="code" href="classStandaloneWindow.html">StandaloneWindow</a>)</div>
- <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> };</div>
- <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
- <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// -----------------------------------------------------------------------</span></div>
- <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
- <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> END_NAMESPACE_DGL</div>
- <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
- <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#endif </span><span class="comment">// DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
- <div class="ttc" id="aclassApplication_html"><div class="ttname"><a href="classApplication.html">Application</a></div><div class="ttdef"><b>Definition:</b> Application.hpp:43</div></div>
- <div class="ttc" id="aclassSize_html"><div class="ttname"><a href="classSize.html">Size< uint ></a></div></div>
- <div class="ttc" id="aclassStandaloneWindow_html"><div class="ttname"><a href="classStandaloneWindow.html">StandaloneWindow</a></div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:29</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_a28d4f09b9f280c1d03cc77fc63465b48"><div class="ttname"><a href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48">StandaloneWindow::StandaloneWindow</a></div><div class="ttdeci">StandaloneWindow(Application &app)</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:34</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_a3b13bbbe8b8c431806ab50d2ea3410ad"><div class="ttname"><a href="classStandaloneWindow.html#a3b13bbbe8b8c431806ab50d2ea3410ad">StandaloneWindow::done</a></div><div class="ttdeci">void done()</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:51</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_a645f7c56f44d9a8a72e81595b28650e2"><div class="ttname"><a href="classStandaloneWindow.html#a645f7c56f44d9a8a72e81595b28650e2">StandaloneWindow::isVisible</a></div><div class="ttdeci">bool isVisible() const noexcept</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:68</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_a86e7db3cd8830628b37d0608df40963c"><div class="ttname"><a href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c">StandaloneWindow::StandaloneWindow</a></div><div class="ttdeci">StandaloneWindow(Application &app, Window &transientParentWindow)</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:42</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_aa1475d362245c793b516a232deab70ff"><div class="ttname"><a href="classStandaloneWindow.html#aa1475d362245c793b516a232deab70ff">StandaloneWindow::repaint</a></div><div class="ttdeci">void repaint() noexcept</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:75</div></div>
- <div class="ttc" id="aclassStandaloneWindow_html_ad5848f401a4b91a2d4d5c8c420b4f72e"><div class="ttname"><a href="classStandaloneWindow.html#ad5848f401a4b91a2d4d5c8c420b4f72e">StandaloneWindow::reinit</a></div><div class="ttdeci">void reinit()</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:60</div></div>
- <div class="ttc" id="aclassTopLevelWidget_html"><div class="ttname"><a href="classTopLevelWidget.html">TopLevelWidget</a></div><div class="ttdef"><b>Definition:</b> TopLevelWidget.hpp:47</div></div>
- <div class="ttc" id="aclassWindow_html"><div class="ttname"><a href="classWindow.html">Window</a></div><div class="ttdef"><b>Definition:</b> Window.hpp:63</div></div>
- <div class="ttc" id="aclassWindow_html_a118e0356bb6fcf081955f2bd97686036"><div class="ttname"><a href="classWindow.html#a118e0356bb6fcf081955f2bd97686036">Window::setVisible</a></div><div class="ttdeci">void setVisible(bool visible)</div></div>
- <div class="ttc" id="aclassWindow_html_a13f314cfd5c9048ec8ea0b88b611f54d"><div class="ttname"><a href="classWindow.html#a13f314cfd5c9048ec8ea0b88b611f54d">Window::setHeight</a></div><div class="ttdeci">void setHeight(uint height)</div></div>
- <div class="ttc" id="aclassWindow_html_a4626829d3cb9d01285f739d2bbc69b74"><div class="ttname"><a href="classWindow.html#a4626829d3cb9d01285f739d2bbc69b74">Window::hide</a></div><div class="ttdeci">void hide()</div></div>
- <div class="ttc" id="aclassWindow_html_a5c5c4f53c53cb081b39a40d5ce9afd65"><div class="ttname"><a href="classWindow.html#a5c5c4f53c53cb081b39a40d5ce9afd65">Window::removeIdleCallback</a></div><div class="ttdeci">bool removeIdleCallback(IdleCallback *callback)</div></div>
- <div class="ttc" id="aclassWindow_html_a5d53bcba43455f8f77cfcbac61ec6c8e"><div class="ttname"><a href="classWindow.html#a5d53bcba43455f8f77cfcbac61ec6c8e">Window::getHeight</a></div><div class="ttdeci">uint getHeight() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_a6be53a737e7dfcc74167962437e93b8f"><div class="ttname"><a href="classWindow.html#a6be53a737e7dfcc74167962437e93b8f">Window::isVisible</a></div><div class="ttdeci">bool isVisible() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_a729ab39a1ac99d81b289e08a42582ade"><div class="ttname"><a href="classWindow.html#a729ab39a1ac99d81b289e08a42582ade">Window::repaint</a></div><div class="ttdeci">void repaint() noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_a77774c8ce4b01113fcd525079f9b8787"><div class="ttname"><a href="classWindow.html#a77774c8ce4b01113fcd525079f9b8787">Window::getScaleFactor</a></div><div class="ttdeci">double getScaleFactor() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_a89bd0c91920029ddcb21b8975e8b47d9"><div class="ttname"><a href="classWindow.html#a89bd0c91920029ddcb21b8975e8b47d9">Window::setSize</a></div><div class="ttdeci">void setSize(uint width, uint height)</div></div>
- <div class="ttc" id="aclassWindow_html_a8f986e19a11c4c97ed8e6ad3d0e648b7"><div class="ttname"><a href="classWindow.html#a8f986e19a11c4c97ed8e6ad3d0e648b7">Window::show</a></div><div class="ttdeci">void show()</div></div>
- <div class="ttc" id="aclassWindow_html_a92600b2e0715646b80474fccbcadf336"><div class="ttname"><a href="classWindow.html#a92600b2e0715646b80474fccbcadf336">Window::getApp</a></div><div class="ttdeci">Application & getApp() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_aa3824e300206b15241df8c8c78785d73"><div class="ttname"><a href="classWindow.html#aa3824e300206b15241df8c8c78785d73">Window::setGeometryConstraints</a></div><div class="ttdeci">void setGeometryConstraints(uint minimumWidth, uint minimumHeight, bool keepAspectRatio=false, bool automaticallyScale=false, bool resizeNowIfAutoScaling=true)</div></div>
- <div class="ttc" id="aclassWindow_html_aa73a74df08f29d576e18cf1d61ea9897"><div class="ttname"><a href="classWindow.html#aa73a74df08f29d576e18cf1d61ea9897">Window::getGraphicsContext</a></div><div class="ttdeci">const GraphicsContext & getGraphicsContext() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_ab19430997dd1b3d7bf9bd3640d73b007"><div class="ttname"><a href="classWindow.html#ab19430997dd1b3d7bf9bd3640d73b007">Window::getWidth</a></div><div class="ttdeci">uint getWidth() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_acd158570648b07967a4af011d6223eea"><div class="ttname"><a href="classWindow.html#acd158570648b07967a4af011d6223eea">Window::getSize</a></div><div class="ttdeci">Size< uint > getSize() const noexcept</div></div>
- <div class="ttc" id="aclassWindow_html_acfc9a6f22176e204009acbb387d3861c"><div class="ttname"><a href="classWindow.html#acfc9a6f22176e204009acbb387d3861c">Window::setWidth</a></div><div class="ttdeci">void setWidth(uint width)</div></div>
- <div class="ttc" id="aclassWindow_html_ad17a7f53a62673982f4861cdc27fd54e"><div class="ttname"><a href="classWindow.html#ad17a7f53a62673982f4861cdc27fd54e">Window::addIdleCallback</a></div><div class="ttdeci">bool addIdleCallback(IdleCallback *callback, uint timerFrequencyInMs=0)</div></div>
- <div class="ttc" id="astructGraphicsContext_html"><div class="ttname"><a href="structGraphicsContext.html">GraphicsContext</a></div><div class="ttdef"><b>Definition:</b> Base.hpp:253</div></div>
- <div class="ttc" id="astructIdleCallback_html"><div class="ttname"><a href="structIdleCallback.html">IdleCallback</a></div><div class="ttdef"><b>Definition:</b> Base.hpp:259</div></div>
- <div class="ttc" id="astructWindow_1_1ScopedGraphicsContext_html_a4647e1da0c4477f021f668459fb3221f"><div class="ttname"><a href="structWindow_1_1ScopedGraphicsContext.html#a4647e1da0c4477f021f668459fb3221f">Window::ScopedGraphicsContext::done</a></div><div class="ttdeci">void done()</div></div>
- <div class="ttc" id="astructWindow_1_1ScopedGraphicsContext_html_afe259111bbf09fcf95995b0e447de221"><div class="ttname"><a href="structWindow_1_1ScopedGraphicsContext.html#afe259111bbf09fcf95995b0e447de221">Window::ScopedGraphicsContext::reinit</a></div><div class="ttdeci">void reinit()</div></div>
- </div><!-- fragment --></div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- 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
- </small></address>
- </body>
- </html>
|