DISTRHO Plugin Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

211 lines
29KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.9.1"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>DISTRHO Plugin Framework: dgl/StandaloneWindow.hpp Source File</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">DISTRHO Plugin Framework
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.9.1 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_99893ac99dd47c2a73745483a12a725f.html">dgl</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="headertitle">
  67. <div class="title">StandaloneWindow.hpp</div> </div>
  68. </div><!--header-->
  69. <div class="contents">
  70. <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
  71. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * DISTRHO Plugin Framework (DPF)</span></div>
  72. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Copyright (C) 2012-2022 Filipe Coelho &lt;falktx@falktx.com&gt;</span></div>
  73. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div>
  74. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Permission to use, copy, modify, and/or distribute this software for any purpose with</span></div>
  75. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * or without fee is hereby granted, provided that the above copyright notice and this</span></div>
  76. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * permission notice appear in all copies.</span></div>
  77. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
  78. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD</span></div>
  79. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN</span></div>
  80. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL</span></div>
  81. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER</span></div>
  82. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN</span></div>
  83. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
  84. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> */</span></div>
  85. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
  86. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
  87. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
  88. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
  89. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;TopLevelWidget.hpp&quot;</span></div>
  90. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;Window.hpp&quot;</span></div>
  91. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
  92. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;START_NAMESPACE_DGL</div>
  93. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
  94. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// -----------------------------------------------------------------------</span></div>
  95. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
  96. <div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html"> 27</a></span>&#160;<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>
  97. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keyword">public</span> <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a></div>
  98. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
  99. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">public</span>:<span class="comment"></span></div>
  100. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> /**</span></div>
  101. <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment"> Constructor without parent.</span></div>
  102. <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment"> */</span></div>
  103. <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48"> 34</a></span>&#160; <a class="code" href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48">StandaloneWindow</a>(<a class="code" href="classApplication.html">Application</a>&amp; app)</div>
  104. <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; : <a class="code" href="classWindow.html">Window</a>(app),</div>
  105. <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a>((<a class="code" href="classWindow.html">Window</a>&amp;)*this),</div>
  106. <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; sgc((<a class="code" href="classWindow.html">Window</a>&amp;)*this) {}</div>
  107. <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment"></span> </div>
  108. <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment"> /**</span></div>
  109. <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment"> Constructor with a transient parent window, typically used to run as modal.</span></div>
  110. <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment"> */</span></div>
  111. <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c"> 42</a></span>&#160; <a class="code" href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c">StandaloneWindow</a>(<a class="code" href="classApplication.html">Application</a>&amp; app, <a class="code" href="classWindow.html">Window</a>&amp; transientParentWindow)</div>
  112. <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; : <a class="code" href="classWindow.html">Window</a>(app, transientParentWindow),</div>
  113. <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="classTopLevelWidget.html">TopLevelWidget</a>((<a class="code" href="classWindow.html">Window</a>&amp;)*this),</div>
  114. <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; sgc((<a class="code" href="classWindow.html">Window</a>&amp;)*this, transientParentWindow) {}</div>
  115. <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="comment"></span> </div>
  116. <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="comment"> /**</span></div>
  117. <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="comment"> Clear current graphics context.</span></div>
  118. <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment"> Must be called at the end of your StandaloneWindow constructor.</span></div>
  119. <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment"> */</span></div>
  120. <div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a3b13bbbe8b8c431806ab50d2ea3410ad"> 51</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classStandaloneWindow.html#a3b13bbbe8b8c431806ab50d2ea3410ad">done</a>()</div>
  121. <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; {</div>
  122. <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; sgc.<a class="code" href="structWindow_1_1ScopedGraphicsContext.html#a4647e1da0c4477f021f668459fb3221f">done</a>();</div>
  123. <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; }</div>
  124. <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment"></span> </div>
  125. <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="comment"> /**</span></div>
  126. <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="comment"> Get a graphics context back again.</span></div>
  127. <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="comment"> Called when a valid graphics context is needed outside the constructor.</span></div>
  128. <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="comment"> */</span></div>
  129. <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#ad5848f401a4b91a2d4d5c8c420b4f72e"> 60</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classStandaloneWindow.html#ad5848f401a4b91a2d4d5c8c420b4f72e">reinit</a>()</div>
  130. <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div>
  131. <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; sgc.<a class="code" href="structWindow_1_1ScopedGraphicsContext.html#afe259111bbf09fcf95995b0e447de221">reinit</a>();</div>
  132. <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div>
  133. <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="comment"></span> </div>
  134. <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="comment"> /**</span></div>
  135. <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"> Overloaded functions to ensure they apply to the Window class.</span></div>
  136. <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="comment"> */</span></div>
  137. <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#a645f7c56f44d9a8a72e81595b28650e2"> 68</a></span>&#160; <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>
  138. <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">void</span> setVisible(<span class="keywordtype">bool</span> yesNo) { <a class="code" href="classWindow.html#a118e0356bb6fcf081955f2bd97686036">Window::setVisible</a>(yesNo); }</div>
  139. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">void</span> hide() { <a class="code" href="classWindow.html#a4626829d3cb9d01285f739d2bbc69b74">Window::hide</a>(); }</div>
  140. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">void</span> show() { <a class="code" href="classWindow.html#a8f986e19a11c4c97ed8e6ad3d0e648b7">Window::show</a>(); }</div>
  141. <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; uint getWidth() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#ab19430997dd1b3d7bf9bd3640d73b007">Window::getWidth</a>(); }</div>
  142. <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; uint getHeight() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a5d53bcba43455f8f77cfcbac61ec6c8e">Window::getHeight</a>(); }</div>
  143. <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">const</span> <a class="code" href="classSize.html">Size&lt;uint&gt;</a> getSize() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#acd158570648b07967a4af011d6223eea">Window::getSize</a>(); }</div>
  144. <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classStandaloneWindow.html#aa1475d362245c793b516a232deab70ff"> 75</a></span>&#160; <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>
  145. <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">void</span> setWidth(uint width) { <a class="code" href="classWindow.html#acfc9a6f22176e204009acbb387d3861c">Window::setWidth</a>(width); }</div>
  146. <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> setHeight(uint height) { <a class="code" href="classWindow.html#a13f314cfd5c9048ec8ea0b88b611f54d">Window::setHeight</a>(height); }</div>
  147. <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordtype">void</span> setSize(uint width, uint height) { <a class="code" href="classWindow.html#a89bd0c91920029ddcb21b8975e8b47d9">Window::setSize</a>(width, height); }</div>
  148. <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">void</span> setSize(<span class="keyword">const</span> <a class="code" href="classSize.html">Size&lt;uint&gt;</a>&amp; size) { <a class="code" href="classWindow.html#a89bd0c91920029ddcb21b8975e8b47d9">Window::setSize</a>(size); }</div>
  149. <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keywordtype">bool</span> addIdleCallback(<a class="code" href="structIdleCallback.html">IdleCallback</a>* callback, uint timerFrequencyInMs = 0)</div>
  150. <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#ad17a7f53a62673982f4861cdc27fd54e">Window::addIdleCallback</a>(callback, timerFrequencyInMs); }</div>
  151. <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <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>
  152. <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="classApplication.html">Application</a>&amp; getApp() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a92600b2e0715646b80474fccbcadf336">Window::getApp</a>(); }</div>
  153. <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> <a class="code" href="structGraphicsContext.html">GraphicsContext</a>&amp; getGraphicsContext() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#aa73a74df08f29d576e18cf1d61ea9897">Window::getGraphicsContext</a>(); }</div>
  154. <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">double</span> getScaleFactor() const noexcept { <span class="keywordflow">return</span> <a class="code" href="classWindow.html#a77774c8ce4b01113fcd525079f9b8787">Window::getScaleFactor</a>(); }</div>
  155. <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">void</span> setGeometryConstraints(uint minimumWidth, uint minimumHeight,</div>
  156. <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordtype">bool</span> keepAspectRatio = <span class="keyword">false</span>, <span class="keywordtype">bool</span> automaticallyScale = <span class="keyword">false</span>)</div>
  157. <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; { <a class="code" href="classWindow.html#aa3824e300206b15241df8c8c78785d73">Window::setGeometryConstraints</a>(minimumWidth, minimumHeight, keepAspectRatio, automaticallyScale); }</div>
  158. <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
  159. <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="keyword">private</span>:</div>
  160. <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; ScopedGraphicsContext sgc;</div>
  161. <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
  162. <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(<a class="code" href="classStandaloneWindow.html">StandaloneWindow</a>)</div>
  163. <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;};</div>
  164. <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
  165. <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="comment">// -----------------------------------------------------------------------</span></div>
  166. <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; </div>
  167. <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;END_NAMESPACE_DGL</div>
  168. <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
  169. <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// DGL_STANDALONE_WINDOW_HPP_INCLUDED</span></div>
  170. <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>
  171. <div class="ttc" id="aclassSize_html"><div class="ttname"><a href="classSize.html">Size&lt; uint &gt;</a></div></div>
  172. <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>
  173. <div class="ttc" id="aclassStandaloneWindow_html_a28d4f09b9f280c1d03cc77fc63465b48"><div class="ttname"><a href="classStandaloneWindow.html#a28d4f09b9f280c1d03cc77fc63465b48">StandaloneWindow::StandaloneWindow</a></div><div class="ttdeci">StandaloneWindow(Application &amp;app)</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:34</div></div>
  174. <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>
  175. <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>
  176. <div class="ttc" id="aclassStandaloneWindow_html_a86e7db3cd8830628b37d0608df40963c"><div class="ttname"><a href="classStandaloneWindow.html#a86e7db3cd8830628b37d0608df40963c">StandaloneWindow::StandaloneWindow</a></div><div class="ttdeci">StandaloneWindow(Application &amp;app, Window &amp;transientParentWindow)</div><div class="ttdef"><b>Definition:</b> StandaloneWindow.hpp:42</div></div>
  177. <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>
  178. <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>
  179. <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>
  180. <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>
  181. <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>
  182. <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>
  183. <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>
  184. <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>
  185. <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>
  186. <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>
  187. <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>
  188. <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>
  189. <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>
  190. <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>
  191. <div class="ttc" id="aclassWindow_html_a92600b2e0715646b80474fccbcadf336"><div class="ttname"><a href="classWindow.html#a92600b2e0715646b80474fccbcadf336">Window::getApp</a></div><div class="ttdeci">Application &amp; getApp() const noexcept</div></div>
  192. <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>
  193. <div class="ttc" id="aclassWindow_html_aa73a74df08f29d576e18cf1d61ea9897"><div class="ttname"><a href="classWindow.html#aa73a74df08f29d576e18cf1d61ea9897">Window::getGraphicsContext</a></div><div class="ttdeci">const GraphicsContext &amp; getGraphicsContext() const noexcept</div></div>
  194. <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>
  195. <div class="ttc" id="aclassWindow_html_acd158570648b07967a4af011d6223eea"><div class="ttname"><a href="classWindow.html#acd158570648b07967a4af011d6223eea">Window::getSize</a></div><div class="ttdeci">Size&lt; uint &gt; getSize() const noexcept</div></div>
  196. <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>
  197. <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>
  198. <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>
  199. <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>
  200. <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>
  201. <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>
  202. </div><!-- fragment --></div><!-- contents -->
  203. <!-- start footer part -->
  204. <hr class="footer"/><address class="footer"><small>
  205. Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
  206. </small></address>
  207. </body>
  208. </html>