-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_cursor_8h_source.html
184 lines (184 loc) · 29.9 KB
/
_cursor_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
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=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Gamedev Framework (gf): Cursor.h 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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom.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 id="projectrow">
<td id="projectlogo"><img alt="Logo" src="gf_logo.png"/></td>
<td id="projectalign">
<div id="projectname">Gamedev Framework (gf)<span id="projectnumber"> 0.22.0</span>
</div>
<div id="projectbrief">A C++17 framework for 2D games</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></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_6d069d519ae9d12fa11dd8e685586b60.html">gf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Cursor.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Gamedev Framework (gf)</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright (C) 2016-2022 Julien Bernard</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * This software is provided 'as-is', without any express or implied</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * warranty. In no event will the authors be held liable for any damages</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * 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</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * freely, 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; you must not</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * claim that you wrote the original software. If you use this software</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * in a product, an acknowledgment in the product documentation would be</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * appreciated but is not required.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * 2. Altered source versions must be plainly marked as such, and must not be</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> * misrepresented as being the original software.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment"> * 3. This notice may not be removed or altered from any source distribution.</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"> * Part of this file comes from SFML, with the same license:</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment"> * Copyright (C) 2007-2015 Laurent Gomila ([email protected])</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment"> */</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#ifndef GF_CURSOR_H</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#define GF_CURSOR_H</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <cstdint></span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include "GraphicsApi.h"</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include "Path.h"</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include "Vector.h"</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">struct </span>SDL_Cursor;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">struct </span>SDL_Surface;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegf.html">gf</a> {</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">inline</span> <span class="keyword">namespace </span>v1 {</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span>Image;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html"> 63</a></span> <span class="keyword">class </span>GF_GRAPHICS_API <a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a> {</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49"> 69</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49">Type</a> {</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a25b919906281f922869605e6f2f672a1"> 70</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a25b919906281f922869605e6f2f672a1">Arrow</a>, </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ac087eb69713be21880fe6a59dc054e26"> 71</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ac087eb69713be21880fe6a59dc054e26">ArrowWait</a>, </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab925b2f97b9f3cce5ed2922fa6286aeb"> 72</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab925b2f97b9f3cce5ed2922fa6286aeb">Wait</a>, </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49acee561ffbc398c85966d587a7d884c24"> 73</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49acee561ffbc398c85966d587a7d884c24">Text</a>, </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49aa55c208b1c2436eed83f2435ffdf1103"> 74</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49aa55c208b1c2436eed83f2435ffdf1103">Hand</a>, </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab1188d3d430faaa5df59662b14996be5"> 75</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab1188d3d430faaa5df59662b14996be5">SizeHorizontal</a>, </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a59b4bf3bceb5e2f810b65049b6c2fd01"> 76</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a59b4bf3bceb5e2f810b65049b6c2fd01">SizeVertical</a>, </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a2631436c27011d4152de2235b01ed6ca"> 77</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a2631436c27011d4152de2235b01ed6ca">SizeTopLeftBottomRight</a>, </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a6a72ebde234daa28d81ad7d49b388234"> 78</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a6a72ebde234daa28d81ad7d49b388234">SizeBottomLeftTopRight</a>, </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a473f8c21c3da072f993f43a17229b44b"> 79</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a473f8c21c3da072f993f43a17229b44b">SizeAll</a>, </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a641d711a2721b05181333b41f35f3e61"> 80</a></span> <a class="code hl_enumvalue" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a641d711a2721b05181333b41f35f3e61">Cross</a>, </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> NotAllowed </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49acb38c8fd4917ce29ef56b9d6ff555e06"> 82</a></span> };</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#af4ee2f5f987918c7176079722b6b8b28"> 89</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#af4ee2f5f987918c7176079722b6b8b28">Cursor</a>();</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a2cc02894890b8e761420d6e659785bef"> 113</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#a2cc02894890b8e761420d6e659785bef">Cursor</a>(<span class="keyword">const</span> uint8_t* pixels, <a class="code hl_class" href="structgf_1_1_vector.html">Vector2i</a> size, <a class="code hl_class" href="structgf_1_1_vector.html">Vector2i</a> hotspot);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a36e6791e35c97421c55afec7adfa715a"> 121</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#a36e6791e35c97421c55afec7adfa715a">Cursor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgf_1_1_image.html">Image</a>& image, <a class="code hl_class" href="structgf_1_1_vector.html">Vector2i</a> hotspot);</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a84dd9d0ebad881e0a5c4dea848e000c5"> 129</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#a84dd9d0ebad881e0a5c4dea848e000c5">Cursor</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="group__core__filesystem.html#ga62c04bab8dbdd699f6f9b9d8d701ba72">Path</a>& path, <a class="code hl_class" href="structgf_1_1_vector.html">Vector2i</a> hotspot);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#af62178cca6bee0f573cc7af47426ce74"> 136</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#af62178cca6bee0f573cc7af47426ce74">Cursor</a>(<a class="code hl_enumeration" href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49">Type</a> type);</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a76bf3d06801ccf44914790d40363781b"> 141</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#a76bf3d06801ccf44914790d40363781b">Cursor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>&) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a436131f1ff072f5d4ef1c03061c012e5"> 146</a></span> <a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>& <a class="code hl_function" href="classgf_1_1_cursor.html#a436131f1ff072f5d4ef1c03061c012e5">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>&) = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a70ecfdd608bd324430d369b7d2542acb"> 151</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#a70ecfdd608bd324430d369b7d2542acb">Cursor</a>(<a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>&& other) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#afa678eee2d778a91804a8707c634be26"> 156</a></span> <a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>& <a class="code hl_function" href="classgf_1_1_cursor.html#afa678eee2d778a91804a8707c634be26">operator=</a>(<a class="code hl_class" href="classgf_1_1_cursor.html">Cursor</a>&& other) <span class="keyword">noexcept</span>;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#af4a272c7a1ea1b794c3488f86c8ebfa3"> 164</a></span> <a class="code hl_function" href="classgf_1_1_cursor.html#af4a272c7a1ea1b794c3488f86c8ebfa3">~Cursor</a>();</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="classgf_1_1_cursor.html#a553f958a25683445088050a69d3de8e9"> 167</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classgf_1_1_window.html">Window</a>;</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> SDL_Cursor *m_cursor;</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> };</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span>}</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span>}</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="preprocessor">#endif </span><span class="comment">// GF_CURSOR_H</span></div>
<div class="ttc" id="aclassgf_1_1_cursor_html"><div class="ttname"><a href="classgf_1_1_cursor.html">gf::Cursor</a></div><div class="ttdoc">A mouse cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:63</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a2cc02894890b8e761420d6e659785bef"><div class="ttname"><a href="classgf_1_1_cursor.html#a2cc02894890b8e761420d6e659785bef">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(const uint8_t *pixels, Vector2i size, Vector2i hotspot)</div><div class="ttdoc">Create a cursor with the provided pixels.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a36e6791e35c97421c55afec7adfa715a"><div class="ttname"><a href="classgf_1_1_cursor.html#a36e6791e35c97421c55afec7adfa715a">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(const Image &image, Vector2i hotspot)</div><div class="ttdoc">Create a cursor from the provided image.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a436131f1ff072f5d4ef1c03061c012e5"><div class="ttname"><a href="classgf_1_1_cursor.html#a436131f1ff072f5d4ef1c03061c012e5">gf::Cursor::operator=</a></div><div class="ttdeci">Cursor & operator=(const Cursor &)=delete</div><div class="ttdoc">Deleted copy assignment.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a70ecfdd608bd324430d369b7d2542acb"><div class="ttname"><a href="classgf_1_1_cursor.html#a70ecfdd608bd324430d369b7d2542acb">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(Cursor &&other) noexcept</div><div class="ttdoc">Move constructor.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a76bf3d06801ccf44914790d40363781b"><div class="ttname"><a href="classgf_1_1_cursor.html#a76bf3d06801ccf44914790d40363781b">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(const Cursor &)=delete</div><div class="ttdoc">Deleted copy constructor.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_a84dd9d0ebad881e0a5c4dea848e000c5"><div class="ttname"><a href="classgf_1_1_cursor.html#a84dd9d0ebad881e0a5c4dea848e000c5">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(const Path &path, Vector2i hotspot)</div><div class="ttdoc">Create a cursor from an image stored in a file.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49">gf::Cursor::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Enumeration of the native system cursor types.</div><div class="ttdef"><b>Definition:</b> Cursor.h:69</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a25b919906281f922869605e6f2f672a1"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a25b919906281f922869605e6f2f672a1">gf::Cursor::Arrow</a></div><div class="ttdeci">@ Arrow</div><div class="ttdoc">Arrow cursor (default)</div><div class="ttdef"><b>Definition:</b> Cursor.h:70</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a2631436c27011d4152de2235b01ed6ca"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a2631436c27011d4152de2235b01ed6ca">gf::Cursor::SizeTopLeftBottomRight</a></div><div class="ttdeci">@ SizeTopLeftBottomRight</div><div class="ttdoc">Double arrow cursor going from top-left to bottom-right.</div><div class="ttdef"><b>Definition:</b> Cursor.h:77</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a473f8c21c3da072f993f43a17229b44b"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a473f8c21c3da072f993f43a17229b44b">gf::Cursor::SizeAll</a></div><div class="ttdeci">@ SizeAll</div><div class="ttdoc">Combination of SizeHorizontal and SizeVertical.</div><div class="ttdef"><b>Definition:</b> Cursor.h:79</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a59b4bf3bceb5e2f810b65049b6c2fd01"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a59b4bf3bceb5e2f810b65049b6c2fd01">gf::Cursor::SizeVertical</a></div><div class="ttdeci">@ SizeVertical</div><div class="ttdoc">Vertical double arrow cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:76</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a641d711a2721b05181333b41f35f3e61"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a641d711a2721b05181333b41f35f3e61">gf::Cursor::Cross</a></div><div class="ttdeci">@ Cross</div><div class="ttdoc">Crosshair cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:80</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49a6a72ebde234daa28d81ad7d49b388234"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49a6a72ebde234daa28d81ad7d49b388234">gf::Cursor::SizeBottomLeftTopRight</a></div><div class="ttdeci">@ SizeBottomLeftTopRight</div><div class="ttdoc">Double arrow cursor going from bottom-left to top-right.</div><div class="ttdef"><b>Definition:</b> Cursor.h:78</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49aa55c208b1c2436eed83f2435ffdf1103"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49aa55c208b1c2436eed83f2435ffdf1103">gf::Cursor::Hand</a></div><div class="ttdeci">@ Hand</div><div class="ttdoc">Pointing hand cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:74</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49ab1188d3d430faaa5df59662b14996be5"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab1188d3d430faaa5df59662b14996be5">gf::Cursor::SizeHorizontal</a></div><div class="ttdeci">@ SizeHorizontal</div><div class="ttdoc">Horizontal double arrow cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:75</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49ab925b2f97b9f3cce5ed2922fa6286aeb"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ab925b2f97b9f3cce5ed2922fa6286aeb">gf::Cursor::Wait</a></div><div class="ttdeci">@ Wait</div><div class="ttdoc">Busy cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:72</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49ac087eb69713be21880fe6a59dc054e26"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49ac087eb69713be21880fe6a59dc054e26">gf::Cursor::ArrowWait</a></div><div class="ttdeci">@ ArrowWait</div><div class="ttdoc">Busy arrow cursor.</div><div class="ttdef"><b>Definition:</b> Cursor.h:71</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_ab0a2a0075ec20bf14a992f8120d9bf49acee561ffbc398c85966d587a7d884c24"><div class="ttname"><a href="classgf_1_1_cursor.html#ab0a2a0075ec20bf14a992f8120d9bf49acee561ffbc398c85966d587a7d884c24">gf::Cursor::Text</a></div><div class="ttdeci">@ Text</div><div class="ttdoc">I-beam, cursor when hovering over a field allowing text entry.</div><div class="ttdef"><b>Definition:</b> Cursor.h:73</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_af4a272c7a1ea1b794c3488f86c8ebfa3"><div class="ttname"><a href="classgf_1_1_cursor.html#af4a272c7a1ea1b794c3488f86c8ebfa3">gf::Cursor::~Cursor</a></div><div class="ttdeci">~Cursor()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_af4ee2f5f987918c7176079722b6b8b28"><div class="ttname"><a href="classgf_1_1_cursor.html#af4ee2f5f987918c7176079722b6b8b28">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor()</div><div class="ttdoc">Default constructor.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_af62178cca6bee0f573cc7af47426ce74"><div class="ttname"><a href="classgf_1_1_cursor.html#af62178cca6bee0f573cc7af47426ce74">gf::Cursor::Cursor</a></div><div class="ttdeci">Cursor(Type type)</div><div class="ttdoc">Create a native system cursor.</div></div>
<div class="ttc" id="aclassgf_1_1_cursor_html_afa678eee2d778a91804a8707c634be26"><div class="ttname"><a href="classgf_1_1_cursor.html#afa678eee2d778a91804a8707c634be26">gf::Cursor::operator=</a></div><div class="ttdeci">Cursor & operator=(Cursor &&other) noexcept</div><div class="ttdoc">Move assignment.</div></div>
<div class="ttc" id="aclassgf_1_1_image_html"><div class="ttname"><a href="classgf_1_1_image.html">gf::Image</a></div><div class="ttdoc">Class for loading, manipulating and saving images.</div><div class="ttdef"><b>Definition:</b> Image.h:81</div></div>
<div class="ttc" id="aclassgf_1_1_window_html"><div class="ttname"><a href="classgf_1_1_window.html">gf::Window</a></div><div class="ttdoc">An OS window.</div><div class="ttdef"><b>Definition:</b> Window.h:82</div></div>
<div class="ttc" id="agroup__core__filesystem_html_ga62c04bab8dbdd699f6f9b9d8d701ba72"><div class="ttname"><a href="group__core__filesystem.html#ga62c04bab8dbdd699f6f9b9d8d701ba72">gf::Path</a></div><div class="ttdeci">std::filesystem::path Path</div><div class="ttdoc">A path in the filesystem.</div><div class="ttdef"><b>Definition:</b> Path.h:40</div></div>
<div class="ttc" id="anamespacegf_html"><div class="ttname"><a href="namespacegf.html">gf</a></div><div class="ttdoc">The namespace for gf classes.</div></div>
<div class="ttc" id="astructgf_1_1_vector_html"><div class="ttname"><a href="structgf_1_1_vector.html">gf::Vector< int, 2 ></a></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.3
</small></address>
</body>
</html>