gosu 0.7.11 → 0.7.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/Gosu/Audio.hpp +33 -16
  2. data/Gosu/GraphicsBase.hpp +6 -1
  3. data/Gosu/Input.hpp +8 -2
  4. data/Gosu/Platform.hpp +63 -61
  5. data/Gosu/Window.hpp +11 -0
  6. data/GosuImpl/AudioFmod.cpp +89 -16
  7. data/GosuImpl/AudioSDL.cpp +59 -19
  8. data/GosuImpl/Graphics/BitmapUtils.cpp +3 -0
  9. data/GosuImpl/Graphics/Common.hpp +8 -3
  10. data/GosuImpl/Graphics/DrawOp.hpp +70 -7
  11. data/GosuImpl/Graphics/Graphics.cpp +34 -2
  12. data/GosuImpl/Graphics/TexChunk.cpp +7 -1
  13. data/GosuImpl/Graphics/Texture.cpp +31 -9
  14. data/GosuImpl/Iconv.hpp +3 -0
  15. data/GosuImpl/InputMac.mm +31 -10
  16. data/GosuImpl/InputWin.cpp +8 -0
  17. data/GosuImpl/InputX.cpp +64 -45
  18. data/GosuImpl/Math.cpp +1 -1
  19. data/GosuImpl/RubyGosu.swg +27 -7
  20. data/GosuImpl/RubyGosu_wrap.cxx +338 -205
  21. data/GosuImpl/Utility.cpp +1 -0
  22. data/GosuImpl/WindowMac.mm +29 -3
  23. data/GosuImpl/WindowWin.cpp +16 -5
  24. data/GosuImpl/WindowX.cpp +3 -3
  25. data/README.txt +7 -3
  26. data/Rakefile +2 -1
  27. data/mac/Gosu.icns +0 -0
  28. data/mac/Gosu.xcodeproj/jlnr.mode1v3 +74 -75
  29. data/mac/Gosu.xcodeproj/jlnr.pbxuser +731 -257
  30. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +1531 -0
  31. data/reference/Async_8hpp-source.html +1 -1
  32. data/reference/Audio_8hpp-source.html +68 -58
  33. data/reference/Audio_8hpp.html +1 -1
  34. data/reference/AutoLink_8hpp-source.html +1 -1
  35. data/reference/AutoLink_8hpp.html +1 -1
  36. data/reference/Bitmap_8hpp-source.html +1 -1
  37. data/reference/Bitmap_8hpp.html +1 -1
  38. data/reference/ButtonsMac_8hpp-source.html +1 -1
  39. data/reference/ButtonsWin_8hpp-source.html +1 -1
  40. data/reference/ButtonsX_8hpp-source.html +1 -1
  41. data/reference/Color_8hpp-source.html +1 -1
  42. data/reference/Color_8hpp.html +1 -1
  43. data/reference/Directories_8hpp-source.html +1 -1
  44. data/reference/Directories_8hpp.html +1 -1
  45. data/reference/Font_8hpp-source.html +1 -1
  46. data/reference/Font_8hpp.html +1 -1
  47. data/reference/Fwd_8hpp-source.html +1 -1
  48. data/reference/Fwd_8hpp.html +1 -1
  49. data/reference/Gosu_8hpp-source.html +1 -1
  50. data/reference/Gosu_8hpp.html +1 -1
  51. data/reference/GraphicsBase_8hpp-source.html +28 -26
  52. data/reference/GraphicsBase_8hpp.html +4 -1
  53. data/reference/Graphics_8hpp-source.html +1 -1
  54. data/reference/Graphics_8hpp.html +1 -1
  55. data/reference/IO_8hpp-source.html +1 -1
  56. data/reference/IO_8hpp.html +1 -1
  57. data/reference/ImageData_8hpp-source.html +1 -1
  58. data/reference/ImageData_8hpp.html +1 -1
  59. data/reference/Image_8hpp-source.html +1 -1
  60. data/reference/Image_8hpp.html +1 -1
  61. data/reference/Input_8hpp-source.html +19 -16
  62. data/reference/Input_8hpp.html +1 -1
  63. data/reference/Math_8hpp-source.html +1 -1
  64. data/reference/Math_8hpp.html +1 -1
  65. data/reference/Platform_8hpp-source.html +22 -20
  66. data/reference/Platform_8hpp.html +1 -1
  67. data/reference/RotFlip_8hpp-source.html +1 -1
  68. data/reference/RotFlip_8hpp.html +1 -1
  69. data/reference/Sockets_8hpp-source.html +1 -1
  70. data/reference/Sockets_8hpp.html +1 -1
  71. data/reference/TextInput_8hpp-source.html +1 -1
  72. data/reference/TextInput_8hpp.html +1 -1
  73. data/reference/Text_8hpp-source.html +1 -1
  74. data/reference/Text_8hpp.html +1 -1
  75. data/reference/Timing_8hpp-source.html +1 -1
  76. data/reference/Timing_8hpp.html +1 -1
  77. data/reference/Utility_8hpp-source.html +1 -1
  78. data/reference/Utility_8hpp.html +1 -1
  79. data/reference/WinUtility_8hpp-source.html +1 -1
  80. data/reference/WinUtility_8hpp.html +1 -1
  81. data/reference/Window_8hpp-source.html +67 -56
  82. data/reference/Window_8hpp.html +1 -1
  83. data/reference/annotated.html +1 -1
  84. data/reference/classGosu_1_1Audio-members.html +1 -1
  85. data/reference/classGosu_1_1Audio.html +1 -1
  86. data/reference/classGosu_1_1Bitmap-members.html +1 -1
  87. data/reference/classGosu_1_1Bitmap.html +1 -1
  88. data/reference/classGosu_1_1Buffer-members.html +1 -1
  89. data/reference/classGosu_1_1Buffer.html +1 -1
  90. data/reference/classGosu_1_1Button-members.html +1 -1
  91. data/reference/classGosu_1_1Button.html +1 -1
  92. data/reference/classGosu_1_1Color-members.html +1 -1
  93. data/reference/classGosu_1_1Color.html +1 -1
  94. data/reference/classGosu_1_1File-members.html +1 -1
  95. data/reference/classGosu_1_1File.html +1 -1
  96. data/reference/classGosu_1_1Font-members.html +1 -1
  97. data/reference/classGosu_1_1Font.html +1 -1
  98. data/reference/classGosu_1_1Graphics-members.html +1 -1
  99. data/reference/classGosu_1_1Graphics.html +1 -1
  100. data/reference/classGosu_1_1Image-members.html +1 -1
  101. data/reference/classGosu_1_1Image.html +1 -1
  102. data/reference/classGosu_1_1ImageData-members.html +1 -1
  103. data/reference/classGosu_1_1ImageData.html +1 -1
  104. data/reference/classGosu_1_1Input-members.html +2 -1
  105. data/reference/classGosu_1_1Input.html +34 -1
  106. data/reference/classGosu_1_1MessageSocket-members.html +1 -1
  107. data/reference/classGosu_1_1MessageSocket.html +1 -1
  108. data/reference/classGosu_1_1Resource-members.html +1 -1
  109. data/reference/classGosu_1_1Resource.html +1 -1
  110. data/reference/classGosu_1_1Sample-members.html +3 -3
  111. data/reference/classGosu_1_1Sample.html +23 -11
  112. data/reference/classGosu_1_1SampleInstance-members.html +4 -1
  113. data/reference/classGosu_1_1SampleInstance.html +11 -2
  114. data/reference/classGosu_1_1Song-members.html +5 -2
  115. data/reference/classGosu_1_1Song.html +78 -7
  116. data/reference/classGosu_1_1TextInput-members.html +1 -1
  117. data/reference/classGosu_1_1TextInput.html +1 -1
  118. data/reference/classGosu_1_1Window-members.html +1 -1
  119. data/reference/classGosu_1_1Window.html +1 -1
  120. data/reference/files.html +1 -1
  121. data/reference/functions.html +14 -6
  122. data/reference/functions_enum.html +1 -1
  123. data/reference/functions_func.html +14 -6
  124. data/reference/functions_vars.html +1 -1
  125. data/reference/hierarchy.html +1 -1
  126. data/reference/index.html +1 -1
  127. data/reference/namespaceGosu.html +20 -1
  128. data/reference/namespaceGosu_1_1Colors.html +1 -1
  129. data/reference/namespaceGosu_1_1Win.html +1 -1
  130. data/reference/namespacemembers.html +3 -1
  131. data/reference/namespacemembers_enum.html +1 -1
  132. data/reference/namespacemembers_eval.html +1 -1
  133. data/reference/namespacemembers_func.html +1 -1
  134. data/reference/namespacemembers_type.html +1 -1
  135. data/reference/namespacemembers_vars.html +3 -1
  136. data/reference/namespaces.html +1 -1
  137. data/windows/Gosu.sln +2 -2
  138. data/windows/Gosu.vcproj +8 -7
  139. data/windows/RubyGosu.vcproj +5 -5
  140. metadata +4 -3
  141. data/GosuImpl/Utility.cpp~RF6c566.TMP +0 -95
