gosu 0.7.13 → 0.7.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. data/COPYING.txt +4 -2
  2. data/Gosu/Audio.hpp +8 -5
  3. data/Gosu/Font.hpp +5 -3
  4. data/Gosu/Gosu.hpp +6 -0
  5. data/Gosu/Graphics.hpp +6 -13
  6. data/Gosu/GraphicsBase.hpp +14 -3
  7. data/Gosu/IO.hpp +259 -255
  8. data/Gosu/Image.hpp +12 -12
  9. data/Gosu/ImageData.hpp +3 -0
  10. data/Gosu/Input.hpp +14 -2
  11. data/Gosu/Math.hpp +3 -2
  12. data/Gosu/RotFlip.hpp +125 -116
  13. data/Gosu/Sockets.hpp +139 -129
  14. data/Gosu/Text.hpp +4 -4
  15. data/Gosu/WinUtility.hpp +1 -1
  16. data/Gosu/Window.hpp +9 -5
  17. data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
  18. data/GosuImpl/Graphics/DrawOp.hpp +13 -14
  19. data/GosuImpl/Graphics/Graphics.cpp +3 -2
  20. data/GosuImpl/Graphics/Image.cpp +8 -8
  21. data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
  22. data/GosuImpl/Graphics/Text.cpp +15 -3
  23. data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
  24. data/GosuImpl/Graphics/TextWin.cpp +36 -25
  25. data/GosuImpl/Graphics/Texture.cpp +2 -0
  26. data/GosuImpl/Iconv.hpp +1 -3
  27. data/GosuImpl/RubyGosu.swg +19 -10
  28. data/GosuImpl/RubyGosuStub.mm +40 -8
  29. data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
  30. data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
  31. data/GosuImpl/RubyGosu_wrap.h +1 -1
  32. data/GosuImpl/WindowWin.cpp +18 -6
  33. data/README.txt +5 -5
  34. data/Rakefile +27 -7
  35. data/linux/Makefile.in +1 -1
  36. data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
  37. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
  38. data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
  39. data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
  40. data/reference/cpp/_audio_8hpp-source.html +171 -0
  41. data/reference/cpp/_audio_8hpp.html +96 -0
  42. data/reference/cpp/_auto_link_8hpp-source.html +84 -0
  43. data/reference/cpp/_auto_link_8hpp.html +83 -0
  44. data/reference/cpp/_bitmap_8hpp-source.html +130 -0
  45. data/reference/cpp/_bitmap_8hpp.html +107 -0
  46. data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
  47. data/reference/cpp/_buttons_mac_8hpp.html +233 -0
  48. data/reference/cpp/_color_8hpp-source.html +215 -0
  49. data/reference/cpp/_color_8hpp.html +119 -0
  50. data/reference/cpp/_directories_8hpp-source.html +88 -0
  51. data/reference/cpp/_directories_8hpp.html +96 -0
  52. data/reference/cpp/_font_8hpp-source.html +111 -0
  53. data/reference/cpp/_font_8hpp.html +87 -0
  54. data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
  55. data/reference/cpp/_fwd_8hpp.html +83 -0
  56. data/reference/cpp/_gosu_8hpp-source.html +96 -0
  57. data/reference/cpp/_gosu_8hpp.html +83 -0
  58. data/reference/cpp/_graphics_8hpp-source.html +134 -0
  59. data/reference/cpp/_graphics_8hpp.html +94 -0
  60. data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
  61. data/reference/cpp/_graphics_base_8hpp.html +120 -0
  62. data/reference/cpp/_i_o_8hpp-source.html +301 -0
  63. data/reference/cpp/_i_o_8hpp.html +122 -0
  64. data/reference/cpp/_image_8hpp-source.html +172 -0
  65. data/reference/cpp/_image_8hpp.html +96 -0
  66. data/reference/cpp/_image_data_8hpp-source.html +108 -0
  67. data/reference/cpp/_image_data_8hpp.html +90 -0
  68. data/reference/cpp/_input_8hpp-source.html +182 -0
  69. data/reference/cpp/_input_8hpp.html +102 -0
  70. data/reference/cpp/_math_8hpp-source.html +147 -0
  71. data/reference/cpp/_math_8hpp.html +139 -0
  72. data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
  73. data/reference/cpp/_platform_8hpp.html +136 -0
  74. data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
  75. data/reference/cpp/_rot_flip_8hpp.html +123 -0
  76. data/reference/cpp/_sockets_8hpp-source.html +174 -0
  77. data/reference/cpp/_sockets_8hpp.html +117 -0
  78. data/reference/cpp/_text_8hpp-source.html +102 -0
  79. data/reference/cpp/_text_8hpp.html +99 -0
  80. data/reference/cpp/_text_input_8hpp-source.html +110 -0
  81. data/reference/cpp/_text_input_8hpp.html +87 -0
  82. data/reference/cpp/_timing_8hpp-source.html +82 -0
  83. data/reference/cpp/_timing_8hpp.html +90 -0
  84. data/reference/cpp/_utility_8hpp-source.html +89 -0
  85. data/reference/cpp/_utility_8hpp.html +96 -0
  86. data/reference/cpp/_win_utility_8hpp-source.html +125 -0
  87. data/reference/cpp/_win_utility_8hpp.html +116 -0
  88. data/reference/cpp/_window_8hpp-source.html +157 -0
  89. data/reference/cpp/_window_8hpp.html +87 -0
  90. data/reference/cpp/annotated.html +98 -0
  91. data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
  92. data/reference/cpp/class_gosu_1_1_audio.html +132 -0
  93. data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
  94. data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
  95. data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
  96. data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
  97. data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
  98. data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
  99. data/reference/cpp/class_gosu_1_1_button.html +195 -0
  100. data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
  101. data/reference/cpp/class_gosu_1_1_color.html +758 -0
  102. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
  103. data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
  104. data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
  105. data/reference/cpp/class_gosu_1_1_file.html +275 -0
  106. data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
  107. data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
  108. data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
  109. data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
  110. data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
  111. data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
  112. data/reference/cpp/class_gosu_1_1_image.html +771 -0
  113. data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
  114. data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
  115. data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
  116. data/reference/cpp/class_gosu_1_1_input.html +417 -0
  117. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
  118. data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
  119. data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
  120. data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
  121. data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
  122. data/reference/cpp/class_gosu_1_1_reader.html +322 -0
  123. data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
  124. data/reference/cpp/class_gosu_1_1_resource.html +305 -0
  125. data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
  126. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
  127. data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
  128. data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
  129. data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
  130. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
  131. data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
  132. data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
  133. data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
  134. data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
  135. data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
  136. data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
  137. data/reference/cpp/class_gosu_1_1_window.html +533 -0
  138. data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
  139. data/reference/cpp/class_gosu_1_1_writer.html +292 -0
  140. data/reference/cpp/classes.html +86 -0
  141. data/reference/cpp/closed.gif +0 -0
  142. data/reference/cpp/cpp.css +155 -0
  143. data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
  144. data/reference/cpp/files.html +97 -0
  145. data/reference/cpp/functions.html +127 -0
  146. data/reference/cpp/functions_0x62.html +137 -0
  147. data/reference/cpp/functions_0x63.html +140 -0
  148. data/reference/cpp/functions_0x64.html +142 -0
  149. data/reference/cpp/functions_0x65.html +119 -0
  150. data/reference/cpp/functions_0x66.html +137 -0
  151. data/reference/cpp/functions_0x67.html +131 -0
  152. data/reference/cpp/functions_0x68.html +121 -0
  153. data/reference/cpp/functions_0x69.html +123 -0
  154. data/reference/cpp/functions_0x6b.html +115 -0
  155. data/reference/cpp/functions_0x6c.html +117 -0
  156. data/reference/cpp/functions_0x6d.html +125 -0
  157. data/reference/cpp/functions_0x6e.html +117 -0
  158. data/reference/cpp/functions_0x6f.html +126 -0
  159. data/reference/cpp/functions_0x70.html +136 -0
  160. data/reference/cpp/functions_0x72.html +154 -0
  161. data/reference/cpp/functions_0x73.html +179 -0
  162. data/reference/cpp/functions_0x74.html +127 -0
  163. data/reference/cpp/functions_0x75.html +121 -0
  164. data/reference/cpp/functions_0x76.html +117 -0
  165. data/reference/cpp/functions_0x77.html +129 -0
  166. data/reference/cpp/functions_0x78.html +115 -0
  167. data/reference/cpp/functions_0x79.html +115 -0
  168. data/reference/cpp/functions_0x7e.html +143 -0
  169. data/reference/cpp/functions_enum.html +87 -0
  170. data/reference/cpp/functions_eval.html +89 -0
  171. data/reference/cpp/functions_func.html +125 -0
  172. data/reference/cpp/functions_func_0x62.html +133 -0
  173. data/reference/cpp/functions_func_0x63.html +136 -0
  174. data/reference/cpp/functions_func_0x64.html +140 -0
  175. data/reference/cpp/functions_func_0x65.html +117 -0
  176. data/reference/cpp/functions_func_0x66.html +135 -0
  177. data/reference/cpp/functions_func_0x67.html +129 -0
  178. data/reference/cpp/functions_func_0x68.html +119 -0
  179. data/reference/cpp/functions_func_0x69.html +119 -0
  180. data/reference/cpp/functions_func_0x6b.html +113 -0
  181. data/reference/cpp/functions_func_0x6c.html +113 -0
  182. data/reference/cpp/functions_func_0x6d.html +123 -0
  183. data/reference/cpp/functions_func_0x6e.html +115 -0
  184. data/reference/cpp/functions_func_0x6f.html +113 -0
  185. data/reference/cpp/functions_func_0x70.html +134 -0
  186. data/reference/cpp/functions_func_0x72.html +150 -0
  187. data/reference/cpp/functions_func_0x73.html +173 -0
  188. data/reference/cpp/functions_func_0x74.html +119 -0
  189. data/reference/cpp/functions_func_0x75.html +119 -0
  190. data/reference/cpp/functions_func_0x76.html +115 -0
  191. data/reference/cpp/functions_func_0x77.html +127 -0
  192. data/reference/cpp/functions_func_0x7e.html +141 -0
  193. data/reference/cpp/functions_type.html +87 -0
  194. data/reference/cpp/functions_vars.html +112 -0
  195. data/reference/cpp/globals.html +84 -0
  196. data/reference/cpp/globals_defs.html +84 -0
  197. data/reference/cpp/hierarchy.html +100 -0
  198. data/reference/cpp/index.html +66 -0
  199. data/reference/cpp/open.gif +0 -0
  200. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
  201. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
  202. data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
  203. data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
  204. data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
  205. data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
  206. data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
  207. data/reference/{tabs.css → cpp/tabs.css} +5 -2
  208. data/windows/Gosu.sln +5 -0
  209. data/windows/Gosu.vcproj +3 -3
  210. data/windows/RubyGosu.vcproj +103 -1
  211. metadata +178 -176
  212. data/reference/Async_8hpp-source.html +0 -70
  213. data/reference/Audio_8hpp-source.html +0 -125
  214. data/reference/Audio_8hpp.html +0 -50
  215. data/reference/AutoLink_8hpp-source.html +0 -38
  216. data/reference/AutoLink_8hpp.html +0 -34
  217. data/reference/Bitmap_8hpp-source.html +0 -84
  218. data/reference/Bitmap_8hpp.html +0 -58
  219. data/reference/ButtonsWin_8hpp-source.html +0 -159
  220. data/reference/ButtonsX_8hpp-source.html +0 -160
  221. data/reference/Color_8hpp-source.html +0 -169
  222. data/reference/Color_8hpp.html +0 -85
  223. data/reference/Directories_8hpp-source.html +0 -42
  224. data/reference/Directories_8hpp.html +0 -46
  225. data/reference/Font_8hpp-source.html +0 -65
  226. data/reference/Font_8hpp.html +0 -41
  227. data/reference/Fwd_8hpp.html +0 -37
  228. data/reference/Gosu_8hpp-source.html +0 -49
  229. data/reference/Gosu_8hpp.html +0 -34
  230. data/reference/GraphicsBase_8hpp-source.html +0 -59
  231. data/reference/GraphicsBase_8hpp.html +0 -59
  232. data/reference/Graphics_8hpp-source.html +0 -99
  233. data/reference/Graphics_8hpp.html +0 -60
  234. data/reference/IO_8hpp-source.html +0 -255
  235. data/reference/IO_8hpp.html +0 -74
  236. data/reference/ImageData_8hpp-source.html +0 -62
  237. data/reference/ImageData_8hpp.html +0 -43
  238. data/reference/Image_8hpp-source.html +0 -126
  239. data/reference/Image_8hpp.html +0 -48
  240. data/reference/Input_8hpp-source.html +0 -131
  241. data/reference/Input_8hpp.html +0 -56
  242. data/reference/Math_8hpp-source.html +0 -101
  243. data/reference/Math_8hpp.html +0 -78
  244. data/reference/Platform_8hpp.html +0 -73
  245. data/reference/RotFlip_8hpp-source.html +0 -138
  246. data/reference/RotFlip_8hpp.html +0 -77
  247. data/reference/Sockets_8hpp-source.html +0 -130
  248. data/reference/Sockets_8hpp.html +0 -66
  249. data/reference/TextInput_8hpp-source.html +0 -64
  250. data/reference/TextInput_8hpp.html +0 -41
  251. data/reference/Text_8hpp-source.html +0 -56
  252. data/reference/Text_8hpp.html +0 -48
  253. data/reference/Timing_8hpp-source.html +0 -36
  254. data/reference/Timing_8hpp.html +0 -42
  255. data/reference/Utility_8hpp-source.html +0 -43
  256. data/reference/Utility_8hpp.html +0 -46
  257. data/reference/WinUtility_8hpp-source.html +0 -79
  258. data/reference/WinUtility_8hpp.html +0 -64
  259. data/reference/Window_8hpp-source.html +0 -110
  260. data/reference/Window_8hpp.html +0 -41
  261. data/reference/annotated.html +0 -51
  262. data/reference/classGosu_1_1Audio-members.html +0 -34
  263. data/reference/classGosu_1_1Audio.html +0 -46
  264. data/reference/classGosu_1_1Bitmap-members.html +0 -45
  265. data/reference/classGosu_1_1Bitmap.html +0 -266
  266. data/reference/classGosu_1_1Buffer-members.html +0 -44
  267. data/reference/classGosu_1_1Buffer.html +0 -78
  268. data/reference/classGosu_1_1Button-members.html +0 -36
  269. data/reference/classGosu_1_1Button.html +0 -143
  270. data/reference/classGosu_1_1Color-members.html +0 -56
  271. data/reference/classGosu_1_1Color.html +0 -387
  272. data/reference/classGosu_1_1File-members.html +0 -41
  273. data/reference/classGosu_1_1File.html +0 -69
  274. data/reference/classGosu_1_1Font-members.html +0 -39
  275. data/reference/classGosu_1_1Graphics-members.html +0 -50
  276. data/reference/classGosu_1_1Graphics.html +0 -234
  277. data/reference/classGosu_1_1Image-members.html +0 -45
  278. data/reference/classGosu_1_1Image.html +0 -518
  279. data/reference/classGosu_1_1ImageData-members.html +0 -37
  280. data/reference/classGosu_1_1ImageData.html +0 -60
  281. data/reference/classGosu_1_1Input-members.html +0 -45
  282. data/reference/classGosu_1_1Input.html +0 -256
  283. data/reference/classGosu_1_1MessageSocket-members.html +0 -40
  284. data/reference/classGosu_1_1Resource-members.html +0 -39
  285. data/reference/classGosu_1_1Resource.html +0 -116
  286. data/reference/classGosu_1_1Sample-members.html +0 -37
  287. data/reference/classGosu_1_1SampleInstance-members.html +0 -41
  288. data/reference/classGosu_1_1SampleInstance.html +0 -178
  289. data/reference/classGosu_1_1Song-members.html +0 -46
  290. data/reference/classGosu_1_1TextInput-members.html +0 -38
  291. data/reference/classGosu_1_1TextInput.html +0 -121
  292. data/reference/classGosu_1_1Window-members.html +0 -50
  293. data/reference/classGosu_1_1Window.html +0 -289
  294. data/reference/doxyfile +0 -233
  295. data/reference/doxygen.css +0 -433
  296. data/reference/files.html +0 -54
  297. data/reference/functions.html +0 -249
  298. data/reference/functions_enum.html +0 -45
  299. data/reference/functions_func.html +0 -240
  300. data/reference/functions_vars.html +0 -47
  301. data/reference/hierarchy.html +0 -53
  302. data/reference/index.html +0 -26
  303. data/reference/namespaceGosu.html +0 -3363
  304. data/reference/namespaceGosu_1_1Colors.html +0 -70
  305. data/reference/namespaceGosu_1_1Win.html +0 -275
  306. data/reference/namespacemembers.html +0 -229
  307. data/reference/namespacemembers_enum.html +0 -52
  308. data/reference/namespacemembers_eval.html +0 -54
  309. data/reference/namespacemembers_func.html +0 -196
  310. data/reference/namespacemembers_type.html +0 -46
  311. data/reference/namespacemembers_vars.html +0 -48
  312. data/reference/namespaces.html +0 -35
