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
@@ -0,0 +1,86 @@
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.8 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ </div>
66
+ <div class="contents">
67
+ <h1>Gosu::Song Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a>, including all inherited members.<p><table>
68
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#e460032103a9ddb7e0dd50f53fb9d36e">changeVolume</a>(double volume)</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
69
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#3f6c94bd9ea9522430d6e0d1e1e64250">currentSong</a>()</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td><code> [static]</code></td></tr>
70
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#9ae053fbee6f240d2793fab3fa4ef596">pause</a>()</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
71
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#a0d611bf37c19086797c9e46e001e092">paused</a>() const </td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
72
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#6b9cb7b452a737455e8cf4e7d90acff9">play</a>(bool looping=false)</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
73
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#c83d4b509149c2b1fb48ad697fb1adf3">playing</a>() const </td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
74
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ef65dfe9e74d33480375481d47eee408">Song</a>(Audio &amp;, const std::wstring &amp;filename)</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
75
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#af4a22bbd0e4c6877c248bfdc13cdb39">Song</a>(Audio &amp;, Type type, Reader reader)</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
76
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08">stModule</a> enum value</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
77
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#469a3cf49be8ebec2c9855dec46f5f71">stop</a>()</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
78
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08">stStream</a> enum value</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
79
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> enum name</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
80
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ab8e8a273b5ea235ad9f48dee684c683">volume</a>() const </td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
81
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_song.html#ff79e20283962720a12248861d8b2883">~Song</a>()</td><td><a class="el" href="class_gosu_1_1_song.html">Gosu::Song</a></td><td></td></tr>
82
+ </table></div>
83
+ <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>
84
+ </div>
85
+ </body>
86
+ </html>
@@ -1,15 +1,56 @@
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::Song 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 -->
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.8 -->
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>
8
50
  <div class="navigation" id="top">
9
51
  <div class="tabs">
10
52
  <ul>
11
53
  <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
54
  <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
55
  <li><a href="files.html"><span>Files</span></a></li>
15
56
  </ul>
@@ -21,7 +62,7 @@
21
62
  <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
63
  </ul>
23
64
  </div>
24
- <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Song.html">Song</a>
65
+ <div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_song.html">Song</a>
25
66
  </div>
26
67
  </div>
27
68
  <div class="contents">
@@ -30,54 +71,79 @@
30
71
  <p>
31
72
 
32
73
  <p>
33
- <a href="classGosu_1_1Song-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
74
+ <a href="class_gosu_1_1_song-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
75
  <tr><td></td></tr>