@@ -36,7 +36,7 @@
36
36
  Interface of the ImageData class.
37
37
  <p>
38
38
  </div>
39
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
39
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
40
40
  <a href="http://www.doxygen.org/index.html">
41
41
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
42
42
  </body>
@@ -119,7 +119,7 @@
119
119
  <a name="l00147"></a>00147
120
120
  <a name="l00148"></a>00148 <span class="preprocessor">#endif</span>
121
121
  </pre></div></div>
122
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
122
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
123
123
  <a href="http://www.doxygen.org/index.html">
124
124
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
125
125
  </body>
@@ -41,7 +41,7 @@
41
41
  Interface of the Image class and helper functions.
42
42
  <p>
43
43
  </div>
44
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
44
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
45
45
  <a href="http://www.doxygen.org/index.html">
46
46
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
47
47
  </body>
@@ -84,8 +84,8 @@
84
84
  <a name="l00076"></a>00076 <span class="preprocessor"> #endif</span>
85
85
  <a name="l00077"></a>00077 <span class="preprocessor"></span>
86
86
  <a name="l00078"></a>00078 <span class="preprocessor"> #ifdef GOSU_IS_X</span>
87
- <a name="l00079"></a>00079 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>(::Display* dpy);
88
- <a name="l00080"></a>00080 <span class="keywordtype">bool</span> feedXEvent(::XEvent&amp; event, <a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>* window);
87
+ <a name="l00079"></a>00079 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>(::Display* display, ::<a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a> window);
88
+ <a name="l00080"></a>00080 <span class="keywordtype">bool</span> feedXEvent(::XEvent&amp; event);
89
89
  <a name="l00081"></a>00081 <span class="preprocessor"> #endif</span>