@@ -1,121 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Gosu::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 Apr 17 23:35:43 2009 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>
@@ -1,50 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Member List</title>
4
- <link href="doxygen.css" rel="stylesheet" type="text/css">
5
- <link href="tabs.css" rel="stylesheet" type="text/css">
6
- </head><body>
7
- <!-- Generated by Doxygen 1.5.5 -->
8
- <div class="navigation" id="top">
9
- <div class="tabs">
10
- <ul>
11
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14
- <li><a href="files.html"><span>Files</span></a></li>
15
- </ul>
16
- </div>
17
- <div class="tabs">
18
- <ul>
19
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22
- </ul>
23
- </div>
24
- </div>
25
- <div class="contents">
26
- <h1>Gosu::Window Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>, including all inherited members.<p><table>
27
- <tr bgcolor="#f0f0f0"><td><b>audio</b>() const (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
28
- <tr bgcolor="#f0f0f0"><td><b>audio</b>() (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
29
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5">buttonDown</a>(Gosu::Button)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [inline, virtual]</code></td></tr>
30
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc">buttonUp</a>(Gosu::Button)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [inline, virtual]</code></td></tr>
31
- <tr bgcolor="#f0f0f0"><td><b>caption</b>() const (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
32
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#ccbd57bf5ea05899e4270e2b20b300a6">close</a>()</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
33
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8">draw</a>()</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [inline, virtual]</code></td></tr>
34
- <tr bgcolor="#f0f0f0"><td><b>graphics</b>() const (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
35
- <tr bgcolor="#f0f0f0"><td><b>graphics</b>() (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
36
- <tr bgcolor="#f0f0f0"><td><b>input</b>() const (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
37
- <tr bgcolor="#f0f0f0"><td><b>input</b>() (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
38
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#94fe0b34e44e22a5076edd26f8e76853">needsRedraw</a>() const </td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [inline, virtual]</code></td></tr>
39
- <tr bgcolor="#f0f0f0"><td><b>setCaption</b>(const std::wstring &amp;caption) (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
40
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#d4b7c1e5e817d8aaca09f5d19a3a9d93">show</a>()</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
41
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba">update</a>()</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [inline, virtual]</code></td></tr>
42
- <tr bgcolor="#f0f0f0"><td><b>updateInterval</b>() const (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
43
- <tr class="memlist"><td><a class="el" href="classGosu_1_1Window.html#369461754934c92b9bd0811dbdad8ffa">Window</a>(unsigned width, unsigned height, bool fullscreen, double updateInterval=16.666666)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td></td></tr>
44
- <tr bgcolor="#f0f0f0"><td><b>~Window</b>() (defined in <a class="el" href="classGosu_1_1Window.html">Gosu::Window</a>)</td><td><a class="el" href="classGosu_1_1Window.html">Gosu::Window</a></td><td><code> [virtual]</code></td></tr>
45
- </table></div>
46
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
47
- <a href="http://www.doxygen.org/index.html">
48
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
49
- </body>
50
- </html>
@@ -1,289 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
- <title>Gosu: Gosu::Window 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_1Window.html">Window</a>
25
- </div>
26
- </div>
27
- <div class="contents">
28
- <h1>Gosu::Window Class Reference</h1><!-- doxytag: class="Gosu::Window" -->Convenient all-in-one class that serves as the foundation of a standard <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> application.
29
- <a href="#_details">More...</a>
30
- <p>
31
-
32
- <p>
33
- <a href="classGosu_1_1Window-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
- <tr><td></td></tr>
35
- <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
36
- <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#369461754934c92b9bd0811dbdad8ffa">Window</a> (unsigned width, unsigned height, bool fullscreen, double updateInterval=16.666666)</td></tr>
37
-
38
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62a0e43f8c0311252e53306699f1d0de"></a><!-- doxytag: member="Gosu::Window::caption" ref="62a0e43f8c0311252e53306699f1d0de" args="() const " -->
39
- std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><b>caption</b> () const </td></tr>
40
-
41
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4af331ee73acf27e75d453309a559d6"></a><!-- doxytag: member="Gosu::Window::setCaption" ref="c4af331ee73acf27e75d453309a559d6" args="(const std::wstring &amp;caption)" -->
42
- void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setCaption</b> (const std::wstring &amp;caption)</td></tr>
43
-
44
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0648d200a7faab41e31c192d77252b"></a><!-- doxytag: member="Gosu::Window::updateInterval" ref="cd0648d200a7faab41e31c192d77252b" args="() const " -->
45
- double&nbsp;</td><td class="memItemRight" valign="bottom"><b>updateInterval</b> () const </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_1Window.html#d4b7c1e5e817d8aaca09f5d19a3a9d93">show</a> ()</td></tr>
48
-
49
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#ccbd57bf5ea05899e4270e2b20b300a6">close</a> ()</td></tr>
50
-
51
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba">update</a> ()</td></tr>
52
-
53
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8">draw</a> ()</td></tr>
54
-
55
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#94fe0b34e44e22a5076edd26f8e76853">needsRedraw</a> () const </td></tr>
56
-
57
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5">buttonDown</a> (<a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>)</td></tr>
58
-
59
- <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc">buttonUp</a> (<a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>)</td></tr>
60
-
61
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="92beaec534fff9513788b37236417991"></a><!-- doxytag: member="Gosu::Window::graphics" ref="92beaec534fff9513788b37236417991" args="() const " -->
62
- const <a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>graphics</b> () const </td></tr>
63
-
64
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6dea7f1d1f9f44664b000c6a2150650e"></a><!-- doxytag: member="Gosu::Window::graphics" ref="6dea7f1d1f9f44664b000c6a2150650e" args="()" -->
65
- <a class="el" href="classGosu_1_1Graphics.html">Graphics</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>graphics</b> ()</td></tr>
66
-
67
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50e644e03e69dba6f0914bd6a10daef2"></a><!-- doxytag: member="Gosu::Window::audio" ref="50e644e03e69dba6f0914bd6a10daef2" args="() const " -->
68
- const <a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>audio</b> () const </td></tr>
69
-
70
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba6ad526d3718ab2f53b62067aac74de"></a><!-- doxytag: member="Gosu::Window::audio" ref="ba6ad526d3718ab2f53b62067aac74de" args="()" -->
71
- <a class="el" href="classGosu_1_1Audio.html">Audio</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>audio</b> ()</td></tr>
72
-
73
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="88078642d31df76f4fdff18fbce78f41"></a><!-- doxytag: member="Gosu::Window::input" ref="88078642d31df76f4fdff18fbce78f41" args="() const " -->
74
- const <a class="el" href="classGosu_1_1Input.html">Input</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>input</b> () const </td></tr>
75
-
76
- <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ea4ba2ff316a565b8701c46aa1972ad"></a><!-- doxytag: member="Gosu::Window::input" ref="8ea4ba2ff316a565b8701c46aa1972ad" args="()" -->
77
- <a class="el" href="classGosu_1_1Input.html">Input</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>input</b> ()</td></tr>
78
-
79
- </table>
80
- <hr><a name="_details"></a><h2>Detailed Description</h2>
81
- Convenient all-in-one class that serves as the foundation of a standard <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> application.
82
- <p>
83
- Manages initialization of all of Gosu's core components and provides timing functionality. <hr><h2>Constructor &amp; Destructor Documentation</h2>
84
- <a class="anchor" name="369461754934c92b9bd0811dbdad8ffa"></a><!-- doxytag: member="Gosu::Window::Window" ref="369461754934c92b9bd0811dbdad8ffa" args="(unsigned width, unsigned height, bool fullscreen, double updateInterval=16.666666)" -->
85
- <div class="memitem">
86
- <div class="memproto">
87
- <table class="memname">
88
- <tr>
89
- <td class="memname">Gosu::Window::Window </td>
90
- <td>(</td>
91
- <td class="paramtype">unsigned&nbsp;</td>
92
- <td class="paramname"> <em>width</em>, </td>
93
- </tr>
94
- <tr>
95
- <td class="paramkey"></td>
96
- <td></td>
97
- <td class="paramtype">unsigned&nbsp;</td>
98
- <td class="paramname"> <em>height</em>, </td>
99
- </tr>
100
- <tr>
101
- <td class="paramkey"></td>
102
- <td></td>
103
- <td class="paramtype">bool&nbsp;</td>
104
- <td class="paramname"> <em>fullscreen</em>, </td>
105
- </tr>
106
- <tr>
107
- <td class="paramkey"></td>
108
- <td></td>
109
- <td class="paramtype">double&nbsp;</td>
110
- <td class="paramname"> <em>updateInterval</em> = <code>16.666666</code></td><td>&nbsp;</td>
111
- </tr>
112
- <tr>
113
- <td></td>
114
- <td>)</td>
115
- <td></td><td></td><td width="100%"></td>
116
- </tr>
117
- </table>
118
- </div>
119
- <div class="memdoc">
120
-
121
- <p>
122
- Constructs a <a class="el" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>.
123
- <p>
124
- <dl compact><dt><b>Parameters:</b></dt><dd>
125
- <table border="0" cellspacing="2" cellpadding="0">
126
- <tr><td valign="top"></td><td valign="top"><em>updateInterval</em>&nbsp;</td><td>Interval in milliseconds between two calls to the update member function. </td></tr>
127
- </table>
128
- </dl>
129
-
130
- </div>
131
- </div><p>
132
- <hr><h2>Member Function Documentation</h2>
133
- <a class="anchor" name="d4b7c1e5e817d8aaca09f5d19a3a9d93"></a><!-- doxytag: member="Gosu::Window::show" ref="d4b7c1e5e817d8aaca09f5d19a3a9d93" args="()" -->
134
- <div class="memitem">
135
- <div class="memproto">
136
- <table class="memname">
137
- <tr>
138
- <td class="memname">void Gosu::Window::show </td>
139
- <td>(</td>
140
- <td class="paramname"> </td>
141
- <td>&nbsp;)&nbsp;</td>
142
- <td width="100%"></td>
143
- </tr>
144
- </table>
145
- </div>
146
- <div class="memdoc">
147
-
148
- <p>
149
- Starts the main event loop.
150
- <p>
151
-
152
- </div>
153
- </div><p>
154
- <a class="anchor" name="ccbd57bf5ea05899e4270e2b20b300a6"></a><!-- doxytag: member="Gosu::Window::close" ref="ccbd57bf5ea05899e4270e2b20b300a6" args="()" -->
155
- <div class="memitem">
156
- <div class="memproto">
157
- <table class="memname">
158
- <tr>
159
- <td class="memname">void Gosu::Window::close </td>
160
- <td>(</td>
161
- <td class="paramname"> </td>
162
- <td>&nbsp;)&nbsp;</td>
163
- <td width="100%"></td>
164
- </tr>
165
- </table>
166
- </div>
167
- <div class="memdoc">
168
-
169
- <p>
170
- Closes the window if it is currently shown.
171
- <p>
172
-
173
- </div>
174
- </div><p>
175
- <a class="anchor" name="4c74a15418c916dabec98c2da3ca45ba"></a><!-- doxytag: member="Gosu::Window::update" ref="4c74a15418c916dabec98c2da3ca45ba" args="()" -->
176
- <div class="memitem">
177
- <div class="memproto">
178
- <table class="memname">
179
- <tr>
180
- <td class="memname">virtual void Gosu::Window::update </td>
181
- <td>(</td>
182
- <td class="paramname"> </td>
183
- <td>&nbsp;)&nbsp;</td>
184
- <td width="100%"><code> [inline, virtual]</code></td>
185
- </tr>
186
- </table>
187
- </div>
188
- <div class="memdoc">
189
-
190
- <p>
191
- Called every updateInterval milliseconds while the window is being shown.
192
- <p>
193
- Your application's main game logic goes here.
194
- </div>
195
- </div><p>
196
- <a class="anchor" name="b3c5da8e60f81c0528a5d8d9495daac8"></a><!-- doxytag: member="Gosu::Window::draw" ref="b3c5da8e60f81c0528a5d8d9495daac8" args="()" -->
197
- <div class="memitem">
198
- <div class="memproto">
199
- <table class="memname">
200
- <tr>
201
- <td class="memname">virtual void Gosu::Window::draw </td>
202
- <td>(</td>
203
- <td class="paramname"> </td>
204
- <td>&nbsp;)&nbsp;</td>
205
- <td width="100%"><code> [inline, virtual]</code></td>
206
- </tr>
207
- </table>
208
- </div>
209
- <div class="memdoc">
210
-
211
- <p>
212
- Called after every update and when the OS wants the window to repaint itself.
213
- <p>
214
- Your application's rendering code goes here.
215
- </div>
216
- </div><p>
217
- <a class="anchor" name="94fe0b34e44e22a5076edd26f8e76853"></a><!-- doxytag: member="Gosu::Window::needsRedraw" ref="94fe0b34e44e22a5076edd26f8e76853" args="() const " -->
218
- <div class="memitem">
219
- <div class="memproto">
220
- <table class="memname">
221
- <tr>
222
- <td class="memname">virtual bool Gosu::Window::needsRedraw </td>
223
- <td>(</td>
224
- <td class="paramname"> </td>
225
- <td>&nbsp;)&nbsp;</td>
226
- <td width="100%"> const<code> [inline, virtual]</code></td>
227
- </tr>
228
- </table>
229
- </div>
230
- <div class="memdoc">
231
-
232
- <p>
233
- Gives the game a chance to say no to being redrawn.
234
- <p>
235
- This is not a definitive answer. The operating system can still cause redraws for one reason or another.
236
- </div>
237
- </div><p>
238
- <a class="anchor" name="d4e680daba62ac7fbc8002b2be50a2c5"></a><!-- doxytag: member="Gosu::Window::buttonDown" ref="d4e680daba62ac7fbc8002b2be50a2c5" args="(Gosu::Button)" -->
239
- <div class="memitem">
240
- <div class="memproto">
241
- <table class="memname">
242
- <tr>
243
- <td class="memname">virtual void Gosu::Window::buttonDown </td>
244
- <td>(</td>
245
- <td class="paramtype"><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>&nbsp;</td>
246
- <td class="paramname"> </td>
247
- <td>&nbsp;)&nbsp;</td>
248
- <td width="100%"><code> [inline, virtual]</code></td>
249
- </tr>
250
- </table>
251
- </div>
252
- <div class="memdoc">
253
-
254
- <p>
255
- Called before update when the user pressed a button while the window had the focus.
256
- <p>
257
-
258
- </div>
259
- </div><p>
260
- <a class="anchor" name="41ab0a9bfee1c88d96618308bde584fc"></a><!-- doxytag: member="Gosu::Window::buttonUp" ref="41ab0a9bfee1c88d96618308bde584fc" args="(Gosu::Button)" -->
261
- <div class="memitem">
262
- <div class="memproto">
263
- <table class="memname">
264
- <tr>
265
- <td class="memname">virtual void Gosu::Window::buttonUp </td>
266
- <td>(</td>
267
- <td class="paramtype"><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>&nbsp;</td>
268
- <td class="paramname"> </td>
269
- <td>&nbsp;)&nbsp;</td>
270
- <td width="100%"><code> [inline, virtual]</code></td>
271
- </tr>
272
- </table>
273
- </div>
274
- <div class="memdoc">
275
-
276
- <p>
277
- Same as buttonDown. Called then the user released a button.
278
- <p>
279
-
280
- </div>
281
- </div><p>
282
- <hr>The documentation for this class was generated from the following file:<ul>
283
- <li><a class="el" href="Window_8hpp-source.html">Window.hpp</a></ul>
284
- </div>
285
- <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
286
- <a href="http://www.doxygen.org/index.html">
287
- <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
288
- </body>
289
- </html>