gosu 0.7.14 → 0.7.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. data/COPYING.txt +1 -2
  2. data/Gosu/Graphics.hpp +6 -0
  3. data/Gosu/Image.hpp +4 -0
  4. data/Gosu/Version.hpp +2 -2
  5. data/GosuImpl/Audio/ALChannelManagement.hpp +3 -3
  6. data/GosuImpl/Audio/AudioOpenAL.mm +11 -19
  7. data/GosuImpl/Audio/AudioToolboxFile.hpp +2 -1
  8. data/GosuImpl/Graphics/Common.hpp +3 -0
  9. data/GosuImpl/Graphics/DrawOp.hpp +105 -29
  10. data/GosuImpl/Graphics/GosuView.hpp +6 -0
  11. data/GosuImpl/Graphics/GosuView.mm +34 -1
  12. data/GosuImpl/Graphics/Graphics.cpp +57 -17
  13. data/GosuImpl/Graphics/Image.cpp +5 -0
  14. data/GosuImpl/Graphics/LargeImageData.cpp +1 -1
  15. data/GosuImpl/Graphics/Macro.hpp +79 -0
  16. data/GosuImpl/Graphics/TexChunk.cpp +3 -3
  17. data/GosuImpl/Graphics/TexChunk.hpp +2 -2
  18. data/GosuImpl/Graphics/TextMac.cpp +6 -0
  19. data/GosuImpl/Graphics/TextTouch.mm +49 -14
  20. data/GosuImpl/Graphics/Texture.cpp +2 -2
  21. data/GosuImpl/Graphics/Texture.hpp +3 -2
  22. data/GosuImpl/InputMac.mm +2 -0
  23. data/GosuImpl/RubyGosu.swg +15 -4
  24. data/GosuImpl/RubyGosu_wrap.cxx +85 -6
  25. data/GosuImpl/Sockets/CommSocket.cpp +304 -304
  26. data/GosuImpl/Sockets/Socket.cpp +1 -1
  27. data/GosuImpl/WindowMac.mm +3 -0
  28. data/GosuImpl/WindowTouch.mm +1 -0
  29. data/Rakefile +13 -5
  30. data/mac/Gosu.xcodeproj/jlnr.pbxuser +292 -280
  31. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +46 -48
  32. data/mac/Gosu.xcodeproj/project.pbxproj +58 -18
  33. data/reference/cpp/_audio_8hpp-source.html +2 -1
  34. data/reference/cpp/_audio_8hpp.html +11 -4
  35. data/reference/cpp/_audio_8hpp_source.html +178 -0
  36. data/reference/cpp/_auto_link_8hpp-source.html +1 -0
  37. data/reference/cpp/_auto_link_8hpp.html +5 -4
  38. data/reference/cpp/_auto_link_8hpp_source.html +85 -0
  39. data/reference/cpp/_bitmap_8hpp-source.html +9 -8
  40. data/reference/cpp/_bitmap_8hpp.html +11 -4
  41. data/reference/cpp/_bitmap_8hpp_source.html +131 -0
  42. data/reference/cpp/_buttons_mac_8hpp-source.html +124 -123
  43. data/reference/cpp/_buttons_mac_8hpp.html +10 -3
  44. data/reference/cpp/_buttons_mac_8hpp_source.html +206 -0
  45. data/reference/cpp/_color_8hpp-source.html +18 -17
  46. data/reference/cpp/_color_8hpp.html +16 -4
  47. data/reference/cpp/_color_8hpp_source.html +216 -0
  48. data/reference/cpp/_directories_8hpp-source.html +5 -4
  49. data/reference/cpp/_directories_8hpp.html +11 -4
  50. data/reference/cpp/_directories_8hpp_source.html +89 -0
  51. data/reference/cpp/_font_8hpp-source.html +8 -7
  52. data/reference/cpp/_font_8hpp.html +11 -4
  53. data/reference/cpp/_font_8hpp_source.html +116 -0
  54. data/reference/cpp/_fwd_8hpp-source.html +1 -0
  55. data/reference/cpp/_fwd_8hpp.html +11 -4
  56. data/reference/cpp/_fwd_8hpp_source.html +99 -0
  57. data/reference/cpp/_gosu_8hpp-source.html +1 -0
  58. data/reference/cpp/_gosu_8hpp.html +5 -4
  59. data/reference/cpp/_gosu_8hpp_source.html +97 -0
  60. data/reference/cpp/_graphics_8hpp-source.html +7 -6
  61. data/reference/cpp/_graphics_8hpp.html +11 -4
  62. data/reference/cpp/_graphics_8hpp_source.html +138 -0
  63. data/reference/cpp/_graphics_base_8hpp-source.html +22 -21
  64. data/reference/cpp/_graphics_base_8hpp.html +15 -8
  65. data/reference/cpp/_graphics_base_8hpp_source.html +116 -0
  66. data/reference/cpp/_i_o_8hpp-source.html +16 -15
  67. data/reference/cpp/_i_o_8hpp.html +13 -6
  68. data/reference/cpp/_i_o_8hpp_source.html +302 -0
  69. data/reference/cpp/_image_8hpp-source.html +23 -22
  70. data/reference/cpp/_image_8hpp.html +11 -4
  71. data/reference/cpp/_image_8hpp_source.html +176 -0
  72. data/reference/cpp/_image_data_8hpp-source.html +2 -1
  73. data/reference/cpp/_image_data_8hpp.html +11 -4
  74. data/reference/cpp/_image_data_8hpp_source.html +109 -0
  75. data/reference/cpp/_input_8hpp-source.html +6 -5
  76. data/reference/cpp/_input_8hpp.html +11 -4
  77. data/reference/cpp/_input_8hpp_source.html +183 -0
  78. data/reference/cpp/_math_8hpp-source.html +26 -25
  79. data/reference/cpp/_math_8hpp.html +11 -4
  80. data/reference/cpp/_math_8hpp_source.html +157 -0
  81. data/reference/cpp/_platform_8hpp-source.html +5 -4
  82. data/reference/cpp/_platform_8hpp.html +14 -7
  83. data/reference/cpp/_platform_8hpp_source.html +134 -0
  84. data/reference/cpp/_rot_flip_8hpp-source.html +30 -29
  85. data/reference/cpp/_rot_flip_8hpp.html +12 -5
  86. data/reference/cpp/_rot_flip_8hpp_source.html +185 -0
  87. data/reference/cpp/_sockets_8hpp-source.html +25 -24
  88. data/reference/cpp/_sockets_8hpp.html +14 -7
  89. data/reference/cpp/_sockets_8hpp_source.html +175 -0
  90. data/reference/cpp/_text_8hpp-source.html +7 -6
  91. data/reference/cpp/_text_8hpp.html +11 -4
  92. data/reference/cpp/_text_8hpp_source.html +103 -0
  93. data/reference/cpp/_text_input_8hpp-source.html +1 -0
  94. data/reference/cpp/_text_input_8hpp.html +11 -4
  95. data/reference/cpp/_text_input_8hpp_source.html +111 -0
  96. data/reference/cpp/_timing_8hpp-source.html +3 -2
  97. data/reference/cpp/_timing_8hpp.html +11 -4
  98. data/reference/cpp/_timing_8hpp_source.html +83 -0
  99. data/reference/cpp/_utility_8hpp-source.html +5 -4
  100. data/reference/cpp/_utility_8hpp.html +11 -4
  101. data/reference/cpp/_utility_8hpp_source.html +90 -0
  102. data/reference/cpp/_version_8hpp-source.html +1 -0
  103. data/reference/cpp/_version_8hpp.html +7 -6
  104. data/reference/cpp/_version_8hpp_source.html +78 -0
  105. data/reference/cpp/_win_utility_8hpp-source.html +13 -12
  106. data/reference/cpp/_win_utility_8hpp.html +18 -6
  107. data/reference/cpp/_win_utility_8hpp_source.html +126 -0
  108. data/reference/cpp/_window_8hpp-source.html +6 -5
  109. data/reference/cpp/_window_8hpp.html +12 -5
  110. data/reference/cpp/_window_8hpp_source.html +158 -0
  111. data/reference/cpp/annotated.html +3 -2
  112. data/reference/cpp/class_gosu_1_1_audio-members.html +2 -1
  113. data/reference/cpp/class_gosu_1_1_audio.html +5 -4
  114. data/reference/cpp/class_gosu_1_1_bitmap-members.html +2 -1
  115. data/reference/cpp/class_gosu_1_1_bitmap.html +17 -12
  116. data/reference/cpp/class_gosu_1_1_buffer-members.html +2 -1
  117. data/reference/cpp/class_gosu_1_1_buffer.html +12 -13
  118. data/reference/cpp/class_gosu_1_1_button-members.html +2 -1
  119. data/reference/cpp/class_gosu_1_1_button.html +13 -10
  120. data/reference/cpp/class_gosu_1_1_color-members.html +2 -1
  121. data/reference/cpp/class_gosu_1_1_color.html +29 -26
  122. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +2 -1
  123. data/reference/cpp/class_gosu_1_1_comm_socket.html +23 -22
  124. data/reference/cpp/class_gosu_1_1_file-members.html +2 -1
  125. data/reference/cpp/class_gosu_1_1_file.html +7 -6
  126. data/reference/cpp/class_gosu_1_1_font-members.html +2 -1
  127. data/reference/cpp/class_gosu_1_1_font.html +17 -16
  128. data/reference/cpp/class_gosu_1_1_graphics-members.html +4 -1
  129. data/reference/cpp/class_gosu_1_1_graphics.html +68 -19
  130. data/reference/cpp/class_gosu_1_1_image-members.html +3 -1
  131. data/reference/cpp/class_gosu_1_1_image.html +49 -23
  132. data/reference/cpp/class_gosu_1_1_image_data-members.html +2 -1
  133. data/reference/cpp/class_gosu_1_1_image_data.html +9 -8
  134. data/reference/cpp/class_gosu_1_1_input-members.html +2 -1
  135. data/reference/cpp/class_gosu_1_1_input.html +7 -6
  136. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +2 -1
  137. data/reference/cpp/class_gosu_1_1_listener_socket.html +12 -11
  138. data/reference/cpp/class_gosu_1_1_message_socket-members.html +2 -1
  139. data/reference/cpp/class_gosu_1_1_message_socket.html +19 -18
  140. data/reference/cpp/class_gosu_1_1_reader-members.html +2 -1
  141. data/reference/cpp/class_gosu_1_1_reader.html +18 -17
  142. data/reference/cpp/class_gosu_1_1_resource-members.html +2 -1
  143. data/reference/cpp/class_gosu_1_1_resource.html +10 -9
  144. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +2 -1
  145. data/reference/cpp/class_gosu_1_1_rot_flip.html +24 -19
  146. data/reference/cpp/class_gosu_1_1_sample-members.html +2 -1
  147. data/reference/cpp/class_gosu_1_1_sample.html +5 -4
  148. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +2 -1
  149. data/reference/cpp/class_gosu_1_1_sample_instance.html +5 -4
  150. data/reference/cpp/class_gosu_1_1_song-members.html +2 -1
  151. data/reference/cpp/class_gosu_1_1_song.html +6 -5
  152. data/reference/cpp/class_gosu_1_1_text_input-members.html +2 -1
  153. data/reference/cpp/class_gosu_1_1_text_input.html +6 -5
  154. data/reference/cpp/class_gosu_1_1_window-members.html +2 -1
  155. data/reference/cpp/class_gosu_1_1_window.html +12 -11
  156. data/reference/cpp/class_gosu_1_1_writer-members.html +2 -1
  157. data/reference/cpp/class_gosu_1_1_writer.html +15 -14
  158. data/reference/cpp/classes.html +11 -10
  159. data/reference/cpp/files.html +28 -27
  160. data/reference/cpp/functions.html +2 -1
  161. data/reference/cpp/functions_0x62.html +5 -2
  162. data/reference/cpp/functions_0x63.html +2 -1
  163. data/reference/cpp/functions_0x64.html +2 -1
  164. data/reference/cpp/functions_0x65.html +4 -1
  165. data/reference/cpp/functions_0x66.html +2 -1
  166. data/reference/cpp/functions_0x67.html +5 -2
  167. data/reference/cpp/functions_0x68.html +2 -1
  168. data/reference/cpp/functions_0x69.html +2 -1
  169. data/reference/cpp/functions_0x6b.html +2 -1
  170. data/reference/cpp/functions_0x6c.html +2 -1
  171. data/reference/cpp/functions_0x6d.html +2 -1
  172. data/reference/cpp/functions_0x6e.html +2 -1
  173. data/reference/cpp/functions_0x6f.html +2 -1
  174. data/reference/cpp/functions_0x70.html +2 -1
  175. data/reference/cpp/functions_0x72.html +2 -1
  176. data/reference/cpp/functions_0x73.html +2 -1
  177. data/reference/cpp/functions_0x74.html +4 -3
  178. data/reference/cpp/functions_0x75.html +2 -1
  179. data/reference/cpp/functions_0x76.html +2 -1
  180. data/reference/cpp/functions_0x77.html +2 -1
  181. data/reference/cpp/functions_0x78.html +2 -1
  182. data/reference/cpp/functions_0x79.html +2 -1
  183. data/reference/cpp/functions_0x7e.html +2 -1
  184. data/reference/cpp/functions_enum.html +2 -1
  185. data/reference/cpp/functions_eval.html +2 -1
  186. data/reference/cpp/functions_func.html +2 -1
  187. data/reference/cpp/functions_func_0x62.html +5 -2
  188. data/reference/cpp/functions_func_0x63.html +2 -1
  189. data/reference/cpp/functions_func_0x64.html +2 -1
  190. data/reference/cpp/functions_func_0x65.html +4 -1
  191. data/reference/cpp/functions_func_0x66.html +2 -1
  192. data/reference/cpp/functions_func_0x67.html +5 -2
  193. data/reference/cpp/functions_func_0x68.html +2 -1
  194. data/reference/cpp/functions_func_0x69.html +2 -1
  195. data/reference/cpp/functions_func_0x6b.html +2 -1
  196. data/reference/cpp/functions_func_0x6c.html +2 -1
  197. data/reference/cpp/functions_func_0x6d.html +2 -1
  198. data/reference/cpp/functions_func_0x6e.html +2 -1
  199. data/reference/cpp/functions_func_0x6f.html +2 -1
  200. data/reference/cpp/functions_func_0x70.html +2 -1
  201. data/reference/cpp/functions_func_0x72.html +2 -1
  202. data/reference/cpp/functions_func_0x73.html +2 -1
  203. data/reference/cpp/functions_func_0x74.html +4 -3
  204. data/reference/cpp/functions_func_0x75.html +2 -1
  205. data/reference/cpp/functions_func_0x76.html +2 -1
  206. data/reference/cpp/functions_func_0x77.html +2 -1
  207. data/reference/cpp/functions_func_0x7e.html +2 -1
  208. data/reference/cpp/functions_type.html +2 -1
  209. data/reference/cpp/functions_vars.html +2 -1
  210. data/reference/cpp/globals.html +2 -1
  211. data/reference/cpp/globals_defs.html +2 -1
  212. data/reference/cpp/hierarchy.html +2 -1
  213. data/reference/cpp/index.html +3 -2
  214. data/reference/cpp/namespace_gosu.html +3314 -0
  215. data/reference/cpp/namespace_gosu_1_1_colors.html +274 -0
  216. data/reference/cpp/namespace_gosu_1_1_win.html +354 -0
  217. data/reference/cpp/namespacemembers.html +135 -0
  218. data/reference/cpp/namespacemembers_0x62.html +143 -0
  219. data/reference/cpp/namespacemembers_0x63.html +125 -0
  220. data/reference/cpp/namespacemembers_0x64.html +119 -0
  221. data/reference/cpp/namespacemembers_0x66.html +129 -0
  222. data/reference/cpp/namespacemembers_0x67.html +165 -0
  223. data/reference/cpp/namespacemembers_0x68.html +113 -0
  224. data/reference/cpp/namespacemembers_0x69.html +117 -0
  225. data/reference/cpp/namespacemembers_0x6b.html +289 -0
  226. data/reference/cpp/namespacemembers_0x6c.html +119 -0
  227. data/reference/cpp/namespacemembers_0x6d.html +131 -0
  228. data/reference/cpp/namespacemembers_0x6e.html +127 -0
  229. data/reference/cpp/namespacemembers_0x6f.html +121 -0
  230. data/reference/cpp/namespacemembers_0x70.html +115 -0
  231. data/reference/cpp/namespacemembers_0x71.html +113 -0
  232. data/reference/cpp/namespacemembers_0x72.html +165 -0
  233. data/reference/cpp/namespacemembers_0x73.html +135 -0
  234. data/reference/cpp/namespacemembers_0x74.html +129 -0
  235. data/reference/cpp/namespacemembers_0x75.html +117 -0
  236. data/reference/cpp/namespacemembers_0x77.html +117 -0
  237. data/reference/cpp/namespacemembers_0x79.html +113 -0
  238. data/reference/cpp/namespacemembers_0x7a.html +115 -0
  239. data/reference/cpp/namespacemembers_enum.html +103 -0
  240. data/reference/cpp/namespacemembers_eval.html +443 -0
  241. data/reference/cpp/namespacemembers_func.html +269 -0
  242. data/reference/cpp/namespacemembers_type.html +93 -0
  243. data/reference/cpp/namespacemembers_vars.html +115 -0
  244. data/reference/cpp/namespaces.html +76 -0
  245. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +2 -1
  246. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +10 -9
  247. data/reference/cpp/struct_gosu_1_1_touch-members.html +2 -1
  248. data/reference/cpp/struct_gosu_1_1_touch.html +8 -7
  249. data/reference/rdoc/classes/Gosu.html +16 -29
  250. data/reference/rdoc/classes/Gosu.src/M000003.html +0 -0
  251. data/reference/rdoc/classes/Gosu.src/M000004.html +0 -0
  252. data/reference/rdoc/classes/Gosu.src/M000005.html +0 -0
  253. data/reference/rdoc/classes/Gosu.src/M000006.html +0 -0
  254. data/reference/rdoc/classes/Gosu.src/M000007.html +0 -0
  255. data/reference/rdoc/classes/Gosu.src/M000008.html +0 -0
  256. data/reference/rdoc/classes/Gosu.src/M000009.html +0 -0
  257. data/reference/rdoc/classes/Gosu.src/M000010.html +0 -0
  258. data/reference/rdoc/classes/Gosu.src/M000011.html +0 -0
  259. data/reference/rdoc/classes/Gosu.src/M000012.html +0 -0
  260. data/reference/rdoc/classes/Gosu/Color.html +16 -17
  261. data/reference/rdoc/classes/Gosu/Color.src/M000016.html +0 -0
  262. data/reference/rdoc/classes/Gosu/Color.src/M000017.html +0 -0
  263. data/reference/rdoc/classes/Gosu/Color.src/M000018.html +0 -0
  264. data/reference/rdoc/classes/Gosu/Color.src/M000019.html +0 -0
  265. data/reference/rdoc/classes/Gosu/Font.html +16 -19
  266. data/reference/rdoc/classes/Gosu/Font.src/M000029.html +0 -0
  267. data/reference/rdoc/classes/Gosu/Font.src/M000030.html +0 -0
  268. data/reference/rdoc/classes/Gosu/Font.src/M000031.html +0 -0
  269. data/reference/rdoc/classes/Gosu/Font.src/M000032.html +0 -0
  270. data/reference/rdoc/classes/Gosu/Font.src/M000033.html +0 -0
  271. data/reference/rdoc/classes/Gosu/GLTexInfo.html +24 -16
  272. data/reference/rdoc/classes/Gosu/Image.html +16 -27
  273. data/reference/rdoc/classes/Gosu/Image.src/M000020.html +0 -0
  274. data/reference/rdoc/classes/Gosu/Image.src/M000021.html +0 -0
  275. data/reference/rdoc/classes/Gosu/Image.src/M000022.html +0 -0
  276. data/reference/rdoc/classes/Gosu/Image.src/M000023.html +0 -0
  277. data/reference/rdoc/classes/Gosu/Image.src/M000024.html +0 -0
  278. data/reference/rdoc/classes/Gosu/Image.src/M000025.html +0 -0
  279. data/reference/rdoc/classes/Gosu/Image.src/M000026.html +0 -0
  280. data/reference/rdoc/classes/Gosu/Image.src/M000027.html +0 -0
  281. data/reference/rdoc/classes/Gosu/Image.src/M000028.html +0 -0
  282. data/reference/rdoc/classes/Gosu/Sample.html +16 -15
  283. data/reference/rdoc/classes/Gosu/Sample.src/M000013.html +0 -0
  284. data/reference/rdoc/classes/Gosu/Sample.src/M000014.html +0 -0
  285. data/reference/rdoc/classes/Gosu/Sample.src/M000015.html +0 -0
  286. data/reference/rdoc/classes/Gosu/SampleInstance.html +16 -19
  287. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000051.html +0 -0
  288. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000052.html +0 -0
  289. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000053.html +0 -0
  290. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000054.html +0 -0
  291. data/reference/rdoc/classes/Gosu/SampleInstance.src/M000055.html +0 -0
  292. data/reference/rdoc/classes/Gosu/Song.html +16 -23
  293. data/reference/rdoc/classes/Gosu/Song.src/M000056.html +0 -0
  294. data/reference/rdoc/classes/Gosu/Song.src/M000057.html +0 -0
  295. data/reference/rdoc/classes/Gosu/Song.src/M000058.html +0 -0
  296. data/reference/rdoc/classes/Gosu/Song.src/M000059.html +0 -0
  297. data/reference/rdoc/classes/Gosu/Song.src/M000060.html +0 -0
  298. data/reference/rdoc/classes/Gosu/Song.src/M000061.html +0 -0
  299. data/reference/rdoc/classes/Gosu/Song.src/M000062.html +0 -0
  300. data/reference/rdoc/classes/Gosu/TextInput.html +16 -9
  301. data/reference/rdoc/classes/Gosu/Window.html +16 -51
  302. data/reference/rdoc/classes/Gosu/Window.src/M000034.html +0 -0
  303. data/reference/rdoc/classes/Gosu/Window.src/M000035.html +0 -0
  304. data/reference/rdoc/classes/Gosu/Window.src/M000036.html +0 -0
  305. data/reference/rdoc/classes/Gosu/Window.src/M000037.html +0 -0
  306. data/reference/rdoc/classes/Gosu/Window.src/M000038.html +0 -0
  307. data/reference/rdoc/classes/Gosu/Window.src/M000039.html +0 -0
  308. data/reference/rdoc/classes/Gosu/Window.src/M000040.html +0 -0
  309. data/reference/rdoc/classes/Gosu/Window.src/M000041.html +0 -0
  310. data/reference/rdoc/classes/Gosu/Window.src/M000042.html +0 -0
  311. data/reference/rdoc/classes/Gosu/Window.src/M000043.html +0 -0
  312. data/reference/rdoc/classes/Gosu/Window.src/M000044.html +0 -0
  313. data/reference/rdoc/classes/Gosu/Window.src/M000045.html +0 -0
  314. data/reference/rdoc/classes/Gosu/Window.src/M000046.html +0 -0
  315. data/reference/rdoc/classes/Gosu/Window.src/M000047.html +0 -0
  316. data/reference/rdoc/classes/Gosu/Window.src/M000048.html +0 -0
  317. data/reference/rdoc/classes/Gosu/Window.src/M000049.html +0 -0
  318. data/reference/rdoc/classes/Gosu/Window.src/M000050.html +0 -0
  319. data/reference/rdoc/classes/Numeric.html +16 -13
  320. data/reference/rdoc/classes/Numeric.src/M000001.html +0 -0
  321. data/reference/rdoc/classes/Numeric.src/M000002.html +0 -0
  322. data/reference/rdoc/created.rid +1 -1
  323. data/reference/rdoc/files/COPYING_txt.html +17 -12
  324. data/reference/rdoc/files/README_txt.html +16 -10
  325. data/reference/rdoc/files/reference/{DeploymentOnOSX_rdoc.html → Deployment on OS X_rdoc.html } +17 -11
  326. data/reference/rdoc/files/reference/{DeploymentOnWindows_rdoc.html → Deployment on Windows_rdoc.html } +17 -11
  327. data/reference/rdoc/files/reference/{DrawingWithColors_rdoc.html → Drawing with Colors_rdoc.html } +23 -17
  328. data/reference/rdoc/files/reference/{OrderOfCorners_rdoc.html → Order of Corners_rdoc.html } +18 -12
  329. data/reference/rdoc/files/reference/Tileability_rdoc.html +16 -10
  330. data/reference/rdoc/files/reference/{ZOrdering_rdoc.html → Z Ordering_rdoc.html } +18 -12
  331. data/reference/rdoc/files/reference/gosu_rb.html +16 -10
  332. data/reference/rdoc/fr_file_index.html +5 -5
  333. data/reference/rdoc/index.html +1 -1
  334. data/reference/rdoc/rdoc-style.css +4 -0
  335. metadata +129 -9