90
90
  <a name="l00082"></a>00082 <span class="preprocessor"></span>
91
91
  <a name="l00083"></a>00083 ~<a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>();
@@ -97,21 +97,24 @@
97
97
  <a name="l00093"></a>00093
98
98
  <a name="l00096"></a>00096 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Input.html#6849d640adfe2d576431ab2551c105c1" title="Returns the horizontal position of the mouse relative to the top left corner of the...">mouseX</a>() <span class="keyword">const</span>;
99
99
  <a name="l00098"></a>00098 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Input.html#5bedd5d599dfe530043b3b0f6e3bf2a4" title="See mouseX.">mouseY</a>() <span class="keyword">const</span>;
100
- <a name="l00099"></a>00099 <span class="comment">// Undocumented for the moment.</span>
101
- <a name="l00100"></a>00100 <span class="keywordtype">void</span> setMouseFactors(<span class="keywordtype">double</span> factorX, <span class="keywordtype">double</span> factorY);
102
- <a name="l00101"></a>00101
103
- <a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Input.html#904cd360ad96838a61b408d5aa6729aa" title="Collects new information about which buttons are pressed, where the mouse is and...">update</a>();
104
- <a name="l00105"></a>00105
105
- <a name="l00108"></a><a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77">00108</a> boost::function&lt;void (Button)&gt; <a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77" title="Assignable events that are called by update.">onButtonDown</a>, onButtonUp;
106
- <a name="l00109"></a>00109
107
- <a name="l00110"></a>00110 <a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* textInput() <span class="keyword">const</span>;
108
- <a name="l00111"></a>00111 <span class="keywordtype">void</span> setTextInput(<a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* input);
109
- <a name="l00112"></a>00112 };
110
- <a name="l00113"></a>00113 }
111
- <a name="l00114"></a>00114
112
- <a name="l00115"></a>00115 <span class="preprocessor">#endif</span>
100
+ <a name="l00099"></a>00099
101
+ <a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Input.html#df5d807bd1cbac95bd4bd86dc5588dea" title="Immediately moves the mouse as far towards the desired position as possible.">setMousePosition</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);
102
+ <a name="l00104"></a>00104
103
+ <a name="l00105"></a>00105 <span class="comment">// Undocumented for the moment.</span>
104
+ <a name="l00106"></a>00106 <span class="keywordtype">void</span> setMouseFactors(<span class="keywordtype">double</span> factorX, <span class="keywordtype">double</span> factorY);
105
+ <a name="l00107"></a>00107
106
+ <a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Input.html#904cd360ad96838a61b408d5aa6729aa" title="Collects new information about which buttons are pressed, where the mouse is and...">update</a>();
107
+ <a name="l00111"></a>00111
108
+ <a name="l00114"></a><a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77">00114</a> boost::function&lt;void (Button)&gt; <a class="code" href="classGosu_1_1Input.html#b8ea5dbbd08d812cb8d5efa399750e77" title="Assignable events that are called by update.">onButtonDown</a>, onButtonUp;
109
+ <a name="l00115"></a>00115
110
+ <a name="l00116"></a>00116 <a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* textInput() <span class="keyword">const</span>;
111
+ <a name="l00117"></a>00117 <span class="keywordtype">void</span> setTextInput(<a class="code" href="classGosu_1_1TextInput.html" title="TextInput instances are invisible objects that build a text string from input, using...">TextInput</a>* input);
112
+ <a name="l00118"></a>00118 };
113
+ <a name="l00119"></a>00119 }
114
+ <a name="l00120"></a>00120
115
+ <a name="l00121"></a>00121 <span class="preprocessor">#endif</span>
113
116
  </pre></div></div>
