-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRSGL_8hpp_source.html
918 lines (916 loc) · 216 KB
/
RSGL_8hpp_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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
<!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" lang="en-US">
<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.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RSGL: RSGL.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 id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
<td id="projectalign">
<div id="projectname">RSGL
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<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" 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('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- 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 class="header">
<div class="headertitle"><div class="title">RSGL.hpp</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">* Copyright (c) 2021-22 ColleagueRiley ColleagueRiley@gmail.com</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">*</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">* This software is provided 'as-is', without any express or implied</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">* warranty. In no event will the authors be held liable for any damages</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">* arising from the use of this software.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">*</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">* Permission is granted to anyone to use this software for any purpose,</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">* including commercial applications, and to alter it and redistribute it</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">* freely, subject to the following r estrictions:</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">*</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">* 1. The origin of this software must not be misrepresented; you must not</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">* claim that you wrote the original software. If you use this software</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">* in a product, an acknowledgment in the product documentation would be</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">* appreciated but is not required.</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</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="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">* misrepresented as being the original software.</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">* 3. This notice may not be removed or altered from any source distribution.</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">*</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">*/</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#pragma once </span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#define RSGL_H 1 </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">#ifndef RSGL_CORE </span><span class="comment">// RSGL core (window handling..)</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor"> #ifndef RSGL_SHAPES </span><span class="comment">// RSGL Shapes (shape structs)</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor"> #ifndef RSGL_GL </span><span class="comment">// RSGL Graphics Library (drawing)</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor"> #ifndef RSGL_AUDIO </span><span class="comment">// RSGL Audio (audio handling)</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor"> #ifndef RSGL_WIDGETS </span><span class="comment">// RSGL Widgets (widgets)</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor"> #ifndef RSGL_OTHER </span><span class="comment">// RSGL Other (other)</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor"> #define RSGL_AUDIO</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor"> #define RSGL_WIDGETS </span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor"> #define RSGL_OTHER </span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor"> #endif</span></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><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="preprocessor">#ifdef RSGL_WIDGETS</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor">#define RSGL_CORE</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="preprocessor">#define RSGL_GL </span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="preprocessor">#ifdef RSGL_GL</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="preprocessor">#define RSGL_SHAPES</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#include <string></span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="preprocessor">#include <vector></span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="preprocessor">#include <array></span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#include <sstream></span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="preprocessor">#include <chrono></span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor">#include <thread></span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="preprocessor">#define RSGLRGBTOHEX(r, g, b) ((r << 16) + (g << 8) + b) </span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="keyword">namespace </span>RSGL{</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="preprocessor"> #ifdef RSGL_CORE</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="group__Events.html#ga1a5f18f4f4cd744b42eb7fd66ad14e99"> 67</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#ga1a5f18f4f4cd744b42eb7fd66ad14e99">keyPressed</a> = 2; </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="group__Events.html#ga53c1f563ba6ab0945f0003b3b4ddc2a5"> 68</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#ga53c1f563ba6ab0945f0003b3b4ddc2a5">keyReleased</a> = 3; </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="group__Events.html#gaac5034c093a26afb432b01b8f570f863"> 69</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#gaac5034c093a26afb432b01b8f570f863">mouseButtonPressed</a> = 4; </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="group__Events.html#ga618d4eb7386ec8b6106edba5b39d8a11"> 70</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#ga618d4eb7386ec8b6106edba5b39d8a11">mouseButtonReleased</a> = 5; </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="group__Events.html#gab274ebd645dded8e96ad1d57d1e701d7"> 71</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#gab274ebd645dded8e96ad1d57d1e701d7">mousePosChanged</a> = 6; </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="group__Events.html#ga7f86d4d211f26c51cf3515285ea197a7"> 72</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#ga7f86d4d211f26c51cf3515285ea197a7">quit</a> = 33; </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="group__Events.html#gaa5d6773635fb4acbf9826c581f713a96"> 73</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__Events.html#gaa5d6773635fb4acbf9826c581f713a96">dnd</a> = 34; </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="group__mouse-constants.html#ga2daeb2afda1280d9770e912a2af197fc"> 80</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__mouse-constants.html#ga2daeb2afda1280d9770e912a2af197fc">mouseLeft</a> = 1; </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="group__mouse-constants.html#gaf9de27edfdf512886625b14464ae9868"> 81</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__mouse-constants.html#gaf9de27edfdf512886625b14464ae9868">mouseMiddle</a> = 2; </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="group__mouse-constants.html#gac75d9aeb35f689d1490b19cce6fd63f4"> 82</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__mouse-constants.html#gac75d9aeb35f689d1490b19cce6fd63f4">mouseRight</a> = 3; </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="group__mouse-constants.html#ga991823285ed0b68d6eb5d2e36782b897"> 83</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__mouse-constants.html#ga991823285ed0b68d6eb5d2e36782b897">mouseScrollUp</a> = 4; </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="group__mouse-constants.html#ga2e730c2227436835384fd55bf7aa56b2"> 84</a></span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="group__mouse-constants.html#ga2e730c2227436835384fd55bf7aa56b2">mouseScrollDown</a> = 5; </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="preprocessor"> #ifdef RSGL_SHAPES</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="structRSGL_1_1point.html"> 93</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1point.html">point</a>{ </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="structRSGL_1_1point.html#af636ecd5a9bb491a9067301de99097ce"> 94</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1point.html#af636ecd5a9bb491a9067301de99097ce">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1point.html">point</a> p){ <span class="keywordflow">return</span> <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> == p.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> && <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> == p.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>; } </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">void</span> operator+=(<a class="code hl_struct" href="structRSGL_1_1point.html">point</a> p){ <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> += p.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a>; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> += p.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>; }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> operator-=(point p){ <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> -= p.x; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> -= p.y; }</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22"> 97</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> , <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> ; </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> }; </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="structRSGL_1_1area.html"> 99</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1area.html">area</a>{ </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="structRSGL_1_1area.html#a20605d210e41bec48bfa48aab5c402e2"> 100</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1area.html#a20605d210e41bec48bfa48aab5c402e2">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1area.html">area</a> a){ <span class="keywordflow">return</span> <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> == a.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> && <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> == a.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>; } </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">void</span> operator+=(<a class="code hl_struct" href="structRSGL_1_1area.html">area</a> a){ <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> += a.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a>; <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> += a.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>; }</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordtype">void</span> operator-=(area a){ <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> -= a.w; <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> -= a.h; }</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9"> 103</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> , <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> ; </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> }; </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="structRSGL_1_1rect.html"> 106</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a> : <a class="code hl_struct" href="structRSGL_1_1point.html">point</a>, <a class="code hl_struct" href="structRSGL_1_1area.html">area</a>{ </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="structRSGL_1_1rect.html#a765297521ee4214db7d77486efa429d1"> 107</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1rect.html#a765297521ee4214db7d77486efa429d1">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a> r){ <span class="keywordflow">return</span> <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> == r.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> && <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> == r.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> && <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> == r.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> && <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> == r.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>; } </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a>(){}</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="structRSGL_1_1rect.html#a81039d4065a27c15959728f09c767143"> 109</a></span> <a class="code hl_function" href="structRSGL_1_1rect.html#a81039d4065a27c15959728f09c767143">rect</a>(<span class="keywordtype">int</span> X, <span class="keywordtype">int</span> Y, <span class="keywordtype">int</span> W, <span class="keywordtype">int</span> H){<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> = X; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> = Y; <a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> = W; <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> = H;} </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="structRSGL_1_1rect.html#a02b9c39fdd5df67697c17d9e59c0cc0c"> 110</a></span> <a class="code hl_function" href="structRSGL_1_1rect.html#a02b9c39fdd5df67697c17d9e59c0cc0c">rect</a>(<a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p){<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> = p.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a>; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> = p.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>;} </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="structRSGL_1_1rect.html#aeb10e67295b25ac277e26273cb3b327f"> 111</a></span> <a class="code hl_function" href="structRSGL_1_1rect.html#aeb10e67295b25ac277e26273cb3b327f">rect</a>(<a class="code hl_struct" href="structRSGL_1_1area.html">RSGL::area</a> a){<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a> = a.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a>; <a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a> = a.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>;} </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }; </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="group__shape-structs.html#ga43bdfc1fbc935c8b8a75d6c2b8f0c41b"> 113</a></span> <span class="keyword">typedef</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a> <a class="code hl_typedef" href="group__shape-structs.html#ga43bdfc1fbc935c8b8a75d6c2b8f0c41b">oval</a>; </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="structRSGL_1_1circle.html"> 115</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1circle.html">circle</a> : <a class="code hl_struct" href="structRSGL_1_1point.html">point</a> { </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="structRSGL_1_1circle.html#a0b1b05a78b0061c92ebcb31230881ce4"> 116</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1circle.html#a0b1b05a78b0061c92ebcb31230881ce4">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">circle</a> c){ <span class="keywordflow">return</span> <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> == c.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> && <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> == c.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> && <a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a> == c.<a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a>; } </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> operator+=(<a class="code hl_struct" href="structRSGL_1_1circle.html">circle</a> c){ <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> += c.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a>; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> += c.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>; <a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a> += c.<a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a>; }</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordtype">void</span> operator-=(circle c){ <a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> -= c.x; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> -= c.y; <a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a> -= c.d; }</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f"> 119</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a>; </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_struct" href="structRSGL_1_1circle.html">circle</a>(){}</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="structRSGL_1_1circle.html#a46627901f7d19c1b6e65e050aef104c8"> 121</a></span> <a class="code hl_function" href="structRSGL_1_1circle.html#a46627901f7d19c1b6e65e050aef104c8">circle</a>(<span class="keywordtype">int</span> X, <span class="keywordtype">int</span> Y, <span class="keywordtype">int</span> D){<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> = X; <a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> = Y; <a class="code hl_variable" href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">d</a> = D;} </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> }; </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f"> 124</a></span> <span class="keyword">typedef</span> std::array<RSGL::point, 3> <a class="code hl_typedef" href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f">triangle</a>; </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="structRSGL_1_1color.html"> 125</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1color.html">color</a>{ </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="structRSGL_1_1color.html#aed29b9911de9b0923aac3a63f7ec5618"> 126</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1color.html#aed29b9911de9b0923aac3a63f7ec5618">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1color.html">color</a> c){ <span class="keywordflow">return</span> r == c.r && g == c.g && b == c.b && a == c.a; } </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordtype">int</span> r, g, b, a = 255; </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> }; </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">enum</span> shape{ RECT, LINE, CIRCLE, IMAGE, TRIANGLE, TEXT, EMPTY }; </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html"> 131</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1bitmap.html">bitmap</a>{</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html#a38bcc104970a14fd36e59c2960232782"> 132</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1bitmap.html#a38bcc104970a14fd36e59c2960232782">file</a>; </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html#a23c4eef3ccc35f7d84aff5d71ea55a13"> 133</a></span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_variable" href="structRSGL_1_1bitmap.html#a23c4eef3ccc35f7d84aff5d71ea55a13">r</a>; </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html#a6b39948ac3112ead75926eb95a2f5415"> 134</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>* <a class="code hl_variable" href="structRSGL_1_1bitmap.html#a6b39948ac3112ead75926eb95a2f5415">data</a>; </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html#a64fcaff75cf44346b77e4dfa7616f6a3"> 135</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1bitmap.html#a64fcaff75cf44346b77e4dfa7616f6a3">tex</a>; </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="structRSGL_1_1bitmap.html#a3117576093a5a7c53c423793459268cb"> 136</a></span> <a class="code hl_struct" href="structRSGL_1_1area.html">RSGL::area</a> <a class="code hl_variable" href="structRSGL_1_1bitmap.html#a3117576093a5a7c53c423793459268cb">size</a>; </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">int</span> n; <span class="comment">// bitmap channels</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> }; </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="group__shape-structs.html#ga65626c23e90cdcdb7630b6d24970428c"> 140</a></span> <span class="keyword">typedef</span> <a class="code hl_struct" href="structRSGL_1_1bitmap.html">bitmap</a> <a class="code hl_typedef" href="group__shape-structs.html#ga65626c23e90cdcdb7630b6d24970428c">image</a>; </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html"> 142</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1points.html">points</a>{</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> std::vector<point> data;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_struct" href="structRSGL_1_1points.html">points</a>(std::vector<point> ps) { data = ps; }</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#aab8b8a3001638c154bb4bfb26cc58659"> 145</a></span> <a class="code hl_function" href="structRSGL_1_1points.html#aab8b8a3001638c154bb4bfb26cc58659">points</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r){ data = {{r.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a>, r.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>}, {r.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> + r.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a>, r.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a>}, {r.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a> + r.<a class="code hl_variable" href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">w</a>, r.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> + r.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>}, {r.<a class="code hl_variable" href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">x</a>, r.<a class="code hl_variable" href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">y</a> + r.<a class="code hl_variable" href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">h</a>}}; } </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#abf08f5c86eb8aabe99c0d2ef369daa54"> 146</a></span> <a class="code hl_function" href="structRSGL_1_1points.html#abf08f5c86eb8aabe99c0d2ef369daa54">points</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img){ } </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#aa89490e31391f8e45fa5517c8071ec96"> 147</a></span> <a class="code hl_function" href="structRSGL_1_1points.html#aa89490e31391f8e45fa5517c8071ec96">points</a>(<a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p){ data = {p}; } </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#af36ba21e6ef3365af352caf403a33482"> 148</a></span> <a class="code hl_function" href="structRSGL_1_1points.html#af36ba21e6ef3365af352caf403a33482">points</a>(<a class="code hl_typedef" href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f">RSGL::triangle</a> tri){ data.clear(); data.insert(data.begin(), tri.begin(), tri.end()); } </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#ab88721c865259784d81ba1e792fa2924"> 149</a></span> <a class="code hl_function" href="structRSGL_1_1points.html#ab88721c865259784d81ba1e792fa2924">points</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> cir){ } </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="comment">//bool operator==(points p){ return data == p.data; } //!< if one group of points == another group</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structRSGL_1_1points.html#a9d40b00a98d8029b4efdae6a2cb45c04"> 151</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1points.html#a9d40b00a98d8029b4efdae6a2cb45c04">operator>></a>(<a class="code hl_struct" href="structRSGL_1_1points.html">points</a>); </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> }; </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html"> 155</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1font.html">font</a>{</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#abc5ec2050ba5b31261b6390302248d6c"> 156</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1font.html#abc5ec2050ba5b31261b6390302248d6c">file</a>; </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#a9a22048985a1441a8150ce1bb5767507"> 158</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1font.html#a9a22048985a1441a8150ce1bb5767507">size</a> = 0; </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#a8eb87327154fc9446a1970a83a057ac6"> 159</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1font.html#a8eb87327154fc9446a1970a83a057ac6">fonsFont</a>; </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#a2b46502a7b4a5d26b57f0f32c2903eaa"> 161</a></span> <a class="code hl_function" href="structRSGL_1_1font.html#a2b46502a7b4a5d26b57f0f32c2903eaa">font</a>(){}</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#af66b473ffe06f52f43de99bd0bd37d4f"> 163</a></span> <a class="code hl_function" href="structRSGL_1_1font.html#af66b473ffe06f52f43de99bd0bd37d4f">font</a>(std::string File, <span class="keywordtype">int</span> Size); </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#a7aa63f0a92e4d647c1bd56824402c6bf"> 164</a></span> <a class="code hl_function" href="structRSGL_1_1font.html#a7aa63f0a92e4d647c1bd56824402c6bf">font</a>(std::string File) { <a class="code hl_variable" href="structRSGL_1_1font.html#abc5ec2050ba5b31261b6390302248d6c">file</a> = File; } </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="structRSGL_1_1font.html#a3ce90b6c929258dbdd1ed5e992d637ff"> 165</a></span> <a class="code hl_function" href="structRSGL_1_1font.html#a3ce90b6c929258dbdd1ed5e992d637ff">font</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* File){ <a class="code hl_variable" href="structRSGL_1_1font.html#abc5ec2050ba5b31261b6390302248d6c">file</a> = File; } </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> }; </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="preprocessor"> #ifdef RSGL_CORE</span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html"> 176</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1key.html">key</a>{</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa"> 177</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a> = -1; </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707"> 178</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> = <span class="stringliteral">"NONE"</span>; </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#a6ef38777a04b704a41443f7074733b48"> 181</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1key.html#a6ef38777a04b704a41443f7074733b48">operator==</a>(<a class="code hl_struct" href="structRSGL_1_1key.html">key</a> k){ <span class="keywordflow">return</span> (k.<a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> == <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> || k.<a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a> == <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a>); } </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#afba0349765dcc1f1ed0627effd5a4863"> 182</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1key.html#afba0349765dcc1f1ed0627effd5a4863">operator==</a>(std::string k){ <span class="keywordflow">return</span> k == <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a>; } </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1key.html#a6ef38777a04b704a41443f7074733b48">operator==</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* k){ <span class="keywordflow">return</span> std::string(k) == <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a>; } </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1key.html#a6ef38777a04b704a41443f7074733b48">operator==</a>(<span class="keywordtype">int</span> k){ <span class="keywordflow">return</span> k == <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a>; }</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c"> 187</a></span> <a class="code hl_function" href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c">key</a>(){}</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <a class="code hl_function" href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c">key</a>(std::string k){ <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> = k; } </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <a class="code hl_function" href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c">key</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* k){ <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> = std::string(k); } </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="structRSGL_1_1key.html#a34aeef3d20cfdb982dec73bdd1a732da"> 191</a></span> <a class="code hl_function" href="structRSGL_1_1key.html#a34aeef3d20cfdb982dec73bdd1a732da">key</a>(<span class="keywordtype">int</span> k){ <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a> = k; } </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_function" href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c">key</a>(std::string ks, <span class="keywordtype">int</span> ki){ <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a> = ks; <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a> = ki; }</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> }; </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html"> 196</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1customBorder.html">customBorder</a>{</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html#af1589c2008f196fc28c7b5528cf80139"> 197</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1customBorder.html#af1589c2008f196fc28c7b5528cf80139">h</a>; </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html#a4f4360805eb91253a400ca465dcfaa2b"> 198</a></span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="structRSGL_1_1customBorder.html#a4f4360805eb91253a400ca465dcfaa2b">col</a>; </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <span class="comment">/*RSGL::button*/</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keywordtype">void</span>* mini; </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordtype">void</span>* max; </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html#a17534a90f83f5d0d50f7cdb08c7609a7"> 202</a></span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="structRSGL_1_1customBorder.html#a17534a90f83f5d0d50f7cdb08c7609a7">quit</a>; </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html#ad7439b473e0a0158d40e01cfa72b934b"> 204</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1customBorder.html#ad7439b473e0a0158d40e01cfa72b934b">rounded</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structRSGL_1_1customBorder.html#a74e5b7378c161e4395ff23a0f9eb93d9"> 206</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1customBorder.html#a74e5b7378c161e4395ff23a0f9eb93d9">pressed</a> = <span class="keyword">false</span>; </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"><a class="line" href="structRSGL_1_1customBorder.html#a5621e3319da712d44e8cdbf758a10bb8"> 208</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1customBorder.html#a5621e3319da712d44e8cdbf758a10bb8">draw</a>(<span class="comment">/*RSGL::window*/</span><span class="keywordtype">void</span>* d); </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="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html"> 211</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1winArgs.html">winArgs</a>{ </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <span class="keywordtype">int</span> gpu = 1; <span class="comment">/*what to use for graphics?</span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="comment"> 0 - software rendered (not supported)</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><span class="comment"> 1 - openGL without vbo support</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span><span class="comment"> 2 - openGL with vbo support (not supported)*/</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keywordtype">bool</span> resize = <span class="keyword">true</span>; <span class="comment">/* can the user resize the window?*/</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#a7193113104965bd2541569b709fe9b75"> 217</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#a7193113104965bd2541569b709fe9b75">autoResize</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#a01b63cd043a2ab26f9acd4c860ec5ca6"> 218</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#a01b63cd043a2ab26f9acd4c860ec5ca6">noBorder</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#aa2879863d168b71e96e7c2cb503edbe9"> 219</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#aa2879863d168b71e96e7c2cb503edbe9">fullscreen</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#a6aeb07ba325836205e26f3a20cb1f29e"> 220</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#a6aeb07ba325836205e26f3a20cb1f29e">center</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#a270b840b51172e6352d138c58cd1d35a"> 221</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#a270b840b51172e6352d138c58cd1d35a">rgbaWindow</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#a3d6849b27dda0421483229dd976e1c50"> 222</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1winArgs.html#a3d6849b27dda0421483229dd976e1c50">icon</a>; </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="structRSGL_1_1winArgs.html#aa92e6371fd7a4a992ea3688aa1d460b9"> 223</a></span> <a class="code hl_struct" href="structRSGL_1_1customBorder.html">customBorder</a> <a class="code hl_variable" href="structRSGL_1_1winArgs.html#aa92e6371fd7a4a992ea3688aa1d460b9">cb</a> = {}; </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> }; </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html"> 226</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1event.html">event</a>{ </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a02dc31c4fb170eecfdf1ede607bf245a"> 227</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1event.html#a02dc31c4fb170eecfdf1ede607bf245a">type</a>; </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a7d82f9e66887c11a10ba04f4c2688c88"> 228</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1event.html#a7d82f9e66887c11a10ba04f4c2688c88">button</a>; </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a8ff17cf446d35a84819f09d2b36f052c"> 229</a></span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> <a class="code hl_variable" href="structRSGL_1_1event.html#a8ff17cf446d35a84819f09d2b36f052c">mouse</a>; </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#abd4290b17530b5f487341aa16e6e777d"> 231</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1event.html#abd4290b17530b5f487341aa16e6e777d">ledState</a>; </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a6dd19ffa69945b3cf61c66533109d1fc"> 232</a></span> <a class="code hl_struct" href="structRSGL_1_1key.html">RSGL::key</a> <a class="code hl_variable" href="structRSGL_1_1event.html#a6dd19ffa69945b3cf61c66533109d1fc">k</a>; </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> </div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a1b108545804e79d6a2018fa37fe6aaf3"> 234</a></span> std::vector<std::string> <a class="code hl_variable" href="structRSGL_1_1event.html#a1b108545804e79d6a2018fa37fe6aaf3">droppedFiles</a>; </div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="structRSGL_1_1event.html#a6c1b2a79dbba1d90f1b25b49e8d3b7fd"> 236</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structRSGL_1_1event.html#a6c1b2a79dbba1d90f1b25b49e8d3b7fd">operator==</a>(<span class="keywordtype">int</span> <a class="code hl_struct" href="structRSGL_1_1event.html">event</a>){ <span class="keywordflow">return</span> <a class="code hl_variable" href="structRSGL_1_1event.html#a02dc31c4fb170eecfdf1ede607bf245a">type</a> == <a class="code hl_struct" href="structRSGL_1_1event.html">event</a>; } </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> }; </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="structRSGL_1_1debug.html"> 239</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1debug.html">debug</a>{</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordtype">int</span> fps;</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> }; </div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html"> 244</a></span> <span class="keyword">class </span><a class="code hl_class" href="classRSGL_1_1window.html">window</a>{</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keywordtype">bool</span> areesize, swapFlag = <span class="keyword">true</span>, customborder; </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keywordtype">char</span> keyboard[32]; </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="keywordtype">void</span>* vInfo; </div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> </div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#aed1180e7778c02b4c491d565ec1811cb"> 250</a></span> std::string <a class="code hl_variable" href="classRSGL_1_1window.html#aed1180e7778c02b4c491d565ec1811cb">name</a>; </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a8fc14011fe28218b8091df4920f6d682"> 251</a></span> <a class="code hl_struct" href="structRSGL_1_1event.html">RSGL::event</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a8fc14011fe28218b8091df4920f6d682">event</a>; </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a518a6b66ca754a1dcff7f822f04cc742"> 252</a></span> <a class="code hl_struct" href="structRSGL_1_1debug.html">RSGL::debug</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a518a6b66ca754a1dcff7f822f04cc742">debug</a>; </div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a69e85b8a024b84d07b07463cb9816072"> 253</a></span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a69e85b8a024b84d07b07463cb9816072">color</a>; </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a08fabf408ccb5e8a6299eb926d3bdda6"> 254</a></span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a08fabf408ccb5e8a6299eb926d3bdda6">r</a>; </div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#aa706de73308ab5dd75a203b997d31cb1"> 256</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> d, <a class="code hl_variable" href="classRSGL_1_1window.html#aa706de73308ab5dd75a203b997d31cb1">glWin</a>; </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#ac8b65577d15b8791f1b951c2057a32ec"> 257</a></span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="classRSGL_1_1window.html#ac8b65577d15b8791f1b951c2057a32ec">display</a>; </div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a928645cf3d797e1b0400f886ac8456bd"> 259</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classRSGL_1_1window.html#a928645cf3d797e1b0400f886ac8456bd">GPU</a>; </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#aa5a84d949fdcaab3b4a9e0da992aceba"> 260</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classRSGL_1_1window.html#aa5a84d949fdcaab3b4a9e0da992aceba">sourceVBO</a>; </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a49ab6f85c4658c4c3f9a9abec141c94b"> 261</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classRSGL_1_1window.html#a49ab6f85c4658c4c3f9a9abec141c94b">vbo</a>; </div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#ac3ade7e1e6720536f6c758f310054352"> 262</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classRSGL_1_1window.html#ac3ade7e1e6720536f6c758f310054352">focused</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#ac18ecd91f1e2ba02b0ece8e5913f25c7"> 263</a></span> <a class="code hl_struct" href="structRSGL_1_1customBorder.html">customBorder</a> <a class="code hl_variable" href="classRSGL_1_1window.html#ac18ecd91f1e2ba02b0ece8e5913f25c7">cb</a> = {}; </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a1b2b1c9eb25812c02ed1fde40cd9394f"> 265</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classRSGL_1_1window.html#a1b2b1c9eb25812c02ed1fde40cd9394f">setIcon</a>(std::string file); </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a7a40a17bb553245b6a917b2c8877d0bc"> 266</a></span> <a class="code hl_struct" href="structRSGL_1_1event.html">RSGL::event</a> <a class="code hl_function" href="classRSGL_1_1window.html#a7a40a17bb553245b6a917b2c8877d0bc">checkEvents</a>(<span class="keywordtype">bool</span> setCurrentDrawingContext = <span class="keyword">true</span>, <span class="keywordtype">int</span> fpsCap = -1); </div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#afdfaf9b853490598d3852c08464b21b6"> 267</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRSGL_1_1window.html#afdfaf9b853490598d3852c08464b21b6">isPressed</a>(<a class="code hl_struct" href="structRSGL_1_1key.html">RSGL::key</a> <a class="code hl_struct" href="structRSGL_1_1key.html">key</a>, <span class="keywordtype">bool</span> onFocus = <span class="keyword">false</span>); </div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a3cfa66068b46d793c5996de7da32adf0"> 268</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRSGL_1_1window.html#a3cfa66068b46d793c5996de7da32adf0">isPressed</a>(std::vector<RSGL::key> keys, <span class="keywordtype">bool</span> onFocus = <span class="keyword">false</span>); </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a48bd1edf79da4cb89644e26f46aee183"> 269</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classRSGL_1_1window.html#a48bd1edf79da4cb89644e26f46aee183">close</a>(); </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#ad1f005e85c6b70345af074e805051b33"> 270</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classRSGL_1_1window.html#ad1f005e85c6b70345af074e805051b33">clear</a>(); </div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a0dd6c97d9827f9241d64866c56a8d11c"> 271</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classRSGL_1_1window.html#a0dd6c97d9827f9241d64866c56a8d11c">setRect</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a08fabf408ccb5e8a6299eb926d3bdda6">r</a>); </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#aa1e964150e1da0e235341b41f37b202c"> 272</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRSGL_1_1window.html#aa1e964150e1da0e235341b41f37b202c">isOpen</a>(<span class="keywordtype">bool</span> autoClear = <span class="keyword">true</span>, <span class="keywordtype">bool</span> autoClose = <span class="keyword">true</span>, <span class="keywordtype">int</span> fapsCap = -1); </div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <span class="keywordtype">void</span> changeIcon(std::string icon);</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <a class="code hl_class" href="classRSGL_1_1window.html">window</a>(){}</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"><a class="line" href="classRSGL_1_1window.html#a5efb83b4a9b85dee33b5cb611ec6221c"> 276</a></span> <a class="code hl_function" href="classRSGL_1_1window.html#a5efb83b4a9b85dee33b5cb611ec6221c">window</a>(</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> std::string <span class="comment">/*the name*/</span>,</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <span class="comment">/*the rect/size/x/y of the window*/</span>,</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <span class="comment">/*the background color*/</span>,</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <a class="code hl_struct" href="structRSGL_1_1winArgs.html">winArgs</a> args = {} <span class="comment">/*other args*/</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> ); </div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> };</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d"> 284</a></span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>* <a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>(); </div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <span class="keyword">namespace </span>func{</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> </div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="keywordtype">void</span> start( </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keywordtype">bool</span> running, </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="keywordtype">void</span> (*gameLoop)(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>), </div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keywordtype">void</span> (*eventLoop)(<span class="keywordtype">int</span>, <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>), </div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>() </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> );</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keywordtype">void</span> start( <span class="keywordtype">bool</span>* running , <span class="keywordtype">void</span> (*gameLoop)(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>), <span class="keywordtype">void</span> (*eventLoop)(<span class="keywordtype">int</span>,<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>), <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>() );</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> };</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> </div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> </div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga91400ad3fe9908a241a552a0e0205ee4"> 306</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga91400ad3fe9908a241a552a0e0205ee4">CircleCollidePoint</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c, <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p); </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga710132763d01586e20f811403086fc7d"> 307</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga710132763d01586e20f811403086fc7d">CircleCollideRect</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c, <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r); </div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga56154d93bc38b7c4c0fe9e65fa2db2ce"> 308</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga56154d93bc38b7c4c0fe9e65fa2db2ce">CircleCollide</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> cir1,<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> cir2); </div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga85cf838a5d1ac45eacf50f57b4261f59"> 309</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga85cf838a5d1ac45eacf50f57b4261f59">CircleCollideLine</a>(<a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c,<a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p1, <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p2); </div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga428bf000b3865cf50c6ff8a7d88ccbfa"> 310</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga428bf000b3865cf50c6ff8a7d88ccbfa">RectCollidePoint</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p); </div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="group__collision-functions.html#gabad50ec95ab3c8c8974344778487a19f"> 311</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#gabad50ec95ab3c8c8974344778487a19f">RectCollideRect</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r2); </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga7720ea70a8157d2ff1d9759f32511f5c"> 312</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga7720ea70a8157d2ff1d9759f32511f5c">PointCollide</a>(<a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p, <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p2); </div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga0079239766410c24abbc2db4bf043b95"> 313</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga0079239766410c24abbc2db4bf043b95">ImageCollideRect</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img, <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r); </div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga044dfbc5079e945e38856dcc88d0c28f"> 314</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga044dfbc5079e945e38856dcc88d0c28f">ImageCollideCircle</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img, <a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c); </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga9e9d9a4aa14768c5959843e2f8da493b"> 315</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga9e9d9a4aa14768c5959843e2f8da493b">ImageCollidePoint</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img, <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p); </div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="group__collision-functions.html#ga3e1a2ab442fef0773904cd5d813f3252"> 316</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__collision-functions.html#ga3e1a2ab442fef0773904cd5d813f3252">ImageCollideImage</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img, <a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> img2); </div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span><span class="preprocessor"> #ifdef RSGL_GL</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span><span class="preprocessor"> #ifndef RSGL_CORE</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1key.html">key</a>{<span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">keySym</a> = -1; std::string <a class="code hl_variable" href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">keystr</a>;};</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="keyword">struct </span>event{ <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1event.html#a02dc31c4fb170eecfdf1ede607bf245a">type</a>, <a class="code hl_variable" href="structRSGL_1_1event.html#a7d82f9e66887c11a10ba04f4c2688c88">button</a>, <a class="code hl_variable" href="structRSGL_1_1event.html#abd4290b17530b5f487341aa16e6e777d">ledState</a>; <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> <a class="code hl_variable" href="structRSGL_1_1event.html#a8ff17cf446d35a84819f09d2b36f052c">mouse</a>; <a class="code hl_struct" href="structRSGL_1_1key.html">RSGL::key</a> <a class="code hl_variable" href="structRSGL_1_1event.html#a6dd19ffa69945b3cf61c66533109d1fc">k</a>; std::vector<std::string> <a class="code hl_variable" href="structRSGL_1_1event.html#a1b108545804e79d6a2018fa37fe6aaf3">droppedFiles</a>; }; </div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keyword">struct </span>debug{};</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <span class="keyword">struct </span>window{</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> <span class="keywordtype">char</span> keyboard[32]; </div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keywordtype">void</span>* vInfo; </div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> </div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> std::string <a class="code hl_variable" href="classRSGL_1_1window.html#aed1180e7778c02b4c491d565ec1811cb">name</a>; </div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> <a class="code hl_struct" href="structRSGL_1_1event.html">RSGL::event</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a8fc14011fe28218b8091df4920f6d682">event</a>; </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> <a class="code hl_struct" href="structRSGL_1_1debug.html">RSGL::debug</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a518a6b66ca754a1dcff7f822f04cc742">debug</a>; </div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a69e85b8a024b84d07b07463cb9816072">color</a>; </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_variable" href="classRSGL_1_1window.html#a08fabf408ccb5e8a6299eb926d3bdda6">r</a>; </div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> d, <a class="code hl_variable" href="classRSGL_1_1window.html#aa706de73308ab5dd75a203b997d31cb1">glWin</a>, <a class="code hl_variable" href="classRSGL_1_1window.html#aa5a84d949fdcaab3b4a9e0da992aceba">sourceVBO</a>; </div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <span class="keywordtype">void</span>* <a class="code hl_variable" href="classRSGL_1_1window.html#ac8b65577d15b8791f1b951c2057a32ec">display</a>; </div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="classRSGL_1_1window.html#a928645cf3d797e1b0400f886ac8456bd">GPU</a>; </div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> };</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> </div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>* <a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>(); </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> </div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <span class="keywordtype">void</span> freeDraw(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> w = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">RSGL::currentDrawingContext</a>());</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> </div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html"> 347</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a>{</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a1300f59e9a7b7fdf67eddab6e2e296c1"> 349</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a1300f59e9a7b7fdf67eddab6e2e296c1">fill</a> = <span class="keyword">true</span>; </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#ab49d663b35e0e53a25d521358c9ef94c"> 350</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#ab49d663b35e0e53a25d521358c9ef94c">rotationAngle</a> = 0; </div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a563005df9263ab5f43dcd84eac131666"> 351</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a563005df9263ab5f43dcd84eac131666">flipHorizontal</a> = 0; </div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a3b27fcc2f91647e62f6d2c1aafb48a2a"> 352</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a3b27fcc2f91647e62f6d2c1aafb48a2a">flipVertical</a> = 0; </div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a5c90e492e48d912d94c4797530c3b7d5"> 353</a></span> <span class="keywordtype">float</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a5c90e492e48d912d94c4797530c3b7d5">lineWidth</a> = 0; </div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#af6f2853254c9d9046f00eb20b08286fe"> 354</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#af6f2853254c9d9046f00eb20b08286fe">texture</a> = -1; </div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a1a3c6cd58756d4ffe335455dcba7f149"> 355</a></span> std::vector<RSGL::color> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a1a3c6cd58756d4ffe335455dcba7f149">gradient</a> = {}; </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <span class="keywordtype">bool</span> vectorGraphics = <span class="keyword">true</span>; <span class="comment">// use vector graphics (textures) for circles, rounded rects or ovals </span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#aaf19b1ac1260ebdb2572cf2380ef71c3"> 357</a></span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#aaf19b1ac1260ebdb2572cf2380ef71c3">win</a> = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>(); </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a0bcede9cc6dc0c97a67b34f0746beffb"> 360</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a0bcede9cc6dc0c97a67b34f0746beffb">dotted</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <span class="keywordtype">bool</span> rounded = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#aa4a635c309f2c25770db60debdbdef9f"> 362</a></span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#aa4a635c309f2c25770db60debdbdef9f">roundPoint</a> = {4, 4}; </div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#ac95f0a9690e0210c3ab276c8d052eaa7"> 364</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#ac95f0a9690e0210c3ab276c8d052eaa7">segments</a> = 30; </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a438631fed199d2451a2d6a458d6a43a3"> 366</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a438631fed199d2451a2d6a458d6a43a3">scrollSpeed</a> = 0; </div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#ab794d9ad85fa9d3ae3786b9eab96204f"> 367</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#ab794d9ad85fa9d3ae3786b9eab96204f">stopY</a> = -1; </div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="structRSGL_1_1drawArgs.html#a652aa5fd2ad085b57842d9f646e078c6"> 368</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1drawArgs.html#a652aa5fd2ad085b57842d9f646e078c6">typeSpeed</a> = 0; </div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> }; </div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga954f1c4777c71ef738296b5ee89316cc"> 375</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#ga954f1c4777c71ef738296b5ee89316cc">drawText</a>(</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> std::string text, </div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c, </div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> col, </div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <a class="code hl_struct" href="structRSGL_1_1font.html">RSGL::font</a> <a class="code hl_struct" href="structRSGL_1_1font.html">font</a>, </div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> ); </div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> </div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga2b59c6923ab8c3ed6a87d98a3599483f"> 383</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#ga2b59c6923ab8c3ed6a87d98a3599483f">drawPoint</a>(</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p, </div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> ); </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> </div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gaca7f6211392efb717ef021b7b84ae45c"> 389</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#gaca7f6211392efb717ef021b7b84ae45c">drawPoints</a>(</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> std::vector<RSGL::point> p, </div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> ); </div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gacbc6c36964ea206619954719df903652"> 395</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#gaca7f6211392efb717ef021b7b84ae45c">drawPoints</a>( </div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> std::vector<RSGL::point> p, </div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> std::vector<RSGL::color> c, </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> ); </div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> </div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga1ecdbc78d24b1333a787d8c755269072"> 401</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#ga1ecdbc78d24b1333a787d8c755269072">drawRect</a>(</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r <span class="comment">/*the rect to draw*/</span>,</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> <a class="code hl_struct" href="structRSGL_1_1color.html">color</a> c <span class="comment">/*the color rect*/</span>, </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> ); </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> </div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga53c423444e64269a8f4493336d6b40ed"> 407</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#ga53c423444e64269a8f4493336d6b40ed">drawLine</a>(</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p1, </div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p2, </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> ); </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> </div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga00309d6f20c69367acacc1192d6da034"> 414</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#ga00309d6f20c69367acacc1192d6da034">drawCircle</a>( </div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> <a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> c, </div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> col, </div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> ); </div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> </div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gac0e168f415e27f684709e3c04c284d58"> 420</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#gac0e168f415e27f684709e3c04c284d58">drawTriangle</a>(</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <a class="code hl_typedef" href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f">RSGL::triangle</a> t, </div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span> ); </div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gaa9e6c09cd1c8e725ff8b1a89e0ca12bd"> 426</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#gaa9e6c09cd1c8e725ff8b1a89e0ca12bd">drawOval</a>( </div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::oval</a> o, </div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> <a class="code hl_struct" href="structRSGL_1_1color.html">color</a> c <span class="comment">/*the color rect*/</span>, </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> ); </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> </div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gae4733a398638cfe5a034f0bba4dd468c"> 432</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__drawing-functions.html#gae4733a398638cfe5a034f0bba4dd468c">drawPolygon</a>(</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::oval</a> o, </div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_struct" href="structRSGL_1_1color.html">color</a>, </div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> <span class="keywordtype">int</span> sides, </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> args={} </div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> ); </div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> </div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gaa50b988d996f079d15177eb9ae3b7648"> 439</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__drawing-functions.html#gaa50b988d996f079d15177eb9ae3b7648">drawImage</a>(</div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> std::string fileName <span class="comment">/*the file to draw*/</span>, </div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r <span class="comment">/*the width/heigth/x/y to put the image*/</span>,</div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {} </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> ); </div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gae6c21f2f060445e927800a8b5639ec65"> 444</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__drawing-functions.html#gaa50b988d996f079d15177eb9ae3b7648">drawImage</a>(<a class="code hl_struct" href="structRSGL_1_1bitmap.html">RSGL::image</a> r, <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">drawArgs</a> args = {}); </div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> </div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gaa1569601c7725c17d37b28880e321318"> 446</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__drawing-functions.html#gaa1569601c7725c17d37b28880e321318">loadImage</a>(std::string file); </div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#ga9798353fb687d5b004f2e1d51714284b"> 447</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__drawing-functions.html#ga9798353fb687d5b004f2e1d51714284b">loadBitmap</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>* data, <span class="keywordtype">int</span> channels, <a class="code hl_struct" href="structRSGL_1_1area.html">RSGL::area</a> memsize); </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> </div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"><a class="line" href="group__drawing-functions.html#gaa49413c570aa8fd75d1806c5c5157fad"> 449</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="group__drawing-functions.html#gaa49413c570aa8fd75d1806c5c5157fad">drawBitmap</a>(</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>* data, </div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> <span class="keywordtype">int</span> channels, </div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span> <a class="code hl_struct" href="structRSGL_1_1area.html">RSGL::area</a> memsize, </div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> args = {}, </div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> color = {255, 255, 255, 255} </div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> ); </div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> </div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> </div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html"> 459</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1pen.html">pen</a>{</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#af994fb38b8c7896f60ec555569c7e641"> 460</a></span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> <a class="code hl_variable" href="structRSGL_1_1pen.html#af994fb38b8c7896f60ec555569c7e641">pos</a>; </div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a663185e755ec61f5af0095a3937f2f24"> 461</a></span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="structRSGL_1_1pen.html#a663185e755ec61f5af0095a3937f2f24">color</a>; </div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> </div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a3d6cf338ad24486a697f73ea934a634d"> 463</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1pen.html#a3d6cf338ad24486a697f73ea934a634d">drawing</a> = <span class="keyword">true</span>; </div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> </div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a285da6a2698fc04b5bbe519b47417252"> 465</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1pen.html#a285da6a2698fc04b5bbe519b47417252">svg</a>; </div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a6da28007469859a093a90183e5148487"> 466</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1pen.html#a6da28007469859a093a90183e5148487">fullSvg</a> = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a240ec92a17c73c7f5ab5e542236cdc43"> 467</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structRSGL_1_1pen.html#a240ec92a17c73c7f5ab5e542236cdc43">fill</a>; </div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span> </div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a93f0d56cbe8896b25ed04cd670f459d1"> 469</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> fillTex, <a class="code hl_variable" href="structRSGL_1_1pen.html#a93f0d56cbe8896b25ed04cd670f459d1">noFillTex</a>; </div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> </div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a594a95069608d2772f716d53357cc507"> 471</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#a594a95069608d2772f716d53357cc507">moveTo</a>(<a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p); </div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a05b740c4c5d0ab7e16f038ab63989a84"> 472</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#a05b740c4c5d0ab7e16f038ab63989a84">moveBezier</a>(<a class="code hl_typedef" href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f">RSGL::triangle</a> <a class="code hl_struct" href="structRSGL_1_1points.html">points</a>); </div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#af8edd31e98b347fc625d714e45a1515d"> 473</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#af8edd31e98b347fc625d714e45a1515d">moveQuad</a>(std::array<RSGL::point, 2> <a class="code hl_struct" href="structRSGL_1_1points.html">points</a>); </div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a057cb55cb221c9b09ec72146ee0848e2"> 474</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#a057cb55cb221c9b09ec72146ee0848e2">moveArc</a>(std::array<RSGL::point, 2>, <span class="keywordtype">int</span> radius); </div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> </div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#a27774aeb8351beb7b5fe5f3a2b6e1123"> 476</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#a27774aeb8351beb7b5fe5f3a2b6e1123">drawAt</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> p, <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> args={}); </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"><a class="line" href="structRSGL_1_1pen.html#af9ef2d2e791e624d0aa8dfcfd17e3e20"> 477</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="structRSGL_1_1pen.html#af9ef2d2e791e624d0aa8dfcfd17e3e20">draw</a>(<a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> args={}); </div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> }; </div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> </div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> </div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno"> 485</span> </div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span><span class="preprocessor"> #ifdef RSGL_WIDGETS</span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> </div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> <span class="keyword">const</span> <span class="keywordtype">int</span> buttonHovered = 1;</div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> <span class="keyword">const</span> <span class="keywordtype">int</span> buttonPressed = 2;</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> <span class="keyword">const</span> <span class="keywordtype">int</span> buttonClicked = 3;</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> </div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"><a class="line" href="structRSGL_1_1label.html"> 494</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1label.html">label</a>{</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> std::string text = <span class="stringliteral">"NULL"</span>;</div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c;</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> <a class="code hl_struct" href="structRSGL_1_1font.html">RSGL::font</a> <a class="code hl_struct" href="structRSGL_1_1font.html">font</a> = <span class="stringliteral">"NULL"</span>;</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> <a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> cir = {-1, -1, -1};</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> </div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> <a class="code hl_struct" href="structRSGL_1_1label.html">label</a>(){}</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> <a class="code hl_struct" href="structRSGL_1_1label.html">label</a>(std::string text, <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, <a class="code hl_struct" href="structRSGL_1_1font.html">RSGL::font</a> <a class="code hl_struct" href="structRSGL_1_1font.html">font</a>, <a class="code hl_struct" href="structRSGL_1_1circle.html">RSGL::circle</a> cir){</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> this->text = text;</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> this->c = c;</div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span> this->font = <a class="code hl_struct" href="structRSGL_1_1font.html">font</a>;</div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> this->cir = cir;</div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span> }</div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span> </div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"> 508</span> <span class="keywordtype">void</span> draw(<a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> };</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> </div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <span class="keyword">enum</span> buttonStyle {</div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span> BUTTON,</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> CHECKBOX,</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> TOGGLESWITCH,</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> TOGGLEBOX,</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> };</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> </div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"><a class="line" href="structRSGL_1_1button.html"> 518</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1button.html">button</a>{</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r;</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c;</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> <a class="code hl_struct" href="structRSGL_1_1label.html">label</a> l;</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> <span class="keywordtype">int</span> status;</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> </div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span> <span class="keywordtype">void</span> update(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">RSGL::currentDrawingContext</a>());</div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span> <span class="keywordtype">void</span> draw(<a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span> <span class="keywordtype">void</span> draw(buttonStyle s, <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span> }; </div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> </div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"><a class="line" href="structRSGL_1_1toggleButton.html"> 529</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1toggleButton.html">toggleButton</a>{</div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span> <a class="code hl_struct" href="structRSGL_1_1button.html">button</a> b;</div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> </div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span> <span class="keywordtype">bool</span> status = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> </div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"> 534</span> <span class="keywordtype">void</span> update(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">RSGL::currentDrawingContext</a>());</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> <span class="keywordtype">void</span> draw(<a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <span class="keywordtype">void</span> draw(buttonStyle s, <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> };</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> </div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"><a class="line" href="structRSGL_1_1radioButtons.html"> 539</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1radioButtons.html">radioButtons</a>{</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> std::vector<toggleButton> buttons;</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> </div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> std::vector<int> selected;</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> </div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <a class="code hl_struct" href="structRSGL_1_1radioButtons.html">radioButtons</a>(){}</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> <a class="code hl_struct" href="structRSGL_1_1radioButtons.html">radioButtons</a>(std::vector<button> buttons){ </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span>& b : buttons)</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> this->buttons.push_back({b});</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> }</div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> </div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> <span class="keywordtype">void</span> update(<span class="keywordtype">bool</span> multiSelect = <span class="keyword">false</span>, <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">RSGL::currentDrawingContext</a>());</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> <span class="keywordtype">void</span> draw(<a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> d = {});</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> };</div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span> </div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"><a class="line" href="group__widgets.html#gaa614d3adac98ff94f4edf69686b459ee"> 555</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__widgets.html#gaa614d3adac98ff94f4edf69686b459ee">splashScreen</a>(</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span> std::string file = <span class="stringliteral">"res/images/logo.png"</span>, </div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> std::string <a class="code hl_struct" href="structRSGL_1_1font.html">font</a> = <span class="stringliteral">"res/fonts/SansPosterBold.ttf"</span>, </div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> std::string font2 = <span class="stringliteral">""</span>, </div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> std::string font3 = <span class="stringliteral">""</span>, </div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> <span class="keywordtype">int</span> t = 100, </div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> d = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>() </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> ); </div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> </div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"><a class="line" href="group__widgets.html#ga5a781d4e18dda33e2d5d132a14fb7627"> 565</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__widgets.html#ga5a781d4e18dda33e2d5d132a14fb7627">progressBar</a>(</div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span> <span class="keywordtype">int</span> pos, </div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"> 569</span> <span class="keywordtype">int</span> dir = 1, </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c2 = {0, 0, 0, 0}); </div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> </div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"><a class="line" href="group__widgets.html#ga2257d5b58a04494f934a3933fb95be5c"> 573</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__widgets.html#ga2257d5b58a04494f934a3933fb95be5c">progressBarAuto</a>(<a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"> 574</span> <span class="keywordtype">int</span> speed = 1, </div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"> 575</span> <span class="keywordtype">int</span> ticks = 0, </div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"> 576</span> <span class="keywordtype">int</span> dir = 1, </div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c2 = {0, 0, 0, 0} </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> );</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span> </div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"><a class="line" href="structRSGL_1_1menu.html"> 580</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1menu.html">menu</a>{ </div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"> 581</span> std::string text, <a class="code hl_struct" href="structRSGL_1_1font.html">font</a> , <a class="code hl_struct" href="structRSGL_1_1bitmap.html">image</a>; </div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="structRSGL_1_1menu.html#addc200e99265588dcb0717a698879c82"> 582</a></span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="structRSGL_1_1menu.html#addc200e99265588dcb0717a698879c82">c</a>, </div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"><a class="line" href="structRSGL_1_1menu.html#ac868f9c321000101b3594b41d04f164d"> 583</a></span> <a class="code hl_variable" href="structRSGL_1_1menu.html#ac868f9c321000101b3594b41d04f164d">bgcolor</a>, </div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"><a class="line" href="structRSGL_1_1menu.html#ae7c4ef9add45f5c6ee43d80c878a2cde"> 584</a></span> <a class="code hl_variable" href="structRSGL_1_1menu.html#ae7c4ef9add45f5c6ee43d80c878a2cde">c2</a> = {0, 0, 0, 0}; </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> }; </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> </div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"><a class="line" href="structRSGL_1_1mouseMenu.html"> 587</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1mouseMenu.html">mouseMenu</a>{</div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="structRSGL_1_1mouseMenu.html#a985c46f3b6a4fda6b53c3cdf92a87c63"> 588</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="structRSGL_1_1mouseMenu.html#a985c46f3b6a4fda6b53c3cdf92a87c63">draw</a>(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>()); </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <a class="code hl_struct" href="structRSGL_1_1mouseMenu.html">mouseMenu</a>(){}</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="structRSGL_1_1mouseMenu.html#a82da56a6b582655e2b8a1bbda169d3c4"> 590</a></span> <a class="code hl_function" href="structRSGL_1_1mouseMenu.html#a82da56a6b582655e2b8a1bbda169d3c4">mouseMenu</a>(</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span> std::vector<menu> m, </div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>() </div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> );</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> </div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a>; </div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_struct" href="structRSGL_1_1color.html">color</a>;</div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> std::vector<menu> menus;</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> std::vector<RSGL::button> bs;</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> <span class="keywordtype">bool</span> pressed = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> p; </div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> <span class="keywordtype">int</span> tick = 0;</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> }; </div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> </div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="structRSGL_1_1sideMenu.html"> 608</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1sideMenu.html">sideMenu</a>{</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="structRSGL_1_1sideMenu.html#a478bf32e1cd9c860e2a6ce7391d8dcf4"> 609</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="structRSGL_1_1sideMenu.html#a478bf32e1cd9c860e2a6ce7391d8dcf4">draw</a>(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>()); </div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="structRSGL_1_1sideMenu.html#ac77d6f6a15e4a6c5d7f6b5d303434a06"> 610</a></span> <a class="code hl_function" href="structRSGL_1_1sideMenu.html#ac77d6f6a15e4a6c5d7f6b5d303434a06">sideMenu</a>(){}</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"><a class="line" href="structRSGL_1_1sideMenu.html#a55c80a07adb89bf1ccb800ce7c1b983f"> 612</a></span> <a class="code hl_function" href="structRSGL_1_1sideMenu.html#a55c80a07adb89bf1ccb800ce7c1b983f">sideMenu</a>(</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"> 614</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> c, </div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"> 615</span> std::vector<menu> m, </div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"> 616</span> <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>() </div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"> 617</span> );</div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"> 618</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"> 620</span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_struct" href="structRSGL_1_1color.html">color</a>; <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_struct" href="structRSGL_1_1rect.html">rect</a>;</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"> 621</span> std::vector<menu> menus;</div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno"> 622</span> std::vector<RSGL::button> bs;</div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"> 623</span> <span class="keywordtype">int</span> tick = 0;</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"> 624</span> }; </div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"> 625</span> </div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"><a class="line" href="structRSGL_1_1listEvent.html"> 626</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1listEvent.html">listEvent</a>{ <span class="keywordtype">bool</span> <a class="code hl_struct" href="structRSGL_1_1event.html">event</a>; <span class="keywordtype">int</span> pressed; }; </div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html"> 627</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structRSGL_1_1list.html">list</a>{</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#ab0edababe1e295bb4850bc2355108da6"> 628</a></span> std::vector<std::string> <a class="code hl_variable" href="structRSGL_1_1list.html#ab0edababe1e295bb4850bc2355108da6">list</a>; </div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#a068d8fb11f7b1701ff14410285a9f0ed"> 629</a></span> std::string <a class="code hl_variable" href="structRSGL_1_1list.html#a068d8fb11f7b1701ff14410285a9f0ed">font</a>; </div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#aad9ad8d1a6fc21bfe424cc72f5ba3181"> 630</a></span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_variable" href="structRSGL_1_1list.html#aad9ad8d1a6fc21bfe424cc72f5ba3181">r</a>; </div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#a47cbd0220583fd66453310f43b477fa7"> 631</a></span> <a class="code hl_struct" href="structRSGL_1_1color.html">RSGL::color</a> <a class="code hl_variable" href="structRSGL_1_1list.html#a47cbd0220583fd66453310f43b477fa7">c</a>, </div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#a8acebc49fc344d46bbdf9553a7828102"> 632</a></span> <a class="code hl_variable" href="structRSGL_1_1list.html#a8acebc49fc344d46bbdf9553a7828102">bg</a>, </div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#a7e9512b6d3420d397131d02b56fb3059"> 633</a></span> <a class="code hl_variable" href="structRSGL_1_1list.html#a7e9512b6d3420d397131d02b56fb3059">oc</a>, </div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#a173fa391853fee527583392b4aaad2fb"> 634</a></span> <a class="code hl_variable" href="structRSGL_1_1list.html#a173fa391853fee527583392b4aaad2fb">fc</a>; </div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#aa503d1b1190f3a3ab66fafbb540fa7bd"> 635</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structRSGL_1_1list.html#aa503d1b1190f3a3ab66fafbb540fa7bd">pressed</a> = 0; </div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"><a class="line" href="structRSGL_1_1list.html#aeff660f8a53c25b8b128cd64e814a928"> 636</a></span> <a class="code hl_struct" href="structRSGL_1_1listEvent.html">RSGL::listEvent</a> <a class="code hl_function" href="structRSGL_1_1list.html#aeff660f8a53c25b8b128cd64e814a928">draw</a>(<a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = *<a class="code hl_function" href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">currentDrawingContext</a>()); </div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span> }; </div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"> 638</span> </div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno"><a class="line" href="group__widgets.html#ga1d9d1b9f853c4601eee47ebd69849e3d"> 639</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__widgets.html#ga1d9d1b9f853c4601eee47ebd69849e3d">drawLonic</a>(</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno"> 640</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"> 641</span> std::array<RSGL::color, 2> colors, </div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno"> 642</span> <a class="code hl_struct" href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a> args = {} </div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno"> 643</span> ); </div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"> 644</span> </div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"><a class="line" href="group__widgets.html#ga572ed8ec8f89574a5d4737d07b641366"> 645</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__widgets.html#ga572ed8ec8f89574a5d4737d07b641366">drawLogo</a>(</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> r, </div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> std::string <a class="code hl_struct" href="structRSGL_1_1font.html">font</a>, </div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> std::string font2 </div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> ); </div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> </div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"><a class="line" href="group__widgets.html#gae4b35fdf33bbb485f35be8ec795b8a3f"> 651</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group__widgets.html#gae4b35fdf33bbb485f35be8ec795b8a3f">timer</a>(<span class="keywordtype">int</span> ticks); </div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span> </div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span> </div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span><span class="preprocessor"> #ifdef RSGL_OTHER</span></div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span> </div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"><a class="line" href="group__other.html#ga10e2c8d3bd695b39df7644bfe8e10110"> 661</a></span> std::vector<std::string> <a class="code hl_function" href="group__other.html#ga10e2c8d3bd695b39df7644bfe8e10110">fileDialog</a>(</div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno"> 662</span> std::string title <span class="comment">/*the title of the sub window*/</span>,</div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span> <span class="keywordtype">bool</span> multiple = <span class="keyword">false</span> <span class="comment">/*one or more files?*/</span>,</div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span> <span class="keywordtype">bool</span> save = <span class="keyword">false</span> <span class="comment">/*to save a file?*/</span>, </div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span> <span class="keywordtype">bool</span> directory = <span class="keyword">false</span> <span class="comment">/*should it accept folders or files*/</span></div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span> ); </div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span> </div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"><a class="line" href="group__other.html#ga5d504cf0fd489e939f37b54b833b644e"> 668</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__other.html#ga5d504cf0fd489e939f37b54b833b644e">notifiy</a>(</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span> std::string title, <span class="comment">/*the title of the notifcation*/</span> </div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span> std::string content, <span class="comment">/*what's in the notification*/</span></div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> std::string <a class="code hl_struct" href="structRSGL_1_1bitmap.html">image</a> = <span class="stringliteral">""</span> <span class="comment">/*an image file to add to it*/</span></div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> ); </div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span> </div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"><a class="line" href="group__other.html#ga7e18fc2fc5e1fba7815c40522e739696"> 674</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="group__other.html#ga7e18fc2fc5e1fba7815c40522e739696">messageBox</a>(std::string message, <span class="comment">/*the message*/</span></div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span> <span class="keywordtype">bool</span> question = <span class="keyword">false</span>, <span class="comment">/*is it a question?*/</span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span> <span class="keywordtype">bool</span> error = <span class="keyword">false</span> <span class="comment">/*is it an error?*/</span></div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> ); </div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span> </div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> <span class="keywordtype">void</span> setCurrentDrawingContext(<a class="code hl_struct" href="structRSGL_1_1area.html">RSGL::area</a> a, <span class="keywordtype">int</span> gpu = 1, <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a> win = <a class="code hl_class" href="classRSGL_1_1window.html">RSGL::window</a>(NULL, {-1, -1, -1, -1}, {}));</div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> <span class="keywordtype">void</span> lockFPS(<span class="keywordtype">int</span> fps); <span class="comment">// locks the fps at a certain fps</span></div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span> </div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> std::vector<std::string> splitString(<span class="keyword">const</span> std::string& input);</div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span> </div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span> <span class="keywordtype">int</span> longestSize(<span class="keyword">const</span> std::vector<std::string>& strings);</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> </div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span><span class="preprocessor"> #ifdef RSGL_CORE</span></div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"><a class="line" href="group__other.html#ga829783aeaffc80adc44f7b049f7dff09"> 688</a></span> <a class="code hl_struct" href="structRSGL_1_1point.html">RSGL::point</a> <a class="code hl_function" href="group__other.html#ga829783aeaffc80adc44f7b049f7dff09">globalMouse</a>(); </div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"><a class="line" href="group__other.html#ga10dd9b8f0579653aa23ba694195c0a43"> 689</a></span> <a class="code hl_struct" href="structRSGL_1_1rect.html">RSGL::rect</a> <a class="code hl_function" href="group__other.html#ga10dd9b8f0579653aa23ba694195c0a43">fullscreen</a>(); </div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span><span class="preprocessor"> #endif</span></div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> </div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span>};</div>
<div class="ttc" id="aclassRSGL_1_1window_html"><div class="ttname"><a href="classRSGL_1_1window.html">RSGL::window</a></div><div class="ttdoc">Window structure.</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:244</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a08fabf408ccb5e8a6299eb926d3bdda6"><div class="ttname"><a href="classRSGL_1_1window.html#a08fabf408ccb5e8a6299eb926d3bdda6">RSGL::window::r</a></div><div class="ttdeci">RSGL::rect r</div><div class="ttdoc">the size/x/y of the window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:254</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a0dd6c97d9827f9241d64866c56a8d11c"><div class="ttname"><a href="classRSGL_1_1window.html#a0dd6c97d9827f9241d64866c56a8d11c">RSGL::window::setRect</a></div><div class="ttdeci">void setRect(RSGL::rect r)</div><div class="ttdoc">set the size/cords of the window</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a1b2b1c9eb25812c02ed1fde40cd9394f"><div class="ttname"><a href="classRSGL_1_1window.html#a1b2b1c9eb25812c02ed1fde40cd9394f">RSGL::window::setIcon</a></div><div class="ttdeci">void setIcon(std::string file)</div><div class="ttdoc">sets BMP! image to the icon</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a3cfa66068b46d793c5996de7da32adf0"><div class="ttname"><a href="classRSGL_1_1window.html#a3cfa66068b46d793c5996de7da32adf0">RSGL::window::isPressed</a></div><div class="ttdeci">bool isPressed(std::vector< RSGL::key > keys, bool onFocus=false)</div><div class="ttdoc">checks if a key has been pressed (works with key code or string)</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a48bd1edf79da4cb89644e26f46aee183"><div class="ttname"><a href="classRSGL_1_1window.html#a48bd1edf79da4cb89644e26f46aee183">RSGL::window::close</a></div><div class="ttdeci">void close()</div><div class="ttdoc">closes the window</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a49ab6f85c4658c4c3f9a9abec141c94b"><div class="ttname"><a href="classRSGL_1_1window.html#a49ab6f85c4658c4c3f9a9abec141c94b">RSGL::window::vbo</a></div><div class="ttdeci">bool vbo</div><div class="ttdoc">if vbo is supported or not</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:261</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a518a6b66ca754a1dcff7f822f04cc742"><div class="ttname"><a href="classRSGL_1_1window.html#a518a6b66ca754a1dcff7f822f04cc742">RSGL::window::debug</a></div><div class="ttdeci">RSGL::debug debug</div><div class="ttdoc">debug info for the window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:252</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a5efb83b4a9b85dee33b5cb611ec6221c"><div class="ttname"><a href="classRSGL_1_1window.html#a5efb83b4a9b85dee33b5cb611ec6221c">RSGL::window::window</a></div><div class="ttdeci">window(std::string, RSGL::rect, RSGL::color, winArgs args={})</div><div class="ttdoc">inits the window with these values</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a69e85b8a024b84d07b07463cb9816072"><div class="ttname"><a href="classRSGL_1_1window.html#a69e85b8a024b84d07b07463cb9816072">RSGL::window::color</a></div><div class="ttdeci">RSGL::color color</div><div class="ttdoc">the background color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:253</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a7a40a17bb553245b6a917b2c8877d0bc"><div class="ttname"><a href="classRSGL_1_1window.html#a7a40a17bb553245b6a917b2c8877d0bc">RSGL::window::checkEvents</a></div><div class="ttdeci">RSGL::event checkEvents(bool setCurrentDrawingContext=true, int fpsCap=-1)</div><div class="ttdoc">checks if any events have been sent (is required to get events), returns an optional event struct as ...</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a8fc14011fe28218b8091df4920f6d682"><div class="ttname"><a href="classRSGL_1_1window.html#a8fc14011fe28218b8091df4920f6d682">RSGL::window::event</a></div><div class="ttdeci">RSGL::event event</div><div class="ttdoc">the source event struct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:251</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_a928645cf3d797e1b0400f886ac8456bd"><div class="ttname"><a href="classRSGL_1_1window.html#a928645cf3d797e1b0400f886ac8456bd">RSGL::window::GPU</a></div><div class="ttdeci">int GPU</div><div class="ttdoc">the GPU option selection</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:259</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_aa1e964150e1da0e235341b41f37b202c"><div class="ttname"><a href="classRSGL_1_1window.html#aa1e964150e1da0e235341b41f37b202c">RSGL::window::isOpen</a></div><div class="ttdeci">bool isOpen(bool autoClear=true, bool autoClose=true, int fapsCap=-1)</div><div class="ttdoc">clears the window (toggleable), returns true if the window hasn't been closed, if the window is cloes...</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_aa5a84d949fdcaab3b4a9e0da992aceba"><div class="ttname"><a href="classRSGL_1_1window.html#aa5a84d949fdcaab3b4a9e0da992aceba">RSGL::window::sourceVBO</a></div><div class="ttdeci">unsigned int sourceVBO</div><div class="ttdoc">source vbo object</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:260</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_aa706de73308ab5dd75a203b997d31cb1"><div class="ttname"><a href="classRSGL_1_1window.html#aa706de73308ab5dd75a203b997d31cb1">RSGL::window::glWin</a></div><div class="ttdeci">unsigned long glWin</div><div class="ttdoc">source drawable and opengl context</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:256</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_ac18ecd91f1e2ba02b0ece8e5913f25c7"><div class="ttname"><a href="classRSGL_1_1window.html#ac18ecd91f1e2ba02b0ece8e5913f25c7">RSGL::window::cb</a></div><div class="ttdeci">customBorder cb</div><div class="ttdoc">optional custom border</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:263</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_ac3ade7e1e6720536f6c758f310054352"><div class="ttname"><a href="classRSGL_1_1window.html#ac3ade7e1e6720536f6c758f310054352">RSGL::window::focused</a></div><div class="ttdeci">bool focused</div><div class="ttdoc">if the window is focused or not (updated by check events)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:262</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_ac8b65577d15b8791f1b951c2057a32ec"><div class="ttname"><a href="classRSGL_1_1window.html#ac8b65577d15b8791f1b951c2057a32ec">RSGL::window::display</a></div><div class="ttdeci">void * display</div><div class="ttdoc">source display</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:257</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_ad1f005e85c6b70345af074e805051b33"><div class="ttname"><a href="classRSGL_1_1window.html#ad1f005e85c6b70345af074e805051b33">RSGL::window::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">clears the display</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_aed1180e7778c02b4c491d565ec1811cb"><div class="ttname"><a href="classRSGL_1_1window.html#aed1180e7778c02b4c491d565ec1811cb">RSGL::window::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">the name of the window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:250</div></div>
<div class="ttc" id="aclassRSGL_1_1window_html_afdfaf9b853490598d3852c08464b21b6"><div class="ttname"><a href="classRSGL_1_1window.html#afdfaf9b853490598d3852c08464b21b6">RSGL::window::isPressed</a></div><div class="ttdeci">bool isPressed(RSGL::key key, bool onFocus=false)</div><div class="ttdoc">checks if a key has been pressed (works with key code or string)</div></div>
<div class="ttc" id="agroup__Events_html_ga1a5f18f4f4cd744b42eb7fd66ad14e99"><div class="ttname"><a href="group__Events.html#ga1a5f18f4f4cd744b42eb7fd66ad14e99">RSGL::keyPressed</a></div><div class="ttdeci">const int keyPressed</div><div class="ttdoc">a key has been pressed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:67</div></div>
<div class="ttc" id="agroup__Events_html_ga53c1f563ba6ab0945f0003b3b4ddc2a5"><div class="ttname"><a href="group__Events.html#ga53c1f563ba6ab0945f0003b3b4ddc2a5">RSGL::keyReleased</a></div><div class="ttdeci">const int keyReleased</div><div class="ttdoc">a key has been released</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:68</div></div>
<div class="ttc" id="agroup__Events_html_ga618d4eb7386ec8b6106edba5b39d8a11"><div class="ttname"><a href="group__Events.html#ga618d4eb7386ec8b6106edba5b39d8a11">RSGL::mouseButtonReleased</a></div><div class="ttdeci">const int mouseButtonReleased</div><div class="ttdoc">a mouse button has been released (left,middle,right)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:70</div></div>
<div class="ttc" id="agroup__Events_html_ga7f86d4d211f26c51cf3515285ea197a7"><div class="ttname"><a href="group__Events.html#ga7f86d4d211f26c51cf3515285ea197a7">RSGL::quit</a></div><div class="ttdeci">const int quit</div><div class="ttdoc">the user clicked the quit button</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:72</div></div>
<div class="ttc" id="agroup__Events_html_gaa5d6773635fb4acbf9826c581f713a96"><div class="ttname"><a href="group__Events.html#gaa5d6773635fb4acbf9826c581f713a96">RSGL::dnd</a></div><div class="ttdeci">const int dnd</div><div class="ttdoc">a file has been dropped into the window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:73</div></div>
<div class="ttc" id="agroup__Events_html_gaac5034c093a26afb432b01b8f570f863"><div class="ttname"><a href="group__Events.html#gaac5034c093a26afb432b01b8f570f863">RSGL::mouseButtonPressed</a></div><div class="ttdeci">const int mouseButtonPressed</div><div class="ttdoc">a mouse button has been pressed (left,middle,right)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:69</div></div>
<div class="ttc" id="agroup__Events_html_gab274ebd645dded8e96ad1d57d1e701d7"><div class="ttname"><a href="group__Events.html#gab274ebd645dded8e96ad1d57d1e701d7">RSGL::mousePosChanged</a></div><div class="ttdeci">const int mousePosChanged</div><div class="ttdoc">the position of the mouse has been changed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:71</div></div>
<div class="ttc" id="agroup__Window__Data__and__Managment_html_ga530d128c8af8c204cc5b61262fda861d"><div class="ttname"><a href="group__Window__Data__and__Managment.html#ga530d128c8af8c204cc5b61262fda861d">RSGL::currentDrawingContext</a></div><div class="ttdeci">RSGL::window * currentDrawingContext()</div><div class="ttdoc">the current drawing context</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga0079239766410c24abbc2db4bf043b95"><div class="ttname"><a href="group__collision-functions.html#ga0079239766410c24abbc2db4bf043b95">RSGL::ImageCollideRect</a></div><div class="ttdeci">int ImageCollideRect(RSGL::image img, RSGL::rect r)</div><div class="ttdoc">if a image collides with a rect</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga044dfbc5079e945e38856dcc88d0c28f"><div class="ttname"><a href="group__collision-functions.html#ga044dfbc5079e945e38856dcc88d0c28f">RSGL::ImageCollideCircle</a></div><div class="ttdeci">int ImageCollideCircle(RSGL::image img, RSGL::circle c)</div><div class="ttdoc">if a image collides with a circle</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga3e1a2ab442fef0773904cd5d813f3252"><div class="ttname"><a href="group__collision-functions.html#ga3e1a2ab442fef0773904cd5d813f3252">RSGL::ImageCollideImage</a></div><div class="ttdeci">int ImageCollideImage(RSGL::image img, RSGL::image img2)</div><div class="ttdoc">if a image collides with another image</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga428bf000b3865cf50c6ff8a7d88ccbfa"><div class="ttname"><a href="group__collision-functions.html#ga428bf000b3865cf50c6ff8a7d88ccbfa">RSGL::RectCollidePoint</a></div><div class="ttdeci">int RectCollidePoint(RSGL::rect r, RSGL::point p)</div><div class="ttdoc">if a rect collides with a point</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga56154d93bc38b7c4c0fe9e65fa2db2ce"><div class="ttname"><a href="group__collision-functions.html#ga56154d93bc38b7c4c0fe9e65fa2db2ce">RSGL::CircleCollide</a></div><div class="ttdeci">int CircleCollide(RSGL::circle cir1, RSGL::circle cir2)</div><div class="ttdoc">if a circle collides with another circle</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga710132763d01586e20f811403086fc7d"><div class="ttname"><a href="group__collision-functions.html#ga710132763d01586e20f811403086fc7d">RSGL::CircleCollideRect</a></div><div class="ttdeci">int CircleCollideRect(RSGL::circle c, RSGL::rect r)</div><div class="ttdoc">if a circle collides with a rect</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga7720ea70a8157d2ff1d9759f32511f5c"><div class="ttname"><a href="group__collision-functions.html#ga7720ea70a8157d2ff1d9759f32511f5c">RSGL::PointCollide</a></div><div class="ttdeci">int PointCollide(RSGL::point p, RSGL::point p2)</div><div class="ttdoc">if a point collides with another point</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga85cf838a5d1ac45eacf50f57b4261f59"><div class="ttname"><a href="group__collision-functions.html#ga85cf838a5d1ac45eacf50f57b4261f59">RSGL::CircleCollideLine</a></div><div class="ttdeci">int CircleCollideLine(RSGL::circle c, RSGL::point p1, RSGL::point p2)</div><div class="ttdoc">if a circle collides with a line</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga91400ad3fe9908a241a552a0e0205ee4"><div class="ttname"><a href="group__collision-functions.html#ga91400ad3fe9908a241a552a0e0205ee4">RSGL::CircleCollidePoint</a></div><div class="ttdeci">int CircleCollidePoint(RSGL::circle c, RSGL::point p)</div><div class="ttdoc">if a circle collides with a point</div></div>
<div class="ttc" id="agroup__collision-functions_html_ga9e9d9a4aa14768c5959843e2f8da493b"><div class="ttname"><a href="group__collision-functions.html#ga9e9d9a4aa14768c5959843e2f8da493b">RSGL::ImageCollidePoint</a></div><div class="ttdeci">int ImageCollidePoint(RSGL::image img, RSGL::point p)</div><div class="ttdoc">if a image collides with a point</div></div>
<div class="ttc" id="agroup__collision-functions_html_gabad50ec95ab3c8c8974344778487a19f"><div class="ttname"><a href="group__collision-functions.html#gabad50ec95ab3c8c8974344778487a19f">RSGL::RectCollideRect</a></div><div class="ttdeci">int RectCollideRect(RSGL::rect r, RSGL::rect r2)</div><div class="ttdoc">if a rect collides with another rect</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga00309d6f20c69367acacc1192d6da034"><div class="ttname"><a href="group__drawing-functions.html#ga00309d6f20c69367acacc1192d6da034">RSGL::drawCircle</a></div><div class="ttdeci">void drawCircle(RSGL::circle c, RSGL::color col, drawArgs args={})</div><div class="ttdoc">draws a cirlce on the screen</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga1ecdbc78d24b1333a787d8c755269072"><div class="ttname"><a href="group__drawing-functions.html#ga1ecdbc78d24b1333a787d8c755269072">RSGL::drawRect</a></div><div class="ttdeci">void drawRect(RSGL::rect r, color c, drawArgs args={})</div><div class="ttdoc">draws a rect on the window</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga2b59c6923ab8c3ed6a87d98a3599483f"><div class="ttname"><a href="group__drawing-functions.html#ga2b59c6923ab8c3ed6a87d98a3599483f">RSGL::drawPoint</a></div><div class="ttdeci">void drawPoint(RSGL::point p, RSGL::color c, drawArgs args={})</div><div class="ttdoc">draws a point on the screen</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga53c423444e64269a8f4493336d6b40ed"><div class="ttname"><a href="group__drawing-functions.html#ga53c423444e64269a8f4493336d6b40ed">RSGL::drawLine</a></div><div class="ttdeci">void drawLine(RSGL::point p1, RSGL::point p2, RSGL::color c, drawArgs args={})</div><div class="ttdoc">draws a cirlce on the screen</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga954f1c4777c71ef738296b5ee89316cc"><div class="ttname"><a href="group__drawing-functions.html#ga954f1c4777c71ef738296b5ee89316cc">RSGL::drawText</a></div><div class="ttdeci">void drawText(std::string text, RSGL::circle c, RSGL::color col, RSGL::font font, drawArgs args={})</div><div class="ttdoc">function for drawing text</div></div>
<div class="ttc" id="agroup__drawing-functions_html_ga9798353fb687d5b004f2e1d51714284b"><div class="ttname"><a href="group__drawing-functions.html#ga9798353fb687d5b004f2e1d51714284b">RSGL::loadBitmap</a></div><div class="ttdeci">int loadBitmap(unsigned int *data, int channels, RSGL::area memsize)</div><div class="ttdoc">load a bitmap into the texture buffer (no drawing) (returns the index texture in the texture buffer)</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gaa1569601c7725c17d37b28880e321318"><div class="ttname"><a href="group__drawing-functions.html#gaa1569601c7725c17d37b28880e321318">RSGL::loadImage</a></div><div class="ttdeci">int loadImage(std::string file)</div><div class="ttdoc">loads a image into the texture buffer without drawing (returns the index texture in the texture buffe...</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gaa49413c570aa8fd75d1806c5c5157fad"><div class="ttname"><a href="group__drawing-functions.html#gaa49413c570aa8fd75d1806c5c5157fad">RSGL::drawBitmap</a></div><div class="ttdeci">int drawBitmap(unsigned int *data, RSGL::rect r, int channels, RSGL::area memsize, RSGL::drawArgs args={}, RSGL::color color={255, 255, 255, 255})</div><div class="ttdoc">draw a bitmap on the screen (returns the index texture in the texture buffer)</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gaa50b988d996f079d15177eb9ae3b7648"><div class="ttname"><a href="group__drawing-functions.html#gaa50b988d996f079d15177eb9ae3b7648">RSGL::drawImage</a></div><div class="ttdeci">int drawImage(std::string fileName, RSGL::rect r, drawArgs args={})</div><div class="ttdoc">draws a image on the screen (returns the index texture in the texture buffer)</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gaa9e6c09cd1c8e725ff8b1a89e0ca12bd"><div class="ttname"><a href="group__drawing-functions.html#gaa9e6c09cd1c8e725ff8b1a89e0ca12bd">RSGL::drawOval</a></div><div class="ttdeci">void drawOval(RSGL::oval o, color c, drawArgs args={})</div><div class="ttdoc">draw oval</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gac0e168f415e27f684709e3c04c284d58"><div class="ttname"><a href="group__drawing-functions.html#gac0e168f415e27f684709e3c04c284d58">RSGL::drawTriangle</a></div><div class="ttdeci">void drawTriangle(RSGL::triangle t, RSGL::color c, drawArgs args={})</div><div class="ttdoc">draw triangle</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gaca7f6211392efb717ef021b7b84ae45c"><div class="ttname"><a href="group__drawing-functions.html#gaca7f6211392efb717ef021b7b84ae45c">RSGL::drawPoints</a></div><div class="ttdeci">void drawPoints(std::vector< RSGL::point > p, RSGL::color c, drawArgs args={})</div><div class="ttdoc">point drawing function, draw based on one color</div></div>
<div class="ttc" id="agroup__drawing-functions_html_gae4733a398638cfe5a034f0bba4dd468c"><div class="ttname"><a href="group__drawing-functions.html#gae4733a398638cfe5a034f0bba4dd468c">RSGL::drawPolygon</a></div><div class="ttdeci">void drawPolygon(RSGL::oval o, RSGL::color color, int sides, RSGL::drawArgs args={})</div><div class="ttdoc">draw polygon basd on given side count</div></div>
<div class="ttc" id="agroup__mouse-constants_html_ga2daeb2afda1280d9770e912a2af197fc"><div class="ttname"><a href="group__mouse-constants.html#ga2daeb2afda1280d9770e912a2af197fc">RSGL::mouseLeft</a></div><div class="ttdeci">const int mouseLeft</div><div class="ttdoc">left mouse button is pressed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:80</div></div>
<div class="ttc" id="agroup__mouse-constants_html_ga2e730c2227436835384fd55bf7aa56b2"><div class="ttname"><a href="group__mouse-constants.html#ga2e730c2227436835384fd55bf7aa56b2">RSGL::mouseScrollDown</a></div><div class="ttdeci">const int mouseScrollDown</div><div class="ttdoc">mouse wheel is scrolling down</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:84</div></div>
<div class="ttc" id="agroup__mouse-constants_html_ga991823285ed0b68d6eb5d2e36782b897"><div class="ttname"><a href="group__mouse-constants.html#ga991823285ed0b68d6eb5d2e36782b897">RSGL::mouseScrollUp</a></div><div class="ttdeci">const int mouseScrollUp</div><div class="ttdoc">mouse wheel is scrolling up</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:83</div></div>
<div class="ttc" id="agroup__mouse-constants_html_gac75d9aeb35f689d1490b19cce6fd63f4"><div class="ttname"><a href="group__mouse-constants.html#gac75d9aeb35f689d1490b19cce6fd63f4">RSGL::mouseRight</a></div><div class="ttdeci">const int mouseRight</div><div class="ttdoc">right mouse button is pressed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:82</div></div>
<div class="ttc" id="agroup__mouse-constants_html_gaf9de27edfdf512886625b14464ae9868"><div class="ttname"><a href="group__mouse-constants.html#gaf9de27edfdf512886625b14464ae9868">RSGL::mouseMiddle</a></div><div class="ttdeci">const int mouseMiddle</div><div class="ttdoc">mouse-wheel-button is pressed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:81</div></div>
<div class="ttc" id="agroup__other_html_ga10dd9b8f0579653aa23ba694195c0a43"><div class="ttname"><a href="group__other.html#ga10dd9b8f0579653aa23ba694195c0a43">RSGL::fullscreen</a></div><div class="ttdeci">RSGL::rect fullscreen()</div><div class="ttdoc">returns the size of the screen</div></div>
<div class="ttc" id="agroup__other_html_ga10e2c8d3bd695b39df7644bfe8e10110"><div class="ttname"><a href="group__other.html#ga10e2c8d3bd695b39df7644bfe8e10110">RSGL::fileDialog</a></div><div class="ttdeci">std::vector< std::string > fileDialog(std::string title, bool multiple=false, bool save=false, bool directory=false)</div><div class="ttdoc">sends the file dialog</div></div>
<div class="ttc" id="agroup__other_html_ga5d504cf0fd489e939f37b54b833b644e"><div class="ttname"><a href="group__other.html#ga5d504cf0fd489e939f37b54b833b644e">RSGL::notifiy</a></div><div class="ttdeci">void notifiy(std::string title, std::string content, std::string image="")</div><div class="ttdoc">sends notifcation</div></div>
<div class="ttc" id="agroup__other_html_ga7e18fc2fc5e1fba7815c40522e739696"><div class="ttname"><a href="group__other.html#ga7e18fc2fc5e1fba7815c40522e739696">RSGL::messageBox</a></div><div class="ttdeci">void messageBox(std::string message, bool question=false, bool error=false)</div><div class="ttdoc">sends a message box errors/questions</div></div>
<div class="ttc" id="agroup__other_html_ga829783aeaffc80adc44f7b049f7dff09"><div class="ttname"><a href="group__other.html#ga829783aeaffc80adc44f7b049f7dff09">RSGL::globalMouse</a></div><div class="ttdeci">RSGL::point globalMouse()</div><div class="ttdoc">returns mouse x/y in the context of the screen</div></div>
<div class="ttc" id="agroup__shape-structs_html_ga017a32cf0bea16d003b1714710ac5d6f"><div class="ttname"><a href="group__shape-structs.html#ga017a32cf0bea16d003b1714710ac5d6f">RSGL::triangle</a></div><div class="ttdeci">std::array< RSGL::point, 3 > triangle</div><div class="ttdoc">Triangle type.</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:124</div></div>
<div class="ttc" id="agroup__shape-structs_html_ga43bdfc1fbc935c8b8a75d6c2b8f0c41b"><div class="ttname"><a href="group__shape-structs.html#ga43bdfc1fbc935c8b8a75d6c2b8f0c41b">RSGL::oval</a></div><div class="ttdeci">rect oval</div><div class="ttdoc">oval is the same thing as a rect struct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:113</div></div>
<div class="ttc" id="agroup__shape-structs_html_ga65626c23e90cdcdb7630b6d24970428c"><div class="ttname"><a href="group__shape-structs.html#ga65626c23e90cdcdb7630b6d24970428c">RSGL::image</a></div><div class="ttdeci">bitmap image</div><div class="ttdoc">the image struct is the same thing as a bitmap struct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:140</div></div>
<div class="ttc" id="agroup__widgets_html_ga1d9d1b9f853c4601eee47ebd69849e3d"><div class="ttname"><a href="group__widgets.html#ga1d9d1b9f853c4601eee47ebd69849e3d">RSGL::drawLonic</a></div><div class="ttdeci">void drawLonic(RSGL::rect r, std::array< RSGL::color, 2 > colors, RSGL::drawArgs args={})</div><div class="ttdoc">draws a lonic on the screen</div></div>
<div class="ttc" id="agroup__widgets_html_ga2257d5b58a04494f934a3933fb95be5c"><div class="ttname"><a href="group__widgets.html#ga2257d5b58a04494f934a3933fb95be5c">RSGL::progressBarAuto</a></div><div class="ttdeci">void progressBarAuto(RSGL::rect r, RSGL::color c, int speed=1, int ticks=0, int dir=1, RSGL::color c2={0, 0, 0, 0})</div></div>
<div class="ttc" id="agroup__widgets_html_ga572ed8ec8f89574a5d4737d07b641366"><div class="ttname"><a href="group__widgets.html#ga572ed8ec8f89574a5d4737d07b641366">RSGL::drawLogo</a></div><div class="ttdeci">void drawLogo(RSGL::rect r, std::string font, std::string font2)</div><div class="ttdoc">draw RSGL logo</div></div>
<div class="ttc" id="agroup__widgets_html_ga5a781d4e18dda33e2d5d132a14fb7627"><div class="ttname"><a href="group__widgets.html#ga5a781d4e18dda33e2d5d132a14fb7627">RSGL::progressBar</a></div><div class="ttdeci">void progressBar(RSGL::rect r, RSGL::color c, int pos, int dir=1, RSGL::color c2={0, 0, 0, 0})</div><div class="ttdoc">color of progress</div></div>
<div class="ttc" id="agroup__widgets_html_gaa614d3adac98ff94f4edf69686b459ee"><div class="ttname"><a href="group__widgets.html#gaa614d3adac98ff94f4edf69686b459ee">RSGL::splashScreen</a></div><div class="ttdeci">void splashScreen(std::string file="res/images/logo.png", std::string font="res/fonts/SansPosterBold.ttf", std::string font2="", std::string font3="", int t=100, RSGL::window d= *currentDrawingContext())</div><div class="ttdoc">progressBar widgets</div></div>
<div class="ttc" id="agroup__widgets_html_gae4b35fdf33bbb485f35be8ec795b8a3f"><div class="ttname"><a href="group__widgets.html#gae4b35fdf33bbb485f35be8ec795b8a3f">RSGL::timer</a></div><div class="ttdeci">bool timer(int ticks)</div><div class="ttdoc">return true after ticks amount of time has passed</div></div>
<div class="ttc" id="astructRSGL_1_1area_html"><div class="ttname"><a href="structRSGL_1_1area.html">RSGL::area</a></div><div class="ttdoc">an width / height area</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:99</div></div>
<div class="ttc" id="astructRSGL_1_1area_html_a169e4d6423103e929d82d3ecb4beb7c3"><div class="ttname"><a href="structRSGL_1_1area.html#a169e4d6423103e929d82d3ecb4beb7c3">RSGL::area::w</a></div><div class="ttdeci">int w</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:103</div></div>
<div class="ttc" id="astructRSGL_1_1area_html_a20605d210e41bec48bfa48aab5c402e2"><div class="ttname"><a href="structRSGL_1_1area.html#a20605d210e41bec48bfa48aab5c402e2">RSGL::area::operator==</a></div><div class="ttdeci">bool operator==(area a)</div><div class="ttdoc">if one area == another area (same values)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:100</div></div>
<div class="ttc" id="astructRSGL_1_1area_html_a66f177afbbf5d76a46c541f04bc339d9"><div class="ttname"><a href="structRSGL_1_1area.html#a66f177afbbf5d76a46c541f04bc339d9">RSGL::area::h</a></div><div class="ttdeci">int h</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:103</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html"><div class="ttname"><a href="structRSGL_1_1bitmap.html">RSGL::bitmap</a></div><div class="ttdoc">structure for bitmaps and images</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:131</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html_a23c4eef3ccc35f7d84aff5d71ea55a13"><div class="ttname"><a href="structRSGL_1_1bitmap.html#a23c4eef3ccc35f7d84aff5d71ea55a13">RSGL::bitmap::r</a></div><div class="ttdeci">RSGL::rect r</div><div class="ttdoc">drawing rect size</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:133</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html_a3117576093a5a7c53c423793459268cb"><div class="ttname"><a href="structRSGL_1_1bitmap.html#a3117576093a5a7c53c423793459268cb">RSGL::bitmap::size</a></div><div class="ttdeci">RSGL::area size</div><div class="ttdoc">bitmap size</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:136</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html_a38bcc104970a14fd36e59c2960232782"><div class="ttname"><a href="structRSGL_1_1bitmap.html#a38bcc104970a14fd36e59c2960232782">RSGL::bitmap::file</a></div><div class="ttdeci">std::string file</div><div class="ttdoc">source file (Images only)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:132</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html_a64fcaff75cf44346b77e4dfa7616f6a3"><div class="ttname"><a href="structRSGL_1_1bitmap.html#a64fcaff75cf44346b77e4dfa7616f6a3">RSGL::bitmap::tex</a></div><div class="ttdeci">unsigned int tex</div><div class="ttdoc">opengl texture</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:135</div></div>
<div class="ttc" id="astructRSGL_1_1bitmap_html_a6b39948ac3112ead75926eb95a2f5415"><div class="ttname"><a href="structRSGL_1_1bitmap.html#a6b39948ac3112ead75926eb95a2f5415">RSGL::bitmap::data</a></div><div class="ttdeci">unsigned int * data</div><div class="ttdoc">bitmap data</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:134</div></div>
<div class="ttc" id="astructRSGL_1_1button_html"><div class="ttname"><a href="structRSGL_1_1button.html">RSGL::button</a></div><div class="ttdef"><b>Definition:</b> RSGL.hpp:518</div></div>
<div class="ttc" id="astructRSGL_1_1circle_html"><div class="ttname"><a href="structRSGL_1_1circle.html">RSGL::circle</a></div><div class="ttdoc">circle struct (made of x, y and d)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:115</div></div>
<div class="ttc" id="astructRSGL_1_1circle_html_a0b1b05a78b0061c92ebcb31230881ce4"><div class="ttname"><a href="structRSGL_1_1circle.html#a0b1b05a78b0061c92ebcb31230881ce4">RSGL::circle::operator==</a></div><div class="ttdeci">bool operator==(circle c)</div><div class="ttdoc">< circle as a child of point</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:116</div></div>
<div class="ttc" id="astructRSGL_1_1circle_html_a46627901f7d19c1b6e65e050aef104c8"><div class="ttname"><a href="structRSGL_1_1circle.html#a46627901f7d19c1b6e65e050aef104c8">RSGL::circle::circle</a></div><div class="ttdeci">circle(int X, int Y, int D)</div><div class="ttdoc">load circle with circle values</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:121</div></div>
<div class="ttc" id="astructRSGL_1_1circle_html_a69b05ccda200238f8d294b4251bdf36f"><div class="ttname"><a href="structRSGL_1_1circle.html#a69b05ccda200238f8d294b4251bdf36f">RSGL::circle::d</a></div><div class="ttdeci">int d</div><div class="ttdoc">diameter of the circle (radius * 2)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:119</div></div>
<div class="ttc" id="astructRSGL_1_1color_html"><div class="ttname"><a href="structRSGL_1_1color.html">RSGL::color</a></div><div class="ttdoc">color structure</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:125</div></div>
<div class="ttc" id="astructRSGL_1_1color_html_aed29b9911de9b0923aac3a63f7ec5618"><div class="ttname"><a href="structRSGL_1_1color.html#aed29b9911de9b0923aac3a63f7ec5618">RSGL::color::operator==</a></div><div class="ttdeci">bool operator==(color c)</div><div class="ttdoc">if one color == another color (same values)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:126</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html"><div class="ttname"><a href="structRSGL_1_1customBorder.html">RSGL::customBorder</a></div><div class="ttdoc">optional custom border sturcture</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:196</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_a17534a90f83f5d0d50f7cdb08c7609a7"><div class="ttname"><a href="structRSGL_1_1customBorder.html#a17534a90f83f5d0d50f7cdb08c7609a7">RSGL::customBorder::quit</a></div><div class="ttdeci">void * quit</div><div class="ttdoc">window buttons</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:202</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_a4f4360805eb91253a400ca465dcfaa2b"><div class="ttname"><a href="structRSGL_1_1customBorder.html#a4f4360805eb91253a400ca465dcfaa2b">RSGL::customBorder::col</a></div><div class="ttdeci">RSGL::color col</div><div class="ttdoc">border color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:198</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_a5621e3319da712d44e8cdbf758a10bb8"><div class="ttname"><a href="structRSGL_1_1customBorder.html#a5621e3319da712d44e8cdbf758a10bb8">RSGL::customBorder::draw</a></div><div class="ttdeci">void draw(void *d)</div><div class="ttdoc">draw with pointer of a window</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_a74e5b7378c161e4395ff23a0f9eb93d9"><div class="ttname"><a href="structRSGL_1_1customBorder.html#a74e5b7378c161e4395ff23a0f9eb93d9">RSGL::customBorder::pressed</a></div><div class="ttdeci">bool pressed</div><div class="ttdoc">if pressed or not</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:206</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_ad7439b473e0a0158d40e01cfa72b934b"><div class="ttname"><a href="structRSGL_1_1customBorder.html#ad7439b473e0a0158d40e01cfa72b934b">RSGL::customBorder::rounded</a></div><div class="ttdeci">bool rounded</div><div class="ttdoc">rounded option for border rect</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:204</div></div>
<div class="ttc" id="astructRSGL_1_1customBorder_html_af1589c2008f196fc28c7b5528cf80139"><div class="ttname"><a href="structRSGL_1_1customBorder.html#af1589c2008f196fc28c7b5528cf80139">RSGL::customBorder::h</a></div><div class="ttdeci">int h</div><div class="ttdoc">border h</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:197</div></div>
<div class="ttc" id="astructRSGL_1_1debug_html"><div class="ttname"><a href="structRSGL_1_1debug.html">RSGL::debug</a></div><div class="ttdoc">struct for debug info per window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:239</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html"><div class="ttname"><a href="structRSGL_1_1drawArgs.html">RSGL::drawArgs</a></div><div class="ttdoc">general args for drawing</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:347</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a0bcede9cc6dc0c97a67b34f0746beffb"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a0bcede9cc6dc0c97a67b34f0746beffb">RSGL::drawArgs::dotted</a></div><div class="ttdeci">bool dotted</div><div class="ttdoc">is it a dotted rectangle? (rect only)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:360</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a1300f59e9a7b7fdf67eddab6e2e296c1"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a1300f59e9a7b7fdf67eddab6e2e296c1">RSGL::drawArgs::fill</a></div><div class="ttdeci">bool fill</div><div class="ttdoc">general</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:349</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a1a3c6cd58756d4ffe335455dcba7f149"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a1a3c6cd58756d4ffe335455dcba7f149">RSGL::drawArgs::gradient</a></div><div class="ttdeci">std::vector< RSGL::color > gradient</div><div class="ttdoc">gradient to draw on the shapes</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:355</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a3b27fcc2f91647e62f6d2c1aafb48a2a"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a3b27fcc2f91647e62f6d2c1aafb48a2a">RSGL::drawArgs::flipVertical</a></div><div class="ttdeci">float flipVertical</div><div class="ttdoc">how much it's flipped vertically</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:352</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a438631fed199d2451a2d6a458d6a43a3"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a438631fed199d2451a2d6a458d6a43a3">RSGL::drawArgs::scrollSpeed</a></div><div class="ttdeci">int scrollSpeed</div><div class="ttdoc">text only</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:366</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a563005df9263ab5f43dcd84eac131666"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a563005df9263ab5f43dcd84eac131666">RSGL::drawArgs::flipHorizontal</a></div><div class="ttdeci">float flipHorizontal</div><div class="ttdoc">how much it's flipped horizontally</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:351</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a5c90e492e48d912d94c4797530c3b7d5"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a5c90e492e48d912d94c4797530c3b7d5">RSGL::drawArgs::lineWidth</a></div><div class="ttdeci">float lineWidth</div><div class="ttdoc">the width of the line</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:353</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_a652aa5fd2ad085b57842d9f646e078c6"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#a652aa5fd2ad085b57842d9f646e078c6">RSGL::drawArgs::typeSpeed</a></div><div class="ttdeci">int typeSpeed</div><div class="ttdoc">speed of the "typing" out of the text, 0 : no typing</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:368</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_aa4a635c309f2c25770db60debdbdef9f"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#aa4a635c309f2c25770db60debdbdef9f">RSGL::drawArgs::roundPoint</a></div><div class="ttdeci">RSGL::point roundPoint</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:362</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_aaf19b1ac1260ebdb2572cf2380ef71c3"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#aaf19b1ac1260ebdb2572cf2380ef71c3">RSGL::drawArgs::win</a></div><div class="ttdeci">RSGL::window win</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:357</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_ab49d663b35e0e53a25d521358c9ef94c"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#ab49d663b35e0e53a25d521358c9ef94c">RSGL::drawArgs::rotationAngle</a></div><div class="ttdeci">float rotationAngle</div><div class="ttdoc">the angle it's rotated to</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:350</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_ab794d9ad85fa9d3ae3786b9eab96204f"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#ab794d9ad85fa9d3ae3786b9eab96204f">RSGL::drawArgs::stopY</a></div><div class="ttdeci">int stopY</div><div class="ttdoc">scroll text stop y (-1, the end of the window)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:367</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_ac95f0a9690e0210c3ab276c8d052eaa7"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#ac95f0a9690e0210c3ab276c8d052eaa7">RSGL::drawArgs::segments</a></div><div class="ttdeci">int segments</div><div class="ttdoc">circle only</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:364</div></div>
<div class="ttc" id="astructRSGL_1_1drawArgs_html_af6f2853254c9d9046f00eb20b08286fe"><div class="ttname"><a href="structRSGL_1_1drawArgs.html#af6f2853254c9d9046f00eb20b08286fe">RSGL::drawArgs::texture</a></div><div class="ttdeci">int texture</div><div class="ttdoc">draw a texture on it (from load/draw image/bitmap functions)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:354</div></div>
<div class="ttc" id="astructRSGL_1_1event_html"><div class="ttname"><a href="structRSGL_1_1event.html">RSGL::event</a></div><div class="ttdoc">event structure to handle events sent to a specific drawable</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:226</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a02dc31c4fb170eecfdf1ede607bf245a"><div class="ttname"><a href="structRSGL_1_1event.html#a02dc31c4fb170eecfdf1ede607bf245a">RSGL::event::type</a></div><div class="ttdeci">int type</div><div class="ttdoc">which even has been sent?</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:227</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a1b108545804e79d6a2018fa37fe6aaf3"><div class="ttname"><a href="structRSGL_1_1event.html#a1b108545804e79d6a2018fa37fe6aaf3">RSGL::event::droppedFiles</a></div><div class="ttdeci">std::vector< std::string > droppedFiles</div><div class="ttdoc">dropped files</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:234</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a6c1b2a79dbba1d90f1b25b49e8d3b7fd"><div class="ttname"><a href="structRSGL_1_1event.html#a6c1b2a79dbba1d90f1b25b49e8d3b7fd">RSGL::event::operator==</a></div><div class="ttdeci">bool operator==(int event)</div><div class="ttdoc">so you can directly check if win.event == [event]</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:236</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a6dd19ffa69945b3cf61c66533109d1fc"><div class="ttname"><a href="structRSGL_1_1event.html#a6dd19ffa69945b3cf61c66533109d1fc">RSGL::event::k</a></div><div class="ttdeci">RSGL::key k</div><div class="ttdoc">the key that is pressed</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:232</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a7d82f9e66887c11a10ba04f4c2688c88"><div class="ttname"><a href="structRSGL_1_1event.html#a7d82f9e66887c11a10ba04f4c2688c88">RSGL::event::button</a></div><div class="ttdeci">int button</div><div class="ttdoc">which mouse button has been clicked (0) left (1) middle (2) right</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:228</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_a8ff17cf446d35a84819f09d2b36f052c"><div class="ttname"><a href="structRSGL_1_1event.html#a8ff17cf446d35a84819f09d2b36f052c">RSGL::event::mouse</a></div><div class="ttdeci">RSGL::point mouse</div><div class="ttdoc">the x/y of the mouse</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:229</div></div>
<div class="ttc" id="astructRSGL_1_1event_html_abd4290b17530b5f487341aa16e6e777d"><div class="ttname"><a href="structRSGL_1_1event.html#abd4290b17530b5f487341aa16e6e777d">RSGL::event::ledState</a></div><div class="ttdeci">int ledState</div><div class="ttdoc">0 : numlock, 1 : caps lock, 3 : small lock</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:231</div></div>
<div class="ttc" id="astructRSGL_1_1font_html"><div class="ttname"><a href="structRSGL_1_1font.html">RSGL::font</a></div><div class="ttdoc">font structure that can generally be used for a place-holder for std::string</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:155</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_a2b46502a7b4a5d26b57f0f32c2903eaa"><div class="ttname"><a href="structRSGL_1_1font.html#a2b46502a7b4a5d26b57f0f32c2903eaa">RSGL::font::font</a></div><div class="ttdeci">font()</div><div class="ttdoc">functions for loading a font, with a string/data</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:161</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_a3ce90b6c929258dbdd1ed5e992d637ff"><div class="ttname"><a href="structRSGL_1_1font.html#a3ce90b6c929258dbdd1ed5e992d637ff">RSGL::font::font</a></div><div class="ttdeci">font(const char *File)</div><div class="ttdoc">set font with char*</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:165</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_a7aa63f0a92e4d647c1bd56824402c6bf"><div class="ttname"><a href="structRSGL_1_1font.html#a7aa63f0a92e4d647c1bd56824402c6bf">RSGL::font::font</a></div><div class="ttdeci">font(std::string File)</div><div class="ttdoc">set font with string</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:164</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_a8eb87327154fc9446a1970a83a057ac6"><div class="ttname"><a href="structRSGL_1_1font.html#a8eb87327154fc9446a1970a83a057ac6">RSGL::font::fonsFont</a></div><div class="ttdeci">int fonsFont</div><div class="ttdoc">source fons font</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:159</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_a9a22048985a1441a8150ce1bb5767507"><div class="ttname"><a href="structRSGL_1_1font.html#a9a22048985a1441a8150ce1bb5767507">RSGL::font::size</a></div><div class="ttdeci">int size</div><div class="ttdoc">size of the font</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:158</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_abc5ec2050ba5b31261b6390302248d6c"><div class="ttname"><a href="structRSGL_1_1font.html#abc5ec2050ba5b31261b6390302248d6c">RSGL::font::file</a></div><div class="ttdeci">std::string file</div><div class="ttdoc">font file</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:156</div></div>
<div class="ttc" id="astructRSGL_1_1font_html_af66b473ffe06f52f43de99bd0bd37d4f"><div class="ttname"><a href="structRSGL_1_1font.html#af66b473ffe06f52f43de99bd0bd37d4f">RSGL::font::font</a></div><div class="ttdeci">font(std::string File, int Size)</div><div class="ttdoc">load font</div></div>
<div class="ttc" id="astructRSGL_1_1key_html"><div class="ttname"><a href="structRSGL_1_1key.html">RSGL::key</a></div><div class="ttdoc">key struct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:176</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_a34aeef3d20cfdb982dec73bdd1a732da"><div class="ttname"><a href="structRSGL_1_1key.html#a34aeef3d20cfdb982dec73bdd1a732da">RSGL::key::key</a></div><div class="ttdeci">key(int k)</div><div class="ttdoc">init with both</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:191</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_a6313bb6c72ed098fdeca37012c1d30fa"><div class="ttname"><a href="structRSGL_1_1key.html#a6313bb6c72ed098fdeca37012c1d30fa">RSGL::key::keySym</a></div><div class="ttdeci">int keySym</div><div class="ttdoc">defaults to -1 to avoid errors</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:177</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_a6ef38777a04b704a41443f7074733b48"><div class="ttname"><a href="structRSGL_1_1key.html#a6ef38777a04b704a41443f7074733b48">RSGL::key::operator==</a></div><div class="ttdeci">bool operator==(key k)</div><div class="ttdoc">if key == another key</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:181</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_aaaf165be9fb8a86cc8da77277b789707"><div class="ttname"><a href="structRSGL_1_1key.html#aaaf165be9fb8a86cc8da77277b789707">RSGL::key::keystr</a></div><div class="ttdeci">std::string keystr</div><div class="ttdoc">defaults to NONE to avoid errors</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:178</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_ad1593e266033a779bc24ce80f339440c"><div class="ttname"><a href="structRSGL_1_1key.html#ad1593e266033a779bc24ce80f339440c">RSGL::key::key</a></div><div class="ttdeci">key()</div><div class="ttdoc">so you can load key with strings/ints</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:187</div></div>
<div class="ttc" id="astructRSGL_1_1key_html_afba0349765dcc1f1ed0627effd5a4863"><div class="ttname"><a href="structRSGL_1_1key.html#afba0349765dcc1f1ed0627effd5a4863">RSGL::key::operator==</a></div><div class="ttdeci">bool operator==(std::string k)</div><div class="ttdoc">if key.keystr == another string</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:182</div></div>
<div class="ttc" id="astructRSGL_1_1label_html"><div class="ttname"><a href="structRSGL_1_1label.html">RSGL::label</a></div><div class="ttdef"><b>Definition:</b> RSGL.hpp:494</div></div>
<div class="ttc" id="astructRSGL_1_1listEvent_html"><div class="ttname"><a href="structRSGL_1_1listEvent.html">RSGL::listEvent</a></div><div class="ttdoc">event data to return ( event = 0 == not an event)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:626</div></div>
<div class="ttc" id="astructRSGL_1_1list_html"><div class="ttname"><a href="structRSGL_1_1list.html">RSGL::list</a></div><div class="ttdoc">very simple list widget</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:627</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_a068d8fb11f7b1701ff14410285a9f0ed"><div class="ttname"><a href="structRSGL_1_1list.html#a068d8fb11f7b1701ff14410285a9f0ed">RSGL::list::font</a></div><div class="ttdeci">std::string font</div><div class="ttdoc">font of the text</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:629</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_a173fa391853fee527583392b4aaad2fb"><div class="ttname"><a href="structRSGL_1_1list.html#a173fa391853fee527583392b4aaad2fb">RSGL::list::fc</a></div><div class="ttdeci">RSGL::color fc</div><div class="ttdoc">button color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:634</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_a47cbd0220583fd66453310f43b477fa7"><div class="ttname"><a href="structRSGL_1_1list.html#a47cbd0220583fd66453310f43b477fa7">RSGL::list::c</a></div><div class="ttdeci">RSGL::color c</div><div class="ttdoc">color of the text</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:631</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_a7e9512b6d3420d397131d02b56fb3059"><div class="ttname"><a href="structRSGL_1_1list.html#a7e9512b6d3420d397131d02b56fb3059">RSGL::list::oc</a></div><div class="ttdeci">RSGL::color oc</div><div class="ttdoc">outline color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:633</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_a8acebc49fc344d46bbdf9553a7828102"><div class="ttname"><a href="structRSGL_1_1list.html#a8acebc49fc344d46bbdf9553a7828102">RSGL::list::bg</a></div><div class="ttdeci">RSGL::color bg</div><div class="ttdoc">background color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:632</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_aa503d1b1190f3a3ab66fafbb540fa7bd"><div class="ttname"><a href="structRSGL_1_1list.html#aa503d1b1190f3a3ab66fafbb540fa7bd">RSGL::list::pressed</a></div><div class="ttdeci">int pressed</div><div class="ttdoc">which item has been pressed (0 none) ( list[pressed-1] )</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:635</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_aad9ad8d1a6fc21bfe424cc72f5ba3181"><div class="ttname"><a href="structRSGL_1_1list.html#aad9ad8d1a6fc21bfe424cc72f5ba3181">RSGL::list::r</a></div><div class="ttdeci">RSGL::rect r</div><div class="ttdoc">rect of where the list draws</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:630</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_ab0edababe1e295bb4850bc2355108da6"><div class="ttname"><a href="structRSGL_1_1list.html#ab0edababe1e295bb4850bc2355108da6">RSGL::list::list</a></div><div class="ttdeci">std::vector< std::string > list</div><div class="ttdoc">backend list string</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:628</div></div>
<div class="ttc" id="astructRSGL_1_1list_html_aeff660f8a53c25b8b128cd64e814a928"><div class="ttname"><a href="structRSGL_1_1list.html#aeff660f8a53c25b8b128cd64e814a928">RSGL::list::draw</a></div><div class="ttdeci">RSGL::listEvent draw(RSGL::window win= *currentDrawingContext())</div><div class="ttdoc">draw the list</div></div>
<div class="ttc" id="astructRSGL_1_1menu_html"><div class="ttname"><a href="structRSGL_1_1menu.html">RSGL::menu</a></div><div class="ttdoc">basic menu widget stuct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:580</div></div>
<div class="ttc" id="astructRSGL_1_1menu_html_ac868f9c321000101b3594b41d04f164d"><div class="ttname"><a href="structRSGL_1_1menu.html#ac868f9c321000101b3594b41d04f164d">RSGL::menu::bgcolor</a></div><div class="ttdeci">RSGL::color bgcolor</div><div class="ttdoc">bg color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:583</div></div>
<div class="ttc" id="astructRSGL_1_1menu_html_addc200e99265588dcb0717a698879c82"><div class="ttname"><a href="structRSGL_1_1menu.html#addc200e99265588dcb0717a698879c82">RSGL::menu::c</a></div><div class="ttdeci">RSGL::color c</div><div class="ttdoc">color of the text</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:582</div></div>
<div class="ttc" id="astructRSGL_1_1menu_html_ae7c4ef9add45f5c6ee43d80c878a2cde"><div class="ttname"><a href="structRSGL_1_1menu.html#ae7c4ef9add45f5c6ee43d80c878a2cde">RSGL::menu::c2</a></div><div class="ttdeci">RSGL::color c2</div><div class="ttdoc">outline color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:584</div></div>
<div class="ttc" id="astructRSGL_1_1mouseMenu_html"><div class="ttname"><a href="structRSGL_1_1mouseMenu.html">RSGL::mouseMenu</a></div><div class="ttdoc">mouseMenu widget struct</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:587</div></div>
<div class="ttc" id="astructRSGL_1_1mouseMenu_html_a82da56a6b582655e2b8a1bbda169d3c4"><div class="ttname"><a href="structRSGL_1_1mouseMenu.html#a82da56a6b582655e2b8a1bbda169d3c4">RSGL::mouseMenu::mouseMenu</a></div><div class="ttdeci">mouseMenu(RSGL::rect r, RSGL::color c, std::vector< menu > m, RSGL::window win= *currentDrawingContext())</div></div>
<div class="ttc" id="astructRSGL_1_1mouseMenu_html_a985c46f3b6a4fda6b53c3cdf92a87c63"><div class="ttname"><a href="structRSGL_1_1mouseMenu.html#a985c46f3b6a4fda6b53c3cdf92a87c63">RSGL::mouseMenu::draw</a></div><div class="ttdeci">int draw(RSGL::window win= *currentDrawingContext())</div><div class="ttdoc">draw the mouseMenu on the window</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html"><div class="ttname"><a href="structRSGL_1_1pen.html">RSGL::pen</a></div><div class="ttdoc">pen tool (like svg's path or python's turtle)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:459</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a057cb55cb221c9b09ec72146ee0848e2"><div class="ttname"><a href="structRSGL_1_1pen.html#a057cb55cb221c9b09ec72146ee0848e2">RSGL::pen::moveArc</a></div><div class="ttdeci">void moveArc(std::array< RSGL::point, 2 >, int radius)</div><div class="ttdoc">move to point using Arc</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a05b740c4c5d0ab7e16f038ab63989a84"><div class="ttname"><a href="structRSGL_1_1pen.html#a05b740c4c5d0ab7e16f038ab63989a84">RSGL::pen::moveBezier</a></div><div class="ttdeci">void moveBezier(RSGL::triangle points)</div><div class="ttdoc">move to a point using bezier</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a240ec92a17c73c7f5ab5e542236cdc43"><div class="ttname"><a href="structRSGL_1_1pen.html#a240ec92a17c73c7f5ab5e542236cdc43">RSGL::pen::fill</a></div><div class="ttdeci">bool fill</div><div class="ttdoc">fill the path or not</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:467</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a27774aeb8351beb7b5fe5f3a2b6e1123"><div class="ttname"><a href="structRSGL_1_1pen.html#a27774aeb8351beb7b5fe5f3a2b6e1123">RSGL::pen::drawAt</a></div><div class="ttdeci">void drawAt(RSGL::rect p, RSGL::drawArgs args={})</div><div class="ttdoc">draw all the points + add points if drawing == true</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a285da6a2698fc04b5bbe519b47417252"><div class="ttname"><a href="structRSGL_1_1pen.html#a285da6a2698fc04b5bbe519b47417252">RSGL::pen::svg</a></div><div class="ttdeci">std::string svg</div><div class="ttdoc">source svg</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:465</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a3d6cf338ad24486a697f73ea934a634d"><div class="ttname"><a href="structRSGL_1_1pen.html#a3d6cf338ad24486a697f73ea934a634d">RSGL::pen::drawing</a></div><div class="ttdeci">bool drawing</div><div class="ttdoc">if the pen is not finished drawing</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:463</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a594a95069608d2772f716d53357cc507"><div class="ttname"><a href="structRSGL_1_1pen.html#a594a95069608d2772f716d53357cc507">RSGL::pen::moveTo</a></div><div class="ttdeci">void moveTo(RSGL::point p)</div><div class="ttdoc">move to a point</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a663185e755ec61f5af0095a3937f2f24"><div class="ttname"><a href="structRSGL_1_1pen.html#a663185e755ec61f5af0095a3937f2f24">RSGL::pen::color</a></div><div class="ttdeci">RSGL::color color</div><div class="ttdoc">current color</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:461</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a6da28007469859a093a90183e5148487"><div class="ttname"><a href="structRSGL_1_1pen.html#a6da28007469859a093a90183e5148487">RSGL::pen::fullSvg</a></div><div class="ttdeci">bool fullSvg</div><div class="ttdoc">draw using svg as the full m= data</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:466</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_a93f0d56cbe8896b25ed04cd670f459d1"><div class="ttname"><a href="structRSGL_1_1pen.html#a93f0d56cbe8896b25ed04cd670f459d1">RSGL::pen::noFillTex</a></div><div class="ttdeci">unsigned int noFillTex</div><div class="ttdoc">textures for filling and not filling</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:469</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_af8edd31e98b347fc625d714e45a1515d"><div class="ttname"><a href="structRSGL_1_1pen.html#af8edd31e98b347fc625d714e45a1515d">RSGL::pen::moveQuad</a></div><div class="ttdeci">void moveQuad(std::array< RSGL::point, 2 > points)</div><div class="ttdoc">move to a point using quadratic</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_af994fb38b8c7896f60ec555569c7e641"><div class="ttname"><a href="structRSGL_1_1pen.html#af994fb38b8c7896f60ec555569c7e641">RSGL::pen::pos</a></div><div class="ttdeci">RSGL::point pos</div><div class="ttdoc">current x/y</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:460</div></div>
<div class="ttc" id="astructRSGL_1_1pen_html_af9ef2d2e791e624d0aa8dfcfd17e3e20"><div class="ttname"><a href="structRSGL_1_1pen.html#af9ef2d2e791e624d0aa8dfcfd17e3e20">RSGL::pen::draw</a></div><div class="ttdeci">void draw(RSGL::drawArgs args={})</div><div class="ttdoc">draw all the points + add points if drawing == true</div></div>
<div class="ttc" id="astructRSGL_1_1point_html"><div class="ttname"><a href="structRSGL_1_1point.html">RSGL::point</a></div><div class="ttdoc">a single points</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:93</div></div>
<div class="ttc" id="astructRSGL_1_1point_html_a0a9648edd105c10f92a546cadf3b5a22"><div class="ttname"><a href="structRSGL_1_1point.html#a0a9648edd105c10f92a546cadf3b5a22">RSGL::point::x</a></div><div class="ttdeci">int x</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:97</div></div>
<div class="ttc" id="astructRSGL_1_1point_html_aeeb9b195dee130c847058867a874c534"><div class="ttname"><a href="structRSGL_1_1point.html#aeeb9b195dee130c847058867a874c534">RSGL::point::y</a></div><div class="ttdeci">int y</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:97</div></div>
<div class="ttc" id="astructRSGL_1_1point_html_af636ecd5a9bb491a9067301de99097ce"><div class="ttname"><a href="structRSGL_1_1point.html#af636ecd5a9bb491a9067301de99097ce">RSGL::point::operator==</a></div><div class="ttdeci">bool operator==(point p)</div><div class="ttdoc">if one point == another point (same values)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:94</div></div>
<div class="ttc" id="astructRSGL_1_1points_html"><div class="ttname"><a href="structRSGL_1_1points.html">RSGL::points</a></div><div class="ttdoc">points</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:142</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_a9d40b00a98d8029b4efdae6a2cb45c04"><div class="ttname"><a href="structRSGL_1_1points.html#a9d40b00a98d8029b4efdae6a2cb45c04">RSGL::points::operator>></a></div><div class="ttdeci">bool operator>>(points)</div><div class="ttdoc">is colliding</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_aa89490e31391f8e45fa5517c8071ec96"><div class="ttname"><a href="structRSGL_1_1points.html#aa89490e31391f8e45fa5517c8071ec96">RSGL::points::points</a></div><div class="ttdeci">points(RSGL::point p)</div><div class="ttdoc">load with point</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:147</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_aab8b8a3001638c154bb4bfb26cc58659"><div class="ttname"><a href="structRSGL_1_1points.html#aab8b8a3001638c154bb4bfb26cc58659">RSGL::points::points</a></div><div class="ttdeci">points(RSGL::rect r)</div><div class="ttdoc">load with rect</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:145</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_ab88721c865259784d81ba1e792fa2924"><div class="ttname"><a href="structRSGL_1_1points.html#ab88721c865259784d81ba1e792fa2924">RSGL::points::points</a></div><div class="ttdeci">points(RSGL::circle cir)</div><div class="ttdoc">load with circle</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:149</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_abf08f5c86eb8aabe99c0d2ef369daa54"><div class="ttname"><a href="structRSGL_1_1points.html#abf08f5c86eb8aabe99c0d2ef369daa54">RSGL::points::points</a></div><div class="ttdeci">points(RSGL::image img)</div><div class="ttdoc">load with image</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:146</div></div>
<div class="ttc" id="astructRSGL_1_1points_html_af36ba21e6ef3365af352caf403a33482"><div class="ttname"><a href="structRSGL_1_1points.html#af36ba21e6ef3365af352caf403a33482">RSGL::points::points</a></div><div class="ttdeci">points(RSGL::triangle tri)</div><div class="ttdoc">load with triangle</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:148</div></div>
<div class="ttc" id="astructRSGL_1_1radioButtons_html"><div class="ttname"><a href="structRSGL_1_1radioButtons.html">RSGL::radioButtons</a></div><div class="ttdoc">splash screen widget</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:539</div></div>
<div class="ttc" id="astructRSGL_1_1rect_html"><div class="ttname"><a href="structRSGL_1_1rect.html">RSGL::rect</a></div><div class="ttdoc">Rect is RSGL::point combined with RSGL::area.</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:106</div></div>
<div class="ttc" id="astructRSGL_1_1rect_html_a02b9c39fdd5df67697c17d9e59c0cc0c"><div class="ttname"><a href="structRSGL_1_1rect.html#a02b9c39fdd5df67697c17d9e59c0cc0c">RSGL::rect::rect</a></div><div class="ttdeci">rect(RSGL::point p)</div><div class="ttdoc">load with RSGL::point</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:110</div></div>
<div class="ttc" id="astructRSGL_1_1rect_html_a765297521ee4214db7d77486efa429d1"><div class="ttname"><a href="structRSGL_1_1rect.html#a765297521ee4214db7d77486efa429d1">RSGL::rect::operator==</a></div><div class="ttdeci">bool operator==(rect r)</div><div class="ttdoc">if one rect == another rect (same values)</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:107</div></div>
<div class="ttc" id="astructRSGL_1_1rect_html_a81039d4065a27c15959728f09c767143"><div class="ttname"><a href="structRSGL_1_1rect.html#a81039d4065a27c15959728f09c767143">RSGL::rect::rect</a></div><div class="ttdeci">rect(int X, int Y, int W, int H)</div><div class="ttdoc">load with just ints</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:109</div></div>
<div class="ttc" id="astructRSGL_1_1rect_html_aeb10e67295b25ac277e26273cb3b327f"><div class="ttname"><a href="structRSGL_1_1rect.html#aeb10e67295b25ac277e26273cb3b327f">RSGL::rect::rect</a></div><div class="ttdeci">rect(RSGL::area a)</div><div class="ttdoc">load with RSGL::area</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:111</div></div>
<div class="ttc" id="astructRSGL_1_1sideMenu_html"><div class="ttname"><a href="structRSGL_1_1sideMenu.html">RSGL::sideMenu</a></div><div class="ttdoc">very simple slide structure</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:608</div></div>
<div class="ttc" id="astructRSGL_1_1sideMenu_html_a478bf32e1cd9c860e2a6ce7391d8dcf4"><div class="ttname"><a href="structRSGL_1_1sideMenu.html#a478bf32e1cd9c860e2a6ce7391d8dcf4">RSGL::sideMenu::draw</a></div><div class="ttdeci">int draw(RSGL::window win= *currentDrawingContext())</div><div class="ttdoc">draw the slide menu (returns the slide pos) on win</div></div>
<div class="ttc" id="astructRSGL_1_1sideMenu_html_a55c80a07adb89bf1ccb800ce7c1b983f"><div class="ttname"><a href="structRSGL_1_1sideMenu.html#a55c80a07adb89bf1ccb800ce7c1b983f">RSGL::sideMenu::sideMenu</a></div><div class="ttdeci">sideMenu(RSGL::rect r, RSGL::color c, std::vector< menu > m, RSGL::window win= *currentDrawingContext())</div></div>
<div class="ttc" id="astructRSGL_1_1sideMenu_html_ac77d6f6a15e4a6c5d7f6b5d303434a06"><div class="ttname"><a href="structRSGL_1_1sideMenu.html#ac77d6f6a15e4a6c5d7f6b5d303434a06">RSGL::sideMenu::sideMenu</a></div><div class="ttdeci">sideMenu()</div><div class="ttdoc">init slide menu based on menus</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:610</div></div>
<div class="ttc" id="astructRSGL_1_1toggleButton_html"><div class="ttname"><a href="structRSGL_1_1toggleButton.html">RSGL::toggleButton</a></div><div class="ttdef"><b>Definition:</b> RSGL.hpp:529</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html"><div class="ttname"><a href="structRSGL_1_1winArgs.html">RSGL::winArgs</a></div><div class="ttdoc">args for creating a window</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:211</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_a01b63cd043a2ab26f9acd4c860ec5ca6"><div class="ttname"><a href="structRSGL_1_1winArgs.html#a01b63cd043a2ab26f9acd4c860ec5ca6">RSGL::winArgs::noBorder</a></div><div class="ttdeci">bool noBorder</div><div class="ttdoc">if there is not a boardernn</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:218</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_a270b840b51172e6352d138c58cd1d35a"><div class="ttname"><a href="structRSGL_1_1winArgs.html#a270b840b51172e6352d138c58cd1d35a">RSGL::winArgs::rgbaWindow</a></div><div class="ttdeci">bool rgbaWindow</div><div class="ttdoc">enable this if you want your window background to have an alpha value OR if you want to make it so tr...</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:221</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_a3d6849b27dda0421483229dd976e1c50"><div class="ttname"><a href="structRSGL_1_1winArgs.html#a3d6849b27dda0421483229dd976e1c50">RSGL::winArgs::icon</a></div><div class="ttdeci">std::string icon</div><div class="ttdoc">custom BMP! icon</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:222</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_a6aeb07ba325836205e26f3a20cb1f29e"><div class="ttname"><a href="structRSGL_1_1winArgs.html#a6aeb07ba325836205e26f3a20cb1f29e">RSGL::winArgs::center</a></div><div class="ttdeci">bool center</div><div class="ttdoc">if the window x/y should be centered</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:220</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_a7193113104965bd2541569b709fe9b75"><div class="ttname"><a href="structRSGL_1_1winArgs.html#a7193113104965bd2541569b709fe9b75">RSGL::winArgs::autoResize</a></div><div class="ttdeci">bool autoResize</div><div class="ttdoc">Should everything resize if the window size changes?</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:217</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_aa2879863d168b71e96e7c2cb503edbe9"><div class="ttname"><a href="structRSGL_1_1winArgs.html#aa2879863d168b71e96e7c2cb503edbe9">RSGL::winArgs::fullscreen</a></div><div class="ttdeci">bool fullscreen</div><div class="ttdoc">if the window is full screen</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:219</div></div>
<div class="ttc" id="astructRSGL_1_1winArgs_html_aa92e6371fd7a4a992ea3688aa1d460b9"><div class="ttname"><a href="structRSGL_1_1winArgs.html#aa92e6371fd7a4a992ea3688aa1d460b9">RSGL::winArgs::cb</a></div><div class="ttdeci">customBorder cb</div><div class="ttdoc">custom border</div><div class="ttdef"><b>Definition:</b> RSGL.hpp:223</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.5
</small></address>
</body>
</html>