@@ -51,6 +51,7 @@ window.onload = initDynSections;
51
51
  <div class="tabs">
52
52
  <ul>
53
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
54
55
  <li><a href="annotated.html"><span>Classes</span></a></li>
55
56
  <li class="current"><a href="files.html"><span>Files</span></a></li>
56
57
  </ul>
@@ -177,33 +178,33 @@ window.onload = initDynSections;
177
178
  <a name="l00133"></a>00133 <span class="comment">// require 'gosu'; include Gosu</span>
178
179
  <a name="l00134"></a>00134 <span class="comment">// works from within Ruby, the #ifndef guard can be removed.</span>
179
180
  <a name="l00135"></a>00135 <span class="preprocessor"> #ifndef SWIG</span>
180
- <a name="l00136"></a>00136 <span class="preprocessor"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator==(Color a, Color b)
181
+ <a name="l00136"></a><a class="code" href="namespace_gosu.html#6198974ec645118e54cf8e3fc3b827cb">00136</a> <span class="preprocessor"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_gosu.html#6198974ec645118e54cf8e3fc3b827cb">operator==</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> a, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> b)
181
182
  <a name="l00137"></a>00137 {
182
- <a name="l00138"></a>00138 <span class="keywordflow">return</span> a.argb() == b.argb();
183
+ <a name="l00138"></a>00138 <span class="keywordflow">return</span> a.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>() == b.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>();
183
184
  <a name="l00139"></a>00139 }