114
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
117
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
115
118
  <a href="http://www.doxygen.org/index.html">
116
119
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
117
120
  </body>
@@ -43,7 +43,7 @@ bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>Gosu::operator!=</b>
43
43
  Interface of the Input class.
44
44
  <p>
45
45
  </div>
46
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
46
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
47
47
  <a href="http://www.doxygen.org/index.html">
48
48
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
49
49
  </body>
@@ -94,7 +94,7 @@
94
94
  <a name="l00105"></a>00105
95
95
  <a name="l00106"></a>00106 <span class="preprocessor">#endif</span>
96
96
  </pre></div></div>
97
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
97
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
98
98
  <a href="http://www.doxygen.org/index.html">
99
99
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
100
100
  </body>
@@ -71,7 +71,7 @@ template&lt;typename T&gt; </td></tr>
71
71
  Contains simple math functionality.
72
72
  <p>
73
73
  </div>
74
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
74
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
75
75
  <a href="http://www.doxygen.org/index.html">
76
76
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
77
77
  </body>
@@ -55,28 +55,30 @@
55
55
  <a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#undef CONV_FUN</span>
56
56
  <a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#undef CONV_FUN2</span>
57
57
  <a name="l00041"></a>00041 <span class="preprocessor"></span>
58
- <a name="l00042"></a>00042 <span class="preprocessor">#ifdef _MSC_VER</span>
58
+ <a name="l00042"></a>00042 <span class="preprocessor">#if defined(_MSC_VER)</span>
59
59
  <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_NORETURN __declspec(noreturn)</span>
60
- <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
61
- <a name="l00045"></a>00045 <span class="preprocessor"></span>
62
- <a name="l00046"></a>00046 <span class="preprocessor">#ifdef __GNUC__</span>
63
- <a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_NORETURN __attribute__ ((noreturn))</span>
64
- <a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
65
- <a name="l00049"></a>00049 <span class="preprocessor"></span>
66
- <a name="l00050"></a>00050 <span class="preprocessor">#ifdef WIN32</span>
67
- <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_WIN</span>
68
- <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#else</span>
69
- <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_UNIX</span>
70
- <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"># if defined(__linux) || defined(__FreeBSD__)</span>
71
- <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_X</span>
72
- <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"># else</span>
73
- <a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_MAC</span>
74
- <a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
75
- <a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
76
- <a name="l00060"></a>00060 <span class="preprocessor"></span>
77
- <a name="l00061"></a>00061 <span class="preprocessor">#endif</span>
60
+ <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#elif defined(__GNUC__)</span>
61
+ <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define GOSU_NORETURN __attribute__ ((noreturn))</span>
62
+ <a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
63
+ <a name="l00047"></a>00047 <span class="preprocessor"></span>
64
+ <a name="l00048"></a>00048 <span class="preprocessor">#if defined(WIN32)</span>
65
+ <a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_WIN</span>
66
+ <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#else</span>
67
+ <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_UNIX</span>
68
+ <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"># if defined(__linux) || defined(__FreeBSD__)</span>
69
+ <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_X</span>
70
+ <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"># else</span>
71
+ <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_MAC</span>
72
+ <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"># include &lt;TargetConditionals.h&gt;</span>
73
+ <a name="l00057"></a>00057 <span class="preprocessor"># if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR</span>
74
+ <a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"># define GOSU_IS_IPHONE</span>
75
+ <a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
76
+ <a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor"># endif</span>
77
+ <a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
78
+ <a name="l00062"></a>00062 <span class="preprocessor"></span>
79
+ <a name="l00063"></a>00063 <span class="preprocessor">#endif</span>
78
80
  </pre></div></div>
