gosu 0.7.13 → 0.7.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. data/COPYING.txt +4 -2
  2. data/Gosu/Audio.hpp +8 -5
  3. data/Gosu/Font.hpp +5 -3
  4. data/Gosu/Gosu.hpp +6 -0
  5. data/Gosu/Graphics.hpp +6 -13
  6. data/Gosu/GraphicsBase.hpp +14 -3
  7. data/Gosu/IO.hpp +259 -255
  8. data/Gosu/Image.hpp +12 -12
  9. data/Gosu/ImageData.hpp +3 -0
  10. data/Gosu/Input.hpp +14 -2
  11. data/Gosu/Math.hpp +3 -2
  12. data/Gosu/RotFlip.hpp +125 -116
  13. data/Gosu/Sockets.hpp +139 -129
  14. data/Gosu/Text.hpp +4 -4
  15. data/Gosu/WinUtility.hpp +1 -1
  16. data/Gosu/Window.hpp +9 -5
  17. data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
  18. data/GosuImpl/Graphics/DrawOp.hpp +13 -14
  19. data/GosuImpl/Graphics/Graphics.cpp +3 -2
  20. data/GosuImpl/Graphics/Image.cpp +8 -8
  21. data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
  22. data/GosuImpl/Graphics/Text.cpp +15 -3
  23. data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
  24. data/GosuImpl/Graphics/TextWin.cpp +36 -25
  25. data/GosuImpl/Graphics/Texture.cpp +2 -0
  26. data/GosuImpl/Iconv.hpp +1 -3
  27. data/GosuImpl/RubyGosu.swg +19 -10
  28. data/GosuImpl/RubyGosuStub.mm +40 -8
  29. data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
  30. data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
  31. data/GosuImpl/RubyGosu_wrap.h +1 -1
  32. data/GosuImpl/WindowWin.cpp +18 -6
  33. data/README.txt +5 -5
  34. data/Rakefile +27 -7
  35. data/linux/Makefile.in +1 -1
  36. data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
  37. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
  38. data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
  39. data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
  40. data/reference/cpp/_audio_8hpp-source.html +171 -0
  41. data/reference/cpp/_audio_8hpp.html +96 -0
  42. data/reference/cpp/_auto_link_8hpp-source.html +84 -0
  43. data/reference/cpp/_auto_link_8hpp.html +83 -0
  44. data/reference/cpp/_bitmap_8hpp-source.html +130 -0
  45. data/reference/cpp/_bitmap_8hpp.html +107 -0
  46. data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
  47. data/reference/cpp/_buttons_mac_8hpp.html +233 -0
  48. data/reference/cpp/_color_8hpp-source.html +215 -0
  49. data/reference/cpp/_color_8hpp.html +119 -0
  50. data/reference/cpp/_directories_8hpp-source.html +88 -0
  51. data/reference/cpp/_directories_8hpp.html +96 -0
  52. data/reference/cpp/_font_8hpp-source.html +111 -0
  53. data/reference/cpp/_font_8hpp.html +87 -0
  54. data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
  55. data/reference/cpp/_fwd_8hpp.html +83 -0
  56. data/reference/cpp/_gosu_8hpp-source.html +96 -0
  57. data/reference/cpp/_gosu_8hpp.html +83 -0
  58. data/reference/cpp/_graphics_8hpp-source.html +134 -0
  59. data/reference/cpp/_graphics_8hpp.html +94 -0
  60. data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
  61. data/reference/cpp/_graphics_base_8hpp.html +120 -0
  62. data/reference/cpp/_i_o_8hpp-source.html +301 -0
  63. data/reference/cpp/_i_o_8hpp.html +122 -0
  64. data/reference/cpp/_image_8hpp-source.html +172 -0
  65. data/reference/cpp/_image_8hpp.html +96 -0
  66. data/reference/cpp/_image_data_8hpp-source.html +108 -0
  67. data/reference/cpp/_image_data_8hpp.html +90 -0
  68. data/reference/cpp/_input_8hpp-source.html +182 -0
  69. data/reference/cpp/_input_8hpp.html +102 -0
  70. data/reference/cpp/_math_8hpp-source.html +147 -0
  71. data/reference/cpp/_math_8hpp.html +139 -0
  72. data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
  73. data/reference/cpp/_platform_8hpp.html +136 -0
  74. data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
  75. data/reference/cpp/_rot_flip_8hpp.html +123 -0
  76. data/reference/cpp/_sockets_8hpp-source.html +174 -0
  77. data/reference/cpp/_sockets_8hpp.html +117 -0
  78. data/reference/cpp/_text_8hpp-source.html +102 -0
  79. data/reference/cpp/_text_8hpp.html +99 -0
  80. data/reference/cpp/_text_input_8hpp-source.html +110 -0
  81. data/reference/cpp/_text_input_8hpp.html +87 -0
  82. data/reference/cpp/_timing_8hpp-source.html +82 -0
  83. data/reference/cpp/_timing_8hpp.html +90 -0
  84. data/reference/cpp/_utility_8hpp-source.html +89 -0
  85. data/reference/cpp/_utility_8hpp.html +96 -0
  86. data/reference/cpp/_win_utility_8hpp-source.html +125 -0
  87. data/reference/cpp/_win_utility_8hpp.html +116 -0
  88. data/reference/cpp/_window_8hpp-source.html +157 -0
  89. data/reference/cpp/_window_8hpp.html +87 -0
  90. data/reference/cpp/annotated.html +98 -0
  91. data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
  92. data/reference/cpp/class_gosu_1_1_audio.html +132 -0
  93. data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
  94. data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
  95. data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
  96. data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
  97. data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
  98. data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
  99. data/reference/cpp/class_gosu_1_1_button.html +195 -0
  100. data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
  101. data/reference/cpp/class_gosu_1_1_color.html +758 -0
  102. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
  103. data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
  104. data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
  105. data/reference/cpp/class_gosu_1_1_file.html +275 -0
  106. data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
  107. data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
  108. data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
  109. data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
  110. data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
  111. data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
  112. data/reference/cpp/class_gosu_1_1_image.html +771 -0
  113. data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
  114. data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
  115. data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
  116. data/reference/cpp/class_gosu_1_1_input.html +417 -0
  117. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
  118. data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
  119. data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
  120. data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
  121. data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
  122. data/reference/cpp/class_gosu_1_1_reader.html +322 -0
  123. data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
  124. data/reference/cpp/class_gosu_1_1_resource.html +305 -0
  125. data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
  126. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
  127. data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
  128. data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
  129. data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
  130. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
  131. data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
  132. data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
  133. data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
  134. data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
  135. data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
  136. data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
  137. data/reference/cpp/class_gosu_1_1_window.html +533 -0
  138. data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
  139. data/reference/cpp/class_gosu_1_1_writer.html +292 -0
  140. data/reference/cpp/classes.html +86 -0
  141. data/reference/cpp/closed.gif +0 -0
  142. data/reference/cpp/cpp.css +155 -0
  143. data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
  144. data/reference/cpp/files.html +97 -0
  145. data/reference/cpp/functions.html +127 -0
  146. data/reference/cpp/functions_0x62.html +137 -0
  147. data/reference/cpp/functions_0x63.html +140 -0
  148. data/reference/cpp/functions_0x64.html +142 -0
  149. data/reference/cpp/functions_0x65.html +119 -0
  150. data/reference/cpp/functions_0x66.html +137 -0
  151. data/reference/cpp/functions_0x67.html +131 -0
  152. data/reference/cpp/functions_0x68.html +121 -0
  153. data/reference/cpp/functions_0x69.html +123 -0
  154. data/reference/cpp/functions_0x6b.html +115 -0
  155. data/reference/cpp/functions_0x6c.html +117 -0
  156. data/reference/cpp/functions_0x6d.html +125 -0
  157. data/reference/cpp/functions_0x6e.html +117 -0
  158. data/reference/cpp/functions_0x6f.html +126 -0
  159. data/reference/cpp/functions_0x70.html +136 -0
  160. data/reference/cpp/functions_0x72.html +154 -0
  161. data/reference/cpp/functions_0x73.html +179 -0
  162. data/reference/cpp/functions_0x74.html +127 -0
  163. data/reference/cpp/functions_0x75.html +121 -0
  164. data/reference/cpp/functions_0x76.html +117 -0
  165. data/reference/cpp/functions_0x77.html +129 -0
  166. data/reference/cpp/functions_0x78.html +115 -0
  167. data/reference/cpp/functions_0x79.html +115 -0
  168. data/reference/cpp/functions_0x7e.html +143 -0
  169. data/reference/cpp/functions_enum.html +87 -0
  170. data/reference/cpp/functions_eval.html +89 -0
  171. data/reference/cpp/functions_func.html +125 -0
  172. data/reference/cpp/functions_func_0x62.html +133 -0
  173. data/reference/cpp/functions_func_0x63.html +136 -0
  174. data/reference/cpp/functions_func_0x64.html +140 -0
  175. data/reference/cpp/functions_func_0x65.html +117 -0
  176. data/reference/cpp/functions_func_0x66.html +135 -0
  177. data/reference/cpp/functions_func_0x67.html +129 -0
  178. data/reference/cpp/functions_func_0x68.html +119 -0
  179. data/reference/cpp/functions_func_0x69.html +119 -0
  180. data/reference/cpp/functions_func_0x6b.html +113 -0
  181. data/reference/cpp/functions_func_0x6c.html +113 -0
  182. data/reference/cpp/functions_func_0x6d.html +123 -0
  183. data/reference/cpp/functions_func_0x6e.html +115 -0
  184. data/reference/cpp/functions_func_0x6f.html +113 -0
  185. data/reference/cpp/functions_func_0x70.html +134 -0
  186. data/reference/cpp/functions_func_0x72.html +150 -0
  187. data/reference/cpp/functions_func_0x73.html +173 -0
  188. data/reference/cpp/functions_func_0x74.html +119 -0
  189. data/reference/cpp/functions_func_0x75.html +119 -0
  190. data/reference/cpp/functions_func_0x76.html +115 -0
  191. data/reference/cpp/functions_func_0x77.html +127 -0
  192. data/reference/cpp/functions_func_0x7e.html +141 -0
  193. data/reference/cpp/functions_type.html +87 -0
  194. data/reference/cpp/functions_vars.html +112 -0
  195. data/reference/cpp/globals.html +84 -0
  196. data/reference/cpp/globals_defs.html +84 -0
  197. data/reference/cpp/hierarchy.html +100 -0
  198. data/reference/cpp/index.html +66 -0
  199. data/reference/cpp/open.gif +0 -0
  200. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
  201. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
  202. data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
  203. data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
  204. data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
  205. data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
  206. data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
  207. data/reference/{tabs.css → cpp/tabs.css} +5 -2
  208. data/windows/Gosu.sln +5 -0
  209. data/windows/Gosu.vcproj +3 -3
  210. data/windows/RubyGosu.vcproj +103 -1
  211. metadata +178 -176
  212. data/reference/Async_8hpp-source.html +0 -70
  213. data/reference/Audio_8hpp-source.html +0 -125
  214. data/reference/Audio_8hpp.html +0 -50
  215. data/reference/AutoLink_8hpp-source.html +0 -38
  216. data/reference/AutoLink_8hpp.html +0 -34
  217. data/reference/Bitmap_8hpp-source.html +0 -84
  218. data/reference/Bitmap_8hpp.html +0 -58
  219. data/reference/ButtonsWin_8hpp-source.html +0 -159
  220. data/reference/ButtonsX_8hpp-source.html +0 -160
  221. data/reference/Color_8hpp-source.html +0 -169
  222. data/reference/Color_8hpp.html +0 -85
  223. data/reference/Directories_8hpp-source.html +0 -42
  224. data/reference/Directories_8hpp.html +0 -46
  225. data/reference/Font_8hpp-source.html +0 -65
  226. data/reference/Font_8hpp.html +0 -41
  227. data/reference/Fwd_8hpp.html +0 -37
  228. data/reference/Gosu_8hpp-source.html +0 -49
  229. data/reference/Gosu_8hpp.html +0 -34
  230. data/reference/GraphicsBase_8hpp-source.html +0 -59
  231. data/reference/GraphicsBase_8hpp.html +0 -59
  232. data/reference/Graphics_8hpp-source.html +0 -99
  233. data/reference/Graphics_8hpp.html +0 -60
  234. data/reference/IO_8hpp-source.html +0 -255
  235. data/reference/IO_8hpp.html +0 -74
  236. data/reference/ImageData_8hpp-source.html +0 -62
  237. data/reference/ImageData_8hpp.html +0 -43
  238. data/reference/Image_8hpp-source.html +0 -126
  239. data/reference/Image_8hpp.html +0 -48
  240. data/reference/Input_8hpp-source.html +0 -131
  241. data/reference/Input_8hpp.html +0 -56
  242. data/reference/Math_8hpp-source.html +0 -101
  243. data/reference/Math_8hpp.html +0 -78
  244. data/reference/Platform_8hpp.html +0 -73
  245. data/reference/RotFlip_8hpp-source.html +0 -138
  246. data/reference/RotFlip_8hpp.html +0 -77
  247. data/reference/Sockets_8hpp-source.html +0 -130
  248. data/reference/Sockets_8hpp.html +0 -66
  249. data/reference/TextInput_8hpp-source.html +0 -64
  250. data/reference/TextInput_8hpp.html +0 -41
  251. data/reference/Text_8hpp-source.html +0 -56
  252. data/reference/Text_8hpp.html +0 -48
  253. data/reference/Timing_8hpp-source.html +0 -36
  254. data/reference/Timing_8hpp.html +0 -42
  255. data/reference/Utility_8hpp-source.html +0 -43
  256. data/reference/Utility_8hpp.html +0 -46
  257. data/reference/WinUtility_8hpp-source.html +0 -79
  258. data/reference/WinUtility_8hpp.html +0 -64
  259. data/reference/Window_8hpp-source.html +0 -110
  260. data/reference/Window_8hpp.html +0 -41
  261. data/reference/annotated.html +0 -51
  262. data/reference/classGosu_1_1Audio-members.html +0 -34
  263. data/reference/classGosu_1_1Audio.html +0 -46
  264. data/reference/classGosu_1_1Bitmap-members.html +0 -45
  265. data/reference/classGosu_1_1Bitmap.html +0 -266
  266. data/reference/classGosu_1_1Buffer-members.html +0 -44
  267. data/reference/classGosu_1_1Buffer.html +0 -78
  268. data/reference/classGosu_1_1Button-members.html +0 -36
  269. data/reference/classGosu_1_1Button.html +0 -143
  270. data/reference/classGosu_1_1Color-members.html +0 -56
  271. data/reference/classGosu_1_1Color.html +0 -387
  272. data/reference/classGosu_1_1File-members.html +0 -41
  273. data/reference/classGosu_1_1File.html +0 -69
  274. data/reference/classGosu_1_1Font-members.html +0 -39
  275. data/reference/classGosu_1_1Graphics-members.html +0 -50
  276. data/reference/classGosu_1_1Graphics.html +0 -234
  277. data/reference/classGosu_1_1Image-members.html +0 -45
  278. data/reference/classGosu_1_1Image.html +0 -518
  279. data/reference/classGosu_1_1ImageData-members.html +0 -37
  280. data/reference/classGosu_1_1ImageData.html +0 -60
  281. data/reference/classGosu_1_1Input-members.html +0 -45
  282. data/reference/classGosu_1_1Input.html +0 -256
  283. data/reference/classGosu_1_1MessageSocket-members.html +0 -40
  284. data/reference/classGosu_1_1Resource-members.html +0 -39
  285. data/reference/classGosu_1_1Resource.html +0 -116
  286. data/reference/classGosu_1_1Sample-members.html +0 -37
  287. data/reference/classGosu_1_1SampleInstance-members.html +0 -41
  288. data/reference/classGosu_1_1SampleInstance.html +0 -178
  289. data/reference/classGosu_1_1Song-members.html +0 -46
  290. data/reference/classGosu_1_1TextInput-members.html +0 -38
  291. data/reference/classGosu_1_1TextInput.html +0 -121
  292. data/reference/classGosu_1_1Window-members.html +0 -50
  293. data/reference/classGosu_1_1Window.html +0 -289
  294. data/reference/doxyfile +0 -233
  295. data/reference/doxygen.css +0 -433
  296. data/reference/files.html +0 -54
  297. data/reference/functions.html +0 -249
  298. data/reference/functions_enum.html +0 -45
  299. data/reference/functions_func.html +0 -240
  300. data/reference/functions_vars.html +0 -47
  301. data/reference/hierarchy.html +0 -53
  302. data/reference/index.html +0 -26
  303. data/reference/namespaceGosu.html +0 -3363
  304. data/reference/namespaceGosu_1_1Colors.html +0 -70
  305. data/reference/namespaceGosu_1_1Win.html +0 -275
  306. data/reference/namespacemembers.html +0 -229
  307. data/reference/namespacemembers_enum.html +0 -52
  308. data/reference/namespacemembers_eval.html +0 -54
  309. data/reference/namespacemembers_func.html +0 -196
  310. data/reference/namespacemembers_type.html +0 -46
  311. data/reference/namespacemembers_vars.html +0 -48
  312. data/reference/namespaces.html +0 -35