184
185
  <a name="l00140"></a>00140
185
- <a name="l00141"></a>00141 <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator!=(Color a, Color b)
186
+ <a name="l00141"></a><a class="code" href="namespace_gosu.html#12095af239f1cecbcba59a22ffb1af93">00141</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_gosu.html#12095af239f1cecbcba59a22ffb1af93">operator!=</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> a, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> b)
186
187
  <a name="l00142"></a>00142 {
187
- <a name="l00143"></a>00143 <span class="keywordflow">return</span> a.argb() != b.argb();
188
+ <a name="l00143"></a>00143 <span class="keywordflow">return</span> a.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>() != b.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>();
188
189
  <a name="l00144"></a>00144 }
189
190
  <a name="l00145"></a>00145 <span class="preprocessor"> #endif</span>
190
191
  <a name="l00146"></a>00146 <span class="preprocessor"></span>
191
- <a name="l00150"></a>00150 Color interpolate(Color a, Color b, <span class="keywordtype">double</span> weight = 0.5);
192
+ <a name="l00150"></a>00150 Color <a class="code" href="namespace_gosu.html#55c2cfa7575386d8eb6a8dc615e905ae" title="Interpolates linearly between two colors, with a given weight towards the second...">interpolate</a>(Color a, Color b, <span class="keywordtype">double</span> weight = 0.5);
192
193
  <a name="l00151"></a>00151
