gosu 0.7.19 → 0.7.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/Gosu/Input.hpp +12 -8
  2. data/Gosu/Math.hpp +13 -0
  3. data/Gosu/TextInput.hpp +5 -0
  4. data/Gosu/Version.hpp +2 -2
  5. data/GosuImpl/Graphics/TextUnix.cpp +253 -0
  6. data/GosuImpl/InputMac.mm +4 -4
  7. data/GosuImpl/InputWin.cpp +4 -4
  8. data/GosuImpl/InputX.cpp +15 -15
  9. data/GosuImpl/Math.cpp +28 -4
  10. data/GosuImpl/RubyGosu.swg +14 -3
  11. data/GosuImpl/RubyGosuStub.mm +8 -15
  12. data/GosuImpl/RubyGosu_wrap.cxx +113 -6
  13. data/GosuImpl/TextInputMac.mm +10 -1
  14. data/GosuImpl/TextInputWin.cpp +10 -0
  15. data/GosuImpl/TextInputX.cpp +10 -0
  16. data/GosuImpl/WindowMac.mm +15 -4
  17. data/GosuImpl/WindowWin.cpp +16 -7
  18. data/examples/TextInput.rb +15 -0
  19. data/lib/gosu.rb +5 -8
  20. data/linux/extconf.rb +34 -9
  21. metadata +13 -272
  22. data/GosuImpl/Graphics/TextPangoFT.cpp +0 -186
  23. data/Rakefile +0 -314
  24. data/examples/TextInput.cpp +0 -192
  25. data/examples/Tutorial.cpp +0 -215
  26. data/linux/Makefile.in +0 -99
  27. data/linux/configure +0 -5850
  28. data/linux/configure.ac +0 -110
  29. data/reference/cpp/_audio_8hpp-source.html +0 -178
  30. data/reference/cpp/_audio_8hpp.html +0 -100
  31. data/reference/cpp/_audio_8hpp_source.html +0 -170
  32. data/reference/cpp/_auto_link_8hpp-source.html +0 -85
  33. data/reference/cpp/_auto_link_8hpp.html +0 -84
  34. data/reference/cpp/_auto_link_8hpp_source.html +0 -85
  35. data/reference/cpp/_bitmap_8hpp-source.html +0 -131
  36. data/reference/cpp/_bitmap_8hpp.html +0 -114
  37. data/reference/cpp/_bitmap_8hpp_source.html +0 -131
  38. data/reference/cpp/_buttons_mac_8hpp-source.html +0 -206
  39. data/reference/cpp/_buttons_mac_8hpp.html +0 -240
  40. data/reference/cpp/_buttons_mac_8hpp_source.html +0 -206
  41. data/reference/cpp/_color_8hpp-source.html +0 -216
  42. data/reference/cpp/_color_8hpp.html +0 -130
  43. data/reference/cpp/_color_8hpp_source.html +0 -232
  44. data/reference/cpp/_directories_8hpp-source.html +0 -89
  45. data/reference/cpp/_directories_8hpp.html +0 -103
  46. data/reference/cpp/_directories_8hpp_source.html +0 -89
  47. data/reference/cpp/_font_8hpp-source.html +0 -116
  48. data/reference/cpp/_font_8hpp.html +0 -94
  49. data/reference/cpp/_font_8hpp_source.html +0 -116
  50. data/reference/cpp/_fwd_8hpp-source.html +0 -99
  51. data/reference/cpp/_fwd_8hpp.html +0 -90
  52. data/reference/cpp/_fwd_8hpp_source.html +0 -99
  53. data/reference/cpp/_gosu_8hpp-source.html +0 -97
  54. data/reference/cpp/_gosu_8hpp.html +0 -84
  55. data/reference/cpp/_gosu_8hpp_source.html +0 -97
  56. data/reference/cpp/_graphics_8hpp-source.html +0 -135
  57. data/reference/cpp/_graphics_8hpp.html +0 -101
  58. data/reference/cpp/_graphics_8hpp_source.html +0 -144
  59. data/reference/cpp/_graphics_base_8hpp-source.html +0 -116
  60. data/reference/cpp/_graphics_base_8hpp.html +0 -128
  61. data/reference/cpp/_graphics_base_8hpp_source.html +0 -117
  62. data/reference/cpp/_i_o_8hpp-source.html +0 -302
  63. data/reference/cpp/_i_o_8hpp.html +0 -129
  64. data/reference/cpp/_i_o_8hpp_source.html +0 -295
  65. data/reference/cpp/_image_8hpp-source.html +0 -173
  66. data/reference/cpp/_image_8hpp.html +0 -103
  67. data/reference/cpp/_image_8hpp_source.html +0 -176
  68. data/reference/cpp/_image_data_8hpp-source.html +0 -109
  69. data/reference/cpp/_image_data_8hpp.html +0 -97
  70. data/reference/cpp/_image_data_8hpp_source.html +0 -109
  71. data/reference/cpp/_input_8hpp-source.html +0 -183
  72. data/reference/cpp/_input_8hpp.html +0 -109
  73. data/reference/cpp/_input_8hpp_source.html +0 -183
  74. data/reference/cpp/_math_8hpp-source.html +0 -157
  75. data/reference/cpp/_math_8hpp.html +0 -152
  76. data/reference/cpp/_math_8hpp_source.html +0 -157
  77. data/reference/cpp/_platform_8hpp-source.html +0 -134
  78. data/reference/cpp/_platform_8hpp.html +0 -162
  79. data/reference/cpp/_platform_8hpp_source.html +0 -134
  80. data/reference/cpp/_rot_flip_8hpp-source.html +0 -185
  81. data/reference/cpp/_rot_flip_8hpp.html +0 -130
  82. data/reference/cpp/_rot_flip_8hpp_source.html +0 -185
  83. data/reference/cpp/_sockets_8hpp-source.html +0 -175
  84. data/reference/cpp/_sockets_8hpp.html +0 -124
  85. data/reference/cpp/_sockets_8hpp_source.html +0 -175
  86. data/reference/cpp/_text_8hpp-source.html +0 -103
  87. data/reference/cpp/_text_8hpp.html +0 -106
  88. data/reference/cpp/_text_8hpp_source.html +0 -103
  89. data/reference/cpp/_text_input_8hpp-source.html +0 -111
  90. data/reference/cpp/_text_input_8hpp.html +0 -94
  91. data/reference/cpp/_text_input_8hpp_source.html +0 -116
  92. data/reference/cpp/_timing_8hpp-source.html +0 -83
  93. data/reference/cpp/_timing_8hpp.html +0 -97
  94. data/reference/cpp/_timing_8hpp_source.html +0 -83
  95. data/reference/cpp/_utility_8hpp-source.html +0 -90
  96. data/reference/cpp/_utility_8hpp.html +0 -103
  97. data/reference/cpp/_utility_8hpp_source.html +0 -90
  98. data/reference/cpp/_version_8hpp-source.html +0 -78
  99. data/reference/cpp/_version_8hpp.html +0 -154
  100. data/reference/cpp/_version_8hpp_source.html +0 -78
  101. data/reference/cpp/_win_utility_8hpp-source.html +0 -126
  102. data/reference/cpp/_win_utility_8hpp.html +0 -128
  103. data/reference/cpp/_win_utility_8hpp_source.html +0 -126
  104. data/reference/cpp/_window_8hpp-source.html +0 -158
  105. data/reference/cpp/_window_8hpp.html +0 -94
  106. data/reference/cpp/_window_8hpp_source.html +0 -159
  107. data/reference/cpp/annotated.html +0 -98
  108. data/reference/cpp/class_gosu_1_1_audio-members.html +0 -76
  109. data/reference/cpp/class_gosu_1_1_audio.html +0 -155
  110. data/reference/cpp/class_gosu_1_1_bitmap-members.html +0 -86
  111. data/reference/cpp/class_gosu_1_1_bitmap.html +0 -506
  112. data/reference/cpp/class_gosu_1_1_buffer-members.html +0 -85
  113. data/reference/cpp/class_gosu_1_1_buffer.html +0 -341
  114. data/reference/cpp/class_gosu_1_1_buffer.png +0 -0
  115. data/reference/cpp/class_gosu_1_1_button-members.html +0 -77
  116. data/reference/cpp/class_gosu_1_1_button.html +0 -198
  117. data/reference/cpp/class_gosu_1_1_color-members.html +0 -108
  118. data/reference/cpp/class_gosu_1_1_color.html +0 -972
  119. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +0 -91
  120. data/reference/cpp/class_gosu_1_1_comm_socket.html +0 -506
  121. data/reference/cpp/class_gosu_1_1_file-members.html +0 -82
  122. data/reference/cpp/class_gosu_1_1_file.html +0 -276
  123. data/reference/cpp/class_gosu_1_1_file.png +0 -0
  124. data/reference/cpp/class_gosu_1_1_font-members.html +0 -82
  125. data/reference/cpp/class_gosu_1_1_font.html +0 -506
  126. data/reference/cpp/class_gosu_1_1_graphics-members.html +0 -93
  127. data/reference/cpp/class_gosu_1_1_graphics.html +0 -817
  128. data/reference/cpp/class_gosu_1_1_image-members.html +0 -87
  129. data/reference/cpp/class_gosu_1_1_image.html +0 -797
  130. data/reference/cpp/class_gosu_1_1_image_data-members.html +0 -78
  131. data/reference/cpp/class_gosu_1_1_image_data.html +0 -282
  132. data/reference/cpp/class_gosu_1_1_input-members.html +0 -86
  133. data/reference/cpp/class_gosu_1_1_input.html +0 -418
  134. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +0 -79
  135. data/reference/cpp/class_gosu_1_1_listener_socket.html +0 -222
  136. data/reference/cpp/class_gosu_1_1_message_socket-members.html +0 -81
  137. data/reference/cpp/class_gosu_1_1_message_socket.html +0 -306
  138. data/reference/cpp/class_gosu_1_1_reader-members.html +0 -81
  139. data/reference/cpp/class_gosu_1_1_reader.html +0 -323
  140. data/reference/cpp/class_gosu_1_1_resource-members.html +0 -80
  141. data/reference/cpp/class_gosu_1_1_resource.html +0 -306
  142. data/reference/cpp/class_gosu_1_1_resource.png +0 -0
  143. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +0 -84
  144. data/reference/cpp/class_gosu_1_1_rot_flip.html +0 -352
  145. data/reference/cpp/class_gosu_1_1_sample-members.html +0 -80
  146. data/reference/cpp/class_gosu_1_1_sample.html +0 -324
  147. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +0 -82
  148. data/reference/cpp/class_gosu_1_1_sample_instance.html +0 -318
  149. data/reference/cpp/class_gosu_1_1_song-members.html +0 -90
  150. data/reference/cpp/class_gosu_1_1_song.html +0 -493
  151. data/reference/cpp/class_gosu_1_1_text_input-members.html +0 -80
  152. data/reference/cpp/class_gosu_1_1_text_input.html +0 -255
  153. data/reference/cpp/class_gosu_1_1_window-members.html +0 -91
  154. data/reference/cpp/class_gosu_1_1_window.html +0 -534
  155. data/reference/cpp/class_gosu_1_1_writer-members.html +0 -80
  156. data/reference/cpp/class_gosu_1_1_writer.html +0 -293
  157. data/reference/cpp/classes.html +0 -86
  158. data/reference/cpp/closed.gif +0 -0
  159. data/reference/cpp/cpp.css +0 -155
  160. data/reference/cpp/doxygen.png +0 -0
  161. data/reference/cpp/files.html +0 -99
  162. data/reference/cpp/functions.html +0 -128
  163. data/reference/cpp/functions_0x62.html +0 -144
  164. data/reference/cpp/functions_0x63.html +0 -143
  165. data/reference/cpp/functions_0x64.html +0 -143
  166. data/reference/cpp/functions_0x65.html +0 -122
  167. data/reference/cpp/functions_0x66.html +0 -144
  168. data/reference/cpp/functions_0x67.html +0 -136
  169. data/reference/cpp/functions_0x68.html +0 -122
  170. data/reference/cpp/functions_0x69.html +0 -124
  171. data/reference/cpp/functions_0x6b.html +0 -116
  172. data/reference/cpp/functions_0x6c.html +0 -118
  173. data/reference/cpp/functions_0x6d.html +0 -126
  174. data/reference/cpp/functions_0x6e.html +0 -121
  175. data/reference/cpp/functions_0x6f.html +0 -127
  176. data/reference/cpp/functions_0x70.html +0 -137
  177. data/reference/cpp/functions_0x72.html +0 -157
  178. data/reference/cpp/functions_0x73.html +0 -180
  179. data/reference/cpp/functions_0x74.html +0 -128
  180. data/reference/cpp/functions_0x75.html +0 -123
  181. data/reference/cpp/functions_0x76.html +0 -118
  182. data/reference/cpp/functions_0x77.html +0 -132
  183. data/reference/cpp/functions_0x78.html +0 -116
  184. data/reference/cpp/functions_0x79.html +0 -118
  185. data/reference/cpp/functions_0x7e.html +0 -142
  186. data/reference/cpp/functions_enum.html +0 -88
  187. data/reference/cpp/functions_eval.html +0 -90
  188. data/reference/cpp/functions_func.html +0 -124
  189. data/reference/cpp/functions_func_0x62.html +0 -136
  190. data/reference/cpp/functions_func_0x63.html +0 -137
  191. data/reference/cpp/functions_func_0x64.html +0 -141
  192. data/reference/cpp/functions_func_0x65.html +0 -120
  193. data/reference/cpp/functions_func_0x66.html +0 -140
  194. data/reference/cpp/functions_func_0x67.html +0 -130
  195. data/reference/cpp/functions_func_0x68.html +0 -120
  196. data/reference/cpp/functions_func_0x69.html +0 -120
  197. data/reference/cpp/functions_func_0x6b.html +0 -114
  198. data/reference/cpp/functions_func_0x6c.html +0 -114
  199. data/reference/cpp/functions_func_0x6d.html +0 -124
  200. data/reference/cpp/functions_func_0x6e.html +0 -117
  201. data/reference/cpp/functions_func_0x6f.html +0 -114
  202. data/reference/cpp/functions_func_0x70.html +0 -135
  203. data/reference/cpp/functions_func_0x72.html +0 -151
  204. data/reference/cpp/functions_func_0x73.html +0 -174
  205. data/reference/cpp/functions_func_0x74.html +0 -120
  206. data/reference/cpp/functions_func_0x75.html +0 -121
  207. data/reference/cpp/functions_func_0x76.html +0 -116
  208. data/reference/cpp/functions_func_0x77.html +0 -128
  209. data/reference/cpp/functions_func_0x7e.html +0 -140
  210. data/reference/cpp/functions_type.html +0 -88
  211. data/reference/cpp/functions_vars.html +0 -135
  212. data/reference/cpp/globals.html +0 -95
  213. data/reference/cpp/globals_defs.html +0 -95
  214. data/reference/cpp/hierarchy.html +0 -100
  215. data/reference/cpp/index.html +0 -67
  216. data/reference/cpp/namespace_gosu.html +0 -3311
  217. data/reference/cpp/namespace_gosu_1_1_colors.html +0 -287
  218. data/reference/cpp/namespace_gosu_1_1_win.html +0 -354
  219. data/reference/cpp/namespacemembers.html +0 -139
  220. data/reference/cpp/namespacemembers_0x62.html +0 -143
  221. data/reference/cpp/namespacemembers_0x63.html +0 -125
  222. data/reference/cpp/namespacemembers_0x64.html +0 -121
  223. data/reference/cpp/namespacemembers_0x66.html +0 -129
  224. data/reference/cpp/namespacemembers_0x67.html +0 -163
  225. data/reference/cpp/namespacemembers_0x68.html +0 -113
  226. data/reference/cpp/namespacemembers_0x69.html +0 -117
  227. data/reference/cpp/namespacemembers_0x6b.html +0 -289
  228. data/reference/cpp/namespacemembers_0x6c.html +0 -119
  229. data/reference/cpp/namespacemembers_0x6d.html +0 -131
  230. data/reference/cpp/namespacemembers_0x6e.html +0 -127
  231. data/reference/cpp/namespacemembers_0x6f.html +0 -121
  232. data/reference/cpp/namespacemembers_0x70.html +0 -115
  233. data/reference/cpp/namespacemembers_0x71.html +0 -113
  234. data/reference/cpp/namespacemembers_0x72.html +0 -165
  235. data/reference/cpp/namespacemembers_0x73.html +0 -135
  236. data/reference/cpp/namespacemembers_0x74.html +0 -129
  237. data/reference/cpp/namespacemembers_0x75.html +0 -117
  238. data/reference/cpp/namespacemembers_0x77.html +0 -117
  239. data/reference/cpp/namespacemembers_0x79.html +0 -113
  240. data/reference/cpp/namespacemembers_0x7a.html +0 -115
  241. data/reference/cpp/namespacemembers_enum.html +0 -103
  242. data/reference/cpp/namespacemembers_eval.html +0 -445
  243. data/reference/cpp/namespacemembers_func.html +0 -269
  244. data/reference/cpp/namespacemembers_type.html +0 -93
  245. data/reference/cpp/namespacemembers_vars.html +0 -117
  246. data/reference/cpp/namespaces.html +0 -76
  247. data/reference/cpp/open.gif +0 -0
  248. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +0 -78
  249. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +0 -186
  250. data/reference/cpp/struct_gosu_1_1_touch-members.html +0 -76
  251. data/reference/cpp/struct_gosu_1_1_touch.html +0 -154
  252. data/reference/cpp/tab_b.gif +0 -0
  253. data/reference/cpp/tab_l.gif +0 -0
  254. data/reference/cpp/tab_r.gif +0 -0
  255. data/reference/cpp/tabs.css +0 -105
  256. data/reference/rdoc/classes/Gosu.html +0 -1546
  257. data/reference/rdoc/classes/Gosu/Color.html +0 -660
  258. data/reference/rdoc/classes/Gosu/Font.html +0 -545
  259. data/reference/rdoc/classes/Gosu/GLTexInfo.html +0 -412
  260. data/reference/rdoc/classes/Gosu/Image.html +0 -706
  261. data/reference/rdoc/classes/Gosu/Sample.html +0 -476
  262. data/reference/rdoc/classes/Gosu/SampleInstance.html +0 -523
  263. data/reference/rdoc/classes/Gosu/Song.html +0 -568
  264. data/reference/rdoc/classes/Gosu/TextInput.html +0 -444
  265. data/reference/rdoc/classes/Gosu/Window.html +0 -911
  266. data/reference/rdoc/classes/Numeric.html +0 -479
  267. data/reference/rdoc/created.rid +0 -1
  268. data/reference/rdoc/files/COPYING_txt.html +0 -391
  269. data/reference/rdoc/files/README_txt.html +0 -387
  270. data/reference/rdoc/files/reference/Deployment on OS X_rdoc.html +0 -381
  271. data/reference/rdoc/files/reference/Deployment on Windows_rdoc.html +0 -385
  272. data/reference/rdoc/files/reference/Drawing with Colors_rdoc.html +0 -363
  273. data/reference/rdoc/files/reference/Order of Corners_rdoc.html +0 -358
  274. data/reference/rdoc/files/reference/Tileability_rdoc.html +0 -374
  275. data/reference/rdoc/files/reference/Z Ordering_rdoc.html +0 -361
  276. data/reference/rdoc/files/reference/gosu_rb.html +0 -348
  277. data/reference/rdoc/fr_class_index.html +0 -12
  278. data/reference/rdoc/fr_file_index.html +0 -10
  279. data/reference/rdoc/fr_method_index.html +0 -66
  280. data/reference/rdoc/index.html +0 -1
  281. data/reference/rdoc/rdoc-style.css +0 -320