@@ -1,47 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Class Members - Variables</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- <div class="tabs">
18
- <ul>
19
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
- <li class="current"><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- <div class="tabs">
25
- <ul>
26
- <li><a href="functions.html"><span>All</span></a></li>
27
- <li><a href="functions_func.html"><span>Functions</span></a></li>
28
- <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
29
- <li><a href="functions_enum.html"><span>Enumerations</span></a></li>
30
- </ul>
31
- </div>
32
- </div>
33
- <div class="contents">
34
- &nbsp;
35
- <p>
36
- <ul>
37
- <li>onButtonDown
38
- : <a class="el" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77">Gosu::Input</a>
39
- <li>onReceive
40
- : <a class="el" href="classGosu_1_1MessageSocket.html#946bf3cb838b105842ca86938c3a86ae">Gosu::MessageSocket</a>
41
- </ul>
42
- </div>
43
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
44
- <a href="http://www.doxygen.org/index.html">
45
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
46
- </body>
47
- </html>
@@ -1,53 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Hierarchical Index</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- <div class="tabs">
18
- <ul>
19
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
- <li class="current"><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- </div>
25
- <div class="contents">
26
- <h1>Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
27
- <li><a class="el" href="classGosu_1_1Audio.html">Gosu::Audio</a>
28
- <li><a class="el" href="classGosu_1_1Bitmap.html">Gosu::Bitmap</a>
29
- <li><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>
30
- <li><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>
31
- <li><a class="el" href="classGosu_1_1Font.html">Gosu::Font</a>
32
- <li><a class="el" href="classGosu_1_1Graphics.html">Gosu::Graphics</a>
33
- <li><a class="el" href="classGosu_1_1Image.html">Gosu::Image</a>
34
- <li><a class="el" href="classGosu_1_1ImageData.html">Gosu::ImageData</a>
35
- <li><a class="el" href="classGosu_1_1Input.html">Gosu::Input</a>
36
- <li><a class="el" href="classGosu_1_1MessageSocket.html">Gosu::MessageSocket</a>
37
- <li><a class="el" href="classGosu_1_1Resource.html">Gosu::Resource</a>
38
- <ul>
39
- <li><a class="el" href="classGosu_1_1Buffer.html">Gosu::Buffer</a>
40
- <li><a class="el" href="classGosu_1_1File.html">Gosu::File</a>
41
- </ul>
42
- <li><a class="el" href="classGosu_1_1Sample.html">Gosu::Sample</a>
43
- <li><a class="el" href="classGosu_1_1SampleInstance.html">Gosu::SampleInstance</a>
44
- <li><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a>
45
- <li><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a>
46
- <li><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>
47
- </ul>
48
- </div>
49
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
50
- <a href="http://www.doxygen.org/index.html">
51
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
52
- </body>
53
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Main Page</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- </div>
18
- <div class="contents">
19
- <h1>Gosu Documentation</h1>
20
- <p>
21
- </div>
22
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
23
- <a href="http://www.doxygen.org/index.html">
24
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
25
- </body>
26
- </html>
@@ -1,3363 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Gosu Namespace Reference</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- <div class="tabs">
18
- <ul>
19
- <li><a href="namespaces.html"><span>Namespace List</span></a></li>
20
- <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
21
- </ul>
22
- </div>
23
- </div>
24
- <div class="contents">
25
- <h1>Gosu Namespace Reference</h1>The library's main namespace.
26
- <a href="#_details">More...</a>
27
- <p>
28
- <table border="0" cellpadding="0" cellspacing="0">
29
- <tr><td></td></tr>
30
- <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
31
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>AsyncResult</b></td></tr>
32
-
33
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Audio.html">Audio</a></td></tr>
34
-
35
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Manages initialization and finalization of audio libraries. <a href="classGosu_1_1Audio.html#_details">More...</a><br></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1SampleInstance.html">SampleInstance</a></td></tr>
37
-
38
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An instance of a <a class="el" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a> playing. <a href="classGosu_1_1SampleInstance.html#_details">More...</a><br></td></tr>
39
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Sample.html">Sample</a></td></tr>
40
-
41
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A sample is a short sound that is completely loaded in memory, can be played multiple times at once and offers very flexible playback parameters. <a href="classGosu_1_1Sample.html#_details">More...</a><br></td></tr>
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html">Song</a></td></tr>
43
-
44
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Songs are less flexible than samples in that they can only be played one at a time and without panning or speed parameters. <a href="classGosu_1_1Song.html#_details">More...</a><br></td></tr>
45
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a></td></tr>
46
-
47
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rectangular area of pixels, each represented by a <a class="el" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> value. <a href="classGosu_1_1Bitmap.html#_details">More...</a><br></td></tr>
48
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html">Color</a></td></tr>
49
-
50
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an ARGB color value with 8 bits for each channel. <a href="classGosu_1_1Color.html#_details">More...</a><br></td></tr>
51
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Font.html">Font</a></td></tr>
52
-
53
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A font can be used to draw text on a <a class="el" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a> object very flexibly. <a href="classGosu_1_1Font.html#_details">More...</a><br></td></tr>
54
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Graphics.html">Graphics</a></td></tr>
55
-
56
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Serves as the target of all drawing and provides basic drawing functionality. <a href="classGosu_1_1Graphics.html#_details">More...</a><br></td></tr>
57
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Image.html">Image</a></td></tr>
58
-
59
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides functionality for drawing rectangular images. <a href="classGosu_1_1Image.html#_details">More...</a><br></td></tr>
60
- <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>GLTexInfo</b></td></tr>
61
-
62
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1ImageData.html">ImageData</a></td></tr>
63
-
64
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="classGosu_1_1ImageData.html" title="The ImageData class is an abstract base class for drawable images.">ImageData</a> class is an abstract base class for drawable images. <a href="classGosu_1_1ImageData.html#_details">More...</a><br></td></tr>
65
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html">Button</a></td></tr>
66
-
67
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Very lightweight class that identifies a button (keyboard, mouse or other device). <a href="classGosu_1_1Button.html#_details">More...</a><br></td></tr>
68
- <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>Touch</b></td></tr>
69
-
70
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Input.html">Input</a></td></tr>
71
-
72
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Manages initialization and shutdown of the input system. <a href="classGosu_1_1Input.html#_details">More...</a><br></td></tr>
73
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>Reader</b></td></tr>
74
-
75
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>Writer</b></td></tr>
76
-
77
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Resource.html">Resource</a></td></tr>
78
-
79
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Base class for resources. <a href="classGosu_1_1Resource.html#_details">More...</a><br></td></tr>
80
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Buffer.html">Buffer</a></td></tr>
81
-
82
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <a href="classGosu_1_1Buffer.html#_details">More...</a><br></td></tr>
83
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1File.html">File</a></td></tr>
84
-
85
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classGosu_1_1File.html" title="File with the Resource interface.">File</a> with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <a href="classGosu_1_1File.html#_details">More...</a><br></td></tr>
86
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>RotFlip</b></td></tr>
87
-
88
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1MessageSocket.html">MessageSocket</a></td></tr>
89
-
90
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wraps an UDP socket. <a href="classGosu_1_1MessageSocket.html#_details">More...</a><br></td></tr>
91
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>CommSocket</b></td></tr>
92
-
93
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><b>ListenerSocket</b></td></tr>
94
-
95
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1TextInput.html">TextInput</a></td></tr>
96
-
97
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> instances are invisible objects that build a text string from input, using the current operating system's keyboard layout. <a href="classGosu_1_1TextInput.html#_details">More...</a><br></td></tr>
98
- <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html">Window</a></td></tr>
99
-
100
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenient all-in-one class that serves as the foundation of a standard <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> application. <a href="classGosu_1_1Window.html#_details">More...</a><br></td></tr>
101
- <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
102
- <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu_1_1Colors.html">Colors</a></td></tr>
103
-
104
- <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu_1_1Win.html">Win</a></td></tr>
105
-
106
- <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
107
- <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">ZPos</a></td></tr>
108
-
109
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb6633385bb7471380c0e621bfe605fb"></a><!-- doxytag: member="Gosu::Touches" ref="fb6633385bb7471380c0e621bfe605fb" args="" -->
110
- typedef std::vector&lt; Touch &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>Touches</b></td></tr>
111
-
112
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e32efd2c73c3884c91c05d5c136d5485"></a><!-- doxytag: member="Gosu::SocketAddress" ref="e32efd2c73c3884c91c05d5c136d5485" args="" -->
113
- typedef boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>SocketAddress</b></td></tr>
114
-
115
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee6ccc5c098c8e63f50d9b4d2cea4e30"></a><!-- doxytag: member="Gosu::SocketPort" ref="ee6ccc5c098c8e63f50d9b4d2cea4e30" args="" -->
116
- typedef boost::uint16_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>SocketPort</b></td></tr>
117
-
118
- <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
119
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a> { <br>
120
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
121
- <b>kbEscape</b> = 0x35,
122
- <b>kbF1</b> = 0x7a,
123
- <b>kbF2</b> = 0x78,
124
- <br>
125
- &nbsp;&nbsp;<b>kbF3</b> = 0x63,
126
- <b>kbF4</b> = 0x76,
127
- <b>kbF5</b> = 0x60,
128
- <b>kbF6</b> = 0x61,
129
- <br>
130
- &nbsp;&nbsp;<b>kbF7</b> = 0x62,
131
- <b>kbF8</b> = 0x64,
132
- <b>kbF9</b> = 0x65,
133
- <b>kbF10</b> = 0x6d,
134
- <br>
135
- &nbsp;&nbsp;<b>kbF11</b> = 0x67,
136
- <b>kbF12</b> = 0x6f,
137
- <b>kb1</b> = 0x12,
138
- <b>kb2</b> = 0x13,
139
- <br>
140
- &nbsp;&nbsp;<b>kb3</b> = 0x14,
141
- <b>kb4</b> = 0x15,
142
- <b>kb5</b> = 0x17,
143
- <b>kb6</b> = 0x16,
144
- <br>
145
- &nbsp;&nbsp;<b>kb7</b> = 0x1a,
146
- <b>kb8</b> = 0x1c,
147
- <b>kb9</b> = 0x19,
148
- <b>kb0</b> = 0x1d,
149
- <br>
150
- &nbsp;&nbsp;<b>kbA</b> = 0x00,
151
- <b>kbB</b> = 0x0b,
152
- <b>kbC</b> = 0x08,
153
- <b>kbD</b> = 0x02,
154
- <br>
155
- &nbsp;&nbsp;<b>kbE</b> = 0x0e,
156
- <b>kbF</b> = 0x03,
157
- <b>kbG</b> = 0x05,
158
- <b>kbH</b> = 0x04,
159
- <br>
160
- &nbsp;&nbsp;<b>kbI</b> = 0x22,
161
- <b>kbJ</b> = 0x26,
162
- <b>kbK</b> = 0x28,
163
- <b>kbL</b> = 0x25,
164
- <br>
165
- &nbsp;&nbsp;<b>kbM</b> = 0x2e,
166
- <b>kbN</b> = 0x2d,
167
- <b>kbO</b> = 0x1f,
168
- <b>kbP</b> = 0x23,
169
- <br>
170
- &nbsp;&nbsp;<b>kbQ</b> = 0x0c,
171
- <b>kbR</b> = 0x0f,
172
- <b>kbS</b> = 0x01,
173
- <b>kbT</b> = 0x11,
174
- <br>
175
- &nbsp;&nbsp;<b>kbU</b> = 0x20,
176
- <b>kbV</b> = 0x09,
177
- <b>kbW</b> = 0x0d,
178
- <b>kbX</b> = 0x07,
179
- <br>
180
- &nbsp;&nbsp;<b>kbY</b> = 0x10,
181
- <b>kbZ</b> = 0x06,
182
- <b>kbTab</b> = 0x30,
183
- <b>kbReturn</b> = 0x24,
184
- <br>
185
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
186
- <b>kbLeftShift</b> = 0x38,
187
- <b>kbRightShift</b> = 0x3c,
188
- <b>kbLeftControl</b> = 0x3b,
189
- <br>
190
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
191
- <b>kbLeftAlt</b> = 0x3a,
192
- <b>kbRightAlt</b> = 0x3d,
193
- <b>kbLeftMeta</b> = 0x37,
194
- <br>
195
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
196
- <b>kbBackspace</b> = 0x33,
197
- <b>kbLeft</b> = 0x7b,
198
- <b>kbRight</b> = 0x7c,
199
- <br>
200
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
201
- <b>kbDown</b> = 0x7d,
202
- <b>kbHome</b> = 0x73,
203
- <b>kbEnd</b> = 0x77,
204
- <br>
205
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
206
- <b>kbDelete</b> = 0x75,
207
- <b>kbPageUp</b> = 0x74,
208
- <b>kbPageDown</b> = 0x79,
209
- <br>
210
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
211
- <b>kbNumpad1</b> = 0x53,
212
- <b>kbNumpad2</b> = 0x54,
213
- <b>kbNumpad3</b> = 0x55,
214
- <br>
215
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
216
- <b>kbNumpad5</b> = 0x57,
217
- <b>kbNumpad6</b> = 0x58,
218
- <b>kbNumpad7</b> = 0x59,
219
- <br>
220
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
221
- <b>kbNumpad9</b> = 0x5c,
222
- <b>kbNumpad0</b> = 0x52,
223
- <b>kbNumpadAdd</b> = 0x45,
224
- <br>
225
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
226
- <b>kbNumpadMultiply</b> = 0x43,
227
- <b>kbNumpadDivide</b> = 0x4b,
228
- <b>kbRangeEnd</b> = 0xffff,
229
- <br>
230
- &nbsp;&nbsp;<b>msRangeBegin</b>,
231
- <b>msLeft</b> = msRangeBegin,
232
- <b>msRight</b>,
233
- <b>msMiddle</b>,
234
- <br>
235
- &nbsp;&nbsp;<b>msWheelUp</b>,
236
- <b>msWheelDown</b>,
237
- <b>msRangeEnd</b>,
238
- <b>gpRangeBegin</b>,
239
- <br>
240
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
241
- <b>gpRight</b>,
242
- <b>gpUp</b>,
243
- <b>gpDown</b>,
244
- <br>
245
- &nbsp;&nbsp;<b>gpButton0</b>,
246
- <b>gpButton1</b>,
247
- <b>gpButton2</b>,
248
- <b>gpButton3</b>,
249
- <br>
250
- &nbsp;&nbsp;<b>gpButton4</b>,
251
- <b>gpButton5</b>,
252
- <b>gpButton6</b>,
253
- <b>gpButton7</b>,
254
- <br>
255
- &nbsp;&nbsp;<b>gpButton8</b>,
256
- <b>gpButton9</b>,
257
- <b>gpButton10</b>,
258
- <b>gpButton11</b>,
259
- <br>
260
- &nbsp;&nbsp;<b>gpButton12</b>,
261
- <b>gpButton13</b>,
262
- <b>gpButton14</b>,
263
- <b>gpButton15</b>,
264
- <br>
265
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
266
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
267
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
268
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
269
- <br>
270
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
271
- <b>noButton</b> = 0xffffffff,
272
- <b>kbRangeBegin</b> = 0x01,
273
- <b>kbEscape</b> = 0x35,
274
- <br>
275
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
276
- <b>kbF2</b> = 0x78,
277
- <b>kbF3</b> = 0x63,
278
- <b>kbF4</b> = 0x76,
279
- <br>
280
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
281
- <b>kbF6</b> = 0x61,
282
- <b>kbF7</b> = 0x62,
283
- <b>kbF8</b> = 0x64,
284
- <br>
285
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
286
- <b>kbF10</b> = 0x6d,
287
- <b>kbF11</b> = 0x67,
288
- <b>kbF12</b> = 0x6f,
289
- <br>
290
- &nbsp;&nbsp;<b>kb0</b> = 0x1d,
291
- <b>kb1</b> = 0x12,
292
- <b>kb2</b> = 0x13,
293
- <b>kb3</b> = 0x14,
294
- <br>
295
- &nbsp;&nbsp;<b>kb4</b> = 0x15,
296
- <b>kb5</b> = 0x17,
297
- <b>kb6</b> = 0x16,
298
- <b>kb7</b> = 0x1a,
299
- <br>
300
- &nbsp;&nbsp;<b>kb8</b> = 0x1c,
301
- <b>kb9</b> = 0x19,
302
- <b>kbTab</b> = 0x30,
303
- <b>kbReturn</b> = 0x24,
304
- <br>
305
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
306
- <b>kbLeftShift</b> = 0x38,
307
- <b>kbRightShift</b> = 0x3c,
308
- <b>kbLeftControl</b> = 0x3b,
309
- <br>
310
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
311
- <b>kbLeftAlt</b> = 0x3a,
312
- <b>kbRightAlt</b> = 0x3d,
313
- <b>kbLeftMeta</b> = 0x37,
314
- <br>
315
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
316
- <b>kbBackspace</b> = 0x33,
317
- <b>kbLeft</b> = 0x7b,
318
- <b>kbRight</b> = 0x7c,
319
- <br>
320
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
321
- <b>kbDown</b> = 0x7d,
322
- <b>kbHome</b> = 0x73,
323
- <b>kbEnd</b> = 0x77,
324
- <br>
325
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
326
- <b>kbDelete</b> = 0x75,
327
- <b>kbPageUp</b> = 0x74,
328
- <b>kbPageDown</b> = 0x79,
329
- <br>
330
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
331
- <b>kbA</b> = 0x00,
332
- <b>kbB</b> = 0x0b,
333
- <b>kbC</b> = 0x08,
334
- <br>
335
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
336
- <b>kbE</b> = 0x0e,
337
- <b>kbF</b> = 0x03,
338
- <b>kbG</b> = 0x05,
339
- <br>
340
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
341
- <b>kbI</b> = 0x22,
342
- <b>kbJ</b> = 0x26,
343
- <b>kbK</b> = 0x28,
344
- <br>
345
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
346
- <b>kbM</b> = 0x2e,
347
- <b>kbN</b> = 0x2d,
348
- <b>kbO</b> = 0x1f,
349
- <br>
350
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
351
- <b>kbQ</b> = 0x0c,
352
- <b>kbR</b> = 0x0f,
353
- <b>kbS</b> = 0x01,
354
- <br>
355
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
356
- <b>kbU</b> = 0x20,
357
- <b>kbV</b> = 0x09,
358
- <b>kbW</b> = 0x0d,
359
- <br>
360
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
361
- <b>kbY</b> = 0x10,
362
- <b>kbZ</b> = 0x06,
363
- <b>kbNumpad0</b> = 0x52,
364
- <br>
365
- &nbsp;&nbsp;<b>kbNumpad1</b> = 0x53,
366
- <b>kbNumpad2</b> = 0x54,
367
- <b>kbNumpad3</b> = 0x55,
368
- <b>kbNumpad4</b> = 0x56,
369
- <br>
370
- &nbsp;&nbsp;<b>kbNumpad5</b> = 0x57,
371
- <b>kbNumpad6</b> = 0x58,
372
- <b>kbNumpad7</b> = 0x59,
373
- <b>kbNumpad8</b> = 0x5b,
374
- <br>
375
- &nbsp;&nbsp;<b>kbNumpad9</b> = 0x5c,
376
- <b>kbNumpadAdd</b> = 0x45,
377
- <b>kbNumpadSubtract</b> = 0x4e,
378
- <b>kbNumpadMultiply</b> = 0x43,
379
- <br>
380
- &nbsp;&nbsp;<b>kbNumpadDivide</b> = 0x4b,
381
- <b>kbRangeEnd</b> = 0xffff,
382
- <b>msRangeBegin</b>,
383
- <b>msLeft</b> = msRangeBegin,
384
- <br>
385
- &nbsp;&nbsp;<b>msRight</b>,
386
- <b>msMiddle</b>,
387
- <b>msWheelUp</b>,
388
- <b>msWheelDown</b>,
389
- <br>
390
- &nbsp;&nbsp;<b>msRangeEnd</b>,
391
- <b>gpRangeBegin</b>,
392
- <b>gpLeft</b> = gpRangeBegin,
393
- <b>gpRight</b>,
394
- <br>
395
- &nbsp;&nbsp;<b>gpUp</b>,
396
- <b>gpDown</b>,
397
- <b>gpButton0</b>,
398
- <b>gpButton1</b>,
399
- <br>
400
- &nbsp;&nbsp;<b>gpButton2</b>,
401
- <b>gpButton3</b>,
402
- <b>gpButton4</b>,
403
- <b>gpButton5</b>,
404
- <br>
405
- &nbsp;&nbsp;<b>gpButton6</b>,
406
- <b>gpButton7</b>,
407
- <b>gpButton8</b>,
408
- <b>gpButton9</b>,
409
- <br>
410
- &nbsp;&nbsp;<b>gpButton10</b>,
411
- <b>gpButton11</b>,
412
- <b>gpButton12</b>,
413
- <b>gpButton13</b>,
414
- <br>
415
- &nbsp;&nbsp;<b>gpButton14</b>,
416
- <b>gpButton15</b>,
417
- <b>gpRangeEnd</b> = gpButton15,
418
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
419
- <br>
420
- &nbsp;&nbsp;<b>msNum</b> = msRangeEnd - msRangeBegin + 1,
421
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
422
- <b>numButtons</b> = gpRangeEnd + 1,
423
- <b>noButton</b> = 0xffffffff,
424
- <br>
425
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
426
- <b>kbA</b> = 0x00,
427
- <b>kbB</b> = 0x0b,
428
- <b>kbC</b> = 0x08,
429
- <br>
430
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
431
- <b>kbE</b> = 0x0e,
432
- <b>kbF</b> = 0x03,
433
- <b>kbG</b> = 0x05,
434
- <br>
435
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
436
- <b>kbI</b> = 0x22,
437
- <b>kbJ</b> = 0x26,
438
- <b>kbK</b> = 0x28,
439
- <br>
440
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
441
- <b>kbM</b> = 0x2e,
442
- <b>kbN</b> = 0x2d,
443
- <b>kbO</b> = 0x1f,
444
- <br>
445
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
446
- <b>kbQ</b> = 0x0c,
447
- <b>kbR</b> = 0x0f,
448
- <b>kbS</b> = 0x01,
449
- <br>
450
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
451
- <b>kbU</b> = 0x20,
452
- <b>kbV</b> = 0x09,
453
- <b>kbW</b> = 0x0d,
454
- <br>
455
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
456
- <b>kbY</b> = 0x10,
457
- <b>kbZ</b> = 0x06,
458
- <b>kbEscape</b> = 0x35,
459
- <br>
460
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
461
- <b>kbF2</b> = 0x78,
462
- <b>kbF3</b> = 0x63,
463
- <b>kbF4</b> = 0x76,
464
- <br>
465
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
466
- <b>kbF6</b> = 0x61,
467
- <b>kbF7</b> = 0x62,
468
- <b>kbF8</b> = 0x64,
469
- <br>
470
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
471
- <b>kbF10</b> = 0x6d,
472
- <b>kbF11</b> = 0x67,
473
- <b>kbF12</b> = 0x6f,
474
- <br>
475
- &nbsp;&nbsp;<b>kb1</b> = 0x12,
476
- <b>kb2</b> = 0x13,
477
- <b>kb3</b> = 0x14,
478
- <b>kb4</b> = 0x15,
479
- <br>
480
- &nbsp;&nbsp;<b>kb5</b> = 0x17,
481
- <b>kb6</b> = 0x16,
482
- <b>kb7</b> = 0x1a,
483
- <b>kb8</b> = 0x1c,
484
- <br>
485
- &nbsp;&nbsp;<b>kb9</b> = 0x19,
486
- <b>kb0</b> = 0x1d,
487
- <b>kbTab</b> = 0x30,
488
- <b>kbReturn</b> = 0x24,
489
- <br>
490
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
491
- <b>kbLeftShift</b> = 0x38,
492
- <b>kbRightShift</b> = 0x3c,
493
- <b>kbLeftControl</b> = 0x3b,
494
- <br>
495
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
496
- <b>kbLeftAlt</b> = 0x3a,
497
- <b>kbRightAlt</b> = 0x3d,
498
- <b>kbLeftMeta</b> = 0x37,
499
- <br>
500
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
501
- <b>kbBackspace</b> = 0x33,
502
- <b>kbLeft</b> = 0x7b,
503
- <b>kbRight</b> = 0x7c,
504
- <br>
505
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
506
- <b>kbDown</b> = 0x7d,
507
- <b>kbHome</b> = 0x73,
508
- <b>kbEnd</b> = 0x77,
509
- <br>
510
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
511
- <b>kbDelete</b> = 0x75,
512
- <b>kbPageUp</b> = 0x74,
513
- <b>kbPageDown</b> = 0x79,
514
- <br>
515
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
516
- <b>kbNumpad1</b> = 0x53,
517
- <b>kbNumpad2</b> = 0x54,
518
- <b>kbNumpad3</b> = 0x55,
519
- <br>
520
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
521
- <b>kbNumpad5</b> = 0x57,
522
- <b>kbNumpad6</b> = 0x58,
523
- <b>kbNumpad7</b> = 0x59,
524
- <br>
525
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
526
- <b>kbNumpad9</b> = 0x5c,
527
- <b>kbNumpad0</b> = 0x52,
528
- <b>kbNumpadAdd</b> = 0x45,
529
- <br>
530
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
531
- <b>kbNumpadMultiply</b> = 0x43,
532
- <b>kbNumpadDivide</b> = 0x4b,
533
- <b>kbRangeEnd</b> = 0xffff,
534
- <br>
535
- &nbsp;&nbsp;<b>msRangeBegin</b>,
536
- <b>msLeft</b> = msRangeBegin,
537
- <b>msRight</b>,
538
- <b>msMiddle</b>,
539
- <br>
540
- &nbsp;&nbsp;<b>msWheelUp</b>,
541
- <b>msWheelDown</b>,
542
- <b>msRangeEnd</b>,
543
- <b>gpRangeBegin</b>,
544
- <br>
545
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
546
- <b>gpRight</b>,
547
- <b>gpUp</b>,
548
- <b>gpDown</b>,
549
- <br>
550
- &nbsp;&nbsp;<b>gpButton0</b>,
551
- <b>gpButton1</b>,
552
- <b>gpButton2</b>,
553
- <b>gpButton3</b>,
554
- <br>
555
- &nbsp;&nbsp;<b>gpButton4</b>,
556
- <b>gpButton5</b>,
557
- <b>gpButton6</b>,
558
- <b>gpButton7</b>,
559
- <br>
560
- &nbsp;&nbsp;<b>gpButton8</b>,
561
- <b>gpButton9</b>,
562
- <b>gpButton10</b>,
563
- <b>gpButton11</b>,
564
- <br>
565
- &nbsp;&nbsp;<b>gpButton12</b>,
566
- <b>gpButton13</b>,
567
- <b>gpButton14</b>,
568
- <b>gpButton15</b>,
569
- <br>
570
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
571
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
572
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
573
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
574
- <br>
575
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
576
- <b>noButton</b> = 0xffffffff
577
- <br>
578
- }</td></tr>
579
-
580
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>ButtonName</b> { <br>
581
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
582
- <b>kbEscape</b> = 0x35,
583
- <b>kbF1</b> = 0x7a,
584
- <b>kbF2</b> = 0x78,
585
- <br>
586
- &nbsp;&nbsp;<b>kbF3</b> = 0x63,
587
- <b>kbF4</b> = 0x76,
588
- <b>kbF5</b> = 0x60,
589
- <b>kbF6</b> = 0x61,
590
- <br>
591
- &nbsp;&nbsp;<b>kbF7</b> = 0x62,
592
- <b>kbF8</b> = 0x64,
593
- <b>kbF9</b> = 0x65,
594
- <b>kbF10</b> = 0x6d,
595
- <br>
596
- &nbsp;&nbsp;<b>kbF11</b> = 0x67,
597
- <b>kbF12</b> = 0x6f,
598
- <b>kb1</b> = 0x12,
599
- <b>kb2</b> = 0x13,
600
- <br>
601
- &nbsp;&nbsp;<b>kb3</b> = 0x14,
602
- <b>kb4</b> = 0x15,
603
- <b>kb5</b> = 0x17,
604
- <b>kb6</b> = 0x16,
605
- <br>
606
- &nbsp;&nbsp;<b>kb7</b> = 0x1a,
607
- <b>kb8</b> = 0x1c,
608
- <b>kb9</b> = 0x19,
609
- <b>kb0</b> = 0x1d,
610
- <br>
611
- &nbsp;&nbsp;<b>kbA</b> = 0x00,
612
- <b>kbB</b> = 0x0b,
613
- <b>kbC</b> = 0x08,
614
- <b>kbD</b> = 0x02,
615
- <br>
616
- &nbsp;&nbsp;<b>kbE</b> = 0x0e,
617
- <b>kbF</b> = 0x03,
618
- <b>kbG</b> = 0x05,
619
- <b>kbH</b> = 0x04,
620
- <br>
621
- &nbsp;&nbsp;<b>kbI</b> = 0x22,
622
- <b>kbJ</b> = 0x26,
623
- <b>kbK</b> = 0x28,
624
- <b>kbL</b> = 0x25,
625
- <br>
626
- &nbsp;&nbsp;<b>kbM</b> = 0x2e,
627
- <b>kbN</b> = 0x2d,
628
- <b>kbO</b> = 0x1f,
629
- <b>kbP</b> = 0x23,
630
- <br>
631
- &nbsp;&nbsp;<b>kbQ</b> = 0x0c,
632
- <b>kbR</b> = 0x0f,
633
- <b>kbS</b> = 0x01,
634
- <b>kbT</b> = 0x11,
635
- <br>
636
- &nbsp;&nbsp;<b>kbU</b> = 0x20,
637
- <b>kbV</b> = 0x09,
638
- <b>kbW</b> = 0x0d,
639
- <b>kbX</b> = 0x07,
640
- <br>
641
- &nbsp;&nbsp;<b>kbY</b> = 0x10,
642
- <b>kbZ</b> = 0x06,
643
- <b>kbTab</b> = 0x30,
644
- <b>kbReturn</b> = 0x24,
645
- <br>
646
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
647
- <b>kbLeftShift</b> = 0x38,
648
- <b>kbRightShift</b> = 0x3c,
649
- <b>kbLeftControl</b> = 0x3b,
650
- <br>
651
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
652
- <b>kbLeftAlt</b> = 0x3a,
653
- <b>kbRightAlt</b> = 0x3d,
654
- <b>kbLeftMeta</b> = 0x37,
655
- <br>
656
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
657
- <b>kbBackspace</b> = 0x33,
658
- <b>kbLeft</b> = 0x7b,
659
- <b>kbRight</b> = 0x7c,
660
- <br>
661
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
662
- <b>kbDown</b> = 0x7d,
663
- <b>kbHome</b> = 0x73,
664
- <b>kbEnd</b> = 0x77,
665
- <br>
666
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
667
- <b>kbDelete</b> = 0x75,
668
- <b>kbPageUp</b> = 0x74,
669
- <b>kbPageDown</b> = 0x79,
670
- <br>
671
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
672
- <b>kbNumpad1</b> = 0x53,
673
- <b>kbNumpad2</b> = 0x54,
674
- <b>kbNumpad3</b> = 0x55,
675
- <br>
676
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
677
- <b>kbNumpad5</b> = 0x57,
678
- <b>kbNumpad6</b> = 0x58,
679
- <b>kbNumpad7</b> = 0x59,
680
- <br>
681
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
682
- <b>kbNumpad9</b> = 0x5c,
683
- <b>kbNumpad0</b> = 0x52,
684
- <b>kbNumpadAdd</b> = 0x45,
685
- <br>
686
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
687
- <b>kbNumpadMultiply</b> = 0x43,
688
- <b>kbNumpadDivide</b> = 0x4b,
689
- <b>kbRangeEnd</b> = 0xffff,
690
- <br>
691
- &nbsp;&nbsp;<b>msRangeBegin</b>,
692
- <b>msLeft</b> = msRangeBegin,
693
- <b>msRight</b>,
694
- <b>msMiddle</b>,
695
- <br>
696
- &nbsp;&nbsp;<b>msWheelUp</b>,
697
- <b>msWheelDown</b>,
698
- <b>msRangeEnd</b>,
699
- <b>gpRangeBegin</b>,
700
- <br>
701
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
702
- <b>gpRight</b>,
703
- <b>gpUp</b>,
704
- <b>gpDown</b>,
705
- <br>
706
- &nbsp;&nbsp;<b>gpButton0</b>,
707
- <b>gpButton1</b>,
708
- <b>gpButton2</b>,
709
- <b>gpButton3</b>,
710
- <br>
711
- &nbsp;&nbsp;<b>gpButton4</b>,
712
- <b>gpButton5</b>,
713
- <b>gpButton6</b>,
714
- <b>gpButton7</b>,
715
- <br>
716
- &nbsp;&nbsp;<b>gpButton8</b>,
717
- <b>gpButton9</b>,
718
- <b>gpButton10</b>,
719
- <b>gpButton11</b>,
720
- <br>
721
- &nbsp;&nbsp;<b>gpButton12</b>,
722
- <b>gpButton13</b>,
723
- <b>gpButton14</b>,
724
- <b>gpButton15</b>,
725
- <br>
726
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
727
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
728
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
729
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
730
- <br>
731
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
732
- <b>noButton</b> = 0xffffffff,
733
- <b>kbRangeBegin</b> = 0x01,
734
- <b>kbEscape</b> = 0x35,
735
- <br>
736
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
737
- <b>kbF2</b> = 0x78,
738
- <b>kbF3</b> = 0x63,
739
- <b>kbF4</b> = 0x76,
740
- <br>
741
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
742
- <b>kbF6</b> = 0x61,
743
- <b>kbF7</b> = 0x62,
744
- <b>kbF8</b> = 0x64,
745
- <br>
746
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
747
- <b>kbF10</b> = 0x6d,
748
- <b>kbF11</b> = 0x67,
749
- <b>kbF12</b> = 0x6f,
750
- <br>
751
- &nbsp;&nbsp;<b>kb0</b> = 0x1d,
752
- <b>kb1</b> = 0x12,
753
- <b>kb2</b> = 0x13,
754
- <b>kb3</b> = 0x14,
755
- <br>
756
- &nbsp;&nbsp;<b>kb4</b> = 0x15,
757
- <b>kb5</b> = 0x17,
758
- <b>kb6</b> = 0x16,
759
- <b>kb7</b> = 0x1a,
760
- <br>
761
- &nbsp;&nbsp;<b>kb8</b> = 0x1c,
762
- <b>kb9</b> = 0x19,
763
- <b>kbTab</b> = 0x30,
764
- <b>kbReturn</b> = 0x24,
765
- <br>
766
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
767
- <b>kbLeftShift</b> = 0x38,
768
- <b>kbRightShift</b> = 0x3c,
769
- <b>kbLeftControl</b> = 0x3b,
770
- <br>
771
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
772
- <b>kbLeftAlt</b> = 0x3a,
773
- <b>kbRightAlt</b> = 0x3d,
774
- <b>kbLeftMeta</b> = 0x37,
775
- <br>
776
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
777
- <b>kbBackspace</b> = 0x33,
778
- <b>kbLeft</b> = 0x7b,
779
- <b>kbRight</b> = 0x7c,
780
- <br>
781
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
782
- <b>kbDown</b> = 0x7d,
783
- <b>kbHome</b> = 0x73,
784
- <b>kbEnd</b> = 0x77,
785
- <br>
786
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
787
- <b>kbDelete</b> = 0x75,
788
- <b>kbPageUp</b> = 0x74,
789
- <b>kbPageDown</b> = 0x79,
790
- <br>
791
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
792
- <b>kbA</b> = 0x00,
793
- <b>kbB</b> = 0x0b,
794
- <b>kbC</b> = 0x08,
795
- <br>
796
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
797
- <b>kbE</b> = 0x0e,
798
- <b>kbF</b> = 0x03,
799
- <b>kbG</b> = 0x05,
800
- <br>
801
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
802
- <b>kbI</b> = 0x22,
803
- <b>kbJ</b> = 0x26,
804
- <b>kbK</b> = 0x28,
805
- <br>
806
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
807
- <b>kbM</b> = 0x2e,
808
- <b>kbN</b> = 0x2d,
809
- <b>kbO</b> = 0x1f,
810
- <br>
811
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
812
- <b>kbQ</b> = 0x0c,
813
- <b>kbR</b> = 0x0f,
814
- <b>kbS</b> = 0x01,
815
- <br>
816
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
817
- <b>kbU</b> = 0x20,
818
- <b>kbV</b> = 0x09,
819
- <b>kbW</b> = 0x0d,
820
- <br>
821
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
822
- <b>kbY</b> = 0x10,
823
- <b>kbZ</b> = 0x06,
824
- <b>kbNumpad0</b> = 0x52,
825
- <br>
826
- &nbsp;&nbsp;<b>kbNumpad1</b> = 0x53,
827
- <b>kbNumpad2</b> = 0x54,
828
- <b>kbNumpad3</b> = 0x55,
829
- <b>kbNumpad4</b> = 0x56,
830
- <br>
831
- &nbsp;&nbsp;<b>kbNumpad5</b> = 0x57,
832
- <b>kbNumpad6</b> = 0x58,
833
- <b>kbNumpad7</b> = 0x59,
834
- <b>kbNumpad8</b> = 0x5b,
835
- <br>
836
- &nbsp;&nbsp;<b>kbNumpad9</b> = 0x5c,
837
- <b>kbNumpadAdd</b> = 0x45,
838
- <b>kbNumpadSubtract</b> = 0x4e,
839
- <b>kbNumpadMultiply</b> = 0x43,
840
- <br>
841
- &nbsp;&nbsp;<b>kbNumpadDivide</b> = 0x4b,
842
- <b>kbRangeEnd</b> = 0xffff,
843
- <b>msRangeBegin</b>,
844
- <b>msLeft</b> = msRangeBegin,
845
- <br>
846
- &nbsp;&nbsp;<b>msRight</b>,
847
- <b>msMiddle</b>,
848
- <b>msWheelUp</b>,
849
- <b>msWheelDown</b>,
850
- <br>
851
- &nbsp;&nbsp;<b>msRangeEnd</b>,
852
- <b>gpRangeBegin</b>,
853
- <b>gpLeft</b> = gpRangeBegin,
854
- <b>gpRight</b>,
855
- <br>
856
- &nbsp;&nbsp;<b>gpUp</b>,
857
- <b>gpDown</b>,
858
- <b>gpButton0</b>,
859
- <b>gpButton1</b>,
860
- <br>
861
- &nbsp;&nbsp;<b>gpButton2</b>,
862
- <b>gpButton3</b>,
863
- <b>gpButton4</b>,
864
- <b>gpButton5</b>,
865
- <br>
866
- &nbsp;&nbsp;<b>gpButton6</b>,
867
- <b>gpButton7</b>,
868
- <b>gpButton8</b>,
869
- <b>gpButton9</b>,
870
- <br>
871
- &nbsp;&nbsp;<b>gpButton10</b>,
872
- <b>gpButton11</b>,
873
- <b>gpButton12</b>,
874
- <b>gpButton13</b>,
875
- <br>
876
- &nbsp;&nbsp;<b>gpButton14</b>,
877
- <b>gpButton15</b>,
878
- <b>gpRangeEnd</b> = gpButton15,
879
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
880
- <br>
881
- &nbsp;&nbsp;<b>msNum</b> = msRangeEnd - msRangeBegin + 1,
882
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
883
- <b>numButtons</b> = gpRangeEnd + 1,
884
- <b>noButton</b> = 0xffffffff,
885
- <br>
886
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
887
- <b>kbA</b> = 0x00,
888
- <b>kbB</b> = 0x0b,
889
- <b>kbC</b> = 0x08,
890
- <br>
891
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
892
- <b>kbE</b> = 0x0e,
893
- <b>kbF</b> = 0x03,
894
- <b>kbG</b> = 0x05,
895
- <br>
896
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
897
- <b>kbI</b> = 0x22,
898
- <b>kbJ</b> = 0x26,
899
- <b>kbK</b> = 0x28,
900
- <br>
901
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
902
- <b>kbM</b> = 0x2e,
903
- <b>kbN</b> = 0x2d,
904
- <b>kbO</b> = 0x1f,
905
- <br>
906
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
907
- <b>kbQ</b> = 0x0c,
908
- <b>kbR</b> = 0x0f,
909
- <b>kbS</b> = 0x01,
910
- <br>
911
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
912
- <b>kbU</b> = 0x20,
913
- <b>kbV</b> = 0x09,
914
- <b>kbW</b> = 0x0d,
915
- <br>
916
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
917
- <b>kbY</b> = 0x10,
918
- <b>kbZ</b> = 0x06,
919
- <b>kbEscape</b> = 0x35,
920
- <br>
921
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
922
- <b>kbF2</b> = 0x78,
923
- <b>kbF3</b> = 0x63,
924
- <b>kbF4</b> = 0x76,
925
- <br>
926
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
927
- <b>kbF6</b> = 0x61,
928
- <b>kbF7</b> = 0x62,
929
- <b>kbF8</b> = 0x64,
930
- <br>
931
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
932
- <b>kbF10</b> = 0x6d,
933
- <b>kbF11</b> = 0x67,
934
- <b>kbF12</b> = 0x6f,
935
- <br>
936
- &nbsp;&nbsp;<b>kb1</b> = 0x12,
937
- <b>kb2</b> = 0x13,
938
- <b>kb3</b> = 0x14,
939
- <b>kb4</b> = 0x15,
940
- <br>
941
- &nbsp;&nbsp;<b>kb5</b> = 0x17,
942
- <b>kb6</b> = 0x16,
943
- <b>kb7</b> = 0x1a,
944
- <b>kb8</b> = 0x1c,
945
- <br>
946
- &nbsp;&nbsp;<b>kb9</b> = 0x19,
947
- <b>kb0</b> = 0x1d,
948
- <b>kbTab</b> = 0x30,
949
- <b>kbReturn</b> = 0x24,
950
- <br>
951
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
952
- <b>kbLeftShift</b> = 0x38,
953
- <b>kbRightShift</b> = 0x3c,
954
- <b>kbLeftControl</b> = 0x3b,
955
- <br>
956
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
957
- <b>kbLeftAlt</b> = 0x3a,
958
- <b>kbRightAlt</b> = 0x3d,
959
- <b>kbLeftMeta</b> = 0x37,
960
- <br>
961
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
962
- <b>kbBackspace</b> = 0x33,
963
- <b>kbLeft</b> = 0x7b,
964
- <b>kbRight</b> = 0x7c,
965
- <br>
966
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
967
- <b>kbDown</b> = 0x7d,
968
- <b>kbHome</b> = 0x73,
969
- <b>kbEnd</b> = 0x77,
970
- <br>
971
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
972
- <b>kbDelete</b> = 0x75,
973
- <b>kbPageUp</b> = 0x74,
974
- <b>kbPageDown</b> = 0x79,
975
- <br>
976
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
977
- <b>kbNumpad1</b> = 0x53,
978
- <b>kbNumpad2</b> = 0x54,
979
- <b>kbNumpad3</b> = 0x55,
980
- <br>
981
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
982
- <b>kbNumpad5</b> = 0x57,
983
- <b>kbNumpad6</b> = 0x58,
984
- <b>kbNumpad7</b> = 0x59,
985
- <br>
986
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
987
- <b>kbNumpad9</b> = 0x5c,
988
- <b>kbNumpad0</b> = 0x52,
989
- <b>kbNumpadAdd</b> = 0x45,
990
- <br>
991
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
992
- <b>kbNumpadMultiply</b> = 0x43,
993
- <b>kbNumpadDivide</b> = 0x4b,
994
- <b>kbRangeEnd</b> = 0xffff,
995
- <br>
996
- &nbsp;&nbsp;<b>msRangeBegin</b>,
997
- <b>msLeft</b> = msRangeBegin,
998
- <b>msRight</b>,
999
- <b>msMiddle</b>,
1000
- <br>
1001
- &nbsp;&nbsp;<b>msWheelUp</b>,
1002
- <b>msWheelDown</b>,
1003
- <b>msRangeEnd</b>,
1004
- <b>gpRangeBegin</b>,
1005
- <br>
1006
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
1007
- <b>gpRight</b>,
1008
- <b>gpUp</b>,
1009
- <b>gpDown</b>,
1010
- <br>
1011
- &nbsp;&nbsp;<b>gpButton0</b>,
1012
- <b>gpButton1</b>,
1013
- <b>gpButton2</b>,
1014
- <b>gpButton3</b>,
1015
- <br>
1016
- &nbsp;&nbsp;<b>gpButton4</b>,
1017
- <b>gpButton5</b>,
1018
- <b>gpButton6</b>,
1019
- <b>gpButton7</b>,
1020
- <br>
1021
- &nbsp;&nbsp;<b>gpButton8</b>,
1022
- <b>gpButton9</b>,
1023
- <b>gpButton10</b>,
1024
- <b>gpButton11</b>,
1025
- <br>
1026
- &nbsp;&nbsp;<b>gpButton12</b>,
1027
- <b>gpButton13</b>,
1028
- <b>gpButton14</b>,
1029
- <b>gpButton15</b>,
1030
- <br>
1031
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
1032
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
1033
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
1034
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
1035
- <br>
1036
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
1037
- <b>noButton</b> = 0xffffffff
1038
- <br>
1039
- }</td></tr>
1040
-
1041
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a> { <br>
1042
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
1043
- <b>kbEscape</b> = 0x35,
1044
- <b>kbF1</b> = 0x7a,
1045
- <b>kbF2</b> = 0x78,
1046
- <br>
1047
- &nbsp;&nbsp;<b>kbF3</b> = 0x63,
1048
- <b>kbF4</b> = 0x76,
1049
- <b>kbF5</b> = 0x60,
1050
- <b>kbF6</b> = 0x61,
1051
- <br>
1052
- &nbsp;&nbsp;<b>kbF7</b> = 0x62,
1053
- <b>kbF8</b> = 0x64,
1054
- <b>kbF9</b> = 0x65,
1055
- <b>kbF10</b> = 0x6d,
1056
- <br>
1057
- &nbsp;&nbsp;<b>kbF11</b> = 0x67,
1058
- <b>kbF12</b> = 0x6f,
1059
- <b>kb1</b> = 0x12,
1060
- <b>kb2</b> = 0x13,
1061
- <br>
1062
- &nbsp;&nbsp;<b>kb3</b> = 0x14,
1063
- <b>kb4</b> = 0x15,
1064
- <b>kb5</b> = 0x17,
1065
- <b>kb6</b> = 0x16,
1066
- <br>
1067
- &nbsp;&nbsp;<b>kb7</b> = 0x1a,
1068
- <b>kb8</b> = 0x1c,
1069
- <b>kb9</b> = 0x19,
1070
- <b>kb0</b> = 0x1d,
1071
- <br>
1072
- &nbsp;&nbsp;<b>kbA</b> = 0x00,
1073
- <b>kbB</b> = 0x0b,
1074
- <b>kbC</b> = 0x08,
1075
- <b>kbD</b> = 0x02,
1076
- <br>
1077
- &nbsp;&nbsp;<b>kbE</b> = 0x0e,
1078
- <b>kbF</b> = 0x03,
1079
- <b>kbG</b> = 0x05,
1080
- <b>kbH</b> = 0x04,
1081
- <br>
1082
- &nbsp;&nbsp;<b>kbI</b> = 0x22,
1083
- <b>kbJ</b> = 0x26,
1084
- <b>kbK</b> = 0x28,
1085
- <b>kbL</b> = 0x25,
1086
- <br>
1087
- &nbsp;&nbsp;<b>kbM</b> = 0x2e,
1088
- <b>kbN</b> = 0x2d,
1089
- <b>kbO</b> = 0x1f,
1090
- <b>kbP</b> = 0x23,
1091
- <br>
1092
- &nbsp;&nbsp;<b>kbQ</b> = 0x0c,
1093
- <b>kbR</b> = 0x0f,
1094
- <b>kbS</b> = 0x01,
1095
- <b>kbT</b> = 0x11,
1096
- <br>
1097
- &nbsp;&nbsp;<b>kbU</b> = 0x20,
1098
- <b>kbV</b> = 0x09,
1099
- <b>kbW</b> = 0x0d,
1100
- <b>kbX</b> = 0x07,
1101
- <br>
1102
- &nbsp;&nbsp;<b>kbY</b> = 0x10,
1103
- <b>kbZ</b> = 0x06,
1104
- <b>kbTab</b> = 0x30,
1105
- <b>kbReturn</b> = 0x24,
1106
- <br>
1107
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
1108
- <b>kbLeftShift</b> = 0x38,
1109
- <b>kbRightShift</b> = 0x3c,
1110
- <b>kbLeftControl</b> = 0x3b,
1111
- <br>
1112
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
1113
- <b>kbLeftAlt</b> = 0x3a,
1114
- <b>kbRightAlt</b> = 0x3d,
1115
- <b>kbLeftMeta</b> = 0x37,
1116
- <br>
1117
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
1118
- <b>kbBackspace</b> = 0x33,
1119
- <b>kbLeft</b> = 0x7b,
1120
- <b>kbRight</b> = 0x7c,
1121
- <br>
1122
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
1123
- <b>kbDown</b> = 0x7d,
1124
- <b>kbHome</b> = 0x73,
1125
- <b>kbEnd</b> = 0x77,
1126
- <br>
1127
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
1128
- <b>kbDelete</b> = 0x75,
1129
- <b>kbPageUp</b> = 0x74,
1130
- <b>kbPageDown</b> = 0x79,
1131
- <br>
1132
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
1133
- <b>kbNumpad1</b> = 0x53,
1134
- <b>kbNumpad2</b> = 0x54,
1135
- <b>kbNumpad3</b> = 0x55,
1136
- <br>
1137
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
1138
- <b>kbNumpad5</b> = 0x57,
1139
- <b>kbNumpad6</b> = 0x58,
1140
- <b>kbNumpad7</b> = 0x59,
1141
- <br>
1142
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
1143
- <b>kbNumpad9</b> = 0x5c,
1144
- <b>kbNumpad0</b> = 0x52,
1145
- <b>kbNumpadAdd</b> = 0x45,
1146
- <br>
1147
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
1148
- <b>kbNumpadMultiply</b> = 0x43,
1149
- <b>kbNumpadDivide</b> = 0x4b,
1150
- <b>kbRangeEnd</b> = 0xffff,
1151
- <br>
1152
- &nbsp;&nbsp;<b>msRangeBegin</b>,
1153
- <b>msLeft</b> = msRangeBegin,
1154
- <b>msRight</b>,
1155
- <b>msMiddle</b>,
1156
- <br>
1157
- &nbsp;&nbsp;<b>msWheelUp</b>,
1158
- <b>msWheelDown</b>,
1159
- <b>msRangeEnd</b>,
1160
- <b>gpRangeBegin</b>,
1161
- <br>
1162
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
1163
- <b>gpRight</b>,
1164
- <b>gpUp</b>,
1165
- <b>gpDown</b>,
1166
- <br>
1167
- &nbsp;&nbsp;<b>gpButton0</b>,
1168
- <b>gpButton1</b>,
1169
- <b>gpButton2</b>,
1170
- <b>gpButton3</b>,
1171
- <br>
1172
- &nbsp;&nbsp;<b>gpButton4</b>,
1173
- <b>gpButton5</b>,
1174
- <b>gpButton6</b>,
1175
- <b>gpButton7</b>,
1176
- <br>
1177
- &nbsp;&nbsp;<b>gpButton8</b>,
1178
- <b>gpButton9</b>,
1179
- <b>gpButton10</b>,
1180
- <b>gpButton11</b>,
1181
- <br>
1182
- &nbsp;&nbsp;<b>gpButton12</b>,
1183
- <b>gpButton13</b>,
1184
- <b>gpButton14</b>,
1185
- <b>gpButton15</b>,
1186
- <br>
1187
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
1188
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
1189
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
1190
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
1191
- <br>
1192
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
1193
- <b>noButton</b> = 0xffffffff,
1194
- <b>kbRangeBegin</b> = 0x01,
1195
- <b>kbEscape</b> = 0x35,
1196
- <br>
1197
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
1198
- <b>kbF2</b> = 0x78,
1199
- <b>kbF3</b> = 0x63,
1200
- <b>kbF4</b> = 0x76,
1201
- <br>
1202
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
1203
- <b>kbF6</b> = 0x61,
1204
- <b>kbF7</b> = 0x62,
1205
- <b>kbF8</b> = 0x64,
1206
- <br>
1207
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
1208
- <b>kbF10</b> = 0x6d,
1209
- <b>kbF11</b> = 0x67,
1210
- <b>kbF12</b> = 0x6f,
1211
- <br>
1212
- &nbsp;&nbsp;<b>kb0</b> = 0x1d,
1213
- <b>kb1</b> = 0x12,
1214
- <b>kb2</b> = 0x13,
1215
- <b>kb3</b> = 0x14,
1216
- <br>
1217
- &nbsp;&nbsp;<b>kb4</b> = 0x15,
1218
- <b>kb5</b> = 0x17,
1219
- <b>kb6</b> = 0x16,
1220
- <b>kb7</b> = 0x1a,
1221
- <br>
1222
- &nbsp;&nbsp;<b>kb8</b> = 0x1c,
1223
- <b>kb9</b> = 0x19,
1224
- <b>kbTab</b> = 0x30,
1225
- <b>kbReturn</b> = 0x24,
1226
- <br>
1227
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
1228
- <b>kbLeftShift</b> = 0x38,
1229
- <b>kbRightShift</b> = 0x3c,
1230
- <b>kbLeftControl</b> = 0x3b,
1231
- <br>
1232
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
1233
- <b>kbLeftAlt</b> = 0x3a,
1234
- <b>kbRightAlt</b> = 0x3d,
1235
- <b>kbLeftMeta</b> = 0x37,
1236
- <br>
1237
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
1238
- <b>kbBackspace</b> = 0x33,
1239
- <b>kbLeft</b> = 0x7b,
1240
- <b>kbRight</b> = 0x7c,
1241
- <br>
1242
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
1243
- <b>kbDown</b> = 0x7d,
1244
- <b>kbHome</b> = 0x73,
1245
- <b>kbEnd</b> = 0x77,
1246
- <br>
1247
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
1248
- <b>kbDelete</b> = 0x75,
1249
- <b>kbPageUp</b> = 0x74,
1250
- <b>kbPageDown</b> = 0x79,
1251
- <br>
1252
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
1253
- <b>kbA</b> = 0x00,
1254
- <b>kbB</b> = 0x0b,
1255
- <b>kbC</b> = 0x08,
1256
- <br>
1257
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
1258
- <b>kbE</b> = 0x0e,
1259
- <b>kbF</b> = 0x03,
1260
- <b>kbG</b> = 0x05,
1261
- <br>
1262
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
1263
- <b>kbI</b> = 0x22,
1264
- <b>kbJ</b> = 0x26,
1265
- <b>kbK</b> = 0x28,
1266
- <br>
1267
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
1268
- <b>kbM</b> = 0x2e,
1269
- <b>kbN</b> = 0x2d,
1270
- <b>kbO</b> = 0x1f,
1271
- <br>
1272
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
1273
- <b>kbQ</b> = 0x0c,
1274
- <b>kbR</b> = 0x0f,
1275
- <b>kbS</b> = 0x01,
1276
- <br>
1277
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
1278
- <b>kbU</b> = 0x20,
1279
- <b>kbV</b> = 0x09,
1280
- <b>kbW</b> = 0x0d,
1281
- <br>
1282
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
1283
- <b>kbY</b> = 0x10,
1284
- <b>kbZ</b> = 0x06,
1285
- <b>kbNumpad0</b> = 0x52,
1286
- <br>
1287
- &nbsp;&nbsp;<b>kbNumpad1</b> = 0x53,
1288
- <b>kbNumpad2</b> = 0x54,
1289
- <b>kbNumpad3</b> = 0x55,
1290
- <b>kbNumpad4</b> = 0x56,
1291
- <br>
1292
- &nbsp;&nbsp;<b>kbNumpad5</b> = 0x57,
1293
- <b>kbNumpad6</b> = 0x58,
1294
- <b>kbNumpad7</b> = 0x59,
1295
- <b>kbNumpad8</b> = 0x5b,
1296
- <br>
1297
- &nbsp;&nbsp;<b>kbNumpad9</b> = 0x5c,
1298
- <b>kbNumpadAdd</b> = 0x45,
1299
- <b>kbNumpadSubtract</b> = 0x4e,
1300
- <b>kbNumpadMultiply</b> = 0x43,
1301
- <br>
1302
- &nbsp;&nbsp;<b>kbNumpadDivide</b> = 0x4b,
1303
- <b>kbRangeEnd</b> = 0xffff,
1304
- <b>msRangeBegin</b>,
1305
- <b>msLeft</b> = msRangeBegin,
1306
- <br>
1307
- &nbsp;&nbsp;<b>msRight</b>,
1308
- <b>msMiddle</b>,
1309
- <b>msWheelUp</b>,
1310
- <b>msWheelDown</b>,
1311
- <br>
1312
- &nbsp;&nbsp;<b>msRangeEnd</b>,
1313
- <b>gpRangeBegin</b>,
1314
- <b>gpLeft</b> = gpRangeBegin,
1315
- <b>gpRight</b>,
1316
- <br>
1317
- &nbsp;&nbsp;<b>gpUp</b>,
1318
- <b>gpDown</b>,
1319
- <b>gpButton0</b>,
1320
- <b>gpButton1</b>,
1321
- <br>
1322
- &nbsp;&nbsp;<b>gpButton2</b>,
1323
- <b>gpButton3</b>,
1324
- <b>gpButton4</b>,
1325
- <b>gpButton5</b>,
1326
- <br>
1327
- &nbsp;&nbsp;<b>gpButton6</b>,
1328
- <b>gpButton7</b>,
1329
- <b>gpButton8</b>,
1330
- <b>gpButton9</b>,
1331
- <br>
1332
- &nbsp;&nbsp;<b>gpButton10</b>,
1333
- <b>gpButton11</b>,
1334
- <b>gpButton12</b>,
1335
- <b>gpButton13</b>,
1336
- <br>
1337
- &nbsp;&nbsp;<b>gpButton14</b>,
1338
- <b>gpButton15</b>,
1339
- <b>gpRangeEnd</b> = gpButton15,
1340
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
1341
- <br>
1342
- &nbsp;&nbsp;<b>msNum</b> = msRangeEnd - msRangeBegin + 1,
1343
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
1344
- <b>numButtons</b> = gpRangeEnd + 1,
1345
- <b>noButton</b> = 0xffffffff,
1346
- <br>
1347
- &nbsp;&nbsp;<b>kbRangeBegin</b> = 0x01,
1348
- <b>kbA</b> = 0x00,
1349
- <b>kbB</b> = 0x0b,
1350
- <b>kbC</b> = 0x08,
1351
- <br>
1352
- &nbsp;&nbsp;<b>kbD</b> = 0x02,
1353
- <b>kbE</b> = 0x0e,
1354
- <b>kbF</b> = 0x03,
1355
- <b>kbG</b> = 0x05,
1356
- <br>
1357
- &nbsp;&nbsp;<b>kbH</b> = 0x04,
1358
- <b>kbI</b> = 0x22,
1359
- <b>kbJ</b> = 0x26,
1360
- <b>kbK</b> = 0x28,
1361
- <br>
1362
- &nbsp;&nbsp;<b>kbL</b> = 0x25,
1363
- <b>kbM</b> = 0x2e,
1364
- <b>kbN</b> = 0x2d,
1365
- <b>kbO</b> = 0x1f,
1366
- <br>
1367
- &nbsp;&nbsp;<b>kbP</b> = 0x23,
1368
- <b>kbQ</b> = 0x0c,
1369
- <b>kbR</b> = 0x0f,
1370
- <b>kbS</b> = 0x01,
1371
- <br>
1372
- &nbsp;&nbsp;<b>kbT</b> = 0x11,
1373
- <b>kbU</b> = 0x20,
1374
- <b>kbV</b> = 0x09,
1375
- <b>kbW</b> = 0x0d,
1376
- <br>
1377
- &nbsp;&nbsp;<b>kbX</b> = 0x07,
1378
- <b>kbY</b> = 0x10,
1379
- <b>kbZ</b> = 0x06,
1380
- <b>kbEscape</b> = 0x35,
1381
- <br>
1382
- &nbsp;&nbsp;<b>kbF1</b> = 0x7a,
1383
- <b>kbF2</b> = 0x78,
1384
- <b>kbF3</b> = 0x63,
1385
- <b>kbF4</b> = 0x76,
1386
- <br>
1387
- &nbsp;&nbsp;<b>kbF5</b> = 0x60,
1388
- <b>kbF6</b> = 0x61,
1389
- <b>kbF7</b> = 0x62,
1390
- <b>kbF8</b> = 0x64,
1391
- <br>
1392
- &nbsp;&nbsp;<b>kbF9</b> = 0x65,
1393
- <b>kbF10</b> = 0x6d,
1394
- <b>kbF11</b> = 0x67,
1395
- <b>kbF12</b> = 0x6f,
1396
- <br>
1397
- &nbsp;&nbsp;<b>kb1</b> = 0x12,
1398
- <b>kb2</b> = 0x13,
1399
- <b>kb3</b> = 0x14,
1400
- <b>kb4</b> = 0x15,
1401
- <br>
1402
- &nbsp;&nbsp;<b>kb5</b> = 0x17,
1403
- <b>kb6</b> = 0x16,
1404
- <b>kb7</b> = 0x1a,
1405
- <b>kb8</b> = 0x1c,
1406
- <br>
1407
- &nbsp;&nbsp;<b>kb9</b> = 0x19,
1408
- <b>kb0</b> = 0x1d,
1409
- <b>kbTab</b> = 0x30,
1410
- <b>kbReturn</b> = 0x24,
1411
- <br>
1412
- &nbsp;&nbsp;<b>kbSpace</b> = 0x31,
1413
- <b>kbLeftShift</b> = 0x38,
1414
- <b>kbRightShift</b> = 0x3c,
1415
- <b>kbLeftControl</b> = 0x3b,
1416
- <br>
1417
- &nbsp;&nbsp;<b>kbRightControl</b> = 0x3e,
1418
- <b>kbLeftAlt</b> = 0x3a,
1419
- <b>kbRightAlt</b> = 0x3d,
1420
- <b>kbLeftMeta</b> = 0x37,
1421
- <br>
1422
- &nbsp;&nbsp;<b>kbRightMeta</b> = 0x36,
1423
- <b>kbBackspace</b> = 0x33,
1424
- <b>kbLeft</b> = 0x7b,
1425
- <b>kbRight</b> = 0x7c,
1426
- <br>
1427
- &nbsp;&nbsp;<b>kbUp</b> = 0x7e,
1428
- <b>kbDown</b> = 0x7d,
1429
- <b>kbHome</b> = 0x73,
1430
- <b>kbEnd</b> = 0x77,
1431
- <br>
1432
- &nbsp;&nbsp;<b>kbInsert</b> = 0x72,
1433
- <b>kbDelete</b> = 0x75,
1434
- <b>kbPageUp</b> = 0x74,
1435
- <b>kbPageDown</b> = 0x79,
1436
- <br>
1437
- &nbsp;&nbsp;<b>kbEnter</b> = 0x4c,
1438
- <b>kbNumpad1</b> = 0x53,
1439
- <b>kbNumpad2</b> = 0x54,
1440
- <b>kbNumpad3</b> = 0x55,
1441
- <br>
1442
- &nbsp;&nbsp;<b>kbNumpad4</b> = 0x56,
1443
- <b>kbNumpad5</b> = 0x57,
1444
- <b>kbNumpad6</b> = 0x58,
1445
- <b>kbNumpad7</b> = 0x59,
1446
- <br>
1447
- &nbsp;&nbsp;<b>kbNumpad8</b> = 0x5b,
1448
- <b>kbNumpad9</b> = 0x5c,
1449
- <b>kbNumpad0</b> = 0x52,
1450
- <b>kbNumpadAdd</b> = 0x45,
1451
- <br>
1452
- &nbsp;&nbsp;<b>kbNumpadSubtract</b> = 0x4e,
1453
- <b>kbNumpadMultiply</b> = 0x43,
1454
- <b>kbNumpadDivide</b> = 0x4b,
1455
- <b>kbRangeEnd</b> = 0xffff,
1456
- <br>
1457
- &nbsp;&nbsp;<b>msRangeBegin</b>,
1458
- <b>msLeft</b> = msRangeBegin,
1459
- <b>msRight</b>,
1460
- <b>msMiddle</b>,
1461
- <br>
1462
- &nbsp;&nbsp;<b>msWheelUp</b>,
1463
- <b>msWheelDown</b>,
1464
- <b>msRangeEnd</b>,
1465
- <b>gpRangeBegin</b>,
1466
- <br>
1467
- &nbsp;&nbsp;<b>gpLeft</b> = gpRangeBegin,
1468
- <b>gpRight</b>,
1469
- <b>gpUp</b>,
1470
- <b>gpDown</b>,
1471
- <br>
1472
- &nbsp;&nbsp;<b>gpButton0</b>,
1473
- <b>gpButton1</b>,
1474
- <b>gpButton2</b>,
1475
- <b>gpButton3</b>,
1476
- <br>
1477
- &nbsp;&nbsp;<b>gpButton4</b>,
1478
- <b>gpButton5</b>,
1479
- <b>gpButton6</b>,
1480
- <b>gpButton7</b>,
1481
- <br>
1482
- &nbsp;&nbsp;<b>gpButton8</b>,
1483
- <b>gpButton9</b>,
1484
- <b>gpButton10</b>,
1485
- <b>gpButton11</b>,
1486
- <br>
1487
- &nbsp;&nbsp;<b>gpButton12</b>,
1488
- <b>gpButton13</b>,
1489
- <b>gpButton14</b>,
1490
- <b>gpButton15</b>,
1491
- <br>
1492
- &nbsp;&nbsp;<b>gpRangeEnd</b> = gpButton15,
1493
- <b>kbNum</b> = kbRangeEnd - kbRangeBegin + 1,
1494
- <b>msNum</b> = msRangeEnd - msRangeBegin + 1,
1495
- <b>gpNum</b> = gpRangeEnd - gpRangeBegin + 1,
1496
- <br>
1497
- &nbsp;&nbsp;<b>numButtons</b> = gpRangeEnd + 1,
1498
- <b>noButton</b> = 0xffffffff
1499
- <br>
1500
- }</td></tr>
1501
-
1502
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82">BorderFlags</a> { <br>
1503
- &nbsp;&nbsp;<b>bfSoft</b> = 0,
1504
- <b>bfHardLeft</b> = 1,
1505
- <b>bfHardTop</b> = 2,
1506
- <b>bfHardRight</b> = 4,
1507
- <br>
1508
- &nbsp;&nbsp;<b>bfHardBottom</b> = 8,
1509
- <b>bfHard</b> = bfHardLeft | bfHardTop | bfHardRight | bfHardBottom
1510
- <br>
1511
- }</td></tr>
1512
-
1513
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">AlphaMode</a> { <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0">amDefault</a>,
1514
- <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b">amAdditive</a>
1515
- }</td></tr>
1516
-
1517
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>FontFlags</b> { <b>ffBold</b> = 1,
1518
- <b>ffItalic</b> = 2,
1519
- <b>ffUnderline</b> = 4
1520
- }</td></tr>
1521
-
1522
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>TextAlign</b> { <b>taLeft</b>,
1523
- <b>taRight</b>,
1524
- <b>taCenter</b>,
1525
- <b>taJustify</b>
1526
- }</td></tr>
1527
-
1528
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>ByteOrder</b> { <b>boLittle</b>,
1529
- <b>boBig</b>,
1530
- <b>boDontCare</b>
1531
- }</td></tr>
1532
-
1533
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3">FileMode</a> { <a class="el" href="namespaceGosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3fc1f3aa93dd976dd43582892a36629d8">fmRead</a>,
1534
- <a class="el" href="namespaceGosu.html#f3bd16cebaf102e43f576d0a0ca1fcc337d6ddaeba2138192b0ae84e0882a246">fmReplace</a>,
1535
- <a class="el" href="namespaceGosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3d09b16bbdaf86e8a38a7299abad2706d">fmAlter</a>
1536
- }</td></tr>
1537
-
1538
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>RotFlipName</b> { <br>
1539
- &nbsp;&nbsp;<b>rfDefault</b>,
1540
- <b>rfRotate90</b>,
1541
- <b>rfRotate180</b>,
1542
- <b>rfRotate270</b>,
1543
- <br>
1544
- &nbsp;&nbsp;<b>rfFlipX</b>,
1545
- <b>rfRotate90FlipX</b>,
1546
- <b>rfRotate180FlipX</b>,
1547
- <b>rfRotate270FlipX</b>,
1548
- <br>
1549
- &nbsp;&nbsp;<b>rfFlipY</b> = rfRotate180FlipX,
1550
- <b>rfRotate90FlipY</b> = rfRotate270FlipX,
1551
- <b>rfRotate180FlipY</b> = rfFlipX,
1552
- <b>rfRotate270FlipY</b> = rfRotate90FlipX,
1553
- <br>
1554
- &nbsp;&nbsp;<b>rfFlipXRotate90</b> = rfRotate270FlipX,
1555
- <b>rfFlipXRotate180</b> = rfRotate180FlipX,
1556
- <b>rfFlipXRotate270</b> = rfRotate90FlipX,
1557
- <b>rfFlipYRotate90</b> = rfRotate90FlipX,
1558
- <br>
1559
- &nbsp;&nbsp;<b>rfFlipYRotate180</b> = rfFlipX,
1560
- <b>rfFlipYRotate270</b> = rfRotate270FlipX
1561
- <br>
1562
- }</td></tr>
1563
-
1564
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>CommMode</b> { <b>cmRaw</b>,
1565
- <b>cmManaged</b>
1566
- }</td></tr>
1567
-
1568
- <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
1569
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0286ee79386c0f45a471eaee196d1b7f"></a><!-- doxytag: member="Gosu::asyncNewImage" ref="0286ee79386c0f45a471eaee196d1b7f" args="(Window &amp;window, const std::wstring &amp;filename)" -->
1570
- AsyncResult&lt; <a class="el" href="classGosu_1_1Image.html">Image</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>asyncNewImage</b> (<a class="el" href="classGosu_1_1Window.html">Window</a> &amp;window, const std::wstring &amp;filename)</td></tr>
1571
-
1572
- <tr><td class="memItemLeft" nowrap align="right" valign="top">Reader&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#5eb2a400728e57559f35615af17ead55">loadFromBMP</a> (<a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bmp, Reader reader)</td></tr>
1573
-
1574
- <tr><td class="memItemLeft" nowrap align="right" valign="top">Writer&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#88c53b6073e06c2ce343bf49579b02de">saveToBMP</a> (const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bmp, Writer writer)</td></tr>
1575
-
1576
- <tr><td class="memItemLeft" nowrap align="right" valign="top">Reader&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#1be1c9db6a1ecf3b5c62797079e49e70">loadFromPNG</a> (<a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bmp, Reader reader)</td></tr>
1577
-
1578
- <tr><td class="memItemLeft" nowrap align="right" valign="top">Writer&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#7c1a78c796335d8f2183a6694a911eb7">saveToPNG</a> (const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bmp, Writer writer)</td></tr>
1579
-
1580
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#97ea4128d29b9835243e69939085bfa5">applyColorKey</a> (<a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bitmap, <a class="el" href="classGosu_1_1Color.html">Color</a> key)</td></tr>
1581
-
1582
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="72957c040474b5afedd1af49b8f3a035"></a><!-- doxytag: member="Gosu::applyBorderFlags" ref="72957c040474b5afedd1af49b8f3a035" args="(Bitmap &amp;dest, const Bitmap &amp;source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags)" -->
1583
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>applyBorderFlags</b> (<a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;dest, const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;source, unsigned srcX, unsigned srcY, unsigned srcWidth, unsigned srcHeight, unsigned borderFlags)</td></tr>
1584
-
1585
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="263a114f352f439a3cbb0da9d52d18cb"></a><!-- doxytag: member="Gosu::quickLoadBitmap" ref="263a114f352f439a3cbb0da9d52d18cb" args="(const std::wstring &amp;filename)" -->
1586
- <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>quickLoadBitmap</b> (const std::wstring &amp;filename)</td></tr>
1587
-
1588
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6198974ec645118e54cf8e3fc3b827cb"></a><!-- doxytag: member="Gosu::operator==" ref="6198974ec645118e54cf8e3fc3b827cb" args="(Color a, Color b)" -->
1589
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (<a class="el" href="classGosu_1_1Color.html">Color</a> a, <a class="el" href="classGosu_1_1Color.html">Color</a> b)</td></tr>
1590
-
1591
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12095af239f1cecbcba59a22ffb1af93"></a><!-- doxytag: member="Gosu::operator!=" ref="12095af239f1cecbcba59a22ffb1af93" args="(Color a, Color b)" -->
1592
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (<a class="el" href="classGosu_1_1Color.html">Color</a> a, <a class="el" href="classGosu_1_1Color.html">Color</a> b)</td></tr>
1593
-
1594
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#55c2cfa7575386d8eb6a8dc615e905ae">interpolate</a> (<a class="el" href="classGosu_1_1Color.html">Color</a> a, <a class="el" href="classGosu_1_1Color.html">Color</a> b, double weight=0.5)</td></tr>
1595
-
1596
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#bb85501ec3787bd0fc80187231788bea">multiply</a> (<a class="el" href="classGosu_1_1Color.html">Color</a> a, <a class="el" href="classGosu_1_1Color.html">Color</a> b)</td></tr>
1597
-
1598
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#9e98cb1b194245f7ebb33febdf3ea1ba">resourcePrefix</a> ()</td></tr>
1599
-
1600
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#15eb63b0cec84b235d0f4d836731d3e1">sharedResourcePrefix</a> ()</td></tr>
1601
-
1602
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#c5d5db92f55aba5bcd7cd6ca1a79c712">userSettingsPrefix</a> ()</td></tr>
1603
-
1604
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#608bef262f259644b1e804c5bd03683a">userDocsPrefix</a> ()</td></tr>
1605
-
1606
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5dcc0658209b7c8523f00e58ccb663b7"></a><!-- doxytag: member="Gosu::screenWidth" ref="5dcc0658209b7c8523f00e58ccb663b7" args="()" -->
1607
- unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>screenWidth</b> ()</td></tr>
1608
-
1609
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2934a7df026d36a3b8793e8097f701c5"></a><!-- doxytag: member="Gosu::screenHeight" ref="2934a7df026d36a3b8793e8097f701c5" args="()" -->
1610
- unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>screenHeight</b> ()</td></tr>
1611
-
1612
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename Container&gt; </td></tr>
1613
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#b347c1ac66f7c276cc505acb62947b23">imagesFromTiledBitmap</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const std::wstring &amp;filename, int tileWidth, int tileHeight, bool hardBorders, Container &amp;appendTo)</td></tr>
1614
-
1615
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename Container&gt; </td></tr>
1616
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#823d62ccac7a28ea78ea0a987687d649">imagesFromTiledBitmap</a> (<a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;graphics, const <a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bmp, int tileWidth, int tileHeight, bool hardBorders, Container &amp;appendTo)</td></tr>
1617
-
1618
- <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#8abc916db977614382f04aef415c21c3">operator==</a> (<a class="el" href="classGosu_1_1Button.html">Button</a> lhs, <a class="el" href="classGosu_1_1Button.html">Button</a> rhs)</td></tr>
1619
-
1620
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d6ebc33043d3f495cf4bfbea2184e6d6"></a><!-- doxytag: member="Gosu::operator!=" ref="d6ebc33043d3f495cf4bfbea2184e6d6" args="(Button lhs, Button rhs)" -->
1621
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (<a class="el" href="classGosu_1_1Button.html">Button</a> lhs, <a class="el" href="classGosu_1_1Button.html">Button</a> rhs)</td></tr>
1622
-
1623
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#29c60cb8e87a99f7ce924ae0530029a0">loadFile</a> (<a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &amp;buffer, const std::wstring &amp;filename)</td></tr>
1624
-
1625
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#467aa346fa1a4cb39040bb427b42b7aa">saveFile</a> (const <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &amp;buffer, const std::wstring &amp;filename)</td></tr>
1626
-
1627
- <tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#dc5f4941f3a17c6c5233d6c7a628cc68">trunc</a> (double value)</td></tr>
1628
-
1629
- <tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#496868cf52cf159cf98a00888c4fbc1c">round</a> (double value)</td></tr>
1630
-
1631
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#6c855080566f7f1b1967c90805249dda">random</a> (double min, double max)</td></tr>
1632
-
1633
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#2f8e80b399a0c5ba42667f22e7f2ba2f">gosuToRadians</a> (double angle)</td></tr>
1634
-
1635
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#a853d9351f1568d0a949b2b7717e1e6a">radiansToGosu</a> (double angle)</td></tr>
1636
-
1637
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#e61d02831aa7026e96f1e53a358609b2">offsetX</a> (double angle, double radius)</td></tr>
1638
-
1639
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#9e0845d8b2ed385cb4e8593e7a308a08">offsetY</a> (double angle, double radius)</td></tr>
1640
-
1641
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#f7740dec821977a37ff26a90c2e85ac7">angle</a> (double fromX, double fromY, double toX, double toY, double def=0)</td></tr>
1642
-
1643
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#36cfaba7c2038bfeabdd1672882704f4">angleDiff</a> (double angle1, double angle2)</td></tr>
1644
-
1645
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#c6f147ab90f7e343dd9d70cc8bf3a91b">normalizeAngle</a> (double angle)</td></tr>
1646
-
1647
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
1648
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#cac78b0775d1b551f4adf9ae76efb4cc">square</a> (T value)</td></tr>
1649
-
1650
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
1651
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#3359d78e0ca7fa5d163dce7b99f72e9f">clamp</a> (T value, T min, T max)</td></tr>
1652
-
1653
- <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5b35114c04a3f01d54c2e052d350b61f"></a><!-- doxytag: member="Gosu::boundBy" ref="5b35114c04a3f01d54c2e052d350b61f" args="(T value, T min, T max)" -->
1654
- template&lt;typename T&gt; </td></tr>
1655
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>boundBy</b> (T value, T min, T max)</td></tr>
1656
-
1657
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#58015f2ee3527184171d3d99176fd360">distanceSqr</a> (double x1, double y1, double x2, double y2)</td></tr>
1658
-
1659
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#a06a29a8aefa1be625072b02e2d825bd">distance</a> (double x1, double y1, double x2, double y2)</td></tr>
1660
-
1661
- <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
1662
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#29515f6c9be056e9ca5f672dec154847">interpolate</a> (T a, T b, double weight=0.5)</td></tr>
1663
-
1664
- <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3ea757503a65f9fb3b8ba913c726585f"></a><!-- doxytag: member="Gosu::IDENTITY_FUN" ref="3ea757503a65f9fb3b8ba913c726585f" args="(T t)" -->
1665
- template&lt;typename T&gt; </td></tr>
1666
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>IDENTITY_FUN</b> (T t)</td></tr>
1667
-
1668
- <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ab6a919c784cf33d6d9a64ce61110cd7"></a><!-- doxytag: member="Gosu::IDENTITY_FUN2" ref="ab6a919c784cf33d6d9a64ce61110cd7" args="(T t)" -->
1669
- template&lt;typename T&gt; </td></tr>
1670
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>IDENTITY_FUN2</b> (T t)</td></tr>
1671
-
1672
- <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f161626629fdbc5bf78c55a016efc82d"></a><!-- doxytag: member="Gosu::CONV_FUN" ref="f161626629fdbc5bf78c55a016efc82d" args="(T t)" -->
1673
- template&lt;typename T&gt; </td></tr>
1674
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>CONV_FUN</b> (T t)</td></tr>
1675
-
1676
- <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="23fbca32f7bdea943a463509fd8ee26e"></a><!-- doxytag: member="Gosu::CONV_FUN2" ref="23fbca32f7bdea943a463509fd8ee26e" args="(T t)" -->
1677
- template&lt;typename T&gt; </td></tr>
1678
- <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>CONV_FUN2</b> (T t)</td></tr>
1679
-
1680
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f95982a20bba047a1d7a8accb82a7758"></a><!-- doxytag: member="Gosu::operator==" ref="f95982a20bba047a1d7a8accb82a7758" args="(RotFlip a, RotFlip b)" -->
1681
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (RotFlip a, RotFlip b)</td></tr>
1682
-
1683
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2860d74f086dc0ed96a25df359494ed"></a><!-- doxytag: member="Gosu::operator!=" ref="d2860d74f086dc0ed96a25df359494ed" args="(RotFlip a, RotFlip b)" -->
1684
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (RotFlip a, RotFlip b)</td></tr>
1685
-
1686
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="621eb7d0e3c347461dcc298903fe18a4"></a><!-- doxytag: member="Gosu::applyToPoint" ref="621eb7d0e3c347461dcc298903fe18a4" args="(RotFlip rotFlip, int &amp;x, int &amp;y, int max)" -->
1687
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>applyToPoint</b> (RotFlip rotFlip, int &amp;x, int &amp;y, int max)</td></tr>
1688
-
1689
- <tr><td class="memItemLeft" nowrap align="right" valign="top">SocketAddress&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#c2c5b3cca9903139efbd2d601a631ee6">stringToAddress</a> (const std::string &amp;s)</td></tr>
1690
-
1691
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#aae23447cebfab874d7657fbe0a8150e">addressToString</a> (SocketAddress address)</td></tr>
1692
-
1693
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#7b47dae2708d707c82cffeaf2104e42b">defaultFontName</a> ()</td></tr>
1694
-
1695
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#b04c11ac75a9069c4b2f8a27ae1094fc">textWidth</a> (const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)</td></tr>
1696
-
1697
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#ea254f5ef0d5cf99b31c4ae37dc62a73">drawText</a> (<a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> &amp;bitmap, const std::wstring &amp;text, int x, int y, <a class="el" href="classGosu_1_1Color.html">Color</a> c, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)</td></tr>
1698
-
1699
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#66acd03b42a4902bf2aa2d2c0c526ee8">createText</a> (const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)</td></tr>
1700
-
1701
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#1d42aec491c8241f416e72ac8a39c7a4">createText</a> (const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned lineSpacing, unsigned maxWidth, TextAlign align, unsigned fontFlags=0)</td></tr>
1702
-
1703
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#93f9b0118e9708a760148c8c5da481d2">sleep</a> (unsigned milliseconds)</td></tr>
1704
-
1705
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#37bf53016e58939d6bf2f7a261c6c4db">milliseconds</a> ()</td></tr>
1706
-
1707
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#21c54ae29c5b4ebc282b87d6dec1f7de">utf8ToWstring</a> (const std::string &amp;utf8)</td></tr>
1708
-
1709
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#b6bc6e428b84b2e2ac39133c64b4567e">wstringToUTF8</a> (const std::wstring &amp;ws)</td></tr>
1710
-
1711
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#76d73802e9aa00f9133c3f1e099b832e">widen</a> (const std::string &amp;s)</td></tr>
1712
-
1713
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#66106eac9ffd4e4047e891c20196a5a2">narrow</a> (const std::wstring &amp;ws)</td></tr>
1714
-
1715
- <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
1716
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#66e372da7f9b1ce440cc35da4b16b027">zImmediate</a> = -std::numeric_limits&lt;double&gt;::infinity()</td></tr>
1717
-
1718
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ead4502f3e95077f5e128d1ff6bae819"></a><!-- doxytag: member="Gosu::nativeByteOrder" ref="ead4502f3e95077f5e128d1ff6bae819" args="" -->
1719
- const ByteOrder&nbsp;</td><td class="memItemRight" valign="bottom"><b>nativeByteOrder</b> = boLittle</td></tr>
1720
-
1721
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1ccccbaef42335e16689c5fc2f1f936"></a><!-- doxytag: member="Gosu::otherByteOrder" ref="b1ccccbaef42335e16689c5fc2f1f936" args="" -->
1722
- const ByteOrder&nbsp;</td><td class="memItemRight" valign="bottom"><b>otherByteOrder</b> = boBig</td></tr>
1723
-
1724
- <tr><td class="memItemLeft" nowrap align="right" valign="top">const double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGosu.html#cc7336a0eba36412dab0e991fb3faf01">pi</a> = 3.1415926536</td></tr>
1725
-
1726
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef707f47e12343f1cc2fbfe70a1143cf"></a><!-- doxytag: member="Gosu::anyPort" ref="ef707f47e12343f1cc2fbfe70a1143cf" args="" -->
1727
- const SocketPort&nbsp;</td><td class="memItemRight" valign="bottom"><b>anyPort</b> = 0</td></tr>
1728
-
1729
- </table>
1730
- <hr><a name="_details"></a><h2>Detailed Description</h2>
1731
- The library's main namespace. <hr><h2>Typedef Documentation</h2>
1732
- <a class="anchor" name="a2fd8fe9574c0ad3fd52557cb160be49"></a><!-- doxytag: member="Gosu::ZPos" ref="a2fd8fe9574c0ad3fd52557cb160be49" args="" -->
1733
- <div class="memitem">
1734
- <div class="memproto">
1735
- <table class="memname">
1736
- <tr>
1737
- <td class="memname">typedef double <a class="el" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49">Gosu::ZPos</a> </td>
1738
- </tr>
1739
- </table>
1740
- </div>
1741
- <div class="memdoc">
1742
-
1743
- <p>
1744
- Represents the Z position of something drawn with Gosu's graphics system.
1745
- <p>
1746
- Draw calls with higher ZPos values will cover those with a lower ZPos value, that is, they are performed last.
1747
- </div>
1748
- </div><p>
1749
- <hr><h2>Enumeration Type Documentation</h2>
1750
- <a class="anchor" name="769656b1f560bc3d1bbdb47f8ca4eda9"></a><!-- doxytag: member="Gosu::AlphaMode" ref="769656b1f560bc3d1bbdb47f8ca4eda9" args="" -->
1751
- <div class="memitem">
1752
- <div class="memproto">
1753
- <table class="memname">
1754
- <tr>
1755
- <td class="memname">enum <a class="el" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9">Gosu::AlphaMode</a> </td>
1756
- </tr>
1757
- </table>
1758
- </div>
1759
- <div class="memdoc">
1760
-
1761
- <p>
1762
- Determines the way colors are combined when one is drawn onto another.
1763
- <p>
1764
- <dl compact><dt><b>Enumerator: </b></dt><dd>
1765
- <table border="0" cellspacing="2" cellpadding="0">
1766
- <tr><td valign="top"><em><a class="anchor" name="769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0"></a><!-- doxytag: member="amDefault" ref="769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" args="" -->amDefault</em>&nbsp;</td><td>
1767
- The color's channels will be interpolated.
1768
- <p>
1769
- The alpha channel specifies the opacity of the new color, 255 is full opacity. </td></tr>
1770
- <tr><td valign="top"><em><a class="anchor" name="769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b"></a><!-- doxytag: member="amAdditive" ref="769656b1f560bc3d1bbdb47f8ca4eda90032d35b3c2b35d16d3c59b6471c570b" args="" -->amAdditive</em>&nbsp;</td><td>
1771
- The colors' channels will be added.
1772
- <p>
1773
- The alpha channel specifies the percentage of the new color's channels that will be added to the old color's channels. </td></tr>
1774
- </table>
1775
- </dl>
1776
-
1777
- </div>
1778
- </div><p>
1779
- <a class="anchor" name="3b7f4d1f697d86c584543e455faeef82"></a><!-- doxytag: member="Gosu::BorderFlags" ref="3b7f4d1f697d86c584543e455faeef82" args="" -->
1780
- <div class="memitem">
1781
- <div class="memproto">
1782
- <table class="memname">
1783
- <tr>
1784
- <td class="memname">enum <a class="el" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82">Gosu::BorderFlags</a> </td>
1785
- </tr>
1786
- </table>
1787
- </div>
1788
- <div class="memdoc">
1789
-
1790
- <p>
1791
- Flags that affect the softness of a border.
1792
- <p>
1793
-
1794
- </div>
1795
- </div><p>
1796
- <a class="anchor" name="b085b2dbdd533b49dadaf217dbcf8368"></a><!-- doxytag: member="Gosu::ButtonName" ref="b085b2dbdd533b49dadaf217dbcf8368" args="" -->
1797
- <div class="memitem">
1798
- <div class="memproto">
1799
- <table class="memname">
1800
- <tr>
1801
- <td class="memname">enum <a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">Gosu::ButtonName</a> </td>
1802
- </tr>
1803
- </table>
1804
- </div>
1805
- <div class="memdoc">
1806
-
1807
- <p>
1808
- Enumerates all the named button ids that can be used with <a class="el" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Gosu::Input</a>.
1809
- <p>
1810
- This enumeration contains ids for non-character keyboard keys (kb*), mouse buttons and mouse wheel (ms*) and gamepad buttons (gp*).
1811
- </div>
1812
- </div><p>
1813
- <a class="anchor" name="b085b2dbdd533b49dadaf217dbcf8368"></a><!-- doxytag: member="Gosu::ButtonName" ref="b085b2dbdd533b49dadaf217dbcf8368" args="" -->
1814
- <div class="memitem">
1815
- <div class="memproto">
1816
- <table class="memname">
1817
- <tr>
1818
- <td class="memname">enum <a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">Gosu::ButtonName</a> </td>
1819
- </tr>
1820
- </table>
1821
- </div>
1822
- <div class="memdoc">
1823
-
1824
- <p>
1825
- List of all the button ids that can be used with <a class="el" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Gosu::Input</a>.
1826
- <p>
1827
- This enumeration contains ids for non-character keyboard keys (kb*), mouse buttons and mouse wheel (ms*) and gamepad buttons (gp*).
1828
- </div>
1829
- </div><p>
1830
- <a class="anchor" name="f3bd16cebaf102e43f576d0a0ca1fcc3"></a><!-- doxytag: member="Gosu::FileMode" ref="f3bd16cebaf102e43f576d0a0ca1fcc3" args="" -->
1831
- <div class="memitem">
1832
- <div class="memproto">
1833
- <table class="memname">
1834
- <tr>
1835
- <td class="memname">enum <a class="el" href="namespaceGosu.html#f3bd16cebaf102e43f576d0a0ca1fcc3">Gosu::FileMode</a> </td>
1836
- </tr>
1837
- </table>
1838
- </div>
1839
- <div class="memdoc">
1840
-
1841
- <p>
1842
- <dl compact><dt><b>Enumerator: </b></dt><dd>
1843
- <table border="0" cellspacing="2" cellpadding="0">
1844
- <tr><td valign="top"><em><a class="anchor" name="f3bd16cebaf102e43f576d0a0ca1fcc3fc1f3aa93dd976dd43582892a36629d8"></a><!-- doxytag: member="fmRead" ref="f3bd16cebaf102e43f576d0a0ca1fcc3fc1f3aa93dd976dd43582892a36629d8" args="" -->fmRead</em>&nbsp;</td><td>
1845
- Opens an existing file for reading; throws an exception if the file cannot be found.
1846
- <p>
1847
- </td></tr>
1848
- <tr><td valign="top"><em><a class="anchor" name="f3bd16cebaf102e43f576d0a0ca1fcc337d6ddaeba2138192b0ae84e0882a246"></a><!-- doxytag: member="fmReplace" ref="f3bd16cebaf102e43f576d0a0ca1fcc337d6ddaeba2138192b0ae84e0882a246" args="" -->fmReplace</em>&nbsp;</td><td>
1849
- Writes data to a file.
1850
- <p>
1851
- If the file already exists, is emptied on opening. If the file does not exist, it is created. </td></tr>
1852
- <tr><td valign="top"><em><a class="anchor" name="f3bd16cebaf102e43f576d0a0ca1fcc3d09b16bbdaf86e8a38a7299abad2706d"></a><!-- doxytag: member="fmAlter" ref="f3bd16cebaf102e43f576d0a0ca1fcc3d09b16bbdaf86e8a38a7299abad2706d" args="" -->fmAlter</em>&nbsp;</td><td>
1853
- Opens or creates a file with writing access, but does not clear existing contents.
1854
- <p>
1855
- </td></tr>
1856
- </table>
1857
- </dl>
1858
-
1859
- </div>
1860
- </div><p>
1861
- <hr><h2>Function Documentation</h2>
1862
- <a class="anchor" name="aae23447cebfab874d7657fbe0a8150e"></a><!-- doxytag: member="Gosu::addressToString" ref="aae23447cebfab874d7657fbe0a8150e" args="(SocketAddress address)" -->
1863
- <div class="memitem">
1864
- <div class="memproto">
1865
- <table class="memname">
1866
- <tr>
1867
- <td class="memname">std::string Gosu::addressToString </td>
1868
- <td>(</td>
1869
- <td class="paramtype">SocketAddress&nbsp;</td>
1870
- <td class="paramname"> <em>address</em> </td>
1871
- <td>&nbsp;)&nbsp;</td>
1872
- <td width="100%"></td>
1873
- </tr>
1874
- </table>
1875
- </div>
1876
- <div class="memdoc">
1877
-
1878
- <p>
1879
- Converts an address into a dotted IP4 string.
1880
- <p>
1881
-
1882
- </div>
1883
- </div><p>
1884
- <a class="anchor" name="f7740dec821977a37ff26a90c2e85ac7"></a><!-- doxytag: member="Gosu::angle" ref="f7740dec821977a37ff26a90c2e85ac7" args="(double fromX, double fromY, double toX, double toY, double def=0)" -->
1885
- <div class="memitem">
1886
- <div class="memproto">
1887
- <table class="memname">
1888
- <tr>
1889
- <td class="memname">double Gosu::angle </td>
1890
- <td>(</td>
1891
- <td class="paramtype">double&nbsp;</td>
1892
- <td class="paramname"> <em>fromX</em>, </td>
1893
- </tr>
1894
- <tr>
1895
- <td class="paramkey"></td>
1896
- <td></td>
1897
- <td class="paramtype">double&nbsp;</td>
1898
- <td class="paramname"> <em>fromY</em>, </td>
1899
- </tr>
1900
- <tr>
1901
- <td class="paramkey"></td>
1902
- <td></td>
1903
- <td class="paramtype">double&nbsp;</td>
1904
- <td class="paramname"> <em>toX</em>, </td>
1905
- </tr>
1906
- <tr>
1907
- <td class="paramkey"></td>
1908
- <td></td>
1909
- <td class="paramtype">double&nbsp;</td>
1910
- <td class="paramname"> <em>toY</em>, </td>
1911
- </tr>
1912
- <tr>
1913
- <td class="paramkey"></td>
1914
- <td></td>
1915
- <td class="paramtype">double&nbsp;</td>
1916
- <td class="paramname"> <em>def</em> = <code>0</code></td><td>&nbsp;</td>
1917
- </tr>
1918
- <tr>
1919
- <td></td>
1920
- <td>)</td>
1921
- <td></td><td></td><td width="100%"></td>
1922
- </tr>
1923
- </table>
1924
- </div>
1925
- <div class="memdoc">
1926
-
1927
- <p>
1928
- Returns the angle between two points in degrees, where 0.0 means upwards.
1929
- <p>
1930
- Returns def if both points are equal.
1931
- </div>
1932
- </div><p>
1933
- <a class="anchor" name="36cfaba7c2038bfeabdd1672882704f4"></a><!-- doxytag: member="Gosu::angleDiff" ref="36cfaba7c2038bfeabdd1672882704f4" args="(double angle1, double angle2)" -->
1934
- <div class="memitem">
1935
- <div class="memproto">
1936
- <table class="memname">
1937
- <tr>
1938
- <td class="memname">double Gosu::angleDiff </td>
1939
- <td>(</td>
1940
- <td class="paramtype">double&nbsp;</td>
1941
- <td class="paramname"> <em>angle1</em>, </td>
1942
- </tr>
1943
- <tr>
1944
- <td class="paramkey"></td>
1945
- <td></td>
1946
- <td class="paramtype">double&nbsp;</td>
1947
- <td class="paramname"> <em>angle2</em></td><td>&nbsp;</td>
1948
- </tr>
1949
- <tr>
1950
- <td></td>
1951
- <td>)</td>
1952
- <td></td><td></td><td width="100%"></td>
1953
- </tr>
1954
- </table>
1955
- </div>
1956
- <div class="memdoc">
1957
-
1958
- <p>
1959
- Returns the smallest positive angle between two angles.
1960
- <p>
1961
-
1962
- </div>
1963
- </div><p>
1964
- <a class="anchor" name="97ea4128d29b9835243e69939085bfa5"></a><!-- doxytag: member="Gosu::applyColorKey" ref="97ea4128d29b9835243e69939085bfa5" args="(Bitmap &amp;bitmap, Color key)" -->
1965
- <div class="memitem">
1966
- <div class="memproto">
1967
- <table class="memname">
1968
- <tr>
1969
- <td class="memname">void Gosu::applyColorKey </td>
1970
- <td>(</td>
1971
- <td class="paramtype">Bitmap &amp;&nbsp;</td>
1972
- <td class="paramname"> <em>bitmap</em>, </td>
1973
- </tr>
1974
- <tr>
1975
- <td class="paramkey"></td>
1976
- <td></td>
1977
- <td class="paramtype">Color&nbsp;</td>
1978
- <td class="paramname"> <em>key</em></td><td>&nbsp;</td>
1979
- </tr>
1980
- <tr>
1981
- <td></td>
1982
- <td>)</td>
1983
- <td></td><td></td><td width="100%"></td>
1984
- </tr>
1985
- </table>
1986
- </div>
1987
- <div class="memdoc">
1988
-
1989
- <p>
1990
- Set the alpha value of all pixels which are equal to the color key to zero.
1991
- <p>
1992
- <a class="el" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> values are adjusted so that no borders show up when the image is stretched or rotated.
1993
- </div>
1994
- </div><p>
1995
- <a class="anchor" name="3359d78e0ca7fa5d163dce7b99f72e9f"></a><!-- doxytag: member="Gosu::clamp" ref="3359d78e0ca7fa5d163dce7b99f72e9f" args="(T value, T min, T max)" -->
1996
- <div class="memitem">
1997
- <div class="memproto">
1998
- <div class="memtemplate">
1999
- template&lt;typename T&gt; </div>
2000
- <table class="memname">
2001
- <tr>
2002
- <td class="memname">T Gosu::clamp </td>
2003
- <td>(</td>
2004
- <td class="paramtype">T&nbsp;</td>
2005
- <td class="paramname"> <em>value</em>, </td>
2006
- </tr>
2007
- <tr>
2008
- <td class="paramkey"></td>
2009
- <td></td>
2010
- <td class="paramtype">T&nbsp;</td>
2011
- <td class="paramname"> <em>min</em>, </td>
2012
- </tr>
2013
- <tr>
2014
- <td class="paramkey"></td>
2015
- <td></td>
2016
- <td class="paramtype">T&nbsp;</td>
2017
- <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
2018
- </tr>
2019
- <tr>
2020
- <td></td>
2021
- <td>)</td>
2022
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2023
- </tr>
2024
- </table>
2025
- </div>
2026
- <div class="memdoc">
2027
-
2028
- <p>
2029
- Returns min if value is smaller than min, max if value is larger than max and value otherwise.
2030
- <p>
2031
-
2032
- </div>
2033
- </div><p>
2034
- <a class="anchor" name="1d42aec491c8241f416e72ac8a39c7a4"></a><!-- doxytag: member="Gosu::createText" ref="1d42aec491c8241f416e72ac8a39c7a4" args="(const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned lineSpacing, unsigned maxWidth, TextAlign align, unsigned fontFlags=0)" -->
2035
- <div class="memitem">
2036
- <div class="memproto">
2037
- <table class="memname">
2038
- <tr>
2039
- <td class="memname"><a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> Gosu::createText </td>
2040
- <td>(</td>
2041
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2042
- <td class="paramname"> <em>text</em>, </td>
2043
- </tr>
2044
- <tr>
2045
- <td class="paramkey"></td>
2046
- <td></td>
2047
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2048
- <td class="paramname"> <em>fontName</em>, </td>
2049
- </tr>
2050
- <tr>
2051
- <td class="paramkey"></td>
2052
- <td></td>
2053
- <td class="paramtype">unsigned&nbsp;</td>
2054
- <td class="paramname"> <em>fontHeight</em>, </td>
2055
- </tr>
2056
- <tr>
2057
- <td class="paramkey"></td>
2058
- <td></td>
2059
- <td class="paramtype">unsigned&nbsp;</td>
2060
- <td class="paramname"> <em>lineSpacing</em>, </td>
2061
- </tr>
2062
- <tr>
2063
- <td class="paramkey"></td>
2064
- <td></td>
2065
- <td class="paramtype">unsigned&nbsp;</td>
2066
- <td class="paramname"> <em>maxWidth</em>, </td>
2067
- </tr>
2068
- <tr>
2069
- <td class="paramkey"></td>
2070
- <td></td>
2071
- <td class="paramtype">TextAlign&nbsp;</td>
2072
- <td class="paramname"> <em>align</em>, </td>
2073
- </tr>
2074
- <tr>
2075
- <td class="paramkey"></td>
2076
- <td></td>
2077
- <td class="paramtype">unsigned&nbsp;</td>
2078
- <td class="paramname"> <em>fontFlags</em> = <code>0</code></td><td>&nbsp;</td>
2079
- </tr>
2080
- <tr>
2081
- <td></td>
2082
- <td>)</td>
2083
- <td></td><td></td><td width="100%"></td>
2084
- </tr>
2085
- </table>
2086
- </div>
2087
- <div class="memdoc">
2088
-
2089
- <p>
2090
- Creates a bitmap that is filled with the text given to the function.
2091
- <p>
2092
- The text may contain line breaks. <dl compact><dt><b>Parameters:</b></dt><dd>
2093
- <table border="0" cellspacing="2" cellpadding="0">
2094
- <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/'). </td></tr>
2095
- <tr><td valign="top"></td><td valign="top"><em>fontHeight</em>&nbsp;</td><td>Height of the font in pixels. </td></tr>
2096
- <tr><td valign="top"></td><td valign="top"><em>lineSpacing</em>&nbsp;</td><td>Spacing between two lines of text in pixels. </td></tr>
2097
- <tr><td valign="top"></td><td valign="top"><em>maxWidth</em>&nbsp;</td><td>Width of the bitmap that will be returned. Text will be split into multiple lines to avoid drawing over the right border. When a single word is too long, it will be truncated. </td></tr>
2098
- <tr><td valign="top"></td><td valign="top"><em>fontFlags</em>&nbsp;</td><td>Binary combination of members of the FontFlags enum. </td></tr>
2099
- </table>
2100
- </dl>
2101
-
2102
- </div>
2103
- </div><p>
2104
- <a class="anchor" name="66acd03b42a4902bf2aa2d2c0c526ee8"></a><!-- doxytag: member="Gosu::createText" ref="66acd03b42a4902bf2aa2d2c0c526ee8" args="(const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)" -->
2105
- <div class="memitem">
2106
- <div class="memproto">
2107
- <table class="memname">
2108
- <tr>
2109
- <td class="memname"><a class="el" href="classGosu_1_1Bitmap.html">Bitmap</a> Gosu::createText </td>
2110
- <td>(</td>
2111
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2112
- <td class="paramname"> <em>text</em>, </td>
2113
- </tr>
2114
- <tr>
2115
- <td class="paramkey"></td>
2116
- <td></td>
2117
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2118
- <td class="paramname"> <em>fontName</em>, </td>
2119
- </tr>
2120
- <tr>
2121
- <td class="paramkey"></td>
2122
- <td></td>
2123
- <td class="paramtype">unsigned&nbsp;</td>
2124
- <td class="paramname"> <em>fontHeight</em>, </td>
2125
- </tr>
2126
- <tr>
2127
- <td class="paramkey"></td>
2128
- <td></td>
2129
- <td class="paramtype">unsigned&nbsp;</td>
2130
- <td class="paramname"> <em>fontFlags</em> = <code>0</code></td><td>&nbsp;</td>
2131
- </tr>
2132
- <tr>
2133
- <td></td>
2134
- <td>)</td>
2135
- <td></td><td></td><td width="100%"></td>
2136
- </tr>
2137
- </table>
2138
- </div>
2139
- <div class="memdoc">
2140
-
2141
- <p>
2142
- Creates a bitmap that is filled with a line of text given to the function.
2143
- <p>
2144
- The line cannot contain line breaks. <dl compact><dt><b>Parameters:</b></dt><dd>
2145
- <table border="0" cellspacing="2" cellpadding="0">
2146
- <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/'). </td></tr>
2147
- <tr><td valign="top"></td><td valign="top"><em>fontHeight</em>&nbsp;</td><td>Height of the font in pixels. </td></tr>
2148
- <tr><td valign="top"></td><td valign="top"><em>fontFlags</em>&nbsp;</td><td>Binary combination of members of the FontFlags enum. </td></tr>
2149
- </table>
2150
- </dl>
2151
-
2152
- </div>
2153
- </div><p>
2154
- <a class="anchor" name="7b47dae2708d707c82cffeaf2104e42b"></a><!-- doxytag: member="Gosu::defaultFontName" ref="7b47dae2708d707c82cffeaf2104e42b" args="()" -->
2155
- <div class="memitem">
2156
- <div class="memproto">
2157
- <table class="memname">
2158
- <tr>
2159
- <td class="memname">std::wstring Gosu::defaultFontName </td>
2160
- <td>(</td>
2161
- <td class="paramname"> </td>
2162
- <td>&nbsp;)&nbsp;</td>
2163
- <td width="100%"></td>
2164
- </tr>
2165
- </table>
2166
- </div>
2167
- <div class="memdoc">
2168
-
2169
- <p>
2170
- Returns the name of a neutral font that is available on the current platform.
2171
- <p>
2172
-
2173
- </div>
2174
- </div><p>
2175
- <a class="anchor" name="a06a29a8aefa1be625072b02e2d825bd"></a><!-- doxytag: member="Gosu::distance" ref="a06a29a8aefa1be625072b02e2d825bd" args="(double x1, double y1, double x2, double y2)" -->
2176
- <div class="memitem">
2177
- <div class="memproto">
2178
- <table class="memname">
2179
- <tr>
2180
- <td class="memname">double Gosu::distance </td>
2181
- <td>(</td>
2182
- <td class="paramtype">double&nbsp;</td>
2183
- <td class="paramname"> <em>x1</em>, </td>
2184
- </tr>
2185
- <tr>
2186
- <td class="paramkey"></td>
2187
- <td></td>
2188
- <td class="paramtype">double&nbsp;</td>
2189
- <td class="paramname"> <em>y1</em>, </td>
2190
- </tr>
2191
- <tr>
2192
- <td class="paramkey"></td>
2193
- <td></td>
2194
- <td class="paramtype">double&nbsp;</td>
2195
- <td class="paramname"> <em>x2</em>, </td>
2196
- </tr>
2197
- <tr>
2198
- <td class="paramkey"></td>
2199
- <td></td>
2200
- <td class="paramtype">double&nbsp;</td>
2201
- <td class="paramname"> <em>y2</em></td><td>&nbsp;</td>
2202
- </tr>
2203
- <tr>
2204
- <td></td>
2205
- <td>)</td>
2206
- <td></td><td></td><td width="100%"></td>
2207
- </tr>
2208
- </table>
2209
- </div>
2210
- <div class="memdoc">
2211
-
2212
- <p>
2213
- Returns the distance between two points.
2214
- <p>
2215
-
2216
- </div>
2217
- </div><p>
2218
- <a class="anchor" name="58015f2ee3527184171d3d99176fd360"></a><!-- doxytag: member="Gosu::distanceSqr" ref="58015f2ee3527184171d3d99176fd360" args="(double x1, double y1, double x2, double y2)" -->
2219
- <div class="memitem">
2220
- <div class="memproto">
2221
- <table class="memname">
2222
- <tr>
2223
- <td class="memname">double Gosu::distanceSqr </td>
2224
- <td>(</td>
2225
- <td class="paramtype">double&nbsp;</td>
2226
- <td class="paramname"> <em>x1</em>, </td>
2227
- </tr>
2228
- <tr>
2229
- <td class="paramkey"></td>
2230
- <td></td>
2231
- <td class="paramtype">double&nbsp;</td>
2232
- <td class="paramname"> <em>y1</em>, </td>
2233
- </tr>
2234
- <tr>
2235
- <td class="paramkey"></td>
2236
- <td></td>
2237
- <td class="paramtype">double&nbsp;</td>
2238
- <td class="paramname"> <em>x2</em>, </td>
2239
- </tr>
2240
- <tr>
2241
- <td class="paramkey"></td>
2242
- <td></td>
2243
- <td class="paramtype">double&nbsp;</td>
2244
- <td class="paramname"> <em>y2</em></td><td>&nbsp;</td>
2245
- </tr>
2246
- <tr>
2247
- <td></td>
2248
- <td>)</td>
2249
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2250
- </tr>
2251
- </table>
2252
- </div>
2253
- <div class="memdoc">
2254
-
2255
- <p>
2256
- Returns the square of the distance between two points.
2257
- <p>
2258
-
2259
- <p>References <a class="el" href="Math_8hpp-source.html#l00064">square()</a>.</p>
2260
-
2261
- </div>
2262
- </div><p>
2263
- <a class="anchor" name="ea254f5ef0d5cf99b31c4ae37dc62a73"></a><!-- doxytag: member="Gosu::drawText" ref="ea254f5ef0d5cf99b31c4ae37dc62a73" args="(Bitmap &amp;bitmap, const std::wstring &amp;text, int x, int y, Color c, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)" -->
2264
- <div class="memitem">
2265
- <div class="memproto">
2266
- <table class="memname">
2267
- <tr>
2268
- <td class="memname">void Gosu::drawText </td>
2269
- <td>(</td>
2270
- <td class="paramtype">Bitmap &amp;&nbsp;</td>
2271
- <td class="paramname"> <em>bitmap</em>, </td>
2272
- </tr>
2273
- <tr>
2274
- <td class="paramkey"></td>
2275
- <td></td>
2276
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2277
- <td class="paramname"> <em>text</em>, </td>
2278
- </tr>
2279
- <tr>
2280
- <td class="paramkey"></td>
2281
- <td></td>
2282
- <td class="paramtype">int&nbsp;</td>
2283
- <td class="paramname"> <em>x</em>, </td>
2284
- </tr>
2285
- <tr>
2286
- <td class="paramkey"></td>
2287
- <td></td>
2288
- <td class="paramtype">int&nbsp;</td>
2289
- <td class="paramname"> <em>y</em>, </td>
2290
- </tr>
2291
- <tr>
2292
- <td class="paramkey"></td>
2293
- <td></td>
2294
- <td class="paramtype">Color&nbsp;</td>
2295
- <td class="paramname"> <em>c</em>, </td>
2296
- </tr>
2297
- <tr>
2298
- <td class="paramkey"></td>
2299
- <td></td>
2300
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2301
- <td class="paramname"> <em>fontName</em>, </td>
2302
- </tr>
2303
- <tr>
2304
- <td class="paramkey"></td>
2305
- <td></td>
2306
- <td class="paramtype">unsigned&nbsp;</td>
2307
- <td class="paramname"> <em>fontHeight</em>, </td>
2308
- </tr>
2309
- <tr>
2310
- <td class="paramkey"></td>
2311
- <td></td>
2312
- <td class="paramtype">unsigned&nbsp;</td>
2313
- <td class="paramname"> <em>fontFlags</em> = <code>0</code></td><td>&nbsp;</td>
2314
- </tr>
2315
- <tr>
2316
- <td></td>
2317
- <td>)</td>
2318
- <td></td><td></td><td width="100%"></td>
2319
- </tr>
2320
- </table>
2321
- </div>
2322
- <div class="memdoc">
2323
-
2324
- <p>
2325
- Draws a line of text on a bitmap.
2326
- <p>
2327
- <dl compact><dt><b>Parameters:</b></dt><dd>
2328
- <table border="0" cellspacing="2" cellpadding="0">
2329
- <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/'). </td></tr>
2330
- <tr><td valign="top"></td><td valign="top"><em>fontHeight</em>&nbsp;</td><td>Height, in pixels, of the text. </td></tr>
2331
- <tr><td valign="top"></td><td valign="top"><em>fontFlags</em>&nbsp;</td><td>Binary combination of members of the FontFlags enum. </td></tr>
2332
- </table>
2333
- </dl>
2334
-
2335
- </div>
2336
- </div><p>
2337
- <a class="anchor" name="2f8e80b399a0c5ba42667f22e7f2ba2f"></a><!-- doxytag: member="Gosu::gosuToRadians" ref="2f8e80b399a0c5ba42667f22e7f2ba2f" args="(double angle)" -->
2338
- <div class="memitem">
2339
- <div class="memproto">
2340
- <table class="memname">
2341
- <tr>
2342
- <td class="memname">double Gosu::gosuToRadians </td>
2343
- <td>(</td>
2344
- <td class="paramtype">double&nbsp;</td>
2345
- <td class="paramname"> <em>angle</em> </td>
2346
- <td>&nbsp;)&nbsp;</td>
2347
- <td width="100%"><code> [inline]</code></td>
2348
- </tr>
2349
- </table>
2350
- </div>
2351
- <div class="memdoc">
2352
-
2353
- <p>
2354
- Translates between Gosu's angle system and radians.
2355
- <p>
2356
-
2357
- <p>References <a class="el" href="Math_8hpp-source.html#l00010">pi</a>.</p>
2358
-
2359
- </div>
2360
- </div><p>
2361
- <a class="anchor" name="823d62ccac7a28ea78ea0a987687d649"></a><!-- doxytag: member="Gosu::imagesFromTiledBitmap" ref="823d62ccac7a28ea78ea0a987687d649" args="(Graphics &amp;graphics, const Bitmap &amp;bmp, int tileWidth, int tileHeight, bool hardBorders, Container &amp;appendTo)" -->
2362
- <div class="memitem">
2363
- <div class="memproto">
2364
- <div class="memtemplate">
2365
- template&lt;typename Container&gt; </div>
2366
- <table class="memname">
2367
- <tr>
2368
- <td class="memname">void Gosu::imagesFromTiledBitmap </td>
2369
- <td>(</td>
2370
- <td class="paramtype">Graphics &amp;&nbsp;</td>
2371
- <td class="paramname"> <em>graphics</em>, </td>
2372
- </tr>
2373
- <tr>
2374
- <td class="paramkey"></td>
2375
- <td></td>
2376
- <td class="paramtype">const Bitmap &amp;&nbsp;</td>
2377
- <td class="paramname"> <em>bmp</em>, </td>
2378
- </tr>
2379
- <tr>
2380
- <td class="paramkey"></td>
2381
- <td></td>
2382
- <td class="paramtype">int&nbsp;</td>
2383
- <td class="paramname"> <em>tileWidth</em>, </td>
2384
- </tr>
2385
- <tr>
2386
- <td class="paramkey"></td>
2387
- <td></td>
2388
- <td class="paramtype">int&nbsp;</td>
2389
- <td class="paramname"> <em>tileHeight</em>, </td>
2390
- </tr>
2391
- <tr>
2392
- <td class="paramkey"></td>
2393
- <td></td>
2394
- <td class="paramtype">bool&nbsp;</td>
2395
- <td class="paramname"> <em>hardBorders</em>, </td>
2396
- </tr>
2397
- <tr>
2398
- <td class="paramkey"></td>
2399
- <td></td>
2400
- <td class="paramtype">Container &amp;&nbsp;</td>
2401
- <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
2402
- </tr>
2403
- <tr>
2404
- <td></td>
2405
- <td>)</td>
2406
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2407
- </tr>
2408
- </table>
2409
- </div>
2410
- <div class="memdoc">
2411
-
2412
- <p>
2413
- Convenience function that splits a bitmap into an area of small rectangles and creates images from them.
2414
- <p>
2415
- <dl compact><dt><b>Parameters:</b></dt><dd>
2416
- <table border="0" cellspacing="2" cellpadding="0">
2417
- <tr><td valign="top"></td><td valign="top"><em>tileWidth</em>&nbsp;</td><td>If positive, specifies the width of one tile in pixels. If negative, the bitmap is divided into -tileWidth rows. </td></tr>
2418
- <tr><td valign="top"></td><td valign="top"><em>tileHeight</em>&nbsp;</td><td>See tileWidth. </td></tr>
2419
- <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>STL container to which the images will be appended. Must provide a push_back member function; std::vector&lt;boost::shared_ptr&lt;Image&gt;&gt; is usually the most reasonable container. </td></tr>
2420
- </table>
2421
- </dl>
2422
-
2423
- <p>References <a class="el" href="Bitmap_8hpp-source.html#l00029">Gosu::Bitmap::height()</a>, and <a class="el" href="Bitmap_8hpp-source.html#l00028">Gosu::Bitmap::width()</a>.</p>
2424
-
2425
- </div>
2426
- </div><p>
2427
- <a class="anchor" name="b347c1ac66f7c276cc505acb62947b23"></a><!-- doxytag: member="Gosu::imagesFromTiledBitmap" ref="b347c1ac66f7c276cc505acb62947b23" args="(Graphics &amp;graphics, const std::wstring &amp;filename, int tileWidth, int tileHeight, bool hardBorders, Container &amp;appendTo)" -->
2428
- <div class="memitem">
2429
- <div class="memproto">
2430
- <div class="memtemplate">
2431
- template&lt;typename Container&gt; </div>
2432
- <table class="memname">
2433
- <tr>
2434
- <td class="memname">void Gosu::imagesFromTiledBitmap </td>
2435
- <td>(</td>
2436
- <td class="paramtype">Graphics &amp;&nbsp;</td>
2437
- <td class="paramname"> <em>graphics</em>, </td>
2438
- </tr>
2439
- <tr>
2440
- <td class="paramkey"></td>
2441
- <td></td>
2442
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2443
- <td class="paramname"> <em>filename</em>, </td>
2444
- </tr>
2445
- <tr>
2446
- <td class="paramkey"></td>
2447
- <td></td>
2448
- <td class="paramtype">int&nbsp;</td>
2449
- <td class="paramname"> <em>tileWidth</em>, </td>
2450
- </tr>
2451
- <tr>
2452
- <td class="paramkey"></td>
2453
- <td></td>
2454
- <td class="paramtype">int&nbsp;</td>
2455
- <td class="paramname"> <em>tileHeight</em>, </td>
2456
- </tr>
2457
- <tr>
2458
- <td class="paramkey"></td>
2459
- <td></td>
2460
- <td class="paramtype">bool&nbsp;</td>
2461
- <td class="paramname"> <em>hardBorders</em>, </td>
2462
- </tr>
2463
- <tr>
2464
- <td class="paramkey"></td>
2465
- <td></td>
2466
- <td class="paramtype">Container &amp;&nbsp;</td>
2467
- <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
2468
- </tr>
2469
- <tr>
2470
- <td></td>
2471
- <td>)</td>
2472
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2473
- </tr>
2474
- </table>
2475
- </div>
2476
- <div class="memdoc">
2477
-
2478
- <p>
2479
- Convenience function that splits a BMP or PNG file into an area of small rectangles and creates images from them.
2480
- <p>
2481
- <dl compact><dt><b>Parameters:</b></dt><dd>
2482
- <table border="0" cellspacing="2" cellpadding="0">
2483
- <tr><td valign="top"></td><td valign="top"><em>tileWidth</em>&nbsp;</td><td>If positive, specifies the width of one tile in pixels. If negative, the bitmap is divided into -tileWidth rows. </td></tr>
2484
- <tr><td valign="top"></td><td valign="top"><em>tileHeight</em>&nbsp;</td><td>See tileWidth. </td></tr>
2485
- <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>STL container to which the images will be appended. Must provide a push_back member function; std::vector&lt;boost::shared_ptr&lt;Image&gt;&gt; is usually the most reasonable container. </td></tr>
2486
- </table>
2487
- </dl>
2488
-
2489
- </div>
2490
- </div><p>
2491
- <a class="anchor" name="29515f6c9be056e9ca5f672dec154847"></a><!-- doxytag: member="Gosu::interpolate" ref="29515f6c9be056e9ca5f672dec154847" args="(T a, T b, double weight=0.5)" -->
2492
- <div class="memitem">
2493
- <div class="memproto">
2494
- <div class="memtemplate">
2495
- template&lt;typename T&gt; </div>
2496
- <table class="memname">
2497
- <tr>
2498
- <td class="memname">T Gosu::interpolate </td>
2499
- <td>(</td>
2500
- <td class="paramtype">T&nbsp;</td>
2501
- <td class="paramname"> <em>a</em>, </td>
2502
- </tr>
2503
- <tr>
2504
- <td class="paramkey"></td>
2505
- <td></td>
2506
- <td class="paramtype">T&nbsp;</td>
2507
- <td class="paramname"> <em>b</em>, </td>
2508
- </tr>
2509
- <tr>
2510
- <td class="paramkey"></td>
2511
- <td></td>
2512
- <td class="paramtype">double&nbsp;</td>
2513
- <td class="paramname"> <em>weight</em> = <code>0.5</code></td><td>&nbsp;</td>
2514
- </tr>
2515
- <tr>
2516
- <td></td>
2517
- <td>)</td>
2518
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2519
- </tr>
2520
- </table>
2521
- </div>
2522
- <div class="memdoc">
2523
-
2524
- <p>
2525
- Interpolates a value between a and b, weight being the bias towards the second value.
2526
- <p>
2527
- Examples: interpolate(0, 10, 0.5) == 5, interpolate(-10, 10, 0.25) == 5, interpolate(0, 10, -0.5) == -5.
2528
- </div>
2529
- </div><p>
2530
- <a class="anchor" name="55c2cfa7575386d8eb6a8dc615e905ae"></a><!-- doxytag: member="Gosu::interpolate" ref="55c2cfa7575386d8eb6a8dc615e905ae" args="(Color a, Color b, double weight=0.5)" -->
2531
- <div class="memitem">
2532
- <div class="memproto">
2533
- <table class="memname">
2534
- <tr>
2535
- <td class="memname"><a class="el" href="classGosu_1_1Color.html">Color</a> Gosu::interpolate </td>
2536
- <td>(</td>
2537
- <td class="paramtype">Color&nbsp;</td>
2538
- <td class="paramname"> <em>a</em>, </td>
2539
- </tr>
2540
- <tr>
2541
- <td class="paramkey"></td>
2542
- <td></td>
2543
- <td class="paramtype">Color&nbsp;</td>
2544
- <td class="paramname"> <em>b</em>, </td>
2545
- </tr>
2546
- <tr>
2547
- <td class="paramkey"></td>
2548
- <td></td>
2549
- <td class="paramtype">double&nbsp;</td>
2550
- <td class="paramname"> <em>weight</em> = <code>0.5</code></td><td>&nbsp;</td>
2551
- </tr>
2552
- <tr>
2553
- <td></td>
2554
- <td>)</td>
2555
- <td></td><td></td><td width="100%"></td>
2556
- </tr>
2557
- </table>
2558
- </div>
2559
- <div class="memdoc">
2560
-
2561
- <p>
2562
- Interpolates linearly between two colors, with a given weight towards the second color.
2563
- <p>
2564
- Specialization of the general function in <a class="el" href="Math_8hpp.html" title="Contains simple math functionality.">Gosu/Math.hpp</a>.
2565
- </div>
2566
- </div><p>
2567
- <a class="anchor" name="29c60cb8e87a99f7ce924ae0530029a0"></a><!-- doxytag: member="Gosu::loadFile" ref="29c60cb8e87a99f7ce924ae0530029a0" args="(Buffer &amp;buffer, const std::wstring &amp;filename)" -->
2568
- <div class="memitem">
2569
- <div class="memproto">
2570
- <table class="memname">
2571
- <tr>
2572
- <td class="memname">void Gosu::loadFile </td>
2573
- <td>(</td>
2574
- <td class="paramtype">Buffer &amp;&nbsp;</td>
2575
- <td class="paramname"> <em>buffer</em>, </td>
2576
- </tr>
2577
- <tr>
2578
- <td class="paramkey"></td>
2579
- <td></td>
2580
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2581
- <td class="paramname"> <em>filename</em></td><td>&nbsp;</td>
2582
- </tr>
2583
- <tr>
2584
- <td></td>
2585
- <td>)</td>
2586
- <td></td><td></td><td width="100%"></td>
2587
- </tr>
2588
- </table>
2589
- </div>
2590
- <div class="memdoc">
2591
-
2592
- <p>
2593
- Loads a whole file into a buffer.
2594
- <p>
2595
-
2596
- </div>
2597
- </div><p>
2598
- <a class="anchor" name="5eb2a400728e57559f35615af17ead55"></a><!-- doxytag: member="Gosu::loadFromBMP" ref="5eb2a400728e57559f35615af17ead55" args="(Bitmap &amp;bmp, Reader reader)" -->
2599
- <div class="memitem">
2600
- <div class="memproto">
2601
- <table class="memname">
2602
- <tr>
2603
- <td class="memname">Reader Gosu::loadFromBMP </td>
2604
- <td>(</td>
2605
- <td class="paramtype">Bitmap &amp;&nbsp;</td>
2606
- <td class="paramname"> <em>bmp</em>, </td>
2607
- </tr>
2608
- <tr>
2609
- <td class="paramkey"></td>
2610
- <td></td>
2611
- <td class="paramtype">Reader&nbsp;</td>
2612
- <td class="paramname"> <em>reader</em></td><td>&nbsp;</td>
2613
- </tr>
2614
- <tr>
2615
- <td></td>
2616
- <td>)</td>
2617
- <td></td><td></td><td width="100%"></td>
2618
- </tr>
2619
- </table>
2620
- </div>
2621
- <div class="memdoc">
2622
-
2623
- <p>
2624
- Loads a Windows or OS/2 BMP file into the given bitmap.
2625
- <p>
2626
-
2627
- </div>
2628
- </div><p>
2629
- <a class="anchor" name="1be1c9db6a1ecf3b5c62797079e49e70"></a><!-- doxytag: member="Gosu::loadFromPNG" ref="1be1c9db6a1ecf3b5c62797079e49e70" args="(Bitmap &amp;bmp, Reader reader)" -->
2630
- <div class="memitem">
2631
- <div class="memproto">
2632
- <table class="memname">
2633
- <tr>
2634
- <td class="memname">Reader Gosu::loadFromPNG </td>
2635
- <td>(</td>
2636
- <td class="paramtype">Bitmap &amp;&nbsp;</td>
2637
- <td class="paramname"> <em>bmp</em>, </td>
2638
- </tr>
2639
- <tr>
2640
- <td class="paramkey"></td>
2641
- <td></td>
2642
- <td class="paramtype">Reader&nbsp;</td>
2643
- <td class="paramname"> <em>reader</em></td><td>&nbsp;</td>
2644
- </tr>
2645
- <tr>
2646
- <td></td>
2647
- <td>)</td>
2648
- <td></td><td></td><td width="100%"></td>
2649
- </tr>
2650
- </table>
2651
- </div>
2652
- <div class="memdoc">
2653
-
2654
- <p>
2655
- Loads a PNG file into the given bitmap.
2656
- <p>
2657
-
2658
- </div>
2659
- </div><p>
2660
- <a class="anchor" name="37bf53016e58939d6bf2f7a261c6c4db"></a><!-- doxytag: member="Gosu::milliseconds" ref="37bf53016e58939d6bf2f7a261c6c4db" args="()" -->
2661
- <div class="memitem">
2662
- <div class="memproto">
2663
- <table class="memname">
2664
- <tr>
2665
- <td class="memname">unsigned long Gosu::milliseconds </td>
2666
- <td>(</td>
2667
- <td class="paramname"> </td>
2668
- <td>&nbsp;)&nbsp;</td>
2669
- <td width="100%"></td>
2670
- </tr>
2671
- </table>
2672
- </div>
2673
- <div class="memdoc">
2674
-
2675
- <p>
2676
- Incrementing, possibly wrapping millisecond timer.
2677
- <p>
2678
-
2679
- </div>
2680
- </div><p>
2681
- <a class="anchor" name="bb85501ec3787bd0fc80187231788bea"></a><!-- doxytag: member="Gosu::multiply" ref="bb85501ec3787bd0fc80187231788bea" args="(Color a, Color b)" -->
2682
- <div class="memitem">
2683
- <div class="memproto">
2684
- <table class="memname">
2685
- <tr>
2686
- <td class="memname"><a class="el" href="classGosu_1_1Color.html">Color</a> Gosu::multiply </td>
2687
- <td>(</td>
2688
- <td class="paramtype">Color&nbsp;</td>
2689
- <td class="paramname"> <em>a</em>, </td>
2690
- </tr>
2691
- <tr>
2692
- <td class="paramkey"></td>
2693
- <td></td>
2694
- <td class="paramtype">Color&nbsp;</td>
2695
- <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
2696
- </tr>
2697
- <tr>
2698
- <td></td>
2699
- <td>)</td>
2700
- <td></td><td></td><td width="100%"></td>
2701
- </tr>
2702
- </table>
2703
- </div>
2704
- <div class="memdoc">
2705
-
2706
- <p>
2707
- Combines two colors as if their channels were mapped to the 0.
2708
- <p>
2709
- .1 range and then multiplied with each other.
2710
- </div>
2711
- </div><p>
2712
- <a class="anchor" name="66106eac9ffd4e4047e891c20196a5a2"></a><!-- doxytag: member="Gosu::narrow" ref="66106eac9ffd4e4047e891c20196a5a2" args="(const std::wstring &amp;ws)" -->
2713
- <div class="memitem">
2714
- <div class="memproto">
2715
- <table class="memname">
2716
- <tr>
2717
- <td class="memname">std::string Gosu::narrow </td>
2718
- <td>(</td>
2719
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2720
- <td class="paramname"> <em>ws</em> </td>
2721
- <td>&nbsp;)&nbsp;</td>
2722
- <td width="100%"></td>
2723
- </tr>
2724
- </table>
2725
- </div>
2726
- <div class="memdoc">
2727
-
2728
- <p>
2729
- Converts an std::wstring into an std::string using local encoding.
2730
- <p>
2731
-
2732
- </div>
2733
- </div><p>
2734
- <a class="anchor" name="c6f147ab90f7e343dd9d70cc8bf3a91b"></a><!-- doxytag: member="Gosu::normalizeAngle" ref="c6f147ab90f7e343dd9d70cc8bf3a91b" args="(double angle)" -->
2735
- <div class="memitem">
2736
- <div class="memproto">
2737
- <table class="memname">
2738
- <tr>
2739
- <td class="memname">double Gosu::normalizeAngle </td>
2740
- <td>(</td>
2741
- <td class="paramtype">double&nbsp;</td>
2742
- <td class="paramname"> <em>angle</em> </td>
2743
- <td>&nbsp;)&nbsp;</td>
2744
- <td width="100%"></td>
2745
- </tr>
2746
- </table>
2747
- </div>
2748
- <div class="memdoc">
2749
-
2750
- <p>
2751
- Normalizes an angle to fit into the range [0; 360[.
2752
- <p>
2753
-
2754
- </div>
2755
- </div><p>
2756
- <a class="anchor" name="e61d02831aa7026e96f1e53a358609b2"></a><!-- doxytag: member="Gosu::offsetX" ref="e61d02831aa7026e96f1e53a358609b2" args="(double angle, double radius)" -->
2757
- <div class="memitem">
2758
- <div class="memproto">
2759
- <table class="memname">
2760
- <tr>
2761
- <td class="memname">double Gosu::offsetX </td>
2762
- <td>(</td>
2763
- <td class="paramtype">double&nbsp;</td>
2764
- <td class="paramname"> <em>angle</em>, </td>
2765
- </tr>
2766
- <tr>
2767
- <td class="paramkey"></td>
2768
- <td></td>
2769
- <td class="paramtype">double&nbsp;</td>
2770
- <td class="paramname"> <em>radius</em></td><td>&nbsp;</td>
2771
- </tr>
2772
- <tr>
2773
- <td></td>
2774
- <td>)</td>
2775
- <td></td><td></td><td width="100%"></td>
2776
- </tr>
2777
- </table>
2778
- </div>
2779
- <div class="memdoc">
2780
-
2781
- <p>
2782
- Returns the horizontal distance between the origin and the point to which you would get if you moved radius pixels in the direction specified by angle.
2783
- <p>
2784
- <dl compact><dt><b>Parameters:</b></dt><dd>
2785
- <table border="0" cellspacing="2" cellpadding="0">
2786
- <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>Angle in degrees where 0.0 means upwards. </td></tr>
2787
- </table>
2788
- </dl>
2789
-
2790
- </div>
2791
- </div><p>
2792
- <a class="anchor" name="9e0845d8b2ed385cb4e8593e7a308a08"></a><!-- doxytag: member="Gosu::offsetY" ref="9e0845d8b2ed385cb4e8593e7a308a08" args="(double angle, double radius)" -->
2793
- <div class="memitem">
2794
- <div class="memproto">
2795
- <table class="memname">
2796
- <tr>
2797
- <td class="memname">double Gosu::offsetY </td>
2798
- <td>(</td>
2799
- <td class="paramtype">double&nbsp;</td>
2800
- <td class="paramname"> <em>angle</em>, </td>
2801
- </tr>
2802
- <tr>
2803
- <td class="paramkey"></td>
2804
- <td></td>
2805
- <td class="paramtype">double&nbsp;</td>
2806
- <td class="paramname"> <em>radius</em></td><td>&nbsp;</td>
2807
- </tr>
2808
- <tr>
2809
- <td></td>
2810
- <td>)</td>
2811
- <td></td><td></td><td width="100%"></td>
2812
- </tr>
2813
- </table>
2814
- </div>
2815
- <div class="memdoc">
2816
-
2817
- <p>
2818
- Returns the vertical distance between the origin and the point to which you would get if you moved radius pixels in the direction specified by angle.
2819
- <p>
2820
- <dl compact><dt><b>Parameters:</b></dt><dd>
2821
- <table border="0" cellspacing="2" cellpadding="0">
2822
- <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>Angle in degrees where 0.0 means upwards. </td></tr>
2823
- </table>
2824
- </dl>
2825
-
2826
- </div>
2827
- </div><p>
2828
- <a class="anchor" name="8abc916db977614382f04aef415c21c3"></a><!-- doxytag: member="Gosu::operator==" ref="8abc916db977614382f04aef415c21c3" args="(Button lhs, Button rhs)" -->
2829
- <div class="memitem">
2830
- <div class="memproto">
2831
- <table class="memname">
2832
- <tr>
2833
- <td class="memname">bool Gosu::operator== </td>
2834
- <td>(</td>
2835
- <td class="paramtype">Button&nbsp;</td>
2836
- <td class="paramname"> <em>lhs</em>, </td>
2837
- </tr>
2838
- <tr>
2839
- <td class="paramkey"></td>
2840
- <td></td>
2841
- <td class="paramtype">Button&nbsp;</td>
2842
- <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
2843
- </tr>
2844
- <tr>
2845
- <td></td>
2846
- <td>)</td>
2847
- <td></td><td></td><td width="100%"><code> [inline]</code></td>
2848
- </tr>
2849
- </table>
2850
- </div>
2851
- <div class="memdoc">
2852
-
2853
- <p>
2854
- Tests whether two Buttons identify the same physical button.
2855
- <p>
2856
-
2857
- <p>References <a class="el" href="Input_8hpp-source.html#l00043">Gosu::Button::getId()</a>.</p>
2858
-
2859
- </div>
2860
- </div><p>
2861
- <a class="anchor" name="a853d9351f1568d0a949b2b7717e1e6a"></a><!-- doxytag: member="Gosu::radiansToGosu" ref="a853d9351f1568d0a949b2b7717e1e6a" args="(double angle)" -->
2862
- <div class="memitem">
2863
- <div class="memproto">
2864
- <table class="memname">
2865
- <tr>
2866
- <td class="memname">double Gosu::radiansToGosu </td>
2867
- <td>(</td>
2868
- <td class="paramtype">double&nbsp;</td>
2869
- <td class="paramname"> <em>angle</em> </td>
2870
- <td>&nbsp;)&nbsp;</td>
2871
- <td width="100%"><code> [inline]</code></td>
2872
- </tr>
2873
- </table>
2874
- </div>
2875
- <div class="memdoc">
2876
-
2877
- <p>
2878
- Translates between Gosu's angle system and radians.
2879
- <p>
2880
-
2881
- <p>References <a class="el" href="Math_8hpp-source.html#l00010">pi</a>.</p>
2882
-
2883
- </div>
2884
- </div><p>
2885
- <a class="anchor" name="6c855080566f7f1b1967c90805249dda"></a><!-- doxytag: member="Gosu::random" ref="6c855080566f7f1b1967c90805249dda" args="(double min, double max)" -->
2886
- <div class="memitem">
2887
- <div class="memproto">
2888
- <table class="memname">
2889
- <tr>
2890
- <td class="memname">double Gosu::random </td>
2891
- <td>(</td>
2892
- <td class="paramtype">double&nbsp;</td>
2893
- <td class="paramname"> <em>min</em>, </td>
2894
- </tr>
2895
- <tr>
2896
- <td class="paramkey"></td>
2897
- <td></td>
2898
- <td class="paramtype">double&nbsp;</td>
2899
- <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
2900
- </tr>
2901
- <tr>
2902
- <td></td>
2903
- <td>)</td>
2904
- <td></td><td></td><td width="100%"></td>
2905
- </tr>
2906
- </table>
2907
- </div>
2908
- <div class="memdoc">
2909
-
2910
- <p>
2911
- Returns a real value between min and max.
2912
- <p>
2913
- Uses std::rand (so you have to call std::srand before using it).
2914
- </div>
2915
- </div><p>
2916
- <a class="anchor" name="9e98cb1b194245f7ebb33febdf3ea1ba"></a><!-- doxytag: member="Gosu::resourcePrefix" ref="9e98cb1b194245f7ebb33febdf3ea1ba" args="()" -->
2917
- <div class="memitem">
2918
- <div class="memproto">
2919
- <table class="memname">
2920
- <tr>
2921
- <td class="memname">std::wstring Gosu::resourcePrefix </td>
2922
- <td>(</td>
2923
- <td class="paramname"> </td>
2924
- <td>&nbsp;)&nbsp;</td>
2925
- <td width="100%"></td>
2926
- </tr>
2927
- </table>
2928
- </div>
2929
- <div class="memdoc">
2930
-
2931
- <p>
2932
- Prefix for a program's own resources.
2933
- <p>
2934
- On Windows, the executable's containing directory. On OS X, the application's Resources subdirectory. On Linux, the current directory.
2935
- </div>
2936
- </div><p>
2937
- <a class="anchor" name="496868cf52cf159cf98a00888c4fbc1c"></a><!-- doxytag: member="Gosu::round" ref="496868cf52cf159cf98a00888c4fbc1c" args="(double value)" -->
2938
- <div class="memitem">
2939
- <div class="memproto">
2940
- <table class="memname">
2941
- <tr>
2942
- <td class="memname">long Gosu::round </td>
2943
- <td>(</td>
2944
- <td class="paramtype">double&nbsp;</td>
2945
- <td class="paramname"> <em>value</em> </td>
2946
- <td>&nbsp;)&nbsp;</td>
2947
- <td width="100%"><code> [inline]</code></td>
2948
- </tr>
2949
- </table>
2950
- </div>
2951
- <div class="memdoc">
2952
-
2953
- <p>
2954
- Rounds a real value towards the next integer.
2955
- <p>
2956
-
2957
- </div>
2958
- </div><p>
2959
- <a class="anchor" name="467aa346fa1a4cb39040bb427b42b7aa"></a><!-- doxytag: member="Gosu::saveFile" ref="467aa346fa1a4cb39040bb427b42b7aa" args="(const Buffer &amp;buffer, const std::wstring &amp;filename)" -->
2960
- <div class="memitem">
2961
- <div class="memproto">
2962
- <table class="memname">
2963
- <tr>
2964
- <td class="memname">void Gosu::saveFile </td>
2965
- <td>(</td>
2966
- <td class="paramtype">const Buffer &amp;&nbsp;</td>
2967
- <td class="paramname"> <em>buffer</em>, </td>
2968
- </tr>
2969
- <tr>
2970
- <td class="paramkey"></td>
2971
- <td></td>
2972
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
2973
- <td class="paramname"> <em>filename</em></td><td>&nbsp;</td>
2974
- </tr>
2975
- <tr>
2976
- <td></td>
2977
- <td>)</td>
2978
- <td></td><td></td><td width="100%"></td>
2979
- </tr>
2980
- </table>
2981
- </div>
2982
- <div class="memdoc">
2983
-
2984
- <p>
2985
- Creates or overwrites a file with the contents of a buffer.
2986
- <p>
2987
-
2988
- </div>
2989
- </div><p>
2990
- <a class="anchor" name="88c53b6073e06c2ce343bf49579b02de"></a><!-- doxytag: member="Gosu::saveToBMP" ref="88c53b6073e06c2ce343bf49579b02de" args="(const Bitmap &amp;bmp, Writer writer)" -->
2991
- <div class="memitem">
2992
- <div class="memproto">
2993
- <table class="memname">
2994
- <tr>
2995
- <td class="memname">Writer Gosu::saveToBMP </td>
2996
- <td>(</td>
2997
- <td class="paramtype">const Bitmap &amp;&nbsp;</td>
2998
- <td class="paramname"> <em>bmp</em>, </td>
2999
- </tr>
3000
- <tr>
3001
- <td class="paramkey"></td>
3002
- <td></td>
3003
- <td class="paramtype">Writer&nbsp;</td>
3004
- <td class="paramname"> <em>writer</em></td><td>&nbsp;</td>
3005
- </tr>
3006
- <tr>
3007
- <td></td>
3008
- <td>)</td>
3009
- <td></td><td></td><td width="100%"></td>
3010
- </tr>
3011
- </table>
3012
- </div>
3013
- <div class="memdoc">
3014
-
3015
- <p>
3016
- Saves the contents of the given bitmap into windows BMP file data.
3017
- <p>
3018
-
3019
- </div>
3020
- </div><p>
3021
- <a class="anchor" name="7c1a78c796335d8f2183a6694a911eb7"></a><!-- doxytag: member="Gosu::saveToPNG" ref="7c1a78c796335d8f2183a6694a911eb7" args="(const Bitmap &amp;bmp, Writer writer)" -->
3022
- <div class="memitem">
3023
- <div class="memproto">
3024
- <table class="memname">
3025
- <tr>
3026
- <td class="memname">Writer Gosu::saveToPNG </td>
3027
- <td>(</td>
3028
- <td class="paramtype">const Bitmap &amp;&nbsp;</td>
3029
- <td class="paramname"> <em>bmp</em>, </td>
3030
- </tr>
3031
- <tr>
3032
- <td class="paramkey"></td>
3033
- <td></td>
3034
- <td class="paramtype">Writer&nbsp;</td>
3035
- <td class="paramname"> <em>writer</em></td><td>&nbsp;</td>
3036
- </tr>
3037
- <tr>
3038
- <td></td>
3039
- <td>)</td>
3040
- <td></td><td></td><td width="100%"></td>
3041
- </tr>
3042
- </table>
3043
- </div>
3044
- <div class="memdoc">
3045
-
3046
- <p>
3047
- Saves the contents of the given bitmap into PNG file data, 24 bits.
3048
- <p>
3049
-
3050
- </div>
3051
- </div><p>
3052
- <a class="anchor" name="15eb63b0cec84b235d0f4d836731d3e1"></a><!-- doxytag: member="Gosu::sharedResourcePrefix" ref="15eb63b0cec84b235d0f4d836731d3e1" args="()" -->
3053
- <div class="memitem">
3054
- <div class="memproto">
3055
- <table class="memname">
3056
- <tr>
3057
- <td class="memname">std::wstring Gosu::sharedResourcePrefix </td>
3058
- <td>(</td>
3059
- <td class="paramname"> </td>
3060
- <td>&nbsp;)&nbsp;</td>
3061
- <td width="100%"></td>
3062
- </tr>
3063
- </table>
3064
- </div>
3065
- <div class="memdoc">
3066
-
3067
- <p>
3068
- Prefix for resources of a group of programs.
3069
- <p>
3070
- On Windows, the executable's containing directory. On OS X, the application's containing subdirectory. On Linux, the current directory.
3071
- </div>
3072
- </div><p>
3073
- <a class="anchor" name="93f9b0118e9708a760148c8c5da481d2"></a><!-- doxytag: member="Gosu::sleep" ref="93f9b0118e9708a760148c8c5da481d2" args="(unsigned milliseconds)" -->
3074
- <div class="memitem">
3075
- <div class="memproto">
3076
- <table class="memname">
3077
- <tr>
3078
- <td class="memname">void Gosu::sleep </td>
3079
- <td>(</td>
3080
- <td class="paramtype">unsigned&nbsp;</td>
3081
- <td class="paramname"> <em>milliseconds</em> </td>
3082
- <td>&nbsp;)&nbsp;</td>
3083
- <td width="100%"></td>
3084
- </tr>
3085
- </table>
3086
- </div>
3087
- <div class="memdoc">
3088
-
3089
- <p>
3090
- Freezes the current thread for at least the specified time.
3091
- <p>
3092
-
3093
- </div>
3094
- </div><p>
3095
- <a class="anchor" name="cac78b0775d1b551f4adf9ae76efb4cc"></a><!-- doxytag: member="Gosu::square" ref="cac78b0775d1b551f4adf9ae76efb4cc" args="(T value)" -->
3096
- <div class="memitem">
3097
- <div class="memproto">
3098
- <div class="memtemplate">
3099
- template&lt;typename T&gt; </div>
3100
- <table class="memname">
3101
- <tr>
3102
- <td class="memname">T Gosu::square </td>
3103
- <td>(</td>
3104
- <td class="paramtype">T&nbsp;</td>
3105
- <td class="paramname"> <em>value</em> </td>
3106
- <td>&nbsp;)&nbsp;</td>
3107
- <td width="100%"><code> [inline]</code></td>
3108
- </tr>
3109
- </table>
3110
- </div>
3111
- <div class="memdoc">
3112
-
3113
- <p>
3114
- Returns value * value.
3115
- <p>
3116
-
3117
- <p>Referenced by <a class="el" href="Math_8hpp-source.html#l00089">distanceSqr()</a>.</p>
3118
-
3119
- </div>
3120
- </div><p>
3121
- <a class="anchor" name="c2c5b3cca9903139efbd2d601a631ee6"></a><!-- doxytag: member="Gosu::stringToAddress" ref="c2c5b3cca9903139efbd2d601a631ee6" args="(const std::string &amp;s)" -->
3122
- <div class="memitem">
3123
- <div class="memproto">
3124
- <table class="memname">
3125
- <tr>
3126
- <td class="memname">SocketAddress Gosu::stringToAddress </td>
3127
- <td>(</td>
3128
- <td class="paramtype">const std::string &amp;&nbsp;</td>
3129
- <td class="paramname"> <em>s</em> </td>
3130
- <td>&nbsp;)&nbsp;</td>
3131
- <td width="100%"></td>
3132
- </tr>
3133
- </table>
3134
- </div>
3135
- <div class="memdoc">
3136
-
3137
- <p>
3138
- Tries to convert a dotted IP4 string into an address suitable for socket functions.
3139
- <p>
3140
- If the string supplied is not such a string, it tries to look up the host via DNS. If both methods fail, zero is returned.
3141
- </div>
3142
- </div><p>
3143
- <a class="anchor" name="b04c11ac75a9069c4b2f8a27ae1094fc"></a><!-- doxytag: member="Gosu::textWidth" ref="b04c11ac75a9069c4b2f8a27ae1094fc" args="(const std::wstring &amp;text, const std::wstring &amp;fontName, unsigned fontHeight, unsigned fontFlags=0)" -->
3144
- <div class="memitem">
3145
- <div class="memproto">
3146
- <table class="memname">
3147
- <tr>
3148
- <td class="memname">unsigned Gosu::textWidth </td>
3149
- <td>(</td>
3150
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
3151
- <td class="paramname"> <em>text</em>, </td>
3152
- </tr>
3153
- <tr>
3154
- <td class="paramkey"></td>
3155
- <td></td>
3156
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
3157
- <td class="paramname"> <em>fontName</em>, </td>
3158
- </tr>
3159
- <tr>
3160
- <td class="paramkey"></td>
3161
- <td></td>
3162
- <td class="paramtype">unsigned&nbsp;</td>
3163
- <td class="paramname"> <em>fontHeight</em>, </td>
3164
- </tr>
3165
- <tr>
3166
- <td class="paramkey"></td>
3167
- <td></td>
3168
- <td class="paramtype">unsigned&nbsp;</td>
3169
- <td class="paramname"> <em>fontFlags</em> = <code>0</code></td><td>&nbsp;</td>
3170
- </tr>
3171
- <tr>
3172
- <td></td>
3173
- <td>)</td>
3174
- <td></td><td></td><td width="100%"></td>
3175
- </tr>
3176
- </table>
3177
- </div>
3178
- <div class="memdoc">
3179
-
3180
- <p>
3181
- Returns the width a text would span on a bitmap if it were drawn using drawText with the same arguments.
3182
- <p>
3183
- <dl compact><dt><b>Parameters:</b></dt><dd>
3184
- <table border="0" cellspacing="2" cellpadding="0">
3185
- <tr><td valign="top"></td><td valign="top"><em>fontName</em>&nbsp;</td><td>Name of a system font, or a filename to a TTF file (must contain '/'). </td></tr>
3186
- </table>
3187
- </dl>
3188
-
3189
- </div>
3190
- </div><p>
3191
- <a class="anchor" name="dc5f4941f3a17c6c5233d6c7a628cc68"></a><!-- doxytag: member="Gosu::trunc" ref="dc5f4941f3a17c6c5233d6c7a628cc68" args="(double value)" -->
3192
- <div class="memitem">
3193
- <div class="memproto">
3194
- <table class="memname">
3195
- <tr>
3196
- <td class="memname">long Gosu::trunc </td>
3197
- <td>(</td>
3198
- <td class="paramtype">double&nbsp;</td>
3199
- <td class="paramname"> <em>value</em> </td>
3200
- <td>&nbsp;)&nbsp;</td>
3201
- <td width="100%"><code> [inline]</code></td>
3202
- </tr>
3203
- </table>
3204
- </div>
3205
- <div class="memdoc">
3206
-
3207
- <p>
3208
- Truncates the fractional part of a real value.
3209
- <p>
3210
- Equivalent to static_cast&lt;long&gt;.
3211
- </div>
3212
- </div><p>
3213
- <a class="anchor" name="608bef262f259644b1e804c5bd03683a"></a><!-- doxytag: member="Gosu::userDocsPrefix" ref="608bef262f259644b1e804c5bd03683a" args="()" -->
3214
- <div class="memitem">
3215
- <div class="memproto">
3216
- <table class="memname">
3217
- <tr>
3218
- <td class="memname">std::wstring Gosu::userDocsPrefix </td>
3219
- <td>(</td>
3220
- <td class="paramname"> </td>
3221
- <td>&nbsp;)&nbsp;</td>
3222
- <td width="100%"></td>
3223
- </tr>
3224
- </table>
3225
- </div>
3226
- <div class="memdoc">
3227
-
3228
- <p>
3229
- Prefix for user documents, e.g.
3230
- <p>
3231
- save games. On Windows, the My Documents folder. On OS X, the user's Documents folder. On Linux, the home directory.
3232
- </div>
3233
- </div><p>
3234
- <a class="anchor" name="c5d5db92f55aba5bcd7cd6ca1a79c712"></a><!-- doxytag: member="Gosu::userSettingsPrefix" ref="c5d5db92f55aba5bcd7cd6ca1a79c712" args="()" -->
3235
- <div class="memitem">
3236
- <div class="memproto">
3237
- <table class="memname">
3238
- <tr>
3239
- <td class="memname">std::wstring Gosu::userSettingsPrefix </td>
3240
- <td>(</td>
3241
- <td class="paramname"> </td>
3242
- <td>&nbsp;)&nbsp;</td>
3243
- <td width="100%"></td>
3244
- </tr>
3245
- </table>
3246
- </div>
3247
- <div class="memdoc">
3248
-
3249
- <p>
3250
- Prefix for user settings.
3251
- <p>
3252
- On Windows, the same as APPDATA%. On OS X, the user's Library/Preferences folder. On Linux, the home directory plus a trailing dot for hidden files.
3253
- </div>
3254
- </div><p>
3255
- <a class="anchor" name="21c54ae29c5b4ebc282b87d6dec1f7de"></a><!-- doxytag: member="Gosu::utf8ToWstring" ref="21c54ae29c5b4ebc282b87d6dec1f7de" args="(const std::string &amp;utf8)" -->
3256
- <div class="memitem">
3257
- <div class="memproto">
3258
- <table class="memname">
3259
- <tr>
3260
- <td class="memname">std::wstring Gosu::utf8ToWstring </td>
3261
- <td>(</td>
3262
- <td class="paramtype">const std::string &amp;&nbsp;</td>
3263
- <td class="paramname"> <em>utf8</em> </td>
3264
- <td>&nbsp;)&nbsp;</td>
3265
- <td width="100%"></td>
3266
- </tr>
3267
- </table>
3268
- </div>
3269
- <div class="memdoc">
3270
-
3271
- <p>
3272
- Converts an std::string into an std::wstring.
3273
- <p>
3274
-
3275
- </div>
3276
- </div><p>
3277
- <a class="anchor" name="76d73802e9aa00f9133c3f1e099b832e"></a><!-- doxytag: member="Gosu::widen" ref="76d73802e9aa00f9133c3f1e099b832e" args="(const std::string &amp;s)" -->
3278
- <div class="memitem">
3279
- <div class="memproto">
3280
- <table class="memname">
3281
- <tr>
3282
- <td class="memname">std::wstring Gosu::widen </td>
3283
- <td>(</td>
3284
- <td class="paramtype">const std::string &amp;&nbsp;</td>
3285
- <td class="paramname"> <em>s</em> </td>
3286
- <td>&nbsp;)&nbsp;</td>
3287
- <td width="100%"></td>
3288
- </tr>
3289
- </table>
3290
- </div>
3291
- <div class="memdoc">
3292
-
3293
- <p>
3294
- Converts an std::string into an std::wstring using local encoding.
3295
- <p>
3296
-
3297
- </div>
3298
- </div><p>
3299
- <a class="anchor" name="b6bc6e428b84b2e2ac39133c64b4567e"></a><!-- doxytag: member="Gosu::wstringToUTF8" ref="b6bc6e428b84b2e2ac39133c64b4567e" args="(const std::wstring &amp;ws)" -->
3300
- <div class="memitem">
3301
- <div class="memproto">
3302
- <table class="memname">
3303
- <tr>
3304
- <td class="memname">std::string Gosu::wstringToUTF8 </td>
3305
- <td>(</td>
3306
- <td class="paramtype">const std::wstring &amp;&nbsp;</td>
3307
- <td class="paramname"> <em>ws</em> </td>
3308
- <td>&nbsp;)&nbsp;</td>
3309
- <td width="100%"></td>
3310
- </tr>
3311
- </table>
3312
- </div>
3313
- <div class="memdoc">
3314
-
3315
- <p>
3316
- Converts an std::wstring into an std::string.
3317
- <p>
3318
-
3319
- </div>
3320
- </div><p>
3321
- <hr><h2>Variable Documentation</h2>
3322
- <a class="anchor" name="cc7336a0eba36412dab0e991fb3faf01"></a><!-- doxytag: member="Gosu::pi" ref="cc7336a0eba36412dab0e991fb3faf01" args="" -->
3323
- <div class="memitem">
3324
- <div class="memproto">
3325
- <table class="memname">
3326
- <tr>
3327
- <td class="memname">const double <a class="el" href="namespaceGosu.html#cc7336a0eba36412dab0e991fb3faf01">Gosu::pi</a> = 3.1415926536 </td>
3328
- </tr>
3329
- </table>
3330
- </div>
3331
- <div class="memdoc">
3332
-
3333
- <p>
3334
- Pi.
3335
- <p>
3336
-
3337
- <p>Referenced by <a class="el" href="Math_8hpp-source.html#l00033">gosuToRadians()</a>, and <a class="el" href="Math_8hpp-source.html#l00038">radiansToGosu()</a>.</p>
3338
-
3339
- </div>
3340
- </div><p>
3341
- <a class="anchor" name="66e372da7f9b1ce440cc35da4b16b027"></a><!-- doxytag: member="Gosu::zImmediate" ref="66e372da7f9b1ce440cc35da4b16b027" args="" -->
3342
- <div class="memitem">
3343
- <div class="memproto">
3344
- <table class="memname">
3345
- <tr>
3346
- <td class="memname">const double <a class="el" href="namespaceGosu.html#66e372da7f9b1ce440cc35da4b16b027">Gosu::zImmediate</a> = -std::numeric_limits&lt;double&gt;::infinity() </td>
3347
- </tr>
3348
- </table>
3349
- </div>
3350
- <div class="memdoc">
3351
-
3352
- <p>
3353
- The lowest possible Z position.
3354
- <p>
3355
- By using this, you tell <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> that your drawing operation does not need Z ordering and can be performed immediately.
3356
- </div>
3357
- </div><p>
3358
- </div>
3359
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
3360
- <a href="http://www.doxygen.org/index.html">
3361
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
3362
- </body>
3363
- </html>