193
- <a name="l00154"></a>00154 Color multiply(Color a, Color b);
194
+ <a name="l00154"></a>00154 Color <a class="code" href="namespace_gosu.html#bb85501ec3787bd0fc80187231788bea" title="Combines two colors as if their channels were mapped to the 0.">multiply</a>(Color a, Color b);
194
195
  <a name="l00155"></a>00155
195
- <a name="l00157"></a>00157 <span class="keyword">namespace </span>Colors
196
+ <a name="l00157"></a><a class="code" href="namespace_gosu_1_1_colors.html">00157</a> <span class="keyword">namespace </span>Colors
196
197
  <a name="l00158"></a>00158 {
197
- <a name="l00159"></a>00159 <span class="keyword">const</span> Color none = 0x00000000;
198
- <a name="l00160"></a>00160 <span class="keyword">const</span> Color black = 0xff000000;
199
- <a name="l00161"></a>00161 <span class="keyword">const</span> Color gray = 0xff808080;
200
- <a name="l00162"></a>00162 <span class="keyword">const</span> Color white = 0xffffffff;
201
- <a name="l00163"></a>00163 <span class="keyword">const</span> Color red = 0xffff0000;
202
- <a name="l00164"></a>00164 <span class="keyword">const</span> Color green = 0xff00ff00;
203
- <a name="l00165"></a>00165 <span class="keyword">const</span> Color blue = 0xff0000ff;
204
- <a name="l00166"></a>00166 <span class="keyword">const</span> Color yellow = 0xffffff00;
205
- <a name="l00167"></a>00167 <span class="keyword">const</span> Color fuchsia = 0xffff00ff;
206
- <a name="l00168"></a>00168 <span class="keyword">const</span> Color cyan = 0xff00ffff;
198
+ <a name="l00159"></a><a class="code" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">00159</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">none</a> = 0x00000000;
199
+ <a name="l00160"></a><a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">00160</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">black</a> = 0xff000000;
200
+ <a name="l00161"></a><a class="code" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">00161</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">gray</a> = 0xff808080;
201
+ <a name="l00162"></a><a class="code" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">00162</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">white</a> = 0xffffffff;
202
+ <a name="l00163"></a><a class="code" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">00163</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">red</a> = 0xffff0000;
203
+ <a name="l00164"></a><a class="code" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">00164</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">green</a> = 0xff00ff00;
204
+ <a name="l00165"></a><a class="code" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">00165</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">blue</a> = 0xff0000ff;
205
+ <a name="l00166"></a><a class="code" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">00166</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">yellow</a> = 0xffffff00;
206
+ <a name="l00167"></a><a class="code" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">00167</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">fuchsia</a> = 0xffff00ff;
207
+ <a name="l00168"></a><a class="code" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">00168</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">cyan</a> = 0xff00ffff;
207
208
  <a name="l00169"></a>00169 }