79
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
81
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
80
82
  <a href="http://www.doxygen.org/index.html">
81
83
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
82
84
  </body>
@@ -66,7 +66,7 @@ template&lt;typename T&gt; </td></tr>
66
66
  Macros and utility functions to facilitate programming on all of Gosu's supported platforms.
67
67
  <p>
68
68
  </div>
69
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
69
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
70
70
  <a href="http://www.doxygen.org/index.html">
71
71
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
72
72
  </body>
@@ -131,7 +131,7 @@
131
131
  <a name="l00115"></a>00115
132
132
  <a name="l00116"></a>00116 <span class="preprocessor">#endif</span>
133
133
  </pre></div></div>
134
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
134
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
135
135
  <a href="http://www.doxygen.org/index.html">
136
136
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
137
137
  </body>
@@ -70,7 +70,7 @@ void&nbsp;</td><td class="memItemRight" valign="bottom"><b>Gosu::applyToPoint</b
70
70
  Interface of the undocumented RotFlip class.
71
71
  <p>
72
72
  </div>
73
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
73
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
74
74
  <a href="http://www.doxygen.org/index.html">
75
75
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
76
76
  </body>
@@ -123,7 +123,7 @@
123
123
  <a name="l00128"></a>00128
124
124
  <a name="l00129"></a>00129 <span class="preprocessor">#endif</span>
125
125
  </pre></div></div>
126
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
126
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
127
127
  <a href="http://www.doxygen.org/index.html">
128
128
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
129
129
  </body>
@@ -59,7 +59,7 @@ const SocketPort&nbsp;</td><td class="memItemRight" valign="bottom"><b>Gosu::any
59
59
  Interface of the three socket classes, MessageSocket, CommSocket and ListenerSocket.
60
60
  <p>
61
61
  </div>
62
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
62
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
63
63
  <a href="http://www.doxygen.org/index.html">
64
64
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
65
65
  </body>
@@ -57,7 +57,7 @@
57
57
  <a name="l00056"></a>00056
58
58
  <a name="l00057"></a>00057 <span class="preprocessor">#endif</span>
59
59
  </pre></div></div>
60
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
60
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
61
61
  <a href="http://www.doxygen.org/index.html">
62
62
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
63
63
  </body>
@@ -34,7 +34,7 @@
34
34
  Interface of the TextInput class.
35
35
  <p>
36
36
  </div>
37
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
38
38
  <a href="http://www.doxygen.org/index.html">
39
39
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
40
40
  </body>
@@ -48,7 +48,7 @@
48
48
  <a name="l00058"></a>00058
49
49
  <a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
50
50
  </pre></div></div>
51
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
51
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
52
52
  <a href="http://www.doxygen.org/index.html">
53
53
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
54
54
  </body>
@@ -41,7 +41,7 @@
41
41
  Functions to output text on bitmaps.
42
42
  <p>
43
43
  </div>
44
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
44
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
45
45
  <a href="http://www.doxygen.org/index.html">
46
46
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
47
47
  </body>
@@ -29,7 +29,7 @@
29
29
  <a name="l00015"></a>00015
30
30
  <a name="l00016"></a>00016 <span class="preprocessor">#endif</span>
31
31
  </pre></div></div>
32
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
32
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
33
33
  <a href="http://www.doxygen.org/index.html">
34
34
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
35
35
  </body>
@@ -35,7 +35,7 @@
35
35
  Functions for timing.
36
36
  <p>
37
37
  </div>
38
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
38
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
39
39
  <a href="http://www.doxygen.org/index.html">
40
40
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
41
41
  </body>
@@ -36,7 +36,7 @@
36
36
  <a name="l00024"></a>00024
37
37
  <a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
38
38
  </pre></div></div>
39
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
39
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
40
40
  <a href="http://www.doxygen.org/index.html">
41
41
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
42
42
  </body>
@@ -39,7 +39,7 @@
39
39
  General purpose utility functions.
40
40
  <p>
41
41
  </div>
42
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
42
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
43
43
  <a href="http://www.doxygen.org/index.html">
44
44
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
45
45
  </body>
@@ -72,7 +72,7 @@
72
72
  <a name="l00075"></a>00075
73
73
  <a name="l00076"></a>00076 <span class="preprocessor">#endif</span>
74
74
  </pre></div></div>
75
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
75
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
76
76
  <a href="http://www.doxygen.org/index.html">
77
77
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
78
78
  </body>