@@ -1,287 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
62
- <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- <div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="namespace_gosu_1_1_colors.html">Colors</a>
66
- </div>
67
- </div>
68
- <div class="contents">
69
- <h1>Gosu::Colors Namespace Reference</h1><table border="0" cellpadding="0" cellspacing="0">
70
- <tr><td></td></tr>
71
- <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
72
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">none</a> = 0x00000000</td></tr>
73
-
74
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">black</a> = 0xff000000</td></tr>
75
-
76
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">gray</a> = 0xff808080</td></tr>
77
-
78
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">white</a> = 0xffffffff</td></tr>
79
-
80
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#447c655692a369bca5cba677a374c451">aqua</a> = 0xff00ffff</td></tr>
81
-
82
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">red</a> = 0xffff0000</td></tr>
83
-
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">green</a> = 0xff00ff00</td></tr>
85
-
86
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">blue</a> = 0xff0000ff</td></tr>
87
-
88
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">yellow</a> = 0xffffff00</td></tr>
89
-
90
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">fuchsia</a> = 0xffff00ff</td></tr>
91
-
92
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">cyan</a> = 0xff00ffff</td></tr>
93
-
94
- </table>
95
- <hr><h2>Variable Documentation</h2>
96
- <a class="anchor" name="447c655692a369bca5cba677a374c451"></a><!-- doxytag: member="Gosu::Colors::aqua" ref="447c655692a369bca5cba677a374c451" args="" -->
97
- <div class="memitem">
98
- <div class="memproto">
99
- <table class="memname">
100
- <tr>
101
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#447c655692a369bca5cba677a374c451">Gosu::Colors::aqua</a> = 0xff00ffff </td>
102
- </tr>
103
- </table>
104
- </div>
105
- <div class="memdoc">
106
-
107
- <p>
108
-
109
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00177">177</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
110
-
111
- </div>
112
- </div><p>
113
- <a class="anchor" name="486a8cbb6cc61e293d9e0e514b77b99c"></a><!-- doxytag: member="Gosu::Colors::black" ref="486a8cbb6cc61e293d9e0e514b77b99c" args="" -->
114
- <div class="memitem">
115
- <div class="memproto">
116
- <table class="memname">
117
- <tr>
118
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">Gosu::Colors::black</a> = 0xff000000 </td>
119
- </tr>
120
- </table>
121
- </div>
122
- <div class="memdoc">
123
-
124
- <p>
125
-
126
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00173">173</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
127
-
128
- </div>
129
- </div><p>
130
- <a class="anchor" name="4cb017274ba0bdcdba68a0d3e131fdcd"></a><!-- doxytag: member="Gosu::Colors::blue" ref="4cb017274ba0bdcdba68a0d3e131fdcd" args="" -->
131
- <div class="memitem">
132
- <div class="memproto">
133
- <table class="memname">
134
- <tr>
135
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">Gosu::Colors::blue</a> = 0xff0000ff </td>
136
- </tr>
137
- </table>
138
- </div>
139
- <div class="memdoc">
140
-
141
- <p>
142
-
143
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00180">180</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
144
-
145
- </div>
146
- </div><p>
147
- <a class="anchor" name="0751eab6bdab4be181a09afab61947e2"></a><!-- doxytag: member="Gosu::Colors::cyan" ref="0751eab6bdab4be181a09afab61947e2" args="" -->
148
- <div class="memitem">
149
- <div class="memproto">
150
- <table class="memname">
151
- <tr>
152
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">Gosu::Colors::cyan</a> = 0xff00ffff </td>
153
- </tr>
154
- </table>
155
- </div>
156
- <div class="memdoc">
157
-
158
- <p>
159
-
160
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00183">183</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
161
-
162
- </div>
163
- </div><p>
164
- <a class="anchor" name="150c914964141ef07c27703ca8f55500"></a><!-- doxytag: member="Gosu::Colors::fuchsia" ref="150c914964141ef07c27703ca8f55500" args="" -->
165
- <div class="memitem">
166
- <div class="memproto">
167
- <table class="memname">
168
- <tr>
169
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">Gosu::Colors::fuchsia</a> = 0xffff00ff </td>
170
- </tr>
171
- </table>
172
- </div>
173
- <div class="memdoc">
174
-
175
- <p>
176
-
177
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00182">182</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
178
-
179
- </div>
180
- </div><p>
181
- <a class="anchor" name="771eb7e0a376ddaf15aae2d937cf5116"></a><!-- doxytag: member="Gosu::Colors::gray" ref="771eb7e0a376ddaf15aae2d937cf5116" args="" -->
182
- <div class="memitem">
183
- <div class="memproto">
184
- <table class="memname">
185
- <tr>
186
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">Gosu::Colors::gray</a> = 0xff808080 </td>
187
- </tr>
188
- </table>
189
- </div>
190
- <div class="memdoc">
191
-
192
- <p>
193
-
194
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00174">174</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
195
-
196
- </div>
197
- </div><p>
198
- <a class="anchor" name="b996c55e7085bf96def040bf026682df"></a><!-- doxytag: member="Gosu::Colors::green" ref="b996c55e7085bf96def040bf026682df" args="" -->
199
- <div class="memitem">
200
- <div class="memproto">
201
- <table class="memname">
202
- <tr>
203
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">Gosu::Colors::green</a> = 0xff00ff00 </td>
204
- </tr>
205
- </table>
206
- </div>
207
- <div class="memdoc">
208
-
209
- <p>
210
-
211
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00179">179</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
212
-
213
- </div>
214
- </div><p>
215
- <a class="anchor" name="0918862384305ddc85080bdb5946a2df"></a><!-- doxytag: member="Gosu::Colors::none" ref="0918862384305ddc85080bdb5946a2df" args="" -->
216
- <div class="memitem">
217
- <div class="memproto">
218
- <table class="memname">
219
- <tr>
220
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">Gosu::Colors::none</a> = 0x00000000 </td>
221
- </tr>
222
- </table>
223
- </div>
224
- <div class="memdoc">
225
-
226
- <p>
227
-
228
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00172">172</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
229
-
230
- </div>
231
- </div><p>
232
- <a class="anchor" name="87aad19d60aca50b923e3cd8e3965acb"></a><!-- doxytag: member="Gosu::Colors::red" ref="87aad19d60aca50b923e3cd8e3965acb" args="" -->
233
- <div class="memitem">
234
- <div class="memproto">
235
- <table class="memname">
236
- <tr>
237
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">Gosu::Colors::red</a> = 0xffff0000 </td>
238
- </tr>
239
- </table>
240
- </div>
241
- <div class="memdoc">
242
-
243
- <p>
244
-
245
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00178">178</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
246
-
247
- </div>
248
- </div><p>
249
- <a class="anchor" name="10d42c88c877baa7e4c3d22f30781802"></a><!-- doxytag: member="Gosu::Colors::white" ref="10d42c88c877baa7e4c3d22f30781802" args="" -->
250
- <div class="memitem">
251
- <div class="memproto">
252
- <table class="memname">
253
- <tr>
254
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">Gosu::Colors::white</a> = 0xffffffff </td>
255
- </tr>
256
- </table>
257
- </div>
258
- <div class="memdoc">
259
-
260
- <p>
261
-
262
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00175">175</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
263
-
264
- </div>
265
- </div><p>
266
- <a class="anchor" name="805a3b1bacc86357736930cacf209803"></a><!-- doxytag: member="Gosu::Colors::yellow" ref="805a3b1bacc86357736930cacf209803" args="" -->
267
- <div class="memitem">
268
- <div class="memproto">
269
- <table class="memname">
270
- <tr>
271
- <td class="memname">const <a class="el" href="class_gosu_1_1_color.html">Color</a> <a class="el" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">Gosu::Colors::yellow</a> = 0xffffff00 </td>
272
- </tr>
273
- </table>
274
- </div>
275
- <div class="memdoc">
276
-
277
- <p>
278
-
279
- <p>Definition at line <a class="el" href="_color_8hpp_source.html#l00181">181</a> of file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
280
-
281
- </div>
282
- </div><p>
283
- </div>
284
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
285
- </div>
286
- </body>
287
- </html>
@@ -1,354 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
62
- <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- <div class="navpath"><a class="el" href="namespace_gosu.html">Gosu</a>::<a class="el" href="namespace_gosu_1_1_win.html">Win</a>
66
- </div>
67
- </div>
68
- <div class="contents">
69
- <h1>Gosu::Win Namespace Reference</h1>Implementation helpers for the Windows platform.
70
- <a href="#_details">More...</a>
71
- <p>
72
- <table border="0" cellpadding="0" cellspacing="0">
73
- <tr><td></td></tr>
74
- <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
75
- <tr><td class="memItemLeft" nowrap align="right" valign="top">HINSTANCE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#83b6e6b81742595a0e9203484703db1b">instance</a> ()</td></tr>
76
-
77
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the instance handle of the application. <a href="#83b6e6b81742595a0e9203484703db1b"></a><br></td></tr>
78
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#31f2a986954cbda89d833e5c4b6023bc">handleMessage</a> ()</td></tr>
79
-
80
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Blocking function which waits for the next message, processes it, then returns. <a href="#31f2a986954cbda89d833e5c4b6023bc"></a><br></td></tr>
81
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#d00342fe1c6ac246a35732e61c814f66">processMessages</a> ()</td></tr>
82
-
83
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-blocking function which processes all waiting messages but does not wait for further incoming messages. <a href="#d00342fe1c6ac246a35732e61c814f66"></a><br></td></tr>
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#7d2d60d6682043477b9765af5433a0db">registerMessageHook</a> (const boost::function&lt; bool(MSG &amp;)&gt; &amp;hook)</td></tr>
85
-
86
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Registers a function to be called by handleMessage and processMessages. <a href="#7d2d60d6682043477b9765af5433a0db"></a><br></td></tr>
87
- <tr><td class="memItemLeft" nowrap align="right" valign="top">GOSU_NORETURN void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#9b691c48faa83e1f04f3c185f4fc88e0">throwLastError</a> (const std::string &amp;action=&quot;&quot;)</td></tr>
88
-
89
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Throws an exception according to the error which GetLastError() returns, optionally prefixed with "While (action), the following error occured: ". <a href="#9b691c48faa83e1f04f3c185f4fc88e0"></a><br></td></tr>
90
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
91
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#6040740de3117cb7f53d2458e29e0d33">check</a> (T valToCheck, const std::string &amp;action=&quot;&quot;)</td></tr>
92
-
93
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Small helper function that throws an exception whenever the value passed through is false. <a href="#6040740de3117cb7f53d2458e29e0d33"></a><br></td></tr>
94
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
95
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#a94c44a4738f72711497fe26cb15c8b6">releaseComPtr</a> (T *ptr)</td></tr>
96
-
97
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T &gt; </td></tr>
98
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">boost::shared_ptr&lt; T &gt;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#a428c0599282230ad8c8c03a4eb1a054">shareComPtr</a> (T *ptr)</td></tr>
99
-
100
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Small helper function that transfers ownership of a COM interface to a boost::shared_ptr. <a href="#a428c0599282230ad8c8c03a4eb1a054"></a><br></td></tr>
101
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#6a880b46db664c1be2b5115a1090c37b">appFilename</a> ()</td></tr>
102
-
103
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the executable's filename. <a href="#6a880b46db664c1be2b5115a1090c37b"></a><br></td></tr>
104
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_win.html#23f9098ea654c70ae845ec3fe6e9f20c">appDirectory</a> ()</td></tr>
105
-
106
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the executable's containing directory. <a href="#23f9098ea654c70ae845ec3fe6e9f20c"></a><br></td></tr>
107
- </table>
108
- <hr><a name="_details"></a><h2>Detailed Description</h2>
109
- Implementation helpers for the Windows platform.
110
- <p>
111
- <hr><h2>Function Documentation</h2>
112
- <a class="anchor" name="23f9098ea654c70ae845ec3fe6e9f20c"></a><!-- doxytag: member="Gosu::Win::appDirectory" ref="23f9098ea654c70ae845ec3fe6e9f20c" args="()" -->
113
- <div class="memitem">
114
- <div class="memproto">
115
- <table class="memname">
116
- <tr>
117
- <td class="memname">std::wstring Gosu::Win::appDirectory </td>
118
- <td>(</td>
119
- <td class="paramname"> </td>
120
- <td>&nbsp;)&nbsp;</td>
121
- <td></td>
122
- </tr>
123
- </table>
124
- </div>
125
- <div class="memdoc">
126
-
127
- <p>
128
- Returns the executable's containing directory.
129
- <p>
130
-
131
- </div>
132
- </div><p>
133
- <a class="anchor" name="6a880b46db664c1be2b5115a1090c37b"></a><!-- doxytag: member="Gosu::Win::appFilename" ref="6a880b46db664c1be2b5115a1090c37b" args="()" -->
134
- <div class="memitem">
135
- <div class="memproto">
136
- <table class="memname">
137
- <tr>
138
- <td class="memname">std::wstring Gosu::Win::appFilename </td>
139
- <td>(</td>
140
- <td class="paramname"> </td>
141
- <td>&nbsp;)&nbsp;</td>
142
- <td></td>
143
- </tr>
144
- </table>
145
- </div>
146
- <div class="memdoc">
147
-
148
- <p>
149
- Returns the executable's filename.
150
- <p>
151
-
152
- </div>
153
- </div><p>
154
- <a class="anchor" name="6040740de3117cb7f53d2458e29e0d33"></a><!-- doxytag: member="Gosu::Win::check" ref="6040740de3117cb7f53d2458e29e0d33" args="(T valToCheck, const std::string &amp;action=&quot;&quot;)" -->
155
- <div class="memitem">
156
- <div class="memproto">
157
- <div class="memtemplate">
158
- template&lt;typename T &gt; </div>
159
- <table class="memname">
160
- <tr>
161
- <td class="memname">T Gosu::Win::check </td>
162
- <td>(</td>
163
- <td class="paramtype">T&nbsp;</td>
164
- <td class="paramname"> <em>valToCheck</em>, </td>
165
- </tr>
166
- <tr>
167
- <td class="paramkey"></td>
168
- <td></td>
169
- <td class="paramtype">const std::string &amp;&nbsp;</td>
170
- <td class="paramname"> <em>action</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
171
- </tr>
172
- <tr>
173
- <td></td>
174
- <td>)</td>
175
- <td></td><td></td><td></td>
176
- </tr>
177
- </table>
178
- </div>
179
- <div class="memdoc">
180
-
181
- <p>
182
- Small helper function that throws an exception whenever the value passed through is false.
183
- <p>
184
- Note that this doesn't make sense for all Windows API functions, but for most of them.
185
- <p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00045">45</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
186
-
187
- <p>References <a class="el" href="namespace_gosu_1_1_win.html#9b691c48faa83e1f04f3c185f4fc88e0">throwLastError()</a>.</p>
188
-
189
- </div>
190
- </div><p>
191
- <a class="anchor" name="31f2a986954cbda89d833e5c4b6023bc"></a><!-- doxytag: member="Gosu::Win::handleMessage" ref="31f2a986954cbda89d833e5c4b6023bc" args="()" -->
192
- <div class="memitem">
193
- <div class="memproto">
194
- <table class="memname">
195
- <tr>
196
- <td class="memname">void Gosu::Win::handleMessage </td>
197
- <td>(</td>
198
- <td class="paramname"> </td>
199
- <td>&nbsp;)&nbsp;</td>
200
- <td></td>
201
- </tr>
202
- </table>
203
- </div>
204
- <div class="memdoc">
205
-
206
- <p>
207
- Blocking function which waits for the next message, processes it, then returns.
208
- <p>
209
-
210
- </div>
211
- </div><p>
212
- <a class="anchor" name="83b6e6b81742595a0e9203484703db1b"></a><!-- doxytag: member="Gosu::Win::instance" ref="83b6e6b81742595a0e9203484703db1b" args="()" -->
213
- <div class="memitem">
214
- <div class="memproto">
215
- <table class="memname">
216
- <tr>
217
- <td class="memname">HINSTANCE Gosu::Win::instance </td>
218
- <td>(</td>
219
- <td class="paramname"> </td>
220
- <td>&nbsp;)&nbsp;</td>
221
- <td></td>
222
- </tr>
223
- </table>
224
- </div>
225
- <div class="memdoc">
226
-
227
- <p>
228
- Returns the instance handle of the application.
229
- <p>
230
-
231
- </div>
232
- </div><p>
233
- <a class="anchor" name="d00342fe1c6ac246a35732e61c814f66"></a><!-- doxytag: member="Gosu::Win::processMessages" ref="d00342fe1c6ac246a35732e61c814f66" args="()" -->
234
- <div class="memitem">
235
- <div class="memproto">
236
- <table class="memname">
237
- <tr>
238
- <td class="memname">void Gosu::Win::processMessages </td>
239
- <td>(</td>
240
- <td class="paramname"> </td>
241
- <td>&nbsp;)&nbsp;</td>
242
- <td></td>
243
- </tr>
244
- </table>
245
- </div>
246
- <div class="memdoc">
247
-
248
- <p>
249
- Non-blocking function which processes all waiting messages but does not wait for further incoming messages.
250
- <p>
251
-
252
- </div>
253
- </div><p>
254
- <a class="anchor" name="7d2d60d6682043477b9765af5433a0db"></a><!-- doxytag: member="Gosu::Win::registerMessageHook" ref="7d2d60d6682043477b9765af5433a0db" args="(const boost::function&lt; bool(MSG &amp;)&gt; &amp;hook)" -->
255
- <div class="memitem">
256
- <div class="memproto">
257
- <table class="memname">
258
- <tr>
259
- <td class="memname">void Gosu::Win::registerMessageHook </td>
260
- <td>(</td>
261
- <td class="paramtype">const boost::function&lt; bool(MSG &amp;)&gt; &amp;&nbsp;</td>
262
- <td class="paramname"> <em>hook</em> </td>
263
- <td>&nbsp;)&nbsp;</td>
264
- <td></td>
265
- </tr>
266
- </table>
267
- </div>
268
- <div class="memdoc">
269
-
270
- <p>
271
- Registers a function to be called by handleMessage and processMessages.
272
- <p>
273
- Every message is passed to the hooks and not processed further if any hook function returns true.
274
- </div>
275
- </div><p>
276
- <a class="anchor" name="a94c44a4738f72711497fe26cb15c8b6"></a><!-- doxytag: member="Gosu::Win::releaseComPtr" ref="a94c44a4738f72711497fe26cb15c8b6" args="(T *ptr)" -->
277
- <div class="memitem">
278
- <div class="memproto">
279
- <div class="memtemplate">
280
- template&lt;typename T &gt; </div>
281
- <table class="memname">
282
- <tr>
283
- <td class="memname">void Gosu::Win::releaseComPtr </td>
284
- <td>(</td>
285
- <td class="paramtype">T *&nbsp;</td>
286
- <td class="paramname"> <em>ptr</em> </td>
287
- <td>&nbsp;)&nbsp;</td>
288
- <td></td>
289
- </tr>
290
- </table>
291
- </div>
292
- <div class="memdoc">
293
-
294
- <p>
295
-
296
- <p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00055">55</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
297
-
298
- </div>
299
- </div><p>
300
- <a class="anchor" name="a428c0599282230ad8c8c03a4eb1a054"></a><!-- doxytag: member="Gosu::Win::shareComPtr" ref="a428c0599282230ad8c8c03a4eb1a054" args="(T *ptr)" -->
301
- <div class="memitem">
302
- <div class="memproto">
303
- <div class="memtemplate">
304
- template&lt;typename T &gt; </div>
305
- <table class="memname">
306
- <tr>
307
- <td class="memname">boost::shared_ptr&lt;T&gt; Gosu::Win::shareComPtr </td>
308
- <td>(</td>
309
- <td class="paramtype">T *&nbsp;</td>
310
- <td class="paramname"> <em>ptr</em> </td>
311
- <td>&nbsp;)&nbsp;</td>
312
- <td></td>
313
- </tr>
314
- </table>
315
- </div>
316
- <div class="memdoc">
317
-
318
- <p>
319
- Small helper function that transfers ownership of a COM interface to a boost::shared_ptr.
320
- <p>
321
-
322
- <p>Definition at line <a class="el" href="_win_utility_8hpp_source.html#l00063">63</a> of file <a class="el" href="_win_utility_8hpp_source.html">WinUtility.hpp</a>.</p>
323
-
324
- </div>
325
- </div><p>
326
- <a class="anchor" name="9b691c48faa83e1f04f3c185f4fc88e0"></a><!-- doxytag: member="Gosu::Win::throwLastError" ref="9b691c48faa83e1f04f3c185f4fc88e0" args="(const std::string &amp;action=&quot;&quot;)" -->
327
- <div class="memitem">
328
- <div class="memproto">
329
- <table class="memname">
330
- <tr>
331
- <td class="memname">GOSU_NORETURN void Gosu::Win::throwLastError </td>
332
- <td>(</td>
333
- <td class="paramtype">const std::string &amp;&nbsp;</td>
334
- <td class="paramname"> <em>action</em> = <code>&quot;&quot;</code> </td>
335
- <td>&nbsp;)&nbsp;</td>
336
- <td></td>
337
- </tr>
338
- </table>
339
- </div>
340
- <div class="memdoc">
341
-
342
- <p>
343
- Throws an exception according to the error which GetLastError() returns, optionally prefixed with "While (action), the following error occured: ".
344
- <p>
345
-
346
- <p>Referenced by <a class="el" href="_win_utility_8hpp_source.html#l00045">check()</a>.</p>
347
-
348
- </div>
349
- </div><p>
350
- </div>
351
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
352
- </div>
353
- </body>
354
- </html>