208
209
  <a name="l00170"></a>00170 }
209
210
  <a name="l00171"></a>00171
@@ -5,7 +5,7 @@
5
5
  </head>
6
6
  <body>
7
7
  <div class="everything">
8
- <!-- Generated by Doxygen 1.5.8 -->
8
+ <!-- Generated by Doxygen 1.5.9 -->
9
9
  <script type="text/javascript">
10
10
  <!--
11
11
  function changeDisplayState (e){
@@ -51,6 +51,7 @@ window.onload = initDynSections;
51
51
  <div class="tabs">
52
52
  <ul>
53
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
54
55
  <li><a href="annotated.html"><span>Classes</span></a></li>
55
56
  <li class="current"><a href="files.html"><span>Files</span></a></li>
56
57
  </ul>
@@ -68,12 +69,23 @@ window.onload = initDynSections;
68
69
  <p>
69
70
 
70
71
  <p>
71
- <a href="_color_8hpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
72
+ <a href="_color_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
72
73
  <tr><td></td></tr>
73
74
  <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
74
75
  <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td></tr>
75
76
 
76
77
  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an ARGB color value with 8 bits for each channel. <a href="class_gosu_1_1_color.html#_details">More...</a><br></td></tr>
78
+ <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
79
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
80
+
81
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The library's main namespace. <br></td></tr>
82
+
83
+ <p>
84
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html">Gosu::Colors</a></td></tr>
85
+
86
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Namespace which contains some predefined colors. <br></td></tr>
87
+
88
+ <p>
77
89
  <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
78
90
  <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#6198974ec645118e54cf8e3fc3b827cb">Gosu::operator==</a> (Color a, Color b)</td></tr>
79
91
 
@@ -107,11 +119,11 @@ window.onload = initDynSections;
107
119
  <tr><td class="memItemLeft" nowrap align="right" valign="top">const Color&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">Gosu::Colors::cyan</a> = 0xff00ffff</td></tr>
108
120
 
109
121
  </table>
110
- <hr><a name="_details"></a><h2>Detailed Description</h2>
122
+ <hr><h2>Detailed Description</h2>
111
123
  Interface of the Color class.
112
124
  <p>
113
125
 
114
- <p>Definition in file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
126
+ <p>Definition in file <a class="el" href="_color_8hpp_source.html">Color.hpp</a>.</p>
115
127
  </div>
116
128
  <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
117
129
  </div>
@@ -0,0 +1,216 @@
1
+ <html>
2
+ <head>
3
+ <title>Gosu C++ Reference</title>
4
+ <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
+ </head>
6
+ <body>
7
+ <div class="everything">
8
+ <!-- Generated by Doxygen 1.5.9 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
+ <li><a href="annotated.html"><span>Classes</span></a></li>
56
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
57
+ </ul>
58
+ </div>
59
+ <div class="tabs">
60
+ <ul>
61
+ <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
+ <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ <h1>Color.hpp</h1><a href="_color_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66
+ <a name="l00002"></a>00002
67
+ <a name="l00003"></a>00003
68
+ <a name="l00004"></a>00004 <span class="preprocessor">#ifndef GOSU_COLOR_HPP</span>
69
+ <a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_COLOR_HPP</span>
70
+ <a name="l00006"></a>00006 <span class="preprocessor"></span>
71
+ <a name="l00007"></a>00007 <span class="preprocessor">#include &lt;boost/cstdint.hpp&gt;</span>
72
+ <a name="l00008"></a>00008
73
+ <a name="l00009"></a>00009 <span class="keyword">namespace </span>Gosu
74
+ <a name="l00010"></a>00010 {
75
+ <a name="l00014"></a><a class="code" href="class_gosu_1_1_color.html">00014</a> <span class="keyword">class </span><a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a>
76
+ <a name="l00015"></a>00015 {
77
+ <a name="l00016"></a>00016 boost::uint32_t rep;
78
+ <a name="l00017"></a>00017
79
+ <a name="l00018"></a>00018 <span class="keyword">public</span>:
80
+ <a name="l00019"></a><a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">00019</a> <span class="keyword">typedef</span> boost::uint8_t <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>;
81
+ <a name="l00020"></a>00020
82
+ <a name="l00022"></a><a class="code" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533">00022</a> <a class="code" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533" title="The default constructor does not initialize the color to any value.">Color</a>()
83
+ <a name="l00023"></a>00023 {
84
+ <a name="l00024"></a>00024 }
85
+ <a name="l00025"></a>00025
86
+ <a name="l00028"></a><a class="code" href="class_gosu_1_1_color.html#d3875fcbe68fb1fe608ab15f38129c6e">00028</a> <a class="code" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533" title="The default constructor does not initialize the color to any value.">Color</a>(boost::uint32_t <a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>)
87
+ <a name="l00029"></a>00029 : rep(argb)
88
+ <a name="l00030"></a>00030 {
89
+ <a name="l00031"></a>00031 }
90
+ <a name="l00032"></a>00032
91
+ <a name="l00033"></a><a class="code" href="class_gosu_1_1_color.html#de4fc30548cc8de06d0d462d6ffeb334">00033</a> <a class="code" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533" title="The default constructor does not initialize the color to any value.">Color</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a>, <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">green</a>, <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a>)
92
+ <a name="l00034"></a>00034 {
93
+ <a name="l00035"></a>00035 rep = (0xff &lt;&lt; 24) | (red &lt;&lt; 16) | (green &lt;&lt; 8) | blue;
94
+ <a name="l00036"></a>00036 }
95
+ <a name="l00037"></a>00037
96
+ <a name="l00038"></a><a class="code" href="class_gosu_1_1_color.html#56a809423e134392d39fb675a1ad6700">00038</a> <a class="code" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533" title="The default constructor does not initialize the color to any value.">Color</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a>, <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a>, <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">green</a>, <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a>)
97
+ <a name="l00039"></a>00039 {
98
+ <a name="l00040"></a>00040 rep = (alpha &lt;&lt; 24) | (red &lt;&lt; 16) | (green &lt;&lt; 8) | blue;
99
+ <a name="l00041"></a>00041 }
100
+ <a name="l00042"></a>00042
101
+ <a name="l00047"></a>00047 <span class="keyword">static</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="class_gosu_1_1_color.html#f14484c5cff18b011f32e434fe13dfff" title="Constructs a color from the given hue/saturation/value triple.">fromHSV</a>(<span class="keywordtype">double</span> h, <span class="keywordtype">double</span> s, <span class="keywordtype">double</span> v);
102
+ <a name="l00048"></a>00048 <span class="keyword">static</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="class_gosu_1_1_color.html#b20e49f7a8bb0de839e05a0cf48a631e">fromAHSV</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a>, <span class="keywordtype">double</span> h, <span class="keywordtype">double</span> s, <span class="keywordtype">double</span> v);
103
+ <a name="l00049"></a>00049
104
+ <a name="l00050"></a><a class="code" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">00050</a> <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a>()<span class="keyword"> const</span>
105
+ <a name="l00051"></a>00051 <span class="keyword"> </span>{
106
+ <a name="l00052"></a>00052 <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a><span class="keyword">&gt;</span>((rep &gt;&gt; 24) &amp; 0xff);
107
+ <a name="l00053"></a>00053 }
108
+ <a name="l00054"></a>00054
109
+ <a name="l00055"></a><a class="code" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">00055</a> <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a>()<span class="keyword"> const</span>
110
+ <a name="l00056"></a>00056 <span class="keyword"> </span>{
111
+ <a name="l00057"></a>00057 <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a><span class="keyword">&gt;</span>((rep &gt;&gt; 16) &amp; 0xff);
112
+ <a name="l00058"></a>00058 }
113
+ <a name="l00059"></a>00059
114
+ <a name="l00060"></a><a class="code" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">00060</a> <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">green</a>()<span class="keyword"> const</span>
115
+ <a name="l00061"></a>00061 <span class="keyword"> </span>{
116
+ <a name="l00062"></a>00062 <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a><span class="keyword">&gt;</span>((rep &gt;&gt; 8) &amp; 0xff);
117
+ <a name="l00063"></a>00063 }
118
+ <a name="l00064"></a>00064
119
+ <a name="l00065"></a><a class="code" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">00065</a> <a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a>()<span class="keyword"> const</span>
120
+ <a name="l00066"></a>00066 <span class="keyword"> </span>{
121
+ <a name="l00067"></a>00067 <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a><span class="keyword">&gt;</span>(rep &amp; 0xff);
122
+ <a name="l00068"></a>00068 }
123
+ <a name="l00069"></a>00069
124
+ <a name="l00070"></a><a class="code" href="class_gosu_1_1_color.html#9a50c1f07fe92d6c07cb98fd4fc1e536">00070</a> <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#9a50c1f07fe92d6c07cb98fd4fc1e536">setAlpha</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value</a>)
125
+ <a name="l00071"></a>00071 {
126
+ <a name="l00072"></a>00072 rep &amp;= 0x00ffffff;
127
+ <a name="l00073"></a>00073 rep |= value &lt;&lt; 24;
128
+ <a name="l00074"></a>00074 }
129
+ <a name="l00075"></a>00075
130
+ <a name="l00076"></a><a class="code" href="class_gosu_1_1_color.html#fc65d1b1bac9ade6efed437312c21a93">00076</a> <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#fc65d1b1bac9ade6efed437312c21a93">setRed</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value</a>)
131
+ <a name="l00077"></a>00077 {
132
+ <a name="l00078"></a>00078 rep &amp;= 0xff00ffff;
133
+ <a name="l00079"></a>00079 rep |= value &lt;&lt; 16;
134
+ <a name="l00080"></a>00080 }
135
+ <a name="l00081"></a>00081
136
+ <a name="l00082"></a><a class="code" href="class_gosu_1_1_color.html#ca2c08537635c0e6fd86d7e4b703a6ea">00082</a> <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#ca2c08537635c0e6fd86d7e4b703a6ea">setGreen</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value</a>)
137
+ <a name="l00083"></a>00083 {
138
+ <a name="l00084"></a>00084 rep &amp;= 0xffff00ff;
139
+ <a name="l00085"></a>00085 rep |= value &lt;&lt; 8;
140
+ <a name="l00086"></a>00086 }
141
+ <a name="l00087"></a>00087
142
+ <a name="l00088"></a><a class="code" href="class_gosu_1_1_color.html#3134366a8659048a8ec0e2ac8c8f75b1">00088</a> <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#3134366a8659048a8ec0e2ac8c8f75b1">setBlue</a>(<a class="code" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> <a class="code" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value</a>)
143
+ <a name="l00089"></a>00089 {
144
+ <a name="l00090"></a>00090 rep &amp;= 0xffffff00;
145
+ <a name="l00091"></a>00091 rep |= value;
146
+ <a name="l00092"></a>00092 }
147
+ <a name="l00093"></a>00093
148
+ <a name="l00095"></a>00095 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_color.html#e7dea29641a5e7c1a903f17c8f91ca41" title="Returns the hue of the color, in the usual range of 0..360.">hue</a>() <span class="keyword">const</span>;
149
+ <a name="l00096"></a>00096
150
+ <a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#ea1515be19da555c8beed681bd97e714" title="Changes the current color so hue() will return h.">setHue</a>(<span class="keywordtype">double</span> h);
151
+ <a name="l00099"></a>00099
152
+ <a name="l00101"></a>00101 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_color.html#50f84f148ae5676376f7ffab757ebe96" title="Returns the saturation of the color, in the range of 0..1.">saturation</a>() <span class="keyword">const</span>;
153
+ <a name="l00102"></a>00102
154
+ <a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#e5401d0533adc33bd2ce0d7d6bf360e6" title="Changes the current color so saturation() will return s.">setSaturation</a>(<span class="keywordtype">double</span> s);
155
+ <a name="l00105"></a>00105
156
+ <a name="l00107"></a>00107 <span class="keywordtype">double</span> <a class="code" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value</a>() <span class="keyword">const</span>;
157
+ <a name="l00108"></a>00108
158
+ <a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="class_gosu_1_1_color.html#7c84051414c6044f5928920dca1ca2c5" title="Changes the current color so value() will return v.">setValue</a>(<span class="keywordtype">double</span> v);
159
+ <a name="l00111"></a>00111
160
+ <a name="l00113"></a><a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a">00113</a> boost::uint32_t <a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>()<span class="keyword"> const</span>
161
+ <a name="l00114"></a>00114 <span class="keyword"> </span>{
162
+ <a name="l00115"></a>00115 <span class="keywordflow">return</span> rep;
163
+ <a name="l00116"></a>00116 }
164
+ <a name="l00117"></a>00117
165
+ <a name="l00119"></a><a class="code" href="class_gosu_1_1_color.html#629f55a6f636bc8d677bcca01eedf1c5">00119</a> boost::uint32_t <a class="code" href="class_gosu_1_1_color.html#629f55a6f636bc8d677bcca01eedf1c5" title="Returns the color in 0x00bbggrr representation.">bgr</a>()<span class="keyword"> const</span>
166
+ <a name="l00120"></a>00120 <span class="keyword"> </span>{
167
+ <a name="l00121"></a>00121 <span class="keywordflow">return</span> <a class="code" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a>() | (rep &amp; 0x0000ff00) | <a class="code" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a>() &lt;&lt; 16;
168
+ <a name="l00122"></a>00122 }
169
+ <a name="l00123"></a>00123
170
+ <a name="l00125"></a><a class="code" href="class_gosu_1_1_color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">00125</a> boost::uint32_t <a class="code" href="class_gosu_1_1_color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36" title="Returns the color in 0xaabbggrr representation.">abgr</a>()<span class="keyword"> const</span>
171
+ <a name="l00126"></a>00126 <span class="keyword"> </span>{
172
+ <a name="l00127"></a>00127 <span class="keywordflow">return</span> <a class="code" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a>() &lt;&lt; 24 | <a class="code" href="class_gosu_1_1_color.html#629f55a6f636bc8d677bcca01eedf1c5" title="Returns the color in 0x00bbggrr representation.">bgr</a>();
173
+ <a name="l00128"></a>00128 }
174
+ <a name="l00129"></a>00129 };
175
+ <a name="l00130"></a>00130
176
+ <a name="l00131"></a>00131 <span class="comment">// Causes weird errors when included in the SWIG wrapping process.</span>
177
+ <a name="l00132"></a>00132 <span class="comment">// If, with a future version of SWIG, this can be included and</span>
178
+ <a name="l00133"></a>00133 <span class="comment">// require 'gosu'; include Gosu</span>
179
+ <a name="l00134"></a>00134 <span class="comment">// works from within Ruby, the #ifndef guard can be removed.</span>
180
+ <a name="l00135"></a>00135 <span class="preprocessor"> #ifndef SWIG</span>
181
+ <a name="l00136"></a><a class="code" href="namespace_gosu.html#6198974ec645118e54cf8e3fc3b827cb">00136</a> <span class="preprocessor"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_gosu.html#6198974ec645118e54cf8e3fc3b827cb">operator==</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> a, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> b)
182
+ <a name="l00137"></a>00137 {
183
+ <a name="l00138"></a>00138 <span class="keywordflow">return</span> a.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>() == b.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>();
184
+ <a name="l00139"></a>00139 }
185
+ <a name="l00140"></a>00140
186
+ <a name="l00141"></a><a class="code" href="namespace_gosu.html#12095af239f1cecbcba59a22ffb1af93">00141</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_gosu.html#12095af239f1cecbcba59a22ffb1af93">operator!=</a>(<a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> a, <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> b)
187
+ <a name="l00142"></a>00142 {
188
+ <a name="l00143"></a>00143 <span class="keywordflow">return</span> a.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>() != b.<a class="code" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a" title="Returns the color in 0xaarrggbb representation.">argb</a>();
189
+ <a name="l00144"></a>00144 }
190
+ <a name="l00145"></a>00145 <span class="preprocessor"> #endif</span>
191
+ <a name="l00146"></a>00146 <span class="preprocessor"></span>
192
+ <a name="l00150"></a>00150 Color <a class="code" href="namespace_gosu.html#55c2cfa7575386d8eb6a8dc615e905ae" title="Interpolates linearly between two colors, with a given weight towards the second...">interpolate</a>(Color a, Color b, <span class="keywordtype">double</span> weight = 0.5);
193
+ <a name="l00151"></a>00151
194
+ <a name="l00154"></a>00154 Color <a class="code" href="namespace_gosu.html#bb85501ec3787bd0fc80187231788bea" title="Combines two colors as if their channels were mapped to the 0.">multiply</a>(Color a, Color b);
195
+ <a name="l00155"></a>00155
196
+ <a name="l00157"></a><a class="code" href="namespace_gosu_1_1_colors.html">00157</a> <span class="keyword">namespace </span>Colors
197
+ <a name="l00158"></a>00158 {
198
+ <a name="l00159"></a><a class="code" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">00159</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#0918862384305ddc85080bdb5946a2df">none</a> = 0x00000000;
199
+ <a name="l00160"></a><a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">00160</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#486a8cbb6cc61e293d9e0e514b77b99c">black</a> = 0xff000000;
200
+ <a name="l00161"></a><a class="code" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">00161</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#771eb7e0a376ddaf15aae2d937cf5116">gray</a> = 0xff808080;
201
+ <a name="l00162"></a><a class="code" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">00162</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#10d42c88c877baa7e4c3d22f30781802">white</a> = 0xffffffff;
202
+ <a name="l00163"></a><a class="code" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">00163</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#87aad19d60aca50b923e3cd8e3965acb">red</a> = 0xffff0000;
203
+ <a name="l00164"></a><a class="code" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">00164</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#b996c55e7085bf96def040bf026682df">green</a> = 0xff00ff00;
204
+ <a name="l00165"></a><a class="code" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">00165</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#4cb017274ba0bdcdba68a0d3e131fdcd">blue</a> = 0xff0000ff;
205
+ <a name="l00166"></a><a class="code" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">00166</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#805a3b1bacc86357736930cacf209803">yellow</a> = 0xffffff00;
206
+ <a name="l00167"></a><a class="code" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">00167</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#150c914964141ef07c27703ca8f55500">fuchsia</a> = 0xffff00ff;
207
+ <a name="l00168"></a><a class="code" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">00168</a> <span class="keyword">const</span> <a class="code" href="class_gosu_1_1_color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> <a class="code" href="namespace_gosu_1_1_colors.html#0751eab6bdab4be181a09afab61947e2">cyan</a> = 0xff00ffff;
208
+ <a name="l00169"></a>00169 }
209
+ <a name="l00170"></a>00170 }
210
+ <a name="l00171"></a>00171
211
+ <a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
212
+ </pre></div></div>
213
+ <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
214
+ </div>
215
+ </body>
216
+ </html>
@@ -51,6 +51,7 @@ window.onload = initDynSections;
51
51
  <div class="tabs">