35
76
  <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> { <b>stStream</b>,
37
- <b>stModule</b>
77
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> { <a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08">stStream</a>,
78
+ <a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08">stModule</a>
38
79
  }</td></tr>
39
80
 
81
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">There are two types of songs that can be loaded as a <a class="el" href="class_gosu_1_1_song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>: Streamed songs (like OGG) and modules (like MOD or XM). <a href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">More...</a><br></td></tr>
40
82
  <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
41
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408">Song</a> (<a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;, const std::wstring &amp;filename)</td></tr>
83
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#ef65dfe9e74d33480375481d47eee408">Song</a> (<a class="el" href="class_gosu_1_1_audio.html">Audio</a> &amp;, const std::wstring &amp;filename)</td></tr>
42
84
 
43
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#af4a22bbd0e4c6877c248bfdc13cdb39">Song</a> (<a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;, <a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> type, Reader reader)</td></tr>
85
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a song that can be played on the provided audio system and loads the song from a file. <a href="#ef65dfe9e74d33480375481d47eee408"></a><br></td></tr>
86
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#af4a22bbd0e4c6877c248bfdc13cdb39">Song</a> (<a class="el" href="class_gosu_1_1_audio.html">Audio</a> &amp;, <a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> type, <a class="el" href="class_gosu_1_1_reader.html">Reader</a> reader)</td></tr>
44
87
 
45
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#6b9cb7b452a737455e8cf4e7d90acff9">play</a> (bool looping=false)</td></tr>
88
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a song of the specified type that can be played on the provided audio system and loads the song data from a stream. <a href="#af4a22bbd0e4c6877c248bfdc13cdb39"></a><br></td></tr>
89
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#ff79e20283962720a12248861d8b2883">~Song</a> ()</td></tr>
46
90
 
47
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#9ae053fbee6f240d2793fab3fa4ef596">pause</a> ()</td></tr>
91
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#6b9cb7b452a737455e8cf4e7d90acff9">play</a> (bool looping=false)</td></tr>
48
92
 
49
- <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#a0d611bf37c19086797c9e46e001e092">paused</a> () const </td></tr>
93
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Starts or resumes playback of the song. <a href="#6b9cb7b452a737455e8cf4e7d90acff9"></a><br></td></tr>
94
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#9ae053fbee6f240d2793fab3fa4ef596">pause</a> ()</td></tr>
50
95
 
51
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#469a3cf49be8ebec2c9855dec46f5f71">stop</a> ()</td></tr>
96
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pauses playback of the song. <a href="#9ae053fbee6f240d2793fab3fa4ef596"></a><br></td></tr>
97
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#a0d611bf37c19086797c9e46e001e092">paused</a> () const </td></tr>
52
98
 
53
- <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#c83d4b509149c2b1fb48ad697fb1adf3">playing</a> () const </td></tr>
99
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the song is the current song, but in paused mode. <a href="#a0d611bf37c19086797c9e46e001e092"></a><br></td></tr>
100
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#469a3cf49be8ebec2c9855dec46f5f71">stop</a> ()</td></tr>
54
101
 
55
- <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683">volume</a> () const </td></tr>
102
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stops playback of this song if it is currently played or paused. <a href="#469a3cf49be8ebec2c9855dec46f5f71"></a><br></td></tr>
103
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#c83d4b509149c2b1fb48ad697fb1adf3">playing</a> () const </td></tr>
56
104
 
57
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#e460032103a9ddb7e0dd50f53fb9d36e">changeVolume</a> (double volume)</td></tr>
105
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the song is currently playing. <a href="#c83d4b509149c2b1fb48ad697fb1adf3"></a><br></td></tr>
106
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#ab8e8a273b5ea235ad9f48dee684c683">volume</a> () const </td></tr>
58
107
 
108
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current volume of the song. <a href="#ab8e8a273b5ea235ad9f48dee684c683"></a><br></td></tr>
109
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#e460032103a9ddb7e0dd50f53fb9d36e">changeVolume</a> (double volume)</td></tr>
110
+
111
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the volume of the song. <a href="#e460032103a9ddb7e0dd50f53fb9d36e"></a><br></td></tr>
59
112
  <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
60
- <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGosu_1_1Song.html">Song</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Song.html#3f6c94bd9ea9522430d6e0d1e1e64250">currentSong</a> ()</td></tr>
113
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_gosu_1_1_song.html">Song</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_song.html#3f6c94bd9ea9522430d6e0d1e1e64250">currentSong</a> ()</td></tr>
61
114
 
115
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the song currently being played or paused, or 0 if no song has been played yet or the last song has finished playing. <a href="#3f6c94bd9ea9522430d6e0d1e1e64250"></a><br></td></tr>
62
116
  </table>
63
117
  <hr><a name="_details"></a><h2>Detailed Description</h2>
64
118
  Songs are less flexible than samples in that they can only be played one at a time and without panning or speed parameters.
65
119
  <p>
120
+
121
+ <p>Definition at line <a class="el" href="_audio_8hpp-source.html#l00113">113</a> of file <a class="el" href="_audio_8hpp-source.html">Audio.hpp</a>.</p>
66
122
  <hr><h2>Member Enumeration Documentation</h2>
67
123
  <a class="anchor" name="ec4c76bfe19e210da34bcaa286af605f"></a><!-- doxytag: member="Gosu::Song::Type" ref="ec4c76bfe19e210da34bcaa286af605f" args="" -->
68
124
  <div class="memitem">
69
125
  <div class="memproto">
70
126
  <table class="memname">
71
127
  <tr>
72
- <td class="memname">enum <a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Gosu::Song::Type</a> </td>
128
+ <td class="memname">enum <a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">Gosu::Song::Type</a> </td>
73
129
  </tr>
74
130
  </table>
75
131
  </div>
76
132
  <div class="memdoc">
77
133
 
78
134
  <p>
79
- There are two types of songs that can be loaded as a <a class="el" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>: Streamed songs (like OGG) and modules (like MOD or XM).
135
+ There are two types of songs that can be loaded as a <a class="el" href="class_gosu_1_1_song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>: Streamed songs (like OGG) and modules (like MOD or XM).
80
136
  <p>
137
+ <dl compact><dt><b>Enumerator: </b></dt><dd>
138
+ <table border="0" cellspacing="2" cellpadding="0">
139
+ <tr><td valign="top"><em><a class="anchor" name="ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08"></a><!-- doxytag: member="stStream" ref="ec4c76bfe19e210da34bcaa286af605fe286e9a21b389adc85979f676f545f08" args="" -->stStream</em>&nbsp;</td><td>
140
+ </td></tr>
141
+ <tr><td valign="top"><em><a class="anchor" name="ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08"></a><!-- doxytag: member="stModule" ref="ec4c76bfe19e210da34bcaa286af605fc0813c1fe4a20efe8f8431dabd4e2b08" args="" -->stModule</em>&nbsp;</td><td>
142
+ </td></tr>
143
+ </table>
144
+ </dl>
145
+
146
+ <p>Definition at line <a class="el" href="_audio_8hpp-source.html#l00123">123</a> of file <a class="el" href="_audio_8hpp-source.html">Audio.hpp</a>.</p>
81
147
 
82
148
  </div>
83
149
  </div><p>
@@ -89,7 +155,7 @@ There are two types of songs that can be loaded as a <a class="el" href="classGo
89
155
  <tr>
90
156
  <td class="memname">Gosu::Song::Song </td>
91
157
  <td>(</td>
92
- <td class="paramtype"><a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td>
158
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_audio.html">Audio</a> &amp;&nbsp;</td>
93
159
  <td class="paramname">, </td>
94
160
  </tr>
95
161
  <tr>
@@ -101,7 +167,7 @@ There are two types of songs that can be loaded as a <a class="el" href="classGo
101
167
  <tr>
102
168
  <td></td>
103
169
  <td>)</td>
104
- <td></td><td></td><td width="100%"></td>
170
+ <td></td><td></td><td></td>
105
171
  </tr>
106
172
  </table>
107
173
  </div>
@@ -120,25 +186,25 @@ The type is determined from the filename.
120
186
  <tr>
121
187
  <td class="memname">Gosu::Song::Song </td>
122
188
  <td>(</td>
123
- <td class="paramtype"><a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td>
189
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_audio.html">Audio</a> &amp;&nbsp;</td>
124
190
  <td class="paramname">, </td>
125
191
  </tr>
126
192
  <tr>
127
193
  <td class="paramkey"></td>
128
194
  <td></td>
129
- <td class="paramtype"><a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a>&nbsp;</td>
195
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a>&nbsp;</td>
130
196
  <td class="paramname"> <em>type</em>, </td>
131
197
  </tr>
132
198
  <tr>
133
199
  <td class="paramkey"></td>
134
200
  <td></td>
135
- <td class="paramtype">Reader&nbsp;</td>
201
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_reader.html">Reader</a>&nbsp;</td>
136
202
  <td class="paramname"> <em>reader</em></td><td>&nbsp;</td>
137
203
  </tr>
138
204
  <tr>
139
205
  <td></td>
140
206
  <td>)</td>
141
- <td></td><td></td><td width="100%"></td>
207
+ <td></td><td></td><td></td>
142
208
  </tr>
143
209
  </table>
144
210
  </div>
@@ -150,48 +216,67 @@ Constructs a song of the specified type that can be played on the provided audio
150
216
 
151
217
  </div>
152
218
  </div><p>
153
- <hr><h2>Member Function Documentation</h2>
154
- <a class="anchor" name="3f6c94bd9ea9522430d6e0d1e1e64250"></a><!-- doxytag: member="Gosu::Song::currentSong" ref="3f6c94bd9ea9522430d6e0d1e1e64250" args="()" -->
219
+ <a class="anchor" name="ff79e20283962720a12248861d8b2883"></a><!-- doxytag: member="Gosu::Song::~Song" ref="ff79e20283962720a12248861d8b2883" args="()" -->
155
220
  <div class="memitem">
156
221
  <div class="memproto">
157
222
  <table class="memname">
158
223
  <tr>
159
- <td class="memname">static <a class="el" href="classGosu_1_1Song.html">Song</a>* Gosu::Song::currentSong </td>
224
+ <td class="memname">Gosu::Song::~Song </td>
160
225
  <td>(</td>
161
226
  <td class="paramname"> </td>
162
227
  <td>&nbsp;)&nbsp;</td>
163
- <td width="100%"><code> [static]</code></td>
228
+ <td></td>
164
229
  </tr>
165
230
  </table>
166
231
  </div>
167
232
  <div class="memdoc">
168
233
 
169
234
  <p>
170
- Returns the song currently being played or paused, or 0 if no song has been played yet or the last song has finished playing.
235
+
236
+ </div>
237
+ </div><p>
238
+ <hr><h2>Member Function Documentation</h2>
239
+ <a class="anchor" name="e460032103a9ddb7e0dd50f53fb9d36e"></a><!-- doxytag: member="Gosu::Song::changeVolume" ref="e460032103a9ddb7e0dd50f53fb9d36e" args="(double volume)" -->
240
+ <div class="memitem">
241
+ <div class="memproto">
242
+ <table class="memname">
243
+ <tr>
244
+ <td class="memname">void Gosu::Song::changeVolume </td>
245
+ <td>(</td>
246
+ <td class="paramtype">double&nbsp;</td>
247
+ <td class="paramname"> <em>volume</em> </td>
248
+ <td>&nbsp;)&nbsp;</td>
249
+ <td></td>
250
+ </tr>
251
+ </table>
252
+ </div>
253
+ <div class="memdoc">
254
+
255
+ <p>
256
+ Changes the volume of the song.
171
257
  <p>
172
258
 
173
259
  </div>
174
260
  </div><p>
175
- <a class="anchor" name="6b9cb7b452a737455e8cf4e7d90acff9"></a><!-- doxytag: member="Gosu::Song::play" ref="6b9cb7b452a737455e8cf4e7d90acff9" args="(bool looping=false)" -->
261
+ <a class="anchor" name="3f6c94bd9ea9522430d6e0d1e1e64250"></a><!-- doxytag: member="Gosu::Song::currentSong" ref="3f6c94bd9ea9522430d6e0d1e1e64250" args="()" -->
176
262
  <div class="memitem">
177
263
  <div class="memproto">
178
264
  <table class="memname">
179
265
  <tr>
180
- <td class="memname">void Gosu::Song::play </td>
266
+ <td class="memname">static <a class="el" href="class_gosu_1_1_song.html">Song</a>* Gosu::Song::currentSong </td>
181
267
  <td>(</td>
182
- <td class="paramtype">bool&nbsp;</td>
183
- <td class="paramname"> <em>looping</em> = <code>false</code> </td>
268
+ <td class="paramname"> </td>
184
269
  <td>&nbsp;)&nbsp;</td>
185
- <td width="100%"></td>
270
+ <td><code> [static]</code></td>
186
271
  </tr>
187
272
  </table>
188
273
  </div>
189
274
  <div class="memdoc">
190
275
 
191
276
  <p>
192
- Starts or resumes playback of the song.
277
+ Returns the song currently being played or paused, or 0 if no song has been played yet or the last song has finished playing.
193
278
  <p>
194
- This will stop all other songs and set the current song to this object.
279
+
195
280
  </div>
196
281
  </div><p>
197
282
  <a class="anchor" name="9ae053fbee6f240d2793fab3fa4ef596"></a><!-- doxytag: member="Gosu::Song::pause" ref="9ae053fbee6f240d2793fab3fa4ef596" args="()" -->
@@ -203,7 +288,7 @@ This will stop all other songs and set the current song to this object.
203
288
  <td>(</td>
204
289
  <td class="paramname"> </td>
205
290
  <td>&nbsp;)&nbsp;</td>
206
- <td width="100%"></td>
291
+ <td></td>
207
292
  </tr>
208
293
  </table>
209
294
  </div>
@@ -224,7 +309,7 @@ It is not considered being played. currentSong will stay the same.
224
309
  <td>(</td>
225
310
  <td class="paramname"> </td>
226
311
  <td>&nbsp;)&nbsp;</td>
227
- <td width="100%"> const</td>
312
+ <td> const</td>
228
313
  </tr>
229
314
  </table>
230
315
  </div>
@@ -236,25 +321,26 @@ Returns true if the song is the current song, but in paused mode.
236
321
 
237
322
  </div>
238
323
  </div><p>
239
- <a class="anchor" name="469a3cf49be8ebec2c9855dec46f5f71"></a><!-- doxytag: member="Gosu::Song::stop" ref="469a3cf49be8ebec2c9855dec46f5f71" args="()" -->
324
+ <a class="anchor" name="6b9cb7b452a737455e8cf4e7d90acff9"></a><!-- doxytag: member="Gosu::Song::play" ref="6b9cb7b452a737455e8cf4e7d90acff9" args="(bool looping=false)" -->
240
325
  <div class="memitem">
241
326
  <div class="memproto">
242
327
  <table class="memname">
243
328
  <tr>
244
- <td class="memname">void Gosu::Song::stop </td>
329
+ <td class="memname">void Gosu::Song::play </td>
245
330
  <td>(</td>
246
- <td class="paramname"> </td>
331
+ <td class="paramtype">bool&nbsp;</td>
332
+ <td class="paramname"> <em>looping</em> = <code>false</code> </td>
247
333
  <td>&nbsp;)&nbsp;</td>
248
- <td width="100%"></td>
334
+ <td></td>
249
335
  </tr>
250
336
  </table>
251
337
  </div>
252
338
  <div class="memdoc">
253
339
 
254
340
  <p>
255
- Stops playback of this song if it is currently played or paused.
341
+ Starts or resumes playback of the song.
256
342
  <p>
257
- Afterwards, currentSong will return 0.
343
+ This will stop all other songs and set the current song to this object.
258
344
  </div>
259
345
  </div><p>
260
346
  <a class="anchor" name="c83d4b509149c2b1fb48ad697fb1adf3"></a><!-- doxytag: member="Gosu::Song::playing" ref="c83d4b509149c2b1fb48ad697fb1adf3" args="() const " -->
@@ -266,66 +352,64 @@ Afterwards, currentSong will return 0.
266
352
  <td>(</td>
267
353
  <td class="paramname"> </td>
268
354
  <td>&nbsp;)&nbsp;</td>
269
- <td width="100%"> const</td>
355
+ <td> const</td>
270
356
  </tr>
271
357
  </table>
272
358
  </div>
273
359
  <div class="memdoc">
274
360
 
275
361
  <p>
276
- Returns if the song is currently playing.
362
+ Returns true if the song is currently playing.
277
363
  <p>
278
364
 
279
365
  </div>
280
366
  </div><p>
281
- <a class="anchor" name="ab8e8a273b5ea235ad9f48dee684c683"></a><!-- doxytag: member="Gosu::Song::volume" ref="ab8e8a273b5ea235ad9f48dee684c683" args="() const " -->
367
+ <a class="anchor" name="469a3cf49be8ebec2c9855dec46f5f71"></a><!-- doxytag: member="Gosu::Song::stop" ref="469a3cf49be8ebec2c9855dec46f5f71" args="()" -->
282
368
  <div class="memitem">
283
369
  <div class="memproto">
284
370
  <table class="memname">
285
371
  <tr>
286
- <td class="memname">double Gosu::Song::volume </td>
372
+ <td class="memname">void Gosu::Song::stop </td>
287
373
  <td>(</td>
288
374
  <td class="paramname"> </td>
289
375
  <td>&nbsp;)&nbsp;</td>
290
- <td width="100%"> const</td>
376
+ <td></td>
291
377
  </tr>
292
378
  </table>
293
379
  </div>
294
380
  <div class="memdoc">
295
381
 
296
382
  <p>
297
- Returns the current volume of the song.
383
+ Stops playback of this song if it is currently played or paused.
298
384
  <p>
299
-
385
+ Afterwards, currentSong will return 0.
300
386
  </div>
301
387
  </div><p>
302
- <a class="anchor" name="e460032103a9ddb7e0dd50f53fb9d36e"></a><!-- doxytag: member="Gosu::Song::changeVolume" ref="e460032103a9ddb7e0dd50f53fb9d36e" args="(double volume)" -->
388
+ <a class="anchor" name="ab8e8a273b5ea235ad9f48dee684c683"></a><!-- doxytag: member="Gosu::Song::volume" ref="ab8e8a273b5ea235ad9f48dee684c683" args="() const " -->
303
389
  <div class="memitem">
304
390
  <div class="memproto">
305
391
  <table class="memname">
306
392
  <tr>
307
- <td class="memname">void Gosu::Song::changeVolume </td>
393
+ <td class="memname">double Gosu::Song::volume </td>
308
394
  <td>(</td>
309
- <td class="paramtype">double&nbsp;</td>
310
- <td class="paramname"> <em>volume</em> </td>
395
+ <td class="paramname"> </td>
311
396
  <td>&nbsp;)&nbsp;</td>
312
- <td width="100%"></td>
397
+ <td> const</td>
313
398
  </tr>
314
399
  </table>
315
400
  </div>
316
401
  <div class="memdoc">
317
402
 
318
403
  <p>
319
- Changes the volume of the song.
404
+ Returns the current volume of the song.
320
405
  <p>
321
406
 
322
407
  </div>
323
408
  </div><p>
324
409
  <hr>The documentation for this class was generated from the following file:<ul>
325
- <li><a class="el" href="Audio_8hpp-source.html">Audio.hpp</a></ul>
410
+ <li><a class="el" href="_audio_8hpp-source.html">Audio.hpp</a></ul>
326
411
  </div>
327
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
328
- <a href="http://www.doxygen.org/index.html">
329
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
330
- </body>
412
+ <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>
413
+ </div>
414
+ </body>
331
415
  </html>