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,78 +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::Buffer Class 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><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><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Buffer.html">Buffer</a>
25
- </div>
26
- </div>
27
- <div class="contents">
28
- <h1>Gosu::Buffer Class Reference</h1><!-- doxytag: class="Gosu::Buffer" --><!-- doxytag: inherits="Gosu::Resource" -->Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface.
29
- <a href="#_details">More...</a>
30
- <p>
31
- <div class="dynheader">
32
- Inheritance diagram for Gosu::Buffer:</div>
33
- <div class="dynsection">
34
-
35
- <p><center><img src="classGosu_1_1Buffer.png" usemap="#Gosu::Buffer_map" border="0" alt=""></center>
36
- <map name="Gosu::Buffer_map">
37
- <area href="classGosu_1_1Resource.html" alt="Gosu::Resource" shape="rect" coords="0,0,101,24">
38
- </map>
39
- </div>
40
-
41
- <p>
42
- <a href="classGosu_1_1Buffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
43
- <tr><td></td></tr>
44
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
45
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5633a0dc1b9b9d394cf53e5e06ab82c"></a><!-- doxytag: member="Gosu::Buffer::Buffer" ref="b5633a0dc1b9b9d394cf53e5e06ab82c" args="(const Buffer &amp;other)" -->
46
- &nbsp;</td><td class="memItemRight" valign="bottom"><b>Buffer</b> (const <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &amp;other)</td></tr>
47
-
48
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6027117fa016fb5b1315106436badbc0"></a><!-- doxytag: member="Gosu::Buffer::operator=" ref="6027117fa016fb5b1315106436badbc0" args="(const Buffer &amp;other)" -->
49
- <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &amp;other)</td></tr>
50
-
51
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87dc8af05b5c5073ef12bdf3368dcfe3"></a><!-- doxytag: member="Gosu::Buffer::size" ref="87dc8af05b5c5073ef12bdf3368dcfe3" args="() const " -->
52
- std::size_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
53
-
54
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2ba0896aa3e51d2d8ae30551288fabc"></a><!-- doxytag: member="Gosu::Buffer::resize" ref="a2ba0896aa3e51d2d8ae30551288fabc" args="(std::size_t newSize)" -->
55
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>resize</b> (std::size_t newSize)</td></tr>
56
-
57
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="663043ae5ef683670989dfa2fc71c189"></a><!-- doxytag: member="Gosu::Buffer::read" ref="663043ae5ef683670989dfa2fc71c189" args="(std::size_t offset, std::size_t length, void *destBuffer) const " -->
58
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>read</b> (std::size_t offset, std::size_t length, void *destBuffer) const </td></tr>
59
-
60
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6fb20591d430230c854aaa9ff5f29bc3"></a><!-- doxytag: member="Gosu::Buffer::write" ref="6fb20591d430230c854aaa9ff5f29bc3" args="(std::size_t offset, std::size_t length, const void *sourceBuffer)" -->
61
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>write</b> (std::size_t offset, std::size_t length, const void *sourceBuffer)</td></tr>
62
-
63
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d488eb50bdec6f327dee18025dc95714"></a><!-- doxytag: member="Gosu::Buffer::data" ref="d488eb50bdec6f327dee18025dc95714" args="() const " -->
64
- const void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>data</b> () const </td></tr>
65
-
66
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e71074a520bb3939313b7610432c7358"></a><!-- doxytag: member="Gosu::Buffer::data" ref="e71074a520bb3939313b7610432c7358" args="()" -->
67
- void *&nbsp;</td><td class="memItemRight" valign="bottom"><b>data</b> ()</td></tr>
68
-
69
- </table>
70
- <hr><a name="_details"></a><h2>Detailed Description</h2>
71
- Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <hr>The documentation for this class was generated from the following file:<ul>
72
- <li><a class="el" href="IO_8hpp-source.html">IO.hpp</a></ul>
73
- </div>
74
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
75
- <a href="http://www.doxygen.org/index.html">
76
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
77
- </body>
78
- </html>
@@ -1,36 +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: Member List</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><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- </div>
25
- <div class="contents">
26
- <h1>Gosu::Button Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>, including all inherited members.<p><table>
27
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#e32f254fdf87bd98cfaa2c1be62e5600">Button</a>(unsigned id)</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline, explicit]</code></td></tr>
28
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#0277cb92caff494eb2b568101ada4254">Button</a>()</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
29
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b0d53d357fa263d676d803c6c6baf843">Button</a>(ButtonName name)</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
30
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a>() const </td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
31
- </table></div>
32
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
33
- <a href="http://www.doxygen.org/index.html">
34
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
35
- </body>
36
- </html>
@@ -1,143 +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::Button Class 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><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><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Button.html">Button</a>
25
- </div>
26
- </div>
27
- <div class="contents">
28
- <h1>Gosu::Button Class Reference</h1><!-- doxytag: class="Gosu::Button" -->Very lightweight class that identifies a button (keyboard, mouse or other device).
29
- <a href="#_details">More...</a>
30
- <p>
31
-
32
- <p>
33
- <a href="classGosu_1_1Button-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
- <tr><td></td></tr>
35
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#e32f254fdf87bd98cfaa2c1be62e5600">Button</a> (unsigned id)</td></tr>
37
-
38
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a> () const </td></tr>
39
-
40
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#0277cb92caff494eb2b568101ada4254">Button</a> ()</td></tr>
41
-
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#b0d53d357fa263d676d803c6c6baf843">Button</a> (<a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a> name)</td></tr>
43
-
44
- </table>
45
- <hr><a name="_details"></a><h2>Detailed Description</h2>
46
- Very lightweight class that identifies a button (keyboard, mouse or other device). <hr><h2>Constructor &amp; Destructor Documentation</h2>
47
- <a class="anchor" name="e32f254fdf87bd98cfaa2c1be62e5600"></a><!-- doxytag: member="Gosu::Button::Button" ref="e32f254fdf87bd98cfaa2c1be62e5600" args="(unsigned id)" -->
48
- <div class="memitem">
49
- <div class="memproto">
50
- <table class="memname">
51
- <tr>
52
- <td class="memname">Gosu::Button::Button </td>
53
- <td>(</td>
54
- <td class="paramtype">unsigned&nbsp;</td>
55
- <td class="paramname"> <em>id</em> </td>
56
- <td>&nbsp;)&nbsp;</td>
57
- <td width="100%"><code> [inline, explicit]</code></td>
58
- </tr>
59
- </table>
60
- </div>
61
- <div class="memdoc">
62
-
63
- <p>
64
- For internal use.
65
- <p>
66
-
67
- </div>
68
- </div><p>
69
- <a class="anchor" name="0277cb92caff494eb2b568101ada4254"></a><!-- doxytag: member="Gosu::Button::Button" ref="0277cb92caff494eb2b568101ada4254" args="()" -->
70
- <div class="memitem">
71
- <div class="memproto">
72
- <table class="memname">
73
- <tr>
74
- <td class="memname">Gosu::Button::Button </td>
75
- <td>(</td>
76
- <td class="paramname"> </td>
77
- <td>&nbsp;)&nbsp;</td>
78
- <td width="100%"><code> [inline]</code></td>
79
- </tr>
80
- </table>
81
- </div>
82
- <div class="memdoc">
83
-
84
- <p>
85
- Default constructor; == noButton.
86
- <p>
87
-
88
- </div>
89
- </div><p>
90
- <a class="anchor" name="b0d53d357fa263d676d803c6c6baf843"></a><!-- doxytag: member="Gosu::Button::Button" ref="b0d53d357fa263d676d803c6c6baf843" args="(ButtonName name)" -->
91
- <div class="memitem">
92
- <div class="memproto">
93
- <table class="memname">
94
- <tr>
95
- <td class="memname">Gosu::Button::Button </td>
96
- <td>(</td>
97
- <td class="paramtype"><a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a>&nbsp;</td>
98
- <td class="paramname"> <em>name</em> </td>
99
- <td>&nbsp;)&nbsp;</td>
100
- <td width="100%"><code> [inline]</code></td>
101
- </tr>
102
- </table>
103
- </div>
104
- <div class="memdoc">
105
-
106
- <p>
107
- Conversion from ButtonName constants.
108
- <p>
109
-
110
- </div>
111
- </div><p>
112
- <hr><h2>Member Function Documentation</h2>
113
- <a class="anchor" name="b4427dd79ad56325fc5d0509b7ddaed2"></a><!-- doxytag: member="Gosu::Button::getId" ref="b4427dd79ad56325fc5d0509b7ddaed2" args="() const " -->
114
- <div class="memitem">
115
- <div class="memproto">
116
- <table class="memname">
117
- <tr>
118
- <td class="memname">unsigned Gosu::Button::getId </td>
119
- <td>(</td>
120
- <td class="paramname"> </td>
121
- <td>&nbsp;)&nbsp;</td>
122
- <td width="100%"> const<code> [inline]</code></td>
123
- </tr>
124
- </table>
125
- </div>
126
- <div class="memdoc">
127
-
128
- <p>
129
- For internal use.
130
- <p>
131
-
132
- <p>Referenced by <a class="el" href="Input_8hpp-source.html#l00058">Gosu::operator==()</a>.</p>
133
-
134
- </div>
135
- </div><p>
136
- <hr>The documentation for this class was generated from the following file:<ul>
137
- <li><a class="el" href="Input_8hpp-source.html">Input.hpp</a></ul>
138
- </div>
139
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
140
- <a href="http://www.doxygen.org/index.html">
141
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
142
- </body>
143
- </html>
@@ -1,56 +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: Member List</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><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- </div>
25
- <div class="contents">
26
- <h1>Gosu::Color Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>, including all inherited members.<p><table>
27
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
28
- <tr bgcolor="#f0f0f0"><td><b>alpha</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
29
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
30
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
31
- <tr bgcolor="#f0f0f0"><td><b>blue</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
32
- <tr bgcolor="#f0f0f0"><td><b>Channel</b> typedef (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
33
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a>()</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
34
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a>(boost::uint32_t argb)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
35
- <tr bgcolor="#f0f0f0"><td><b>Color</b>(Channel red, Channel green, Channel blue) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
36
- <tr bgcolor="#f0f0f0"><td><b>Color</b>(Channel alpha, Channel red, Channel green, Channel blue) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
37
- <tr bgcolor="#f0f0f0"><td><b>fromAHSV</b>(Channel alpha, double h, double s, double v) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
38
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a>(double h, double s, double v)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
39
- <tr bgcolor="#f0f0f0"><td><b>green</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
40
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
41
- <tr bgcolor="#f0f0f0"><td><b>red</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
42
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
43
- <tr bgcolor="#f0f0f0"><td><b>setAlpha</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
44
- <tr bgcolor="#f0f0f0"><td><b>setBlue</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
45
- <tr bgcolor="#f0f0f0"><td><b>setGreen</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
46
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#ea1515be19da555c8beed681bd97e714">setHue</a>(double h)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
47
- <tr bgcolor="#f0f0f0"><td><b>setRed</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
48
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a>(double s)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
49
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a>(double v)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
50
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
51
- </table></div>
52
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
53
- <a href="http://www.doxygen.org/index.html">
54
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
55
- </body>
56
- </html>
@@ -1,387 +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::Color Class 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><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><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Color.html">Color</a>
25
- </div>
26
- </div>
27
- <div class="contents">
28
- <h1>Gosu::Color Class Reference</h1><!-- doxytag: class="Gosu::Color" -->Represents an ARGB color value with 8 bits for each channel.
29
- <a href="#_details">More...</a>
30
- <p>
31
-
32
- <p>
33
- <a href="classGosu_1_1Color-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
- <tr><td></td></tr>
35
- <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34cffcd5f7a3c8668b74fb489a5be708"></a><!-- doxytag: member="Gosu::Color::Channel" ref="34cffcd5f7a3c8668b74fb489a5be708" args="" -->
37
- typedef boost::uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>Channel</b></td></tr>
38
-
39
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
40
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a> ()</td></tr>
41
-
42
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a> (boost::uint32_t argb)</td></tr>
43
-
44
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de4fc30548cc8de06d0d462d6ffeb334"></a><!-- doxytag: member="Gosu::Color::Color" ref="de4fc30548cc8de06d0d462d6ffeb334" args="(Channel red, Channel green, Channel blue)" -->
45
- &nbsp;</td><td class="memItemRight" valign="bottom"><b>Color</b> (Channel red, Channel green, Channel blue)</td></tr>
46
-
47
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56a809423e134392d39fb675a1ad6700"></a><!-- doxytag: member="Gosu::Color::Color" ref="56a809423e134392d39fb675a1ad6700" args="(Channel alpha, Channel red, Channel green, Channel blue)" -->
48
- &nbsp;</td><td class="memItemRight" valign="bottom"><b>Color</b> (Channel alpha, Channel red, Channel green, Channel blue)</td></tr>
49
-
50
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1e97f581f68947bedf7fd224246f128"></a><!-- doxytag: member="Gosu::Color::alpha" ref="d1e97f581f68947bedf7fd224246f128" args="() const " -->
51
- Channel&nbsp;</td><td class="memItemRight" valign="bottom"><b>alpha</b> () const </td></tr>
52
-
53
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="266978e0d4e94dd7aa10bf8a66bc1aa8"></a><!-- doxytag: member="Gosu::Color::red" ref="266978e0d4e94dd7aa10bf8a66bc1aa8" args="() const " -->
54
- Channel&nbsp;</td><td class="memItemRight" valign="bottom"><b>red</b> () const </td></tr>
55
-
56
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="551c77b7dfb7a2e7f56cdc57644ef832"></a><!-- doxytag: member="Gosu::Color::green" ref="551c77b7dfb7a2e7f56cdc57644ef832" args="() const " -->
57
- Channel&nbsp;</td><td class="memItemRight" valign="bottom"><b>green</b> () const </td></tr>
58
-
59
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c7252f283e79bc94541d58e80a0d1cf"></a><!-- doxytag: member="Gosu::Color::blue" ref="9c7252f283e79bc94541d58e80a0d1cf" args="() const " -->
60
- Channel&nbsp;</td><td class="memItemRight" valign="bottom"><b>blue</b> () const </td></tr>
61
-
62
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a50c1f07fe92d6c07cb98fd4fc1e536"></a><!-- doxytag: member="Gosu::Color::setAlpha" ref="9a50c1f07fe92d6c07cb98fd4fc1e536" args="(Channel value)" -->
63
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setAlpha</b> (Channel value)</td></tr>
64
-
65
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc65d1b1bac9ade6efed437312c21a93"></a><!-- doxytag: member="Gosu::Color::setRed" ref="fc65d1b1bac9ade6efed437312c21a93" args="(Channel value)" -->
66
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setRed</b> (Channel value)</td></tr>
67
-
68
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca2c08537635c0e6fd86d7e4b703a6ea"></a><!-- doxytag: member="Gosu::Color::setGreen" ref="ca2c08537635c0e6fd86d7e4b703a6ea" args="(Channel value)" -->
69
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setGreen</b> (Channel value)</td></tr>
70
-
71
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3134366a8659048a8ec0e2ac8c8f75b1"></a><!-- doxytag: member="Gosu::Color::setBlue" ref="3134366a8659048a8ec0e2ac8c8f75b1" args="(Channel value)" -->
72
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setBlue</b> (Channel value)</td></tr>
73
-
74
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a> () const </td></tr>
75
-
76
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#ea1515be19da555c8beed681bd97e714">setHue</a> (double h)</td></tr>
77
-
78
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a> () const </td></tr>
79
-
80
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a> (double s)</td></tr>
81
-
82
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a> () const </td></tr>
83
-
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a> (double v)</td></tr>
85
-
86
- <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a> () const </td></tr>
87
-
88
- <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a> () const </td></tr>
89
-
90
- <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a> () const </td></tr>
91
-
92
- <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
93
- <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a> (double h, double s, double v)</td></tr>
94
-
95
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b20e49f7a8bb0de839e05a0cf48a631e"></a><!-- doxytag: member="Gosu::Color::fromAHSV" ref="b20e49f7a8bb0de839e05a0cf48a631e" args="(Channel alpha, double h, double s, double v)" -->
96
- static <a class="el" href="classGosu_1_1Color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>fromAHSV</b> (Channel alpha, double h, double s, double v)</td></tr>
97
-
98
- </table>
99
- <hr><a name="_details"></a><h2>Detailed Description</h2>
100
- Represents an ARGB color value with 8 bits for each channel.
101
- <p>
102
- Can be implicitly constructed from literals of the form 0xaarrggbb. Has fast value semantics. <hr><h2>Constructor &amp; Destructor Documentation</h2>
103
- <a class="anchor" name="10bae97d1c2f7482dff21f6b0fa4c533"></a><!-- doxytag: member="Gosu::Color::Color" ref="10bae97d1c2f7482dff21f6b0fa4c533" args="()" -->
104
- <div class="memitem">
105
- <div class="memproto">
106
- <table class="memname">
107
- <tr>
108
- <td class="memname">Gosu::Color::Color </td>
109
- <td>(</td>
110
- <td class="paramname"> </td>
111
- <td>&nbsp;)&nbsp;</td>
112
- <td width="100%"><code> [inline]</code></td>
113
- </tr>
114
- </table>
115
- </div>
116
- <div class="memdoc">
117
-
118
- <p>
119
- The default constructor does not initialize the color to any value.
120
- <p>
121
-
122
- </div>
123
- </div><p>
124
- <a class="anchor" name="d3875fcbe68fb1fe608ab15f38129c6e"></a><!-- doxytag: member="Gosu::Color::Color" ref="d3875fcbe68fb1fe608ab15f38129c6e" args="(boost::uint32_t argb)" -->
125
- <div class="memitem">
126
- <div class="memproto">
127
- <table class="memname">
128
- <tr>
129
- <td class="memname">Gosu::Color::Color </td>
130
- <td>(</td>
131
- <td class="paramtype">boost::uint32_t&nbsp;</td>
132
- <td class="paramname"> <em>argb</em> </td>
133
- <td>&nbsp;)&nbsp;</td>
134
- <td width="100%"><code> [inline]</code></td>
135
- </tr>
136
- </table>
137
- </div>
138
- <div class="memdoc">
139
-
140
- <p>
141
- Conversion constructor for literals of the form 0xaarrggbb.
142
- <p>
143
- (C++ only.)
144
- </div>
145
- </div><p>
146
- <hr><h2>Member Function Documentation</h2>
147
- <a class="anchor" name="f14484c5cff18b011f32e434fe13dfff"></a><!-- doxytag: member="Gosu::Color::fromHSV" ref="f14484c5cff18b011f32e434fe13dfff" args="(double h, double s, double v)" -->
148
- <div class="memitem">
149
- <div class="memproto">
150
- <table class="memname">
151
- <tr>
152
- <td class="memname">static <a class="el" href="classGosu_1_1Color.html">Color</a> Gosu::Color::fromHSV </td>
153
- <td>(</td>
154
- <td class="paramtype">double&nbsp;</td>
155
- <td class="paramname"> <em>h</em>, </td>
156
- </tr>
157
- <tr>
158
- <td class="paramkey"></td>
159
- <td></td>
160
- <td class="paramtype">double&nbsp;</td>
161
- <td class="paramname"> <em>s</em>, </td>
162
- </tr>
163
- <tr>
164
- <td class="paramkey"></td>
165
- <td></td>
166
- <td class="paramtype">double&nbsp;</td>
167
- <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
168
- </tr>
169
- <tr>
170
- <td></td>
171
- <td>)</td>
172
- <td></td><td></td><td width="100%"><code> [static]</code></td>
173
- </tr>
174
- </table>
175
- </div>
176
- <div class="memdoc">
177
-
178
- <p>
179
- Constructs a color from the given hue/saturation/value triple.
180
- <p>
181
- Ranges of these values are given as 0..360, 0..1 and 0..1, respectively. The alpha value is set to 1 from this method.
182
- </div>
183
- </div><p>
184
- <a class="anchor" name="e7dea29641a5e7c1a903f17c8f91ca41"></a><!-- doxytag: member="Gosu::Color::hue" ref="e7dea29641a5e7c1a903f17c8f91ca41" args="() const " -->
185
- <div class="memitem">
186
- <div class="memproto">
187
- <table class="memname">
188
- <tr>
189
- <td class="memname">double Gosu::Color::hue </td>
190
- <td>(</td>
191
- <td class="paramname"> </td>
192
- <td>&nbsp;)&nbsp;</td>
193
- <td width="100%"> const</td>
194
- </tr>
195
- </table>
196
- </div>
197
- <div class="memdoc">
198
-
199
- <p>
200
- Returns the hue of the color, in the usual range of 0..360.
201
- <p>
202
-
203
- </div>
204
- </div><p>
205
- <a class="anchor" name="ea1515be19da555c8beed681bd97e714"></a><!-- doxytag: member="Gosu::Color::setHue" ref="ea1515be19da555c8beed681bd97e714" args="(double h)" -->
206
- <div class="memitem">
207
- <div class="memproto">
208
- <table class="memname">
209
- <tr>
210
- <td class="memname">void Gosu::Color::setHue </td>
211
- <td>(</td>
212
- <td class="paramtype">double&nbsp;</td>
213
- <td class="paramname"> <em>h</em> </td>
214
- <td>&nbsp;)&nbsp;</td>
215
- <td width="100%"></td>
216
- </tr>
217
- </table>
218
- </div>
219
- <div class="memdoc">
220
-
221
- <p>
222
- Changes the current color so <a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41" title="Returns the hue of the color, in the usual range of 0..360.">hue()</a> will return h.
223
- <p>
224
-
225
- </div>
226
- </div><p>
227
- <a class="anchor" name="50f84f148ae5676376f7ffab757ebe96"></a><!-- doxytag: member="Gosu::Color::saturation" ref="50f84f148ae5676376f7ffab757ebe96" args="() const " -->
228
- <div class="memitem">
229
- <div class="memproto">
230
- <table class="memname">
231
- <tr>
232
- <td class="memname">double Gosu::Color::saturation </td>
233
- <td>(</td>
234
- <td class="paramname"> </td>
235
- <td>&nbsp;)&nbsp;</td>
236
- <td width="100%"> const</td>
237
- </tr>
238
- </table>
239
- </div>
240
- <div class="memdoc">
241
-
242
- <p>
243
- Returns the saturation of the color, in the range of 0..1.
244
- <p>
245
-
246
- </div>
247
- </div><p>
248
- <a class="anchor" name="e5401d0533adc33bd2ce0d7d6bf360e6"></a><!-- doxytag: member="Gosu::Color::setSaturation" ref="e5401d0533adc33bd2ce0d7d6bf360e6" args="(double s)" -->
249
- <div class="memitem">
250
- <div class="memproto">
251
- <table class="memname">
252
- <tr>
253
- <td class="memname">void Gosu::Color::setSaturation </td>
254
- <td>(</td>
255
- <td class="paramtype">double&nbsp;</td>
256
- <td class="paramname"> <em>s</em> </td>
257
- <td>&nbsp;)&nbsp;</td>
258
- <td width="100%"></td>
259
- </tr>
260
- </table>
261
- </div>
262
- <div class="memdoc">
263
-
264
- <p>
265
- Changes the current color so <a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96" title="Returns the saturation of the color, in the range of 0..1.">saturation()</a> will return s.
266
- <p>
267
-
268
- </div>
269
- </div><p>
270
- <a class="anchor" name="fa5e1b57786f25f93f8ef84acebfd82f"></a><!-- doxytag: member="Gosu::Color::value" ref="fa5e1b57786f25f93f8ef84acebfd82f" args="() const " -->
271
- <div class="memitem">
272
- <div class="memproto">
273
- <table class="memname">
274
- <tr>
275
- <td class="memname">double Gosu::Color::value </td>
276
- <td>(</td>
277
- <td class="paramname"> </td>
278
- <td>&nbsp;)&nbsp;</td>
279
- <td width="100%"> const</td>
280
- </tr>
281
- </table>
282
- </div>
283
- <div class="memdoc">
284
-
285
- <p>
286
- Returns the value (brightness) of the color, in the range of 0..1.
287
- <p>
288
-
289
- </div>
290
- </div><p>
291
- <a class="anchor" name="7c84051414c6044f5928920dca1ca2c5"></a><!-- doxytag: member="Gosu::Color::setValue" ref="7c84051414c6044f5928920dca1ca2c5" args="(double v)" -->
292
- <div class="memitem">
293
- <div class="memproto">
294
- <table class="memname">
295
- <tr>
296
- <td class="memname">void Gosu::Color::setValue </td>
297
- <td>(</td>
298
- <td class="paramtype">double&nbsp;</td>
299
- <td class="paramname"> <em>v</em> </td>
300
- <td>&nbsp;)&nbsp;</td>
301
- <td width="100%"></td>
302
- </tr>
303
- </table>
304
- </div>
305
- <div class="memdoc">
306
-
307
- <p>
308
- Changes the current color so <a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value()</a> will return v.
309
- <p>
310
-
311
- </div>
312
- </div><p>
313
- <a class="anchor" name="b079fa3b6b7ebef6a2cf432b0b38984a"></a><!-- doxytag: member="Gosu::Color::argb" ref="b079fa3b6b7ebef6a2cf432b0b38984a" args="() const " -->
314
- <div class="memitem">
315
- <div class="memproto">
316
- <table class="memname">
317
- <tr>
318
- <td class="memname">boost::uint32_t Gosu::Color::argb </td>
319
- <td>(</td>
320
- <td class="paramname"> </td>
321
- <td>&nbsp;)&nbsp;</td>
322
- <td width="100%"> const<code> [inline]</code></td>
323
- </tr>
324
- </table>
325
- </div>
326
- <div class="memdoc">
327
-
328
- <p>
329
- Returns the color in 0xaarrggbb representation.
330
- <p>
331
-
332
- </div>
333
- </div><p>
334
- <a class="anchor" name="629f55a6f636bc8d677bcca01eedf1c5"></a><!-- doxytag: member="Gosu::Color::bgr" ref="629f55a6f636bc8d677bcca01eedf1c5" args="() const " -->
335
- <div class="memitem">
336
- <div class="memproto">
337
- <table class="memname">
338
- <tr>
339
- <td class="memname">boost::uint32_t Gosu::Color::bgr </td>
340
- <td>(</td>
341
- <td class="paramname"> </td>
342
- <td>&nbsp;)&nbsp;</td>
343
- <td width="100%"> const<code> [inline]</code></td>
344
- </tr>
345
- </table>
346
- </div>
347
- <div class="memdoc">
348
-
349
- <p>
350
- Returns the color in 0x00bbggrr representation.
351
- <p>
352
-
353
- <p>Referenced by <a class="el" href="Color_8hpp-source.html#l00125">abgr()</a>.</p>
354
-
355
- </div>
356
- </div><p>
357
- <a class="anchor" name="3ddd0323d5f1bf0d6dcf47ca6e80ca36"></a><!-- doxytag: member="Gosu::Color::abgr" ref="3ddd0323d5f1bf0d6dcf47ca6e80ca36" args="() const " -->
358
- <div class="memitem">
359
- <div class="memproto">
360
- <table class="memname">
361
- <tr>
362
- <td class="memname">boost::uint32_t Gosu::Color::abgr </td>
363
- <td>(</td>
364
- <td class="paramname"> </td>
365
- <td>&nbsp;)&nbsp;</td>
366
- <td width="100%"> const<code> [inline]</code></td>
367
- </tr>
368
- </table>
369
- </div>
370
- <div class="memdoc">
371
-
372
- <p>
373
- Returns the color in 0xaabbggrr representation.
374
- <p>
375
-
376
- <p>References <a class="el" href="Color_8hpp-source.html#l00119">bgr()</a>.</p>
377
-
378
- </div>
379
- </div><p>
380
- <hr>The documentation for this class was generated from the following file:<ul>
381
- <li><a class="el" href="Color_8hpp-source.html">Color.hpp</a></ul>
382
- </div>
383
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
384
- <a href="http://www.doxygen.org/index.html">
385
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
386
- </body>
387
- </html>