52
52
  <ul>
53
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
54
55
  <li><a href="annotated.html"><span>Classes</span></a></li>
55
56
  <li class="current"><a href="files.html"><span>Files</span></a></li>
56
57
  </ul>
@@ -71,13 +72,13 @@ window.onload = initDynSections;
71
72
  <a name="l00008"></a>00008
72
73
  <a name="l00009"></a>00009 <span class="keyword">namespace </span>Gosu
73
74
  <a name="l00010"></a>00010 {
74
- <a name="l00015"></a>00015 std::wstring resourcePrefix();
75
+ <a name="l00015"></a>00015 std::wstring <a class="code" href="namespace_gosu.html#9e98cb1b194245f7ebb33febdf3ea1ba" title="Prefix for a program&amp;#39;s own resources.">resourcePrefix</a>();
75
76
  <a name="l00016"></a>00016
76
- <a name="l00021"></a>00021 std::wstring sharedResourcePrefix();
77
+ <a name="l00021"></a>00021 std::wstring <a class="code" href="namespace_gosu.html#15eb63b0cec84b235d0f4d836731d3e1" title="Prefix for resources of a group of programs.">sharedResourcePrefix</a>();
77
78
  <a name="l00022"></a>00022
78
- <a name="l00027"></a>00027 std::wstring userSettingsPrefix();
79
+ <a name="l00027"></a>00027 std::wstring <a class="code" href="namespace_gosu.html#c5d5db92f55aba5bcd7cd6ca1a79c712" title="Prefix for user settings.">userSettingsPrefix</a>();
79
80
  <a name="l00028"></a>00028
80
- <a name="l00033"></a>00033 std::wstring userDocsPrefix();
81
+ <a name="l00033"></a>00033 std::wstring <a class="code" href="namespace_gosu.html#608bef262f259644b1e804c5bd03683a" title="Prefix for user documents, e.g.">userDocsPrefix</a>();
81
82
  <a name="l00034"></a>00034 }