@@ -57,7 +57,7 @@ template&lt;typename T&gt; </td></tr>
57
57
  Contains some functions which are used to implement <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> on Windows and might be useful for advanced users who try to integrate <a class="el" href="namespaceGosu.html" title="The library&#39;s main namespace.">Gosu</a> in a Win32 application.
58
58
  <p>
59
59
  </div>
60
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
60
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
61
61
  <a href="http://www.doxygen.org/index.html">
62
62
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
63
63
  </body>
@@ -27,64 +27,75 @@
27
27
  <a name="l00011"></a>00011 <span class="preprocessor">#include &lt;boost/shared_ptr.hpp&gt;</span>
28
28
  <a name="l00012"></a>00012 <span class="preprocessor">#include &lt;boost/function.hpp&gt;</span>
29
29
  <a name="l00013"></a>00013 <span class="preprocessor">#include &lt;string&gt;</span>
30
- <a name="l00014"></a>00014
31
- <a name="l00015"></a>00015 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
32
- <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#include &lt;windows.h&gt;</span>
33
- <a name="l00017"></a>00017 <span class="preprocessor">#endif</span>
34
- <a name="l00018"></a>00018 <span class="preprocessor"></span>
35
- <a name="l00019"></a>00019 <span class="keyword">namespace </span>Gosu
36
- <a name="l00020"></a>00020 {
37
- <a name="l00024"></a><a class="code" href="classGosu_1_1Window.html">00024</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>
38
- <a name="l00025"></a>00025 {
39
- <a name="l00026"></a>00026 <span class="keyword">struct </span>Impl;
40
- <a name="l00027"></a>00027 boost::scoped_ptr&lt;Impl&gt; pimpl;
41
- <a name="l00028"></a>00028
42
- <a name="l00029"></a>00029 <span class="keyword">public</span>:
43
- <a name="l00033"></a>00033 <a class="code" href="classGosu_1_1Window.html#369461754934c92b9bd0811dbdad8ffa" title="Constructs a Window.">Window</a>(<span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height, <span class="keywordtype">bool</span> fullscreen,
44
- <a name="l00034"></a>00034 <span class="keywordtype">double</span> updateInterval = 16.666666);
45
- <a name="l00035"></a>00035 <span class="keyword">virtual</span> ~<a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>();
46
- <a name="l00036"></a>00036
47
- <a name="l00037"></a>00037 std::wstring caption() <span class="keyword">const</span>;
48
- <a name="l00038"></a>00038 <span class="keywordtype">void</span> setCaption(<span class="keyword">const</span> std::wstring&amp; caption);
49
- <a name="l00039"></a>00039
50
- <a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4b7c1e5e817d8aaca09f5d19a3a9d93" title="Starts the main event loop.">show</a>();
51
- <a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#ccbd57bf5ea05899e4270e2b20b300a6" title="Closes the window if it is currently shown.">close</a>();
52
- <a name="l00044"></a>00044
53
- <a name="l00047"></a><a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba">00047</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba" title="Called every updateInterval milliseconds while the window is being shown.">update</a>() {}
54
- <a name="l00050"></a><a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8">00050</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8" title="Called after every update and when the OS wants the window to repaint itself.">draw</a>() {}
55
- <a name="l00051"></a>00051
56
- <a name="l00054"></a><a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5">00054</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5" title="Called before update when the user pressed a button while the window had the focus...">buttonDown</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
57
- <a name="l00056"></a><a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc">00056</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc" title="Same as buttonDown. Called then the user released a button.">buttonUp</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
58
- <a name="l00057"></a>00057
59
- <a name="l00058"></a>00058 <span class="comment">// Ignore when SWIG is wrapping this class for Ruby/Gosu.</span>
60
- <a name="l00059"></a>00059 <span class="preprocessor"> #ifndef SWIG</span>
61
- <a name="l00060"></a>00060 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>&amp; graphics() <span class="keyword">const</span>;
62
- <a name="l00061"></a>00061 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>&amp; graphics();
63
- <a name="l00062"></a>00062
64
- <a name="l00063"></a>00063 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio() <span class="keyword">const</span>;
65
- <a name="l00064"></a>00064 <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio();
66
- <a name="l00065"></a>00065
67
- <a name="l00066"></a>00066 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>&amp; input() <span class="keyword">const</span>;
68
- <a name="l00067"></a>00067 <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>&amp; input();
30
+ <a name="l00014"></a>00014 <span class="preprocessor">#include &lt;vector&gt;</span>
31
+ <a name="l00015"></a>00015
32
+ <a name="l00016"></a>00016 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
33
+ <a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include &lt;windows.h&gt;</span>
34
+ <a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
35
+ <a name="l00019"></a>00019 <span class="preprocessor"></span>
36
+ <a name="l00020"></a>00020 <span class="keyword">namespace </span>Gosu
37
+ <a name="l00021"></a>00021 {
38
+ <a name="l00022"></a>00022 <span class="preprocessor"> #ifdef GOSU_IS_IPHONE</span>
39
+ <a name="l00023"></a>00023 <span class="preprocessor"></span> <span class="keyword">struct </span>Touch { <span class="keywordtype">double</span> x, y; };
40
+ <a name="l00024"></a>00024 <span class="keyword">typedef</span> std::vector&lt;Touch&gt; Touches;
41
+ <a name="l00025"></a>00025 <span class="preprocessor"> #endif</span>
42
+ <a name="l00026"></a>00026 <span class="preprocessor"></span>
43
+ <a name="l00030"></a><a class="code" href="classGosu_1_1Window.html">00030</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>
44
+ <a name="l00031"></a>00031 {
45
+ <a name="l00032"></a>00032 <span class="keyword">struct </span>Impl;
46
+ <a name="l00033"></a>00033 boost::scoped_ptr&lt;Impl&gt; pimpl;
47
+ <a name="l00034"></a>00034
48
+ <a name="l00035"></a>00035 <span class="keyword">public</span>:
49
+ <a name="l00039"></a>00039 <a class="code" href="classGosu_1_1Window.html#369461754934c92b9bd0811dbdad8ffa" title="Constructs a Window.">Window</a>(<span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height, <span class="keywordtype">bool</span> fullscreen,
50
+ <a name="l00040"></a>00040 <span class="keywordtype">double</span> updateInterval = 16.666666);
51
+ <a name="l00041"></a>00041 <span class="keyword">virtual</span> ~<a class="code" href="classGosu_1_1Window.html" title="Convenient all-in-one class that serves as the foundation of a standard Gosu application...">Window</a>();
52
+ <a name="l00042"></a>00042
53
+ <a name="l00043"></a>00043 std::wstring caption() <span class="keyword">const</span>;
54
+ <a name="l00044"></a>00044 <span class="keywordtype">void</span> setCaption(<span class="keyword">const</span> std::wstring&amp; caption);
55
+ <a name="l00045"></a>00045
56
+ <a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4b7c1e5e817d8aaca09f5d19a3a9d93" title="Starts the main event loop.">show</a>();
57
+ <a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#ccbd57bf5ea05899e4270e2b20b300a6" title="Closes the window if it is currently shown.">close</a>();
58
+ <a name="l00050"></a>00050
59
+ <a name="l00053"></a><a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba">00053</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#4c74a15418c916dabec98c2da3ca45ba" title="Called every updateInterval milliseconds while the window is being shown.">update</a>() {}
60
+ <a name="l00056"></a><a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8">00056</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#b3c5da8e60f81c0528a5d8d9495daac8" title="Called after every update and when the OS wants the window to repaint itself.">draw</a>() {}
61
+ <a name="l00057"></a>00057
62
+ <a name="l00060"></a><a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5">00060</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#d4e680daba62ac7fbc8002b2be50a2c5" title="Called before update when the user pressed a button while the window had the focus...">buttonDown</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
63
+ <a name="l00062"></a><a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc">00062</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Window.html#41ab0a9bfee1c88d96618308bde584fc" title="Same as buttonDown. Called then the user released a button.">buttonUp</a>(<a class="code" href="classGosu_1_1Button.html" title="Very lightweight class that identifies a button (keyboard, mouse or other device)...">Gosu::Button</a>) {}
64
+ <a name="l00063"></a>00063
65
+ <a name="l00064"></a>00064 <span class="comment">// Ignore when SWIG is wrapping this class for Ruby/Gosu.</span>
66
+ <a name="l00065"></a>00065 <span class="preprocessor"> #ifndef SWIG</span>
67
+ <a name="l00066"></a>00066 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>&amp; graphics() <span class="keyword">const</span>;
68
+ <a name="l00067"></a>00067 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>&amp; graphics();
69
69
  <a name="l00068"></a>00068
70
- <a name="l00069"></a>00069 <span class="preprocessor"> #ifdef GOSU_IS_WIN</span>
71
- <a name="l00070"></a>00070 <span class="preprocessor"></span> <span class="comment">// Only on Windows.</span>
72
- <a name="l00071"></a>00071 HWND handle() <span class="keyword">const</span>;
73
- <a name="l00072"></a>00072 <span class="keyword">virtual</span> LRESULT <a class="code" href="namespaceGosu_1_1Win.html#31f2a986954cbda89d833e5c4b6023bc" title="Blocking function which waits for the next message, processes it, then returns.">handleMessage</a>(UINT message, WPARAM wparam,
74
- <a name="l00073"></a>00073 LPARAM lparam);
75
- <a name="l00074"></a>00074 <span class="preprocessor"> #else</span>
76
- <a name="l00075"></a>00075 <span class="preprocessor"></span> <span class="comment">// Only on Unices (so far).</span>
77
- <a name="l00076"></a>00076 <span class="keyword">typedef</span> boost::shared_ptr&lt;boost::function&lt;void()&gt; &gt; SharedContext;
78
- <a name="l00077"></a>00077 SharedContext createSharedContext();
79
- <a name="l00078"></a>00078 <span class="preprocessor"> #endif</span>
80
- <a name="l00079"></a>00079 <span class="preprocessor"></span>
81
- <a name="l00080"></a>00080 <span class="preprocessor"> #endif</span>
82
- <a name="l00081"></a>00081 <span class="preprocessor"></span> };
83
- <a name="l00082"></a>00082 }
84
- <a name="l00083"></a>00083
85
- <a name="l00084"></a>00084 <span class="preprocessor">#endif</span>
70
+ <a name="l00069"></a>00069 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio() <span class="keyword">const</span>;
71
+ <a name="l00070"></a>00070 <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio();
72
+ <a name="l00071"></a>00071
73
+ <a name="l00072"></a>00072 <span class="keyword">const</span> <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>&amp; input() <span class="keyword">const</span>;
74
+ <a name="l00073"></a>00073 <a class="code" href="classGosu_1_1Input.html" title="Manages initialization and shutdown of the input system.">Input</a>&amp; input();
75
+ <a name="l00074"></a>00074
76
+ <a name="l00075"></a>00075 <span class="preprocessor"> #ifdef GOSU_IS_WIN</span>
77
+ <a name="l00076"></a>00076 <span class="preprocessor"></span> <span class="comment">// Only on Windows.</span>
78
+ <a name="l00077"></a>00077 HWND handle() <span class="keyword">const</span>;
79
+ <a name="l00078"></a>00078 <span class="keyword">virtual</span> LRESULT <a class="code" href="namespaceGosu_1_1Win.html#31f2a986954cbda89d833e5c4b6023bc" title="Blocking function which waits for the next message, processes it, then returns.">handleMessage</a>(UINT message, WPARAM wparam,
80
+ <a name="l00079"></a>00079 LPARAM lparam);
81
+ <a name="l00080"></a>00080 <span class="preprocessor"> #else</span>
82
+ <a name="l00081"></a>00081 <span class="preprocessor"></span> <span class="comment">// Only on Unices (so far).</span>
83
+ <a name="l00082"></a>00082 <span class="keyword">typedef</span> boost::shared_ptr&lt;boost::function&lt;void()&gt; &gt; SharedContext;
84
+ <a name="l00083"></a>00083 SharedContext createSharedContext();
85
+ <a name="l00084"></a>00084 <span class="preprocessor"> #endif</span>
86
+ <a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor"> #ifdef GOSU_IS_IPHONE</span>
87
+ <a name="l00086"></a>00086 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesBegan(<span class="keyword">const</span> Touches&amp; touches) {}
88
+ <a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesMoved(<span class="keyword">const</span> Touches&amp; touches) {}
89
+ <a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> touchesEnded(<span class="keyword">const</span> Touches&amp; touches) {}
90
+ <a name="l00089"></a>00089 <span class="preprocessor"> #endif </span>
91
+ <a name="l00090"></a>00090 <span class="preprocessor"></span>
92
+ <a name="l00091"></a>00091 <span class="preprocessor"> #endif</span>
93
+ <a name="l00092"></a>00092 <span class="preprocessor"></span> };
94
+ <a name="l00093"></a>00093 }
95
+ <a name="l00094"></a>00094
96
+ <a name="l00095"></a>00095 <span class="preprocessor">#endif</span>
86
97
  </pre></div></div>
87
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
98
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
88
99
  <a href="http://www.doxygen.org/index.html">
89
100
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
90
101
  </body>
@@ -34,7 +34,7 @@
34
34
  Interface of the Window class.
35
35
  <p>
36
36
  </div>
37
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Dec 6 03:53:17 2008 for Gosu by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
38
38
  <a href="http://www.doxygen.org/index.html">
39
39
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
40
40
  </body>