gosu 0.7.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. data/COPYING.txt +29 -0
  2. data/Gosu/Async.hpp +48 -0
  3. data/Gosu/Audio.hpp +145 -0
  4. data/Gosu/AutoLink.hpp +16 -0
  5. data/Gosu/Bitmap.hpp +85 -0
  6. data/Gosu/ButtonsMac.hpp +114 -0
  7. data/Gosu/ButtonsWin.hpp +111 -0
  8. data/Gosu/ButtonsX.hpp +115 -0
  9. data/Gosu/Color.hpp +172 -0
  10. data/Gosu/Directories.hpp +36 -0
  11. data/Gosu/Font.hpp +59 -0
  12. data/Gosu/Fwd.hpp +31 -0
  13. data/Gosu/Gosu.hpp +26 -0
  14. data/Gosu/Graphics.hpp +86 -0
  15. data/Gosu/GraphicsBase.hpp +45 -0
  16. data/Gosu/IO.hpp +255 -0
  17. data/Gosu/Image.hpp +148 -0
  18. data/Gosu/ImageData.hpp +45 -0
  19. data/Gosu/Input.hpp +116 -0
  20. data/Gosu/Math.hpp +95 -0
  21. data/Gosu/Platform.hpp +61 -0
  22. data/Gosu/RotFlip.hpp +116 -0
  23. data/Gosu/Sockets.hpp +129 -0
  24. data/Gosu/Text.hpp +47 -0
  25. data/Gosu/TextInput.hpp +57 -0
  26. data/Gosu/Timing.hpp +16 -0
  27. data/Gosu/Utility.hpp +24 -0
  28. data/Gosu/WinUtility.hpp +76 -0
  29. data/Gosu/Window.hpp +84 -0
  30. data/GosuImpl/Async.cpp +37 -0
  31. data/GosuImpl/AudioFmod.cpp +417 -0
  32. data/GosuImpl/AudioSDL.cpp +255 -0
  33. data/GosuImpl/DirectoriesMac.mm +38 -0
  34. data/GosuImpl/DirectoriesUnix.cpp +48 -0
  35. data/GosuImpl/DirectoriesWin.cpp +42 -0
  36. data/GosuImpl/FileUnix.cpp +100 -0
  37. data/GosuImpl/FileWin.cpp +83 -0
  38. data/GosuImpl/Graphics/Bitmap.cpp +116 -0
  39. data/GosuImpl/Graphics/BitmapBMP.cpp +232 -0
  40. data/GosuImpl/Graphics/BitmapColorKey.cpp +39 -0
  41. data/GosuImpl/Graphics/BitmapPNG.cpp +276 -0
  42. data/GosuImpl/Graphics/BitmapUtils.cpp +67 -0
  43. data/GosuImpl/Graphics/BlockAllocator.cpp +127 -0
  44. data/GosuImpl/Graphics/BlockAllocator.hpp +34 -0
  45. data/GosuImpl/Graphics/Color.cpp +126 -0
  46. data/GosuImpl/Graphics/Common.hpp +21 -0
  47. data/GosuImpl/Graphics/DrawOp.hpp +154 -0
  48. data/GosuImpl/Graphics/Font.cpp +110 -0
  49. data/GosuImpl/Graphics/Graphics.cpp +295 -0
  50. data/GosuImpl/Graphics/Image.cpp +159 -0
  51. data/GosuImpl/Graphics/LargeImageData.cpp +115 -0
  52. data/GosuImpl/Graphics/LargeImageData.hpp +37 -0
  53. data/GosuImpl/Graphics/RotFlip.cpp +184 -0
  54. data/GosuImpl/Graphics/TexChunk.cpp +77 -0
  55. data/GosuImpl/Graphics/TexChunk.hpp +40 -0
  56. data/GosuImpl/Graphics/Text.cpp +223 -0
  57. data/GosuImpl/Graphics/TextMac.cpp +242 -0
  58. data/GosuImpl/Graphics/TextPangoFT.cpp +186 -0
  59. data/GosuImpl/Graphics/TextWin.cpp +172 -0
  60. data/GosuImpl/Graphics/Texture.cpp +104 -0
  61. data/GosuImpl/Graphics/Texture.hpp +34 -0
  62. data/GosuImpl/IO.cpp +48 -0
  63. data/GosuImpl/InputMac.mm +677 -0
  64. data/GosuImpl/InputWin.cpp +444 -0
  65. data/GosuImpl/InputX.cpp +158 -0
  66. data/GosuImpl/MacUtility.hpp +48 -0
  67. data/GosuImpl/Math.cpp +49 -0
  68. data/GosuImpl/RubyGosu.swg +474 -0
  69. data/GosuImpl/RubyGosuStub.mm +17 -0
  70. data/GosuImpl/RubyGosu_DllMain.cxx +30 -0
  71. data/GosuImpl/RubyGosu_wrap.cxx +8521 -0
  72. data/GosuImpl/RubyGosu_wrap.h +31 -0
  73. data/GosuImpl/Sockets/CommSocket.cpp +304 -0
  74. data/GosuImpl/Sockets/ListenerSocket.cpp +60 -0
  75. data/GosuImpl/Sockets/MessageSocket.cpp +136 -0
  76. data/GosuImpl/Sockets/Socket.cpp +145 -0
  77. data/GosuImpl/Sockets/Sockets.hpp +66 -0
  78. data/GosuImpl/TextInputMac.mm +207 -0
  79. data/GosuImpl/TextInputWin.cpp +197 -0
  80. data/GosuImpl/TextInputX.cpp +201 -0
  81. data/GosuImpl/TextTTFWin.cpp +247 -0
  82. data/GosuImpl/TimingUnix.cpp +17 -0
  83. data/GosuImpl/TimingWin.cpp +28 -0
  84. data/GosuImpl/Utility.cpp +140 -0
  85. data/GosuImpl/WinMain.cpp +69 -0
  86. data/GosuImpl/WinUtility.cpp +137 -0
  87. data/GosuImpl/WindowMac.mm +466 -0
  88. data/GosuImpl/WindowWin.cpp +447 -0
  89. data/GosuImpl/WindowX.cpp +392 -0
  90. data/GosuImpl/X11vroot.h +118 -0
  91. data/README.txt +13 -0
  92. data/Rakefile +178 -0
  93. data/examples/ChipmunkIntegration.rb +275 -0
  94. data/examples/CptnRuby.rb +231 -0
  95. data/examples/MoreChipmunkAndRMagick.rb +155 -0
  96. data/examples/OpenGLIntegration.rb +232 -0
  97. data/examples/RMagickIntegration.rb +449 -0
  98. data/examples/TextInput.cpp +170 -0
  99. data/examples/TextInput.rb +139 -0
  100. data/examples/Tutorial.cpp +215 -0
  101. data/examples/Tutorial.rb +137 -0
  102. data/examples/media/Beep.wav +0 -0
  103. data/examples/media/CptnRuby Gem.png +0 -0
  104. data/examples/media/CptnRuby Map.txt +25 -0
  105. data/examples/media/CptnRuby Tileset.png +0 -0
  106. data/examples/media/CptnRuby.png +0 -0
  107. data/examples/media/Cursor.png +0 -0
  108. data/examples/media/Earth.png +0 -0
  109. data/examples/media/Explosion.wav +0 -0
  110. data/examples/media/LargeStar.png +0 -0
  111. data/examples/media/Sky.jpg +0 -0
  112. data/examples/media/Smoke.png +0 -0
  113. data/examples/media/Soldier.png +0 -0
  114. data/examples/media/Space.png +0 -0
  115. data/examples/media/Star.png +0 -0
  116. data/examples/media/Starfighter.bmp +0 -0
  117. data/linux/Makefile.in +98 -0
  118. data/linux/configure +5658 -0
  119. data/linux/configure.ac +126 -0
  120. data/linux/extconf.rb +11 -0
  121. data/mac/English.lproj/InfoPlist.strings +0 -0
  122. data/mac/Gosu-Info.plist +26 -0
  123. data/mac/Gosu.xcodeproj/project.pbxproj +1194 -0
  124. data/mac/RubyGosu Template-Info.plist +26 -0
  125. data/mac/libboost_thread_1_34_1_universal.a +0 -0
  126. data/mac/libboost_thread_d_1_34_1_universal.a +0 -0
  127. data/mac/libfmod_universal.a +0 -0
  128. data/mac/libpng_universal.a +0 -0
  129. data/mac/libz_universal.a +0 -0
  130. data/reference/Async_8hpp-source.html +70 -0
  131. data/reference/Audio_8hpp-source.html +114 -0
  132. data/reference/Audio_8hpp.html +50 -0
  133. data/reference/AutoLink_8hpp-source.html +38 -0
  134. data/reference/AutoLink_8hpp.html +34 -0
  135. data/reference/Bitmap_8hpp-source.html +85 -0
  136. data/reference/Bitmap_8hpp.html +58 -0
  137. data/reference/ButtonsMac_8hpp-source.html +133 -0
  138. data/reference/ButtonsWin_8hpp-source.html +133 -0
  139. data/reference/ButtonsX_8hpp-source.html +134 -0
  140. data/reference/Color_8hpp-source.html +169 -0
  141. data/reference/Color_8hpp.html +85 -0
  142. data/reference/Directories_8hpp-source.html +42 -0
  143. data/reference/Directories_8hpp.html +46 -0
  144. data/reference/Font_8hpp-source.html +65 -0
  145. data/reference/Font_8hpp.html +41 -0
  146. data/reference/Fwd_8hpp-source.html +52 -0
  147. data/reference/Fwd_8hpp.html +37 -0
  148. data/reference/Gosu_8hpp-source.html +48 -0
  149. data/reference/Gosu_8hpp.html +34 -0
  150. data/reference/GraphicsBase_8hpp-source.html +57 -0
  151. data/reference/GraphicsBase_8hpp.html +56 -0
  152. data/reference/Graphics_8hpp-source.html +96 -0
  153. data/reference/Graphics_8hpp.html +53 -0
  154. data/reference/IO_8hpp-source.html +255 -0
  155. data/reference/IO_8hpp.html +74 -0
  156. data/reference/ImageData_8hpp-source.html +62 -0
  157. data/reference/ImageData_8hpp.html +43 -0
  158. data/reference/Image_8hpp-source.html +126 -0
  159. data/reference/Image_8hpp.html +48 -0
  160. data/reference/Input_8hpp-source.html +118 -0
  161. data/reference/Input_8hpp.html +50 -0
  162. data/reference/Math_8hpp-source.html +92 -0
  163. data/reference/Math_8hpp.html +74 -0
  164. data/reference/Platform_8hpp-source.html +83 -0
  165. data/reference/Platform_8hpp.html +73 -0
  166. data/reference/RotFlip_8hpp-source.html +138 -0
  167. data/reference/RotFlip_8hpp.html +77 -0
  168. data/reference/Sockets_8hpp-source.html +130 -0
  169. data/reference/Sockets_8hpp.html +66 -0
  170. data/reference/TextInput_8hpp-source.html +64 -0
  171. data/reference/TextInput_8hpp.html +41 -0
  172. data/reference/Text_8hpp-source.html +51 -0
  173. data/reference/Text_8hpp.html +46 -0
  174. data/reference/Timing_8hpp-source.html +36 -0
  175. data/reference/Timing_8hpp.html +42 -0
  176. data/reference/Utility_8hpp-source.html +44 -0
  177. data/reference/Utility_8hpp.html +48 -0
  178. data/reference/WinUtility_8hpp-source.html +79 -0
  179. data/reference/WinUtility_8hpp.html +64 -0
  180. data/reference/Window_8hpp-source.html +91 -0
  181. data/reference/Window_8hpp.html +41 -0
  182. data/reference/annotated.html +51 -0
  183. data/reference/classGosu_1_1Audio-members.html +34 -0
  184. data/reference/classGosu_1_1Audio.html +46 -0
  185. data/reference/classGosu_1_1Bitmap-members.html +44 -0
  186. data/reference/classGosu_1_1Bitmap.html +263 -0
  187. data/reference/classGosu_1_1Buffer-members.html +44 -0
  188. data/reference/classGosu_1_1Buffer.html +78 -0
  189. data/reference/classGosu_1_1Buffer.png +0 -0
  190. data/reference/classGosu_1_1Button-members.html +36 -0
  191. data/reference/classGosu_1_1Button.html +143 -0
  192. data/reference/classGosu_1_1Color-members.html +56 -0
  193. data/reference/classGosu_1_1Color.html +387 -0
  194. data/reference/classGosu_1_1File-members.html +41 -0
  195. data/reference/classGosu_1_1File.html +69 -0
  196. data/reference/classGosu_1_1File.png +0 -0
  197. data/reference/classGosu_1_1Font-members.html +39 -0
  198. data/reference/classGosu_1_1Font.html +309 -0
  199. data/reference/classGosu_1_1Graphics-members.html +50 -0
  200. data/reference/classGosu_1_1Graphics.html +234 -0
  201. data/reference/classGosu_1_1Image-members.html +45 -0
  202. data/reference/classGosu_1_1Image.html +518 -0
  203. data/reference/classGosu_1_1ImageData-members.html +37 -0
  204. data/reference/classGosu_1_1ImageData.html +60 -0
  205. data/reference/classGosu_1_1Input-members.html +44 -0
  206. data/reference/classGosu_1_1Input.html +223 -0
  207. data/reference/classGosu_1_1MessageSocket-members.html +40 -0
  208. data/reference/classGosu_1_1MessageSocket.html +233 -0
  209. data/reference/classGosu_1_1Resource-members.html +39 -0
  210. data/reference/classGosu_1_1Resource.html +116 -0
  211. data/reference/classGosu_1_1Resource.png +0 -0
  212. data/reference/classGosu_1_1Sample-members.html +37 -0
  213. data/reference/classGosu_1_1Sample.html +200 -0
  214. data/reference/classGosu_1_1SampleInstance-members.html +38 -0
  215. data/reference/classGosu_1_1SampleInstance.html +169 -0
  216. data/reference/classGosu_1_1Song-members.html +43 -0
  217. data/reference/classGosu_1_1Song.html +260 -0
  218. data/reference/classGosu_1_1TextInput-members.html +38 -0
  219. data/reference/classGosu_1_1TextInput.html +121 -0
  220. data/reference/classGosu_1_1Window-members.html +50 -0
  221. data/reference/classGosu_1_1Window.html +271 -0
  222. data/reference/doxyfile +233 -0
  223. data/reference/doxygen.css +433 -0
  224. data/reference/doxygen.png +0 -0
  225. data/reference/files.html +54 -0
  226. data/reference/functions.html +236 -0
  227. data/reference/functions_enum.html +45 -0
  228. data/reference/functions_func.html +227 -0
  229. data/reference/functions_vars.html +47 -0
  230. data/reference/hierarchy.html +53 -0
  231. data/reference/index.html +26 -0
  232. data/reference/namespaceGosu.html +2890 -0
  233. data/reference/namespaceGosu_1_1Colors.html +70 -0
  234. data/reference/namespaceGosu_1_1Win.html +275 -0
  235. data/reference/namespacemembers.html +216 -0
  236. data/reference/namespacemembers_enum.html +52 -0
  237. data/reference/namespacemembers_eval.html +54 -0
  238. data/reference/namespacemembers_func.html +185 -0
  239. data/reference/namespacemembers_type.html +46 -0
  240. data/reference/namespacemembers_vars.html +46 -0
  241. data/reference/namespaces.html +35 -0
  242. data/reference/tab_b.gif +0 -0
  243. data/reference/tab_l.gif +0 -0
  244. data/reference/tab_r.gif +0 -0
  245. data/reference/tabs.css +102 -0
  246. data/windows/Gosu.sln +29 -0
  247. data/windows/Gosu.vcproj +553 -0
  248. data/windows/RubyGosu.vcproj +138 -0
  249. metadata +305 -0
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
+ <title>Gosu: Member List</title>
4
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
5
+ <link href="tabs.css" rel="stylesheet" type="text/css">
6
+ </head><body>
7
+ <!-- Generated by Doxygen 1.5.5 -->
8
+ <div class="navigation" id="top">
9
+ <div class="tabs">
10
+ <ul>
11
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
+ <li><a href="files.html"><span>Files</span></a></li>
15
+ </ul>
16
+ </div>
17
+ <div class="tabs">
18
+ <ul>
19
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
+ </ul>
23
+ </div>
24
+ </div>
25
+ <div class="contents">
26
+ <h1>Gosu::Song Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Song.html">Gosu::Song</a>, including all inherited members.<p><table>
27
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#e460032103a9ddb7e0dd50f53fb9d36e">changeVolume</a>(double volume)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
28
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#63e9c04af40421365b6a20be60e8e6ef">play</a>()</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
29
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#c83d4b509149c2b1fb48ad697fb1adf3">playing</a>() const </td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
30
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408">Song</a>(Audio &amp;, const std::wstring &amp;filename)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
31
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#af4a22bbd0e4c6877c248bfdc13cdb39">Song</a>(Audio &amp;, Type type, Reader reader)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
32
+ <tr bgcolor="#f0f0f0"><td><b>stModule</b> enum value (defined in <a class="el" href="classGosu_1_1Song.html">Gosu::Song</a>)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
33
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#469a3cf49be8ebec2c9855dec46f5f71">stop</a>()</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
34
+ <tr bgcolor="#f0f0f0"><td><b>stStream</b> enum value (defined in <a class="el" href="classGosu_1_1Song.html">Gosu::Song</a>)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
35
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a> enum name</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
36
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683">volume</a>() const </td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
37
+ <tr bgcolor="#f0f0f0"><td><b>~Song</b>() (defined in <a class="el" href="classGosu_1_1Song.html">Gosu::Song</a>)</td><td><a class="el" href="classGosu_1_1Song.html">Gosu::Song</a></td><td></td></tr>
38
+ </table></div>
39
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by&nbsp;
40
+ <a href="http://www.doxygen.org/index.html">
41
+ <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
42
+ </body>
43
+ </html>
@@ -0,0 +1,260 @@
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 -->
8
+ <div class="navigation" id="top">
9
+ <div class="tabs">
10
+ <ul>
11
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
+ <li><a href="files.html"><span>Files</span></a></li>
15
+ </ul>
16
+ </div>
17
+ <div class="tabs">
18
+ <ul>
19
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
+ </ul>
23
+ </div>
24
+ <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Song.html">Song</a>
25
+ </div>
26
+ </div>
27
+ <div class="contents">
28
+ <h1>Gosu::Song Class Reference</h1><!-- doxytag: class="Gosu::Song" -->Songs are less flexible than samples in that they can only be played one at a time and without panning or speed parameters.
29
+ <a href="#_details">More...</a>
30
+ <p>
31
+
32
+ <p>
33
+ <a href="classGosu_1_1Song-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
+ <tr><td></td></tr>
35
+ <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
36
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">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>
38
+ }</td></tr>
39
+
40
+ <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>
42
+
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>
44
+
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#63e9c04af40421365b6a20be60e8e6ef">play</a> ()</td></tr>
46
+
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#469a3cf49be8ebec2c9855dec46f5f71">stop</a> ()</td></tr>
48
+
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#c83d4b509149c2b1fb48ad697fb1adf3">playing</a> () const </td></tr>
50
+
51
+ <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>
52
+
53
+ <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>
54
+
55
+ </table>
56
+ <hr><a name="_details"></a><h2>Detailed Description</h2>
57
+ Songs are less flexible than samples in that they can only be played one at a time and without panning or speed parameters.
58
+ <p>
59
+ <hr><h2>Member Enumeration Documentation</h2>
60
+ <a class="anchor" name="ec4c76bfe19e210da34bcaa286af605f"></a><!-- doxytag: member="Gosu::Song::Type" ref="ec4c76bfe19e210da34bcaa286af605f" args="" -->
61
+ <div class="memitem">
62
+ <div class="memproto">
63
+ <table class="memname">
64
+ <tr>
65
+ <td class="memname">enum <a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Gosu::Song::Type</a> </td>
66
+ </tr>
67
+ </table>
68
+ </div>
69
+ <div class="memdoc">
70
+
71
+ <p>
72
+ 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).
73
+ <p>
74
+
75
+ </div>
76
+ </div><p>
77
+ <hr><h2>Constructor &amp; Destructor Documentation</h2>
78
+ <a class="anchor" name="ef65dfe9e74d33480375481d47eee408"></a><!-- doxytag: member="Gosu::Song::Song" ref="ef65dfe9e74d33480375481d47eee408" args="(Audio &amp;, const std::wstring &amp;filename)" -->
79
+ <div class="memitem">
80
+ <div class="memproto">
81
+ <table class="memname">
82
+ <tr>
83
+ <td class="memname">Gosu::Song::Song </td>
84
+ <td>(</td>
85
+ <td class="paramtype"><a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td>
86
+ <td class="paramname">, </td>
87
+ </tr>
88
+ <tr>
89
+ <td class="paramkey"></td>
90
+ <td></td>
91
+ <td class="paramtype">const std::wstring &amp;&nbsp;</td>
92
+ <td class="paramname"> <em>filename</em></td><td>&nbsp;</td>
93
+ </tr>
94
+ <tr>
95
+ <td></td>
96
+ <td>)</td>
97
+ <td></td><td></td><td width="100%"></td>
98
+ </tr>
99
+ </table>
100
+ </div>
101
+ <div class="memdoc">
102
+
103
+ <p>
104
+ Constructs a song that can be played on the provided audio system and loads the song from a file.
105
+ <p>
106
+ The type is determined from the filename.
107
+ </div>
108
+ </div><p>
109
+ <a class="anchor" name="af4a22bbd0e4c6877c248bfdc13cdb39"></a><!-- doxytag: member="Gosu::Song::Song" ref="af4a22bbd0e4c6877c248bfdc13cdb39" args="(Audio &amp;, Type type, Reader reader)" -->
110
+ <div class="memitem">
111
+ <div class="memproto">
112
+ <table class="memname">
113
+ <tr>
114
+ <td class="memname">Gosu::Song::Song </td>
115
+ <td>(</td>
116
+ <td class="paramtype"><a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td>
117
+ <td class="paramname">, </td>
118
+ </tr>
119
+ <tr>
120
+ <td class="paramkey"></td>
121
+ <td></td>
122
+ <td class="paramtype"><a class="el" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">Type</a>&nbsp;</td>
123
+ <td class="paramname"> <em>type</em>, </td>
124
+ </tr>
125
+ <tr>
126
+ <td class="paramkey"></td>
127
+ <td></td>
128
+ <td class="paramtype">Reader&nbsp;</td>
129
+ <td class="paramname"> <em>reader</em></td><td>&nbsp;</td>
130
+ </tr>
131
+ <tr>
132
+ <td></td>
133
+ <td>)</td>
134
+ <td></td><td></td><td width="100%"></td>
135
+ </tr>
136
+ </table>
137
+ </div>
138
+ <div class="memdoc">
139
+
140
+ <p>
141
+ Constructs a song of the specified type that can be played on the provided audio system and loads the song data from a stream.
142
+ <p>
143
+
144
+ </div>
145
+ </div><p>
146
+ <hr><h2>Member Function Documentation</h2>
147
+ <a class="anchor" name="63e9c04af40421365b6a20be60e8e6ef"></a><!-- doxytag: member="Gosu::Song::play" ref="63e9c04af40421365b6a20be60e8e6ef" args="()" -->
148
+ <div class="memitem">
149
+ <div class="memproto">
150
+ <table class="memname">
151
+ <tr>
152
+ <td class="memname">void Gosu::Song::play </td>
153
+ <td>(</td>
154
+ <td class="paramname"> </td>
155
+ <td>&nbsp;)&nbsp;</td>
156
+ <td width="100%"></td>
157
+ </tr>
158
+ </table>
159
+ </div>
160
+ <div class="memdoc">
161
+
162
+ <p>
163
+ Starts playback of the song.
164
+ <p>
165
+ This will stop all other songs and cause the currently played song to restart if called on the current song.
166
+ </div>
167
+ </div><p>
168
+ <a class="anchor" name="469a3cf49be8ebec2c9855dec46f5f71"></a><!-- doxytag: member="Gosu::Song::stop" ref="469a3cf49be8ebec2c9855dec46f5f71" args="()" -->
169
+ <div class="memitem">
170
+ <div class="memproto">
171
+ <table class="memname">
172
+ <tr>
173
+ <td class="memname">void Gosu::Song::stop </td>
174
+ <td>(</td>
175
+ <td class="paramname"> </td>
176
+ <td>&nbsp;)&nbsp;</td>
177
+ <td width="100%"></td>
178
+ </tr>
179
+ </table>
180
+ </div>
181
+ <div class="memdoc">
182
+
183
+ <p>
184
+ Stops playback of this song if it is currently played.
185
+ <p>
186
+
187
+ </div>
188
+ </div><p>
189
+ <a class="anchor" name="c83d4b509149c2b1fb48ad697fb1adf3"></a><!-- doxytag: member="Gosu::Song::playing" ref="c83d4b509149c2b1fb48ad697fb1adf3" args="() const " -->
190
+ <div class="memitem">
191
+ <div class="memproto">
192
+ <table class="memname">
193
+ <tr>
194
+ <td class="memname">bool Gosu::Song::playing </td>
195
+ <td>(</td>
196
+ <td class="paramname"> </td>
197
+ <td>&nbsp;)&nbsp;</td>
198
+ <td width="100%"> const</td>
199
+ </tr>
200
+ </table>
201
+ </div>
202
+ <div class="memdoc">
203
+
204
+ <p>
205
+ Returns if the song is currently playing.
206
+ <p>
207
+
208
+ </div>
209
+ </div><p>
210
+ <a class="anchor" name="ab8e8a273b5ea235ad9f48dee684c683"></a><!-- doxytag: member="Gosu::Song::volume" ref="ab8e8a273b5ea235ad9f48dee684c683" args="() const " -->
211
+ <div class="memitem">
212
+ <div class="memproto">
213
+ <table class="memname">
214
+ <tr>
215
+ <td class="memname">double Gosu::Song::volume </td>
216
+ <td>(</td>
217
+ <td class="paramname"> </td>
218
+ <td>&nbsp;)&nbsp;</td>
219
+ <td width="100%"> const</td>
220
+ </tr>
221
+ </table>
222
+ </div>
223
+ <div class="memdoc">
224
+
225
+ <p>
226
+ Returns the current volume of the song.
227
+ <p>
228
+
229
+ </div>
230
+ </div><p>
231
+ <a class="anchor" name="e460032103a9ddb7e0dd50f53fb9d36e"></a><!-- doxytag: member="Gosu::Song::changeVolume" ref="e460032103a9ddb7e0dd50f53fb9d36e" args="(double volume)" -->
232
+ <div class="memitem">
233
+ <div class="memproto">
234
+ <table class="memname">
235
+ <tr>
236
+ <td class="memname">void Gosu::Song::changeVolume </td>
237
+ <td>(</td>
238
+ <td class="paramtype">double&nbsp;</td>
239
+ <td class="paramname"> <em>volume</em> </td>
240
+ <td>&nbsp;)&nbsp;</td>
241
+ <td width="100%"></td>
242
+ </tr>
243
+ </table>
244
+ </div>
245
+ <div class="memdoc">
246
+
247
+ <p>
248
+ Changes the volume of the song.
249
+ <p>
250
+
251
+ </div>
252
+ </div><p>
253
+ <hr>The documentation for this class was generated from the following file:<ul>
254
+ <li><a class="el" href="Audio_8hpp-source.html">Audio.hpp</a></ul>
255
+ </div>
256
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by&nbsp;
257
+ <a href="http://www.doxygen.org/index.html">
258
+ <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
259
+ </body>
260
+ </html>
@@ -0,0 +1,38 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
+ <title>Gosu: Member List</title>
4
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
5
+ <link href="tabs.css" rel="stylesheet" type="text/css">
6
+ </head><body>
7
+ <!-- Generated by Doxygen 1.5.5 -->
8
+ <div class="navigation" id="top">
9
+ <div class="tabs">
10
+ <ul>
11
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
+ <li><a href="files.html"><span>Files</span></a></li>
15
+ </ul>
16
+ </div>
17
+ <div class="tabs">
18
+ <ul>
19
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
+ </ul>
23
+ </div>
24
+ </div>
25
+ <div class="contents">
26
+ <h1>Gosu::TextInput Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a>, including all inherited members.<p><table>
27
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1TextInput.html#8ad34a47b306222df9a28a57c1fa8622">caretPos</a>() const </td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
28
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1TextInput.html#6ddbf85f2115575e2d05e144923630de">selectionStart</a>() const </td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
29
+ <tr class="memlist"><td><a class="el" href="classGosu_1_1TextInput.html#442bfe73c574c19fe7432fde7b937f5d">setText</a>(const std::wstring &amp;text)</td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
30
+ <tr bgcolor="#f0f0f0"><td><b>text</b>() const (defined in <a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a>)</td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
31
+ <tr bgcolor="#f0f0f0"><td><b>TextInput</b>() (defined in <a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a>)</td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
32
+ <tr bgcolor="#f0f0f0"><td><b>~TextInput</b>() (defined in <a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a>)</td><td><a class="el" href="classGosu_1_1TextInput.html">Gosu::TextInput</a></td><td></td></tr>
33
+ </table></div>
34
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by&nbsp;
35
+ <a href="http://www.doxygen.org/index.html">
36
+ <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
37
+ </body>
38
+ </html>
@@ -0,0 +1,121 @@
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::TextInput Class Reference</title>
4
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
5
+ <link href="tabs.css" rel="stylesheet" type="text/css">
6
+ </head><body>
7
+ <!-- Generated by Doxygen 1.5.5 -->
8
+ <div class="navigation" id="top">
9
+ <div class="tabs">
10
+ <ul>
11
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
+ <li><a href="files.html"><span>Files</span></a></li>
15
+ </ul>
16
+ </div>
17
+ <div class="tabs">
18
+ <ul>
19
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
+ </ul>
23
+ </div>
24
+ <div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1TextInput.html">TextInput</a>
25
+ </div>
26
+ </div>
27
+ <div class="contents">
28
+ <h1>Gosu::TextInput Class Reference</h1><!-- doxytag: class="Gosu::TextInput" --><a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> instances are invisible objects that build a text string from input, using the current operating system's keyboard layout.
29
+ <a href="#_details">More...</a>
30
+ <p>
31
+
32
+ <p>
33
+ <a href="classGosu_1_1TextInput-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
+ <tr><td></td></tr>
35
+ <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
36
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1856bf4e58a2c41ca70dcfe562e8022d"></a><!-- doxytag: member="Gosu::TextInput::text" ref="1856bf4e58a2c41ca70dcfe562e8022d" args="() const " -->
37
+ std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><b>text</b> () const </td></tr>
38
+
39
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1TextInput.html#442bfe73c574c19fe7432fde7b937f5d">setText</a> (const std::wstring &amp;text)</td></tr>
40
+
41
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1TextInput.html#8ad34a47b306222df9a28a57c1fa8622">caretPos</a> () const </td></tr>
42
+
43
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1TextInput.html#6ddbf85f2115575e2d05e144923630de">selectionStart</a> () const </td></tr>
44
+
45
+ </table>
46
+ <hr><a name="_details"></a><h2>Detailed Description</h2>
47
+ <a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> instances are invisible objects that build a text string from input, using the current operating system's keyboard layout.
48
+ <p>
49
+ At its most basic form, you only need to create a new <a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> instance and pass it to your window via setTextInput. Until you call this function again, passing 0, the <a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> object will build a text that can be accessed via TextInput::text(). A <a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> object is purely abstract, though; drawing the input field is left to the user. As with most of <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a>, how this is handled is completely left open. <a class="el" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a> only aims to provide enough code for your own GUIs to build upon. <hr><h2>Member Function Documentation</h2>
50
+ <a class="anchor" name="442bfe73c574c19fe7432fde7b937f5d"></a><!-- doxytag: member="Gosu::TextInput::setText" ref="442bfe73c574c19fe7432fde7b937f5d" args="(const std::wstring &amp;text)" -->
51
+ <div class="memitem">
52
+ <div class="memproto">
53
+ <table class="memname">
54
+ <tr>
55
+ <td class="memname">void Gosu::TextInput::setText </td>
56
+ <td>(</td>
57
+ <td class="paramtype">const std::wstring &amp;&nbsp;</td>
58
+ <td class="paramname"> <em>text</em> </td>
59
+ <td>&nbsp;)&nbsp;</td>
60
+ <td width="100%"></td>
61
+ </tr>
62
+ </table>
63
+ </div>
64
+ <div class="memdoc">
65
+
66
+ <p>
67
+ Replaces the current text by the given string and positions the cursor at the end of the text, with an empty selection.
68
+ <p>
69
+
70
+ </div>
71
+ </div><p>
72
+ <a class="anchor" name="8ad34a47b306222df9a28a57c1fa8622"></a><!-- doxytag: member="Gosu::TextInput::caretPos" ref="8ad34a47b306222df9a28a57c1fa8622" args="() const " -->
73
+ <div class="memitem">
74
+ <div class="memproto">
75
+ <table class="memname">
76
+ <tr>
77
+ <td class="memname">unsigned Gosu::TextInput::caretPos </td>
78
+ <td>(</td>
79
+ <td class="paramname"> </td>
80
+ <td>&nbsp;)&nbsp;</td>
81
+ <td width="100%"> const</td>
82
+ </tr>
83
+ </table>
84
+ </div>
85
+ <div class="memdoc">
86
+
87
+ <p>
88
+ Position of the caret as the index of the character that it's left to.
89
+ <p>
90
+
91
+ </div>
92
+ </div><p>
93
+ <a class="anchor" name="6ddbf85f2115575e2d05e144923630de"></a><!-- doxytag: member="Gosu::TextInput::selectionStart" ref="6ddbf85f2115575e2d05e144923630de" args="() const " -->
94
+ <div class="memitem">
95
+ <div class="memproto">
96
+ <table class="memname">
97
+ <tr>
98
+ <td class="memname">unsigned Gosu::TextInput::selectionStart </td>
99
+ <td>(</td>
100
+ <td class="paramname"> </td>
101
+ <td>&nbsp;)&nbsp;</td>
102
+ <td width="100%"> const</td>
103
+ </tr>
104
+ </table>
105
+ </div>
106
+ <div class="memdoc">
107
+
108
+ <p>
109
+ If there is a selection, the <a class="el" href="classGosu_1_1TextInput.html#6ddbf85f2115575e2d05e144923630de" title="If there is a selection, the selectionStart() member yields its beginning, using...">selectionStart()</a> member yields its beginning, using the same indexing scheme as caretPos.
110
+ <p>
111
+ If there is no selection, <a class="el" href="classGosu_1_1TextInput.html#6ddbf85f2115575e2d05e144923630de" title="If there is a selection, the selectionStart() member yields its beginning, using...">selectionStart()</a> is equal to <a class="el" href="classGosu_1_1TextInput.html#8ad34a47b306222df9a28a57c1fa8622" title="Position of the caret as the index of the character that it&#39;s left to.">caretPos()</a>.
112
+ </div>
113
+ </div><p>
114
+ <hr>The documentation for this class was generated from the following file:<ul>
115
+ <li><a class="el" href="TextInput_8hpp-source.html">TextInput.hpp</a></ul>
116
+ </div>
117
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by&nbsp;
118
+ <a href="http://www.doxygen.org/index.html">
119
+ <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
120
+ </body>
121
+ </html>