82
83
  <a name="l00035"></a>00035
83
84
  <a name="l00036"></a>00036 <span class="preprocessor">#endif</span>
@@ -5,7 +5,7 @@
5
5
  </head>
6
6
  <body>
7
7
  <div class="everything">
8
- <!-- Generated by Doxygen 1.5.8 -->
8
+ <!-- Generated by Doxygen 1.5.9 -->
9
9
  <script type="text/javascript">
10
10
  <!--
11
11
  function changeDisplayState (e){
@@ -51,6 +51,7 @@ window.onload = initDynSections;
51
51
  <div class="tabs">
52
52
  <ul>
53
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
54
55
  <li><a href="annotated.html"><span>Classes</span></a></li>
55
56
  <li class="current"><a href="files.html"><span>Files</span></a></li>
56
57
  </ul>
@@ -68,8 +69,14 @@ window.onload = initDynSections;
68
69
  <p>
69
70
 
70
71
  <p>
71
- <a href="_directories_8hpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
72
+ <a href="_directories_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
72
73
  <tr><td></td></tr>
74
+ <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
75
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
76
+
77
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The library's main namespace. <br></td></tr>
78
+
79
+ <p>
73
80
  <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
74
81
  <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#9e98cb1b194245f7ebb33febdf3ea1ba">Gosu::resourcePrefix</a> ()</td></tr>
75
82
 
@@ -84,11 +91,11 @@ window.onload = initDynSections;
84
91
 
85
92
  <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prefix for user documents, e.g. <a href="#608bef262f259644b1e804c5bd03683a"></a><br></td></tr>
86
93
  </table>
87
- <hr><a name="_details"></a><h2>Detailed Description</h2>
94
+ <hr><h2>Detailed Description</h2>
88
95
  Access to a small set of system paths.
89
96
  <p>
90
97
 
91
- <p>Definition in file <a class="el" href="_directories_8hpp-source.html">Directories.hpp</a>.</p>
98
+ <p>Definition in file <a class="el" href="_directories_8hpp_source.html">Directories.hpp</a>.</p>
92
99
  </div>
93
100
  <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
94
101
  </div>
@@ -0,0 +1,89 @@
1
+ <html>
2
+ <head>
3
+ <title>Gosu C++ Reference</title>
4
+ <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
+ </head>
6
+ <body>
7
+ <div class="everything">
8
+ <!-- Generated by Doxygen 1.5.9 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
+ <li><a href="annotated.html"><span>Classes</span></a></li>
56
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
57
+ </ul>
58
+ </div>
59
+ <div class="tabs">
60
+ <ul>
61
+ <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
+ <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ <h1>Directories.hpp</h1><a href="_directories_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66
+ <a name="l00002"></a>00002
67
+ <a name="l00003"></a>00003
68
+ <a name="l00004"></a>00004 <span class="preprocessor">#ifndef GOSU_DIRECTORIES_HPP</span>
69
+ <a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_DIRECTORIES_HPP</span>
70
+ <a name="l00006"></a>00006 <span class="preprocessor"></span>
71
+ <a name="l00007"></a>00007 <span class="preprocessor">#include &lt;string&gt;</span>
72
+ <a name="l00008"></a>00008
73
+ <a name="l00009"></a>00009 <span class="keyword">namespace </span>Gosu
74
+ <a name="l00010"></a>00010 {
75
+ <a name="l00015"></a>00015 std::wstring <a class="code" href="namespace_gosu.html#9e98cb1b194245f7ebb33febdf3ea1ba" title="Prefix for a program&amp;#39;s own resources.">resourcePrefix</a>();
76
+ <a name="l00016"></a>00016
77
+ <a name="l00021"></a>00021 std::wstring <a class="code" href="namespace_gosu.html#15eb63b0cec84b235d0f4d836731d3e1" title="Prefix for resources of a group of programs.">sharedResourcePrefix</a>();
78
+ <a name="l00022"></a>00022
79
+ <a name="l00027"></a>00027 std::wstring <a class="code" href="namespace_gosu.html#c5d5db92f55aba5bcd7cd6ca1a79c712" title="Prefix for user settings.">userSettingsPrefix</a>();
80
+ <a name="l00028"></a>00028
81
+ <a name="l00033"></a>00033 std::wstring <a class="code" href="namespace_gosu.html#608bef262f259644b1e804c5bd03683a" title="Prefix for user documents, e.g.">userDocsPrefix</a>();
82
+ <a name="l00034"></a>00034 }
83
+ <a name="l00035"></a>00035
84
+ <a name="l00036"></a>00036 <span class="preprocessor">#endif</span>
85
+ </pre></div></div>
86
+ <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
87
+ </div>
88
+ </body>
89
+ </html>