gosu 0.7.19 → 0.7.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/Gosu/Input.hpp +12 -8
  2. data/Gosu/Math.hpp +13 -0
  3. data/Gosu/TextInput.hpp +5 -0
  4. data/Gosu/Version.hpp +2 -2
  5. data/GosuImpl/Graphics/TextUnix.cpp +253 -0
  6. data/GosuImpl/InputMac.mm +4 -4
  7. data/GosuImpl/InputWin.cpp +4 -4
  8. data/GosuImpl/InputX.cpp +15 -15
  9. data/GosuImpl/Math.cpp +28 -4
  10. data/GosuImpl/RubyGosu.swg +14 -3
  11. data/GosuImpl/RubyGosuStub.mm +8 -15
  12. data/GosuImpl/RubyGosu_wrap.cxx +113 -6
  13. data/GosuImpl/TextInputMac.mm +10 -1
  14. data/GosuImpl/TextInputWin.cpp +10 -0
  15. data/GosuImpl/TextInputX.cpp +10 -0
  16. data/GosuImpl/WindowMac.mm +15 -4
  17. data/GosuImpl/WindowWin.cpp +16 -7
  18. data/examples/TextInput.rb +15 -0
  19. data/lib/gosu.rb +5 -8
  20. data/linux/extconf.rb +34 -9
  21. metadata +13 -272
  22. data/GosuImpl/Graphics/TextPangoFT.cpp +0 -186
  23. data/Rakefile +0 -314
  24. data/examples/TextInput.cpp +0 -192
  25. data/examples/Tutorial.cpp +0 -215
  26. data/linux/Makefile.in +0 -99
  27. data/linux/configure +0 -5850
  28. data/linux/configure.ac +0 -110
  29. data/reference/cpp/_audio_8hpp-source.html +0 -178
  30. data/reference/cpp/_audio_8hpp.html +0 -100
  31. data/reference/cpp/_audio_8hpp_source.html +0 -170
  32. data/reference/cpp/_auto_link_8hpp-source.html +0 -85
  33. data/reference/cpp/_auto_link_8hpp.html +0 -84
  34. data/reference/cpp/_auto_link_8hpp_source.html +0 -85
  35. data/reference/cpp/_bitmap_8hpp-source.html +0 -131
  36. data/reference/cpp/_bitmap_8hpp.html +0 -114
  37. data/reference/cpp/_bitmap_8hpp_source.html +0 -131
  38. data/reference/cpp/_buttons_mac_8hpp-source.html +0 -206
  39. data/reference/cpp/_buttons_mac_8hpp.html +0 -240
  40. data/reference/cpp/_buttons_mac_8hpp_source.html +0 -206
  41. data/reference/cpp/_color_8hpp-source.html +0 -216
  42. data/reference/cpp/_color_8hpp.html +0 -130
  43. data/reference/cpp/_color_8hpp_source.html +0 -232
  44. data/reference/cpp/_directories_8hpp-source.html +0 -89
  45. data/reference/cpp/_directories_8hpp.html +0 -103
  46. data/reference/cpp/_directories_8hpp_source.html +0 -89
  47. data/reference/cpp/_font_8hpp-source.html +0 -116
  48. data/reference/cpp/_font_8hpp.html +0 -94
  49. data/reference/cpp/_font_8hpp_source.html +0 -116
  50. data/reference/cpp/_fwd_8hpp-source.html +0 -99
  51. data/reference/cpp/_fwd_8hpp.html +0 -90
  52. data/reference/cpp/_fwd_8hpp_source.html +0 -99
  53. data/reference/cpp/_gosu_8hpp-source.html +0 -97
  54. data/reference/cpp/_gosu_8hpp.html +0 -84
  55. data/reference/cpp/_gosu_8hpp_source.html +0 -97
  56. data/reference/cpp/_graphics_8hpp-source.html +0 -135
  57. data/reference/cpp/_graphics_8hpp.html +0 -101
  58. data/reference/cpp/_graphics_8hpp_source.html +0 -144
  59. data/reference/cpp/_graphics_base_8hpp-source.html +0 -116
  60. data/reference/cpp/_graphics_base_8hpp.html +0 -128
  61. data/reference/cpp/_graphics_base_8hpp_source.html +0 -117
  62. data/reference/cpp/_i_o_8hpp-source.html +0 -302
  63. data/reference/cpp/_i_o_8hpp.html +0 -129
  64. data/reference/cpp/_i_o_8hpp_source.html +0 -295
  65. data/reference/cpp/_image_8hpp-source.html +0 -173
  66. data/reference/cpp/_image_8hpp.html +0 -103
  67. data/reference/cpp/_image_8hpp_source.html +0 -176
  68. data/reference/cpp/_image_data_8hpp-source.html +0 -109
  69. data/reference/cpp/_image_data_8hpp.html +0 -97
  70. data/reference/cpp/_image_data_8hpp_source.html +0 -109
  71. data/reference/cpp/_input_8hpp-source.html +0 -183
  72. data/reference/cpp/_input_8hpp.html +0 -109
  73. data/reference/cpp/_input_8hpp_source.html +0 -183
  74. data/reference/cpp/_math_8hpp-source.html +0 -157
  75. data/reference/cpp/_math_8hpp.html +0 -152
  76. data/reference/cpp/_math_8hpp_source.html +0 -157
  77. data/reference/cpp/_platform_8hpp-source.html +0 -134
  78. data/reference/cpp/_platform_8hpp.html +0 -162
  79. data/reference/cpp/_platform_8hpp_source.html +0 -134
  80. data/reference/cpp/_rot_flip_8hpp-source.html +0 -185
  81. data/reference/cpp/_rot_flip_8hpp.html +0 -130
  82. data/reference/cpp/_rot_flip_8hpp_source.html +0 -185
  83. data/reference/cpp/_sockets_8hpp-source.html +0 -175
  84. data/reference/cpp/_sockets_8hpp.html +0 -124
  85. data/reference/cpp/_sockets_8hpp_source.html +0 -175
  86. data/reference/cpp/_text_8hpp-source.html +0 -103
  87. data/reference/cpp/_text_8hpp.html +0 -106
  88. data/reference/cpp/_text_8hpp_source.html +0 -103
  89. data/reference/cpp/_text_input_8hpp-source.html +0 -111
  90. data/reference/cpp/_text_input_8hpp.html +0 -94
  91. data/reference/cpp/_text_input_8hpp_source.html +0 -116
  92. data/reference/cpp/_timing_8hpp-source.html +0 -83
  93. data/reference/cpp/_timing_8hpp.html +0 -97
  94. data/reference/cpp/_timing_8hpp_source.html +0 -83
  95. data/reference/cpp/_utility_8hpp-source.html +0 -90
  96. data/reference/cpp/_utility_8hpp.html +0 -103
  97. data/reference/cpp/_utility_8hpp_source.html +0 -90
  98. data/reference/cpp/_version_8hpp-source.html +0 -78
  99. data/reference/cpp/_version_8hpp.html +0 -154
  100. data/reference/cpp/_version_8hpp_source.html +0 -78
  101. data/reference/cpp/_win_utility_8hpp-source.html +0 -126
  102. data/reference/cpp/_win_utility_8hpp.html +0 -128
  103. data/reference/cpp/_win_utility_8hpp_source.html +0 -126
  104. data/reference/cpp/_window_8hpp-source.html +0 -158
  105. data/reference/cpp/_window_8hpp.html +0 -94
  106. data/reference/cpp/_window_8hpp_source.html +0 -159
  107. data/reference/cpp/annotated.html +0 -98
  108. data/reference/cpp/class_gosu_1_1_audio-members.html +0 -76
  109. data/reference/cpp/class_gosu_1_1_audio.html +0 -155
  110. data/reference/cpp/class_gosu_1_1_bitmap-members.html +0 -86
  111. data/reference/cpp/class_gosu_1_1_bitmap.html +0 -506
  112. data/reference/cpp/class_gosu_1_1_buffer-members.html +0 -85
  113. data/reference/cpp/class_gosu_1_1_buffer.html +0 -341
  114. data/reference/cpp/class_gosu_1_1_buffer.png +0 -0
  115. data/reference/cpp/class_gosu_1_1_button-members.html +0 -77
  116. data/reference/cpp/class_gosu_1_1_button.html +0 -198
  117. data/reference/cpp/class_gosu_1_1_color-members.html +0 -108
  118. data/reference/cpp/class_gosu_1_1_color.html +0 -972
  119. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +0 -91
  120. data/reference/cpp/class_gosu_1_1_comm_socket.html +0 -506
  121. data/reference/cpp/class_gosu_1_1_file-members.html +0 -82
  122. data/reference/cpp/class_gosu_1_1_file.html +0 -276
  123. data/reference/cpp/class_gosu_1_1_file.png +0 -0
  124. data/reference/cpp/class_gosu_1_1_font-members.html +0 -82
  125. data/reference/cpp/class_gosu_1_1_font.html +0 -506
  126. data/reference/cpp/class_gosu_1_1_graphics-members.html +0 -93
  127. data/reference/cpp/class_gosu_1_1_graphics.html +0 -817
  128. data/reference/cpp/class_gosu_1_1_image-members.html +0 -87
  129. data/reference/cpp/class_gosu_1_1_image.html +0 -797
  130. data/reference/cpp/class_gosu_1_1_image_data-members.html +0 -78
  131. data/reference/cpp/class_gosu_1_1_image_data.html +0 -282
  132. data/reference/cpp/class_gosu_1_1_input-members.html +0 -86
  133. data/reference/cpp/class_gosu_1_1_input.html +0 -418
  134. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +0 -79
  135. data/reference/cpp/class_gosu_1_1_listener_socket.html +0 -222
  136. data/reference/cpp/class_gosu_1_1_message_socket-members.html +0 -81
  137. data/reference/cpp/class_gosu_1_1_message_socket.html +0 -306
  138. data/reference/cpp/class_gosu_1_1_reader-members.html +0 -81
  139. data/reference/cpp/class_gosu_1_1_reader.html +0 -323
  140. data/reference/cpp/class_gosu_1_1_resource-members.html +0 -80
  141. data/reference/cpp/class_gosu_1_1_resource.html +0 -306
  142. data/reference/cpp/class_gosu_1_1_resource.png +0 -0
  143. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +0 -84
  144. data/reference/cpp/class_gosu_1_1_rot_flip.html +0 -352
  145. data/reference/cpp/class_gosu_1_1_sample-members.html +0 -80
  146. data/reference/cpp/class_gosu_1_1_sample.html +0 -324
  147. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +0 -82
  148. data/reference/cpp/class_gosu_1_1_sample_instance.html +0 -318
  149. data/reference/cpp/class_gosu_1_1_song-members.html +0 -90
  150. data/reference/cpp/class_gosu_1_1_song.html +0 -493
  151. data/reference/cpp/class_gosu_1_1_text_input-members.html +0 -80
  152. data/reference/cpp/class_gosu_1_1_text_input.html +0 -255
  153. data/reference/cpp/class_gosu_1_1_window-members.html +0 -91
  154. data/reference/cpp/class_gosu_1_1_window.html +0 -534
  155. data/reference/cpp/class_gosu_1_1_writer-members.html +0 -80
  156. data/reference/cpp/class_gosu_1_1_writer.html +0 -293
  157. data/reference/cpp/classes.html +0 -86
  158. data/reference/cpp/closed.gif +0 -0
  159. data/reference/cpp/cpp.css +0 -155
  160. data/reference/cpp/doxygen.png +0 -0
  161. data/reference/cpp/files.html +0 -99
  162. data/reference/cpp/functions.html +0 -128
  163. data/reference/cpp/functions_0x62.html +0 -144
  164. data/reference/cpp/functions_0x63.html +0 -143
  165. data/reference/cpp/functions_0x64.html +0 -143
  166. data/reference/cpp/functions_0x65.html +0 -122
  167. data/reference/cpp/functions_0x66.html +0 -144
  168. data/reference/cpp/functions_0x67.html +0 -136
  169. data/reference/cpp/functions_0x68.html +0 -122
  170. data/reference/cpp/functions_0x69.html +0 -124
  171. data/reference/cpp/functions_0x6b.html +0 -116
  172. data/reference/cpp/functions_0x6c.html +0 -118
  173. data/reference/cpp/functions_0x6d.html +0 -126
  174. data/reference/cpp/functions_0x6e.html +0 -121
  175. data/reference/cpp/functions_0x6f.html +0 -127
  176. data/reference/cpp/functions_0x70.html +0 -137
  177. data/reference/cpp/functions_0x72.html +0 -157
  178. data/reference/cpp/functions_0x73.html +0 -180
  179. data/reference/cpp/functions_0x74.html +0 -128
  180. data/reference/cpp/functions_0x75.html +0 -123
  181. data/reference/cpp/functions_0x76.html +0 -118
  182. data/reference/cpp/functions_0x77.html +0 -132
  183. data/reference/cpp/functions_0x78.html +0 -116
  184. data/reference/cpp/functions_0x79.html +0 -118
  185. data/reference/cpp/functions_0x7e.html +0 -142
  186. data/reference/cpp/functions_enum.html +0 -88
  187. data/reference/cpp/functions_eval.html +0 -90
  188. data/reference/cpp/functions_func.html +0 -124
  189. data/reference/cpp/functions_func_0x62.html +0 -136
  190. data/reference/cpp/functions_func_0x63.html +0 -137
  191. data/reference/cpp/functions_func_0x64.html +0 -141
  192. data/reference/cpp/functions_func_0x65.html +0 -120
  193. data/reference/cpp/functions_func_0x66.html +0 -140
  194. data/reference/cpp/functions_func_0x67.html +0 -130
  195. data/reference/cpp/functions_func_0x68.html +0 -120
  196. data/reference/cpp/functions_func_0x69.html +0 -120
  197. data/reference/cpp/functions_func_0x6b.html +0 -114
  198. data/reference/cpp/functions_func_0x6c.html +0 -114
  199. data/reference/cpp/functions_func_0x6d.html +0 -124
  200. data/reference/cpp/functions_func_0x6e.html +0 -117
  201. data/reference/cpp/functions_func_0x6f.html +0 -114
  202. data/reference/cpp/functions_func_0x70.html +0 -135
  203. data/reference/cpp/functions_func_0x72.html +0 -151
  204. data/reference/cpp/functions_func_0x73.html +0 -174
  205. data/reference/cpp/functions_func_0x74.html +0 -120
  206. data/reference/cpp/functions_func_0x75.html +0 -121
  207. data/reference/cpp/functions_func_0x76.html +0 -116
  208. data/reference/cpp/functions_func_0x77.html +0 -128
  209. data/reference/cpp/functions_func_0x7e.html +0 -140
  210. data/reference/cpp/functions_type.html +0 -88
  211. data/reference/cpp/functions_vars.html +0 -135
  212. data/reference/cpp/globals.html +0 -95
  213. data/reference/cpp/globals_defs.html +0 -95
  214. data/reference/cpp/hierarchy.html +0 -100
  215. data/reference/cpp/index.html +0 -67
  216. data/reference/cpp/namespace_gosu.html +0 -3311
  217. data/reference/cpp/namespace_gosu_1_1_colors.html +0 -287
  218. data/reference/cpp/namespace_gosu_1_1_win.html +0 -354
  219. data/reference/cpp/namespacemembers.html +0 -139
  220. data/reference/cpp/namespacemembers_0x62.html +0 -143
  221. data/reference/cpp/namespacemembers_0x63.html +0 -125
  222. data/reference/cpp/namespacemembers_0x64.html +0 -121
  223. data/reference/cpp/namespacemembers_0x66.html +0 -129
  224. data/reference/cpp/namespacemembers_0x67.html +0 -163
  225. data/reference/cpp/namespacemembers_0x68.html +0 -113
  226. data/reference/cpp/namespacemembers_0x69.html +0 -117
  227. data/reference/cpp/namespacemembers_0x6b.html +0 -289
  228. data/reference/cpp/namespacemembers_0x6c.html +0 -119
  229. data/reference/cpp/namespacemembers_0x6d.html +0 -131
  230. data/reference/cpp/namespacemembers_0x6e.html +0 -127
  231. data/reference/cpp/namespacemembers_0x6f.html +0 -121
  232. data/reference/cpp/namespacemembers_0x70.html +0 -115
  233. data/reference/cpp/namespacemembers_0x71.html +0 -113
  234. data/reference/cpp/namespacemembers_0x72.html +0 -165
  235. data/reference/cpp/namespacemembers_0x73.html +0 -135
  236. data/reference/cpp/namespacemembers_0x74.html +0 -129
  237. data/reference/cpp/namespacemembers_0x75.html +0 -117
  238. data/reference/cpp/namespacemembers_0x77.html +0 -117
  239. data/reference/cpp/namespacemembers_0x79.html +0 -113
  240. data/reference/cpp/namespacemembers_0x7a.html +0 -115
  241. data/reference/cpp/namespacemembers_enum.html +0 -103
  242. data/reference/cpp/namespacemembers_eval.html +0 -445
  243. data/reference/cpp/namespacemembers_func.html +0 -269
  244. data/reference/cpp/namespacemembers_type.html +0 -93
  245. data/reference/cpp/namespacemembers_vars.html +0 -117
  246. data/reference/cpp/namespaces.html +0 -76
  247. data/reference/cpp/open.gif +0 -0
  248. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +0 -78
  249. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +0 -186
  250. data/reference/cpp/struct_gosu_1_1_touch-members.html +0 -76
  251. data/reference/cpp/struct_gosu_1_1_touch.html +0 -154
  252. data/reference/cpp/tab_b.gif +0 -0
  253. data/reference/cpp/tab_l.gif +0 -0
  254. data/reference/cpp/tab_r.gif +0 -0
  255. data/reference/cpp/tabs.css +0 -105
  256. data/reference/rdoc/classes/Gosu.html +0 -1546
  257. data/reference/rdoc/classes/Gosu/Color.html +0 -660
  258. data/reference/rdoc/classes/Gosu/Font.html +0 -545
  259. data/reference/rdoc/classes/Gosu/GLTexInfo.html +0 -412
  260. data/reference/rdoc/classes/Gosu/Image.html +0 -706
  261. data/reference/rdoc/classes/Gosu/Sample.html +0 -476
  262. data/reference/rdoc/classes/Gosu/SampleInstance.html +0 -523
  263. data/reference/rdoc/classes/Gosu/Song.html +0 -568
  264. data/reference/rdoc/classes/Gosu/TextInput.html +0 -444
  265. data/reference/rdoc/classes/Gosu/Window.html +0 -911
  266. data/reference/rdoc/classes/Numeric.html +0 -479
  267. data/reference/rdoc/created.rid +0 -1
  268. data/reference/rdoc/files/COPYING_txt.html +0 -391
  269. data/reference/rdoc/files/README_txt.html +0 -387
  270. data/reference/rdoc/files/reference/Deployment on OS X_rdoc.html +0 -381
  271. data/reference/rdoc/files/reference/Deployment on Windows_rdoc.html +0 -385
  272. data/reference/rdoc/files/reference/Drawing with Colors_rdoc.html +0 -363
  273. data/reference/rdoc/files/reference/Order of Corners_rdoc.html +0 -358
  274. data/reference/rdoc/files/reference/Tileability_rdoc.html +0 -374
  275. data/reference/rdoc/files/reference/Z Ordering_rdoc.html +0 -361
  276. data/reference/rdoc/files/reference/gosu_rb.html +0 -348
  277. data/reference/rdoc/fr_class_index.html +0 -12
  278. data/reference/rdoc/fr_file_index.html +0 -10
  279. data/reference/rdoc/fr_method_index.html +0 -66
  280. data/reference/rdoc/index.html +0 -1
  281. data/reference/rdoc/rdoc-style.css +0 -320
@@ -1,97 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li class="current"><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- </div>
66
- <div class="contents">
67
- <h1>Timing.hpp File Reference</h1>Functions for timing.
68
- <a href="#_details">More...</a>
69
- <p>
70
-
71
- <p>
72
- <a href="_timing_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
73
- <tr><td></td></tr>
74
- <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
75
- <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
76
-
77
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The library's main namespace. <br></td></tr>
78
-
79
- <p>
80
- <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
81
- <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#93f9b0118e9708a760148c8c5da481d2">Gosu::sleep</a> (unsigned milliseconds)</td></tr>
82
-
83
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Freezes the current thread for at least the specified time. <a href="#93f9b0118e9708a760148c8c5da481d2"></a><br></td></tr>
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#37bf53016e58939d6bf2f7a261c6c4db">Gosu::milliseconds</a> ()</td></tr>
85
-
86
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Incrementing, possibly wrapping millisecond timer. <a href="#37bf53016e58939d6bf2f7a261c6c4db"></a><br></td></tr>
87
- </table>
88
- <hr><h2>Detailed Description</h2>
89
- Functions for timing.
90
- <p>
91
-
92
- <p>Definition in file <a class="el" href="_timing_8hpp_source.html">Timing.hpp</a>.</p>
93
- </div>
94
- <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>
95
- </div>
96
- </body>
97
- </html>
@@ -1,83 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li class="current"><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- <h1>Timing.hpp</h1><a href="_timing_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66
- <a name="l00002"></a>00002
67
- <a name="l00003"></a>00003
68
- <a name="l00004"></a>00004 <span class="preprocessor">#ifndef GOSU_TIMING_HPP</span>
69
- <a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_TIMING_HPP</span>
70
- <a name="l00006"></a>00006 <span class="preprocessor"></span>
71
- <a name="l00007"></a>00007 <span class="keyword">namespace </span>Gosu
72
- <a name="l00008"></a>00008 {
73
- <a name="l00010"></a>00010 <span class="keywordtype">void</span> <a class="code" href="namespace_gosu.html#93f9b0118e9708a760148c8c5da481d2" title="Freezes the current thread for at least the specified time.">sleep</a>(<span class="keywordtype">unsigned</span> <a class="code" href="namespace_gosu.html#37bf53016e58939d6bf2f7a261c6c4db" title="Incrementing, possibly wrapping millisecond timer.">milliseconds</a>);
74
- <a name="l00011"></a>00011
75
- <a name="l00013"></a>00013 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespace_gosu.html#37bf53016e58939d6bf2f7a261c6c4db" title="Incrementing, possibly wrapping millisecond timer.">milliseconds</a>();
76
- <a name="l00014"></a>00014 }
77
- <a name="l00015"></a>00015
78
- <a name="l00016"></a>00016 <span class="preprocessor">#endif</span>
79
- </pre></div></div>
80
- <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>
81
- </div>
82
- </body>
83
- </html>
@@ -1,90 +0,0 @@
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><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li class="current"><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- <h1>Utility.hpp</h1><a href="_utility_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66
- <a name="l00002"></a>00002
67
- <a name="l00003"></a>00003
68
- <a name="l00004"></a>00004 <span class="comment">// REDESIGN: Rename to StringConversion.hpp?</span>
69
- <a name="l00005"></a>00005
70
- <a name="l00006"></a>00006 <span class="preprocessor">#ifndef GOSU_UTILITY_HPP</span>
71
- <a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_UTILITY_HPP</span>
72
- <a name="l00008"></a>00008 <span class="preprocessor"></span>
73
- <a name="l00009"></a>00009 <span class="preprocessor">#include &lt;string&gt;</span>
74
- <a name="l00010"></a>00010 <span class="preprocessor">#include &lt;vector&gt;</span>
75
- <a name="l00011"></a>00011
76
- <a name="l00012"></a>00012 <span class="keyword">namespace </span>Gosu
77
- <a name="l00013"></a>00013 {
78
- <a name="l00015"></a>00015 std::wstring <a class="code" href="namespace_gosu.html#21c54ae29c5b4ebc282b87d6dec1f7de" title="Converts an std::string into an std::wstring.">utf8ToWstring</a>(<span class="keyword">const</span> std::string&amp; utf8);
79
- <a name="l00017"></a>00017 std::string <a class="code" href="namespace_gosu.html#b6bc6e428b84b2e2ac39133c64b4567e" title="Converts an std::wstring into an std::string.">wstringToUTF8</a>(<span class="keyword">const</span> std::wstring&amp; ws);
80
- <a name="l00018"></a>00018
81
- <a name="l00020"></a>00020 std::wstring <a class="code" href="namespace_gosu.html#76d73802e9aa00f9133c3f1e099b832e" title="Converts an std::string into an std::wstring using local encoding.">widen</a>(<span class="keyword">const</span> std::string&amp; s);
82
- <a name="l00022"></a>00022 std::string <a class="code" href="namespace_gosu.html#66106eac9ffd4e4047e891c20196a5a2" title="Converts an std::wstring into an std::string using local encoding.">narrow</a>(<span class="keyword">const</span> std::wstring&amp; ws);
83
- <a name="l00023"></a>00023 }
84
- <a name="l00024"></a>00024
85
- <a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
86
- </pre></div></div>
87
- <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>
88
- </div>
89
- </body>
90
- </html>
@@ -1,103 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li class="current"><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- </div>
66
- <div class="contents">
67
- <h1>Utility.hpp File Reference</h1>General purpose utility functions.
68
- <a href="#_details">More...</a>
69
- <p>
70
-
71
- <p>
72
- <a href="_utility_8hpp_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
73
- <tr><td></td></tr>
74
- <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
75
- <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html">Gosu</a></td></tr>
76
-
77
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The library's main namespace. <br></td></tr>
78
-
79
- <p>
80
- <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
81
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#21c54ae29c5b4ebc282b87d6dec1f7de">Gosu::utf8ToWstring</a> (const std::string &amp;utf8)</td></tr>
82
-
83
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an std::string into an std::wstring. <a href="#21c54ae29c5b4ebc282b87d6dec1f7de"></a><br></td></tr>
84
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#b6bc6e428b84b2e2ac39133c64b4567e">Gosu::wstringToUTF8</a> (const std::wstring &amp;ws)</td></tr>
85
-
86
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an std::wstring into an std::string. <a href="#b6bc6e428b84b2e2ac39133c64b4567e"></a><br></td></tr>
87
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::wstring&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#76d73802e9aa00f9133c3f1e099b832e">Gosu::widen</a> (const std::string &amp;s)</td></tr>
88
-
89
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an std::string into an std::wstring using local encoding. <a href="#76d73802e9aa00f9133c3f1e099b832e"></a><br></td></tr>
90
- <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_gosu.html#66106eac9ffd4e4047e891c20196a5a2">Gosu::narrow</a> (const std::wstring &amp;ws)</td></tr>
91
-
92
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an std::wstring into an std::string using local encoding. <a href="#66106eac9ffd4e4047e891c20196a5a2"></a><br></td></tr>
93
- </table>
94
- <hr><h2>Detailed Description</h2>
95
- General purpose utility functions.
96
- <p>
97
-
98
- <p>Definition in file <a class="el" href="_utility_8hpp_source.html">Utility.hpp</a>.</p>
99
- </div>
100
- <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
101
- </div>
102
- </body>
103
- </html>
@@ -1,90 +0,0 @@
1
- <html>
2
- <head>
3
- <title>Gosu C++ Reference</title>
4
- <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
- </head>
6
- <body>
7
- <div class="everything">
8
- <!-- Generated by Doxygen 1.5.9 -->
9
- <script type="text/javascript">
10
- <!--
11
- function changeDisplayState (e){
12
- var num=this.id.replace(/[^[0-9]/g,'');
13
- var button=this.firstChild;
14
- var sectionDiv=document.getElementById('dynsection'+num);
15
- if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
- sectionDiv.style.display='block';
17
- button.src='open.gif';
18
- }else{
19
- sectionDiv.style.display='none';
20
- button.src='closed.gif';
21
- }
22
- }
23
- function initDynSections(){
24
- var divs=document.getElementsByTagName('div');
25
- var sectionCounter=1;
26
- for(var i=0;i<divs.length-1;i++){
27
- if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
- var header=divs[i];
29
- var section=divs[i+1];
30
- var button=header.firstChild;
31
- if (button!='IMG'){
32
- divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
- button=document.createElement('img');
34
- divs[i].insertBefore(button,divs[i].firstChild);
35
- }
36
- header.style.cursor='pointer';
37
- header.onclick=changeDisplayState;
38
- header.id='dynheader'+sectionCounter;
39
- button.src='closed.gif';
40
- section.id='dynsection'+sectionCounter;
41
- section.style.display='none';
42
- section.style.marginLeft='14px';
43
- sectionCounter++;
44
- }
45
- }
46
- }
47
- window.onload = initDynSections;
48
- -->
49
- </script>
50
- <div class="navigation" id="top">
51
- <div class="tabs">
52
- <ul>
53
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
55
- <li><a href="annotated.html"><span>Classes</span></a></li>
56
- <li class="current"><a href="files.html"><span>Files</span></a></li>
57
- </ul>
58
- </div>
59
- <div class="tabs">
60
- <ul>
61
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63
- </ul>
64
- </div>
65
- <h1>Utility.hpp</h1><a href="_utility_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66
- <a name="l00002"></a>00002
67
- <a name="l00003"></a>00003
68
- <a name="l00004"></a>00004 <span class="comment">// REDESIGN: Rename to StringConversion.hpp?</span>
69
- <a name="l00005"></a>00005
70
- <a name="l00006"></a>00006 <span class="preprocessor">#ifndef GOSU_UTILITY_HPP</span>
71
- <a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_UTILITY_HPP</span>
72
- <a name="l00008"></a>00008 <span class="preprocessor"></span>
73
- <a name="l00009"></a>00009 <span class="preprocessor">#include &lt;string&gt;</span>
74
- <a name="l00010"></a>00010 <span class="preprocessor">#include &lt;vector&gt;</span>
75
- <a name="l00011"></a>00011
76
- <a name="l00012"></a>00012 <span class="keyword">namespace </span>Gosu
77
- <a name="l00013"></a>00013 {
78
- <a name="l00015"></a>00015 std::wstring <a class="code" href="namespace_gosu.html#21c54ae29c5b4ebc282b87d6dec1f7de" title="Converts an std::string into an std::wstring.">utf8ToWstring</a>(<span class="keyword">const</span> std::string&amp; utf8);
79
- <a name="l00017"></a>00017 std::string <a class="code" href="namespace_gosu.html#b6bc6e428b84b2e2ac39133c64b4567e" title="Converts an std::wstring into an std::string.">wstringToUTF8</a>(<span class="keyword">const</span> std::wstring&amp; ws);
80
- <a name="l00018"></a>00018
81
- <a name="l00020"></a>00020 std::wstring <a class="code" href="namespace_gosu.html#76d73802e9aa00f9133c3f1e099b832e" title="Converts an std::string into an std::wstring using local encoding.">widen</a>(<span class="keyword">const</span> std::string&amp; s);
82
- <a name="l00022"></a>00022 std::string <a class="code" href="namespace_gosu.html#66106eac9ffd4e4047e891c20196a5a2" title="Converts an std::wstring into an std::string using local encoding.">narrow</a>(<span class="keyword">const</span> std::wstring&amp; ws);
83
- <a name="l00023"></a>00023 }
84
- <a name="l00024"></a>00024
85
- <a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
86
- </pre></div></div>
87
- <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>
88
- </div>
89
- </body>
90
- </html>