gosu 0.7.12 → 0.7.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. data/Gosu/Audio.hpp +1 -0
  2. data/Gosu/Bitmap.hpp +4 -4
  3. data/Gosu/Graphics.hpp +3 -0
  4. data/Gosu/Input.hpp +10 -0
  5. data/Gosu/Text.hpp +1 -0
  6. data/Gosu/Window.hpp +20 -9
  7. data/GosuImpl/Audio/ALChannelManagement.hpp +72 -0
  8. data/GosuImpl/Audio/AudioFileMac.hpp +105 -0
  9. data/GosuImpl/AudioOpenAL.mm +486 -0
  10. data/GosuImpl/DirectoriesTouch.mm +38 -0
  11. data/GosuImpl/Graphics/BitmapBMP.cpp +23 -8
  12. data/GosuImpl/Graphics/BitmapTouch.mm +73 -0
  13. data/GosuImpl/Graphics/BitmapUtils.cpp +0 -2
  14. data/GosuImpl/Graphics/BlockAllocator.cpp +15 -4
  15. data/GosuImpl/Graphics/Common.hpp +21 -0
  16. data/GosuImpl/Graphics/DrawOp.hpp +53 -10
  17. data/GosuImpl/Graphics/GosuView.hpp +28 -0
  18. data/GosuImpl/Graphics/GosuView.mm +159 -0
  19. data/GosuImpl/Graphics/Graphics.cpp +18 -18
  20. data/GosuImpl/Graphics/LargeImageData.cpp +3 -0
  21. data/GosuImpl/Graphics/TexChunk.cpp +3 -2
  22. data/GosuImpl/Graphics/Text.cpp +85 -20
  23. data/GosuImpl/Graphics/TextMac.cpp +14 -27
  24. data/GosuImpl/Graphics/TextTouch.mm +89 -0
  25. data/GosuImpl/Graphics/Texture.cpp +1 -5
  26. data/GosuImpl/Iconv.hpp +5 -3
  27. data/GosuImpl/InputMac.mm +8 -9
  28. data/GosuImpl/InputTouch.mm +47 -0
  29. data/GosuImpl/InputWin.cpp +12 -4
  30. data/GosuImpl/InputX.cpp +3 -1
  31. data/GosuImpl/MacUtility.hpp +41 -0
  32. data/GosuImpl/Math.cpp +1 -1
  33. data/GosuImpl/RubyGosu.swg +17 -6
  34. data/GosuImpl/RubyGosu_wrap.cxx +950 -549
  35. data/GosuImpl/RubyGosu_wrap.h +2 -1
  36. data/GosuImpl/TimingUnix.cpp +15 -17
  37. data/GosuImpl/UtilityTouch.mm +44 -0
  38. data/GosuImpl/WindowMac.mm +39 -19
  39. data/GosuImpl/WindowTouch.mm +154 -0
  40. data/GosuImpl/WindowWin.cpp +27 -10
  41. data/GosuImpl/WindowX.cpp +27 -7
  42. data/linux/extconf.rb +6 -0
  43. data/mac/Gosu.icns +0 -0
  44. data/mac/Gosu.xcodeproj/jlnr.pbxuser +562 -788
  45. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +113 -103
  46. data/mac/Gosu.xcodeproj/project.pbxproj +258 -173
  47. data/reference/Async_8hpp-source.html +1 -1
  48. data/reference/Audio_8hpp-source.html +91 -90
  49. data/reference/Audio_8hpp.html +1 -1
  50. data/reference/AutoLink_8hpp-source.html +1 -1
  51. data/reference/AutoLink_8hpp.html +1 -1
  52. data/reference/Bitmap_8hpp-source.html +11 -12
  53. data/reference/Bitmap_8hpp.html +1 -1
  54. data/reference/ButtonsMac_8hpp-source.html +1 -1
  55. data/reference/ButtonsWin_8hpp-source.html +1 -1
  56. data/reference/ButtonsX_8hpp-source.html +1 -1
  57. data/reference/Color_8hpp-source.html +1 -1
  58. data/reference/Color_8hpp.html +1 -1
  59. data/reference/Directories_8hpp-source.html +1 -1
  60. data/reference/Directories_8hpp.html +1 -1
  61. data/reference/Font_8hpp-source.html +1 -1
  62. data/reference/Font_8hpp.html +1 -1
  63. data/reference/Fwd_8hpp-source.html +1 -1
  64. data/reference/Fwd_8hpp.html +1 -1
  65. data/reference/Gosu_8hpp-source.html +1 -1
  66. data/reference/Gosu_8hpp.html +1 -1
  67. data/reference/GraphicsBase_8hpp-source.html +1 -1
  68. data/reference/GraphicsBase_8hpp.html +1 -1
  69. data/reference/Graphics_8hpp-source.html +64 -61
  70. data/reference/Graphics_8hpp.html +8 -1
  71. data/reference/IO_8hpp-source.html +1 -1
  72. data/reference/IO_8hpp.html +1 -1
  73. data/reference/ImageData_8hpp-source.html +1 -1
  74. data/reference/ImageData_8hpp.html +1 -1
  75. data/reference/Image_8hpp-source.html +1 -1
  76. data/reference/Image_8hpp.html +1 -1
  77. data/reference/Input_8hpp-source.html +81 -71
  78. data/reference/Input_8hpp.html +7 -1
  79. data/reference/Math_8hpp-source.html +1 -1
  80. data/reference/Math_8hpp.html +1 -1
  81. data/reference/Platform_8hpp-source.html +1 -1
  82. data/reference/Platform_8hpp.html +1 -1
  83. data/reference/RotFlip_8hpp-source.html +1 -1
  84. data/reference/RotFlip_8hpp.html +1 -1
  85. data/reference/Sockets_8hpp-source.html +1 -1
  86. data/reference/Sockets_8hpp.html +1 -1
  87. data/reference/TextInput_8hpp-source.html +1 -1
  88. data/reference/TextInput_8hpp.html +1 -1
  89. data/reference/Text_8hpp-source.html +28 -27
  90. data/reference/Text_8hpp.html +1 -1
  91. data/reference/Timing_8hpp-source.html +1 -1
  92. data/reference/Timing_8hpp.html +1 -1
  93. data/reference/Utility_8hpp-source.html +1 -1
  94. data/reference/Utility_8hpp.html +1 -1
  95. data/reference/WinUtility_8hpp-source.html +1 -1
  96. data/reference/WinUtility_8hpp.html +1 -1
  97. data/reference/Window_8hpp-source.html +76 -68
  98. data/reference/Window_8hpp.html +1 -1
  99. data/reference/annotated.html +1 -1
  100. data/reference/classGosu_1_1Audio-members.html +1 -1
  101. data/reference/classGosu_1_1Audio.html +1 -1
  102. data/reference/classGosu_1_1Bitmap-members.html +3 -2
  103. data/reference/classGosu_1_1Bitmap.html +9 -6
  104. data/reference/classGosu_1_1Buffer-members.html +1 -1
  105. data/reference/classGosu_1_1Buffer.html +1 -1
  106. data/reference/classGosu_1_1Button-members.html +1 -1
  107. data/reference/classGosu_1_1Button.html +2 -2
  108. data/reference/classGosu_1_1Color-members.html +1 -1
  109. data/reference/classGosu_1_1Color.html +1 -1
  110. data/reference/classGosu_1_1File-members.html +1 -1
  111. data/reference/classGosu_1_1File.html +1 -1
  112. data/reference/classGosu_1_1Font-members.html +1 -1
  113. data/reference/classGosu_1_1Font.html +1 -1
  114. data/reference/classGosu_1_1Graphics-members.html +1 -1
  115. data/reference/classGosu_1_1Graphics.html +1 -1
  116. data/reference/classGosu_1_1Image-members.html +1 -1
  117. data/reference/classGosu_1_1Image.html +1 -1
  118. data/reference/classGosu_1_1ImageData-members.html +1 -1
  119. data/reference/classGosu_1_1ImageData.html +1 -1
  120. data/reference/classGosu_1_1Input-members.html +1 -1
  121. data/reference/classGosu_1_1Input.html +1 -1
  122. data/reference/classGosu_1_1MessageSocket-members.html +1 -1
  123. data/reference/classGosu_1_1MessageSocket.html +1 -1
  124. data/reference/classGosu_1_1Resource-members.html +1 -1
  125. data/reference/classGosu_1_1Resource.html +1 -1
  126. data/reference/classGosu_1_1Sample-members.html +1 -1
  127. data/reference/classGosu_1_1Sample.html +1 -1
  128. data/reference/classGosu_1_1SampleInstance-members.html +1 -1
  129. data/reference/classGosu_1_1SampleInstance.html +1 -1
  130. data/reference/classGosu_1_1Song-members.html +1 -1
  131. data/reference/classGosu_1_1Song.html +1 -1
  132. data/reference/classGosu_1_1TextInput-members.html +1 -1
  133. data/reference/classGosu_1_1TextInput.html +1 -1
  134. data/reference/classGosu_1_1Window-members.html +3 -3
  135. data/reference/classGosu_1_1Window.html +27 -9
  136. data/reference/files.html +1 -1
  137. data/reference/functions.html +10 -5
  138. data/reference/functions_enum.html +1 -1
  139. data/reference/functions_func.html +10 -5
  140. data/reference/functions_vars.html +1 -1
  141. data/reference/hierarchy.html +1 -1
  142. data/reference/index.html +1 -1
  143. data/reference/namespaceGosu.html +13 -2
  144. data/reference/namespaceGosu_1_1Colors.html +1 -1
  145. data/reference/namespaceGosu_1_1Win.html +1 -1
  146. data/reference/namespacemembers.html +1 -1
  147. data/reference/namespacemembers_enum.html +1 -1
  148. data/reference/namespacemembers_eval.html +1 -1
  149. data/reference/namespacemembers_func.html +1 -1
  150. data/reference/namespacemembers_type.html +1 -1
  151. data/reference/namespacemembers_vars.html +1 -1
  152. data/reference/namespaces.html +1 -1
  153. data/windows/Gosu.sln +2 -2
  154. data/windows/Gosu.vcproj +7 -8
  155. data/windows/RubyGosu.vcproj +5 -5
  156. metadata +14 -2
@@ -63,7 +63,7 @@
63
63
  <a name="l00047"></a>00047
64
64
  <a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
65
65
  </pre></div></div>
66
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
66
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
67
67
  <a href="http://www.doxygen.org/index.html">
68
68
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
69
69
  </body>
@@ -27,97 +27,98 @@
27
27
  <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include &lt;windows.h&gt;</span>
28
28
  <a name="l00012"></a>00012 <span class="preprocessor">#endif</span>
29
29
  <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="Fwd_8hpp.html" title="Contains declarations of all of Gosu&amp;#39;s available classes.">Gosu/Fwd.hpp</a>&gt;</span>
30
- <a name="l00014"></a>00014 <span class="preprocessor">#include &lt;<a class="code" href="Platform_8hpp.html" title="Macros and utility functions to facilitate programming on all of Gosu&amp;#39;s supported...">Gosu/Platform.hpp</a>&gt;</span>
31
- <a name="l00015"></a>00015 <span class="preprocessor">#include &lt;boost/scoped_ptr.hpp&gt;</span>
32
- <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;boost/utility.hpp&gt;</span>
33
- <a name="l00017"></a>00017 <span class="preprocessor">#include &lt;string&gt;</span>
34
- <a name="l00018"></a>00018
35
- <a name="l00019"></a>00019 <span class="keyword">namespace </span>Gosu
36
- <a name="l00020"></a>00020 {
37
- <a name="l00025"></a><a class="code" href="classGosu_1_1Audio.html">00025</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a> : boost::noncopyable
38
- <a name="l00026"></a>00026 {
39
- <a name="l00027"></a>00027 <span class="keyword">public</span>:
40
- <a name="l00028"></a>00028 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
41
- <a name="l00029"></a>00029 <span class="preprocessor"></span> <span class="keyword">explicit</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>(HWND window);
42
- <a name="l00030"></a>00030 <span class="preprocessor">#else</span>
43
- <a name="l00031"></a>00031 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
44
- <a name="l00032"></a>00032 <span class="preprocessor">#endif</span>
45
- <a name="l00033"></a>00033 <span class="preprocessor"></span> ~<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
46
- <a name="l00034"></a>00034 };
47
- <a name="l00035"></a>00035
48
- <a name="l00040"></a><a class="code" href="classGosu_1_1SampleInstance.html">00040</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a>
49
- <a name="l00041"></a>00041 {
50
- <a name="l00042"></a>00042 <span class="keywordtype">int</span> handle, extra;
51
- <a name="l00043"></a>00043 <span class="keywordtype">bool</span> alive() <span class="keyword">const</span>;
52
- <a name="l00044"></a>00044
53
- <a name="l00045"></a>00045 <span class="keyword">public</span>:
54
- <a name="l00047"></a>00047 <a class="code" href="classGosu_1_1SampleInstance.html#1dcf6b649592940d21d3d2487e510c7e" title="Called by Sample, do not use.">SampleInstance</a>(<span class="keywordtype">int</span> handle, <span class="keywordtype">int</span> extra);
55
- <a name="l00048"></a>00048
56
- <a name="l00049"></a>00049 <span class="keywordtype">bool</span> playing() <span class="keyword">const</span>;
57
- <a name="l00050"></a>00050 <span class="keywordtype">bool</span> paused() <span class="keyword">const</span>;
58
- <a name="l00051"></a>00051 <span class="keywordtype">void</span> pause();
59
- <a name="l00052"></a>00052 <span class="keywordtype">void</span> resume();
60
- <a name="l00053"></a>00053 <span class="keywordtype">void</span> stop();
61
- <a name="l00054"></a>00054
62
- <a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#bb54d7569ac18cdad24da5d538cca1b5">changeVolume</a>(<span class="keywordtype">double</span> volume);
63
- <a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#def37ef2af53716fb0b10e06263468d0">changePan</a>(<span class="keywordtype">double</span> pan);
64
- <a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#3de21bed437c846734cf06243a5db112">changeSpeed</a>(<span class="keywordtype">double</span> speed);
65
- <a name="l00064"></a>00064 };
66
- <a name="l00065"></a>00065
67
- <a name="l00069"></a><a class="code" href="classGosu_1_1Sample.html">00069</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>
68
- <a name="l00070"></a>00070 {
69
- <a name="l00071"></a>00071 <span class="keyword">struct </span>SampleData;
70
- <a name="l00072"></a>00072 boost::scoped_ptr&lt;SampleData&gt; data;
71
- <a name="l00073"></a>00073
72
- <a name="l00074"></a>00074 <span class="keyword">public</span>:
73
- <a name="l00077"></a>00077 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<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> std::wstring&amp; filename);
74
- <a name="l00078"></a>00078
75
- <a name="l00081"></a>00081 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio, Reader reader);
76
- <a name="l00082"></a>00082
77
- <a name="l00083"></a>00083 ~<a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>();
78
- <a name="l00084"></a>00084
79
- <a name="l00091"></a>00091 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8" title="Plays the sample without panning.">play</a>(<span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
80
- <a name="l00092"></a>00092 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
81
- <a name="l00093"></a>00093
82
- <a name="l00103"></a>00103 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#13032b78fa19f7324035c6fbee6e5069" title="Plays the sample with panning.">playPan</a>(<span class="keywordtype">double</span> pan, <span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
83
- <a name="l00104"></a>00104 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
84
- <a name="l00105"></a>00105 };
85
- <a name="l00106"></a>00106
86
- <a name="l00109"></a><a class="code" href="classGosu_1_1Song.html">00109</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>
87
- <a name="l00110"></a>00110 {
88
- <a name="l00111"></a>00111 <span class="keyword">class </span>BaseData;
89
- <a name="l00112"></a>00112 <span class="keyword">class </span>ModuleData;
90
- <a name="l00113"></a>00113 <span class="keyword">class </span>StreamData;
91
- <a name="l00114"></a>00114 boost::scoped_ptr&lt;BaseData&gt; data;
92
- <a name="l00115"></a>00115
93
- <a name="l00116"></a>00116 <span class="keyword">public</span>:
94
- <a name="l00119"></a><a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">00119</a> <span class="keyword">enum</span> <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a>
95
- <a name="l00120"></a>00120 {
96
- <a name="l00121"></a>00121 stStream,
97
- <a name="l00122"></a>00122 stModule
98
- <a name="l00123"></a>00123 };
99
- <a name="l00124"></a>00124
100
- <a name="l00128"></a>00128 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp;, <span class="keyword">const</span> std::wstring&amp; filename);
101
- <a name="l00129"></a>00129
102
- <a name="l00132"></a>00132 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp;, <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a> type, Reader reader);
103
- <a name="l00133"></a>00133
104
- <a name="l00134"></a>00134 ~<a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>();
105
- <a name="l00135"></a>00135
106
- <a name="l00139"></a>00139 <span class="keyword">static</span> <a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>* <a class="code" href="classGosu_1_1Song.html#3f6c94bd9ea9522430d6e0d1e1e64250" title="Returns the song currently being played or paused, or 0 if no song has been played...">currentSong</a>();
107
- <a name="l00140"></a>00140
108
- <a name="l00143"></a>00143 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#6b9cb7b452a737455e8cf4e7d90acff9" title="Starts or resumes playback of the song.">play</a>(<span class="keywordtype">bool</span> looping = <span class="keyword">false</span>);
109
- <a name="l00146"></a>00146 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#9ae053fbee6f240d2793fab3fa4ef596" title="Pauses playback of the song.">pause</a>();
110
- <a name="l00149"></a>00149 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#a0d611bf37c19086797c9e46e001e092" title="Returns true if the song is the current song, but in paused mode.">paused</a>() <span class="keyword">const</span>;
111
- <a name="l00152"></a>00152 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#469a3cf49be8ebec2c9855dec46f5f71" title="Stops playback of this song if it is currently played or paused.">stop</a>();
112
- <a name="l00154"></a>00154 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#c83d4b509149c2b1fb48ad697fb1adf3" title="Returns if the song is currently playing.">playing</a>() <span class="keyword">const</span>;
113
- <a name="l00156"></a>00156 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>() <span class="keyword">const</span>;
114
- <a name="l00158"></a>00158 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#e460032103a9ddb7e0dd50f53fb9d36e" title="Changes the volume of the song.">changeVolume</a>(<span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>);
115
- <a name="l00159"></a>00159 };
116
- <a name="l00160"></a>00160 }
117
- <a name="l00161"></a>00161
118
- <a name="l00162"></a>00162 <span class="preprocessor">#endif</span>
30
+ <a name="l00014"></a>00014 <span class="preprocessor">#include &lt;<a class="code" href="IO_8hpp.html" title="Contains everything related to input and output.">Gosu/IO.hpp</a>&gt;</span>
31
+ <a name="l00015"></a>00015 <span class="preprocessor">#include &lt;<a class="code" href="Platform_8hpp.html" title="Macros and utility functions to facilitate programming on all of Gosu&amp;#39;s supported...">Gosu/Platform.hpp</a>&gt;</span>
32
+ <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;boost/scoped_ptr.hpp&gt;</span>
33
+ <a name="l00017"></a>00017 <span class="preprocessor">#include &lt;boost/utility.hpp&gt;</span>
34
+ <a name="l00018"></a>00018 <span class="preprocessor">#include &lt;string&gt;</span>
35
+ <a name="l00019"></a>00019
36
+ <a name="l00020"></a>00020 <span class="keyword">namespace </span>Gosu
37
+ <a name="l00021"></a>00021 {
38
+ <a name="l00026"></a><a class="code" href="classGosu_1_1Audio.html">00026</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a> : boost::noncopyable
39
+ <a name="l00027"></a>00027 {
40
+ <a name="l00028"></a>00028 <span class="keyword">public</span>:
41
+ <a name="l00029"></a>00029 <span class="preprocessor">#ifdef GOSU_IS_WIN</span>
42
+ <a name="l00030"></a>00030 <span class="preprocessor"></span> <span class="keyword">explicit</span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>(HWND window);
43
+ <a name="l00031"></a>00031 <span class="preprocessor">#else</span>
44
+ <a name="l00032"></a>00032 <span class="preprocessor"></span> <a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
45
+ <a name="l00033"></a>00033 <span class="preprocessor">#endif</span>
46
+ <a name="l00034"></a>00034 <span class="preprocessor"></span> ~<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>();
47
+ <a name="l00035"></a>00035 };
48
+ <a name="l00036"></a>00036
49
+ <a name="l00041"></a><a class="code" href="classGosu_1_1SampleInstance.html">00041</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a>
50
+ <a name="l00042"></a>00042 {
51
+ <a name="l00043"></a>00043 <span class="keywordtype">int</span> handle, extra;
52
+ <a name="l00044"></a>00044 <span class="keywordtype">bool</span> alive() <span class="keyword">const</span>;
53
+ <a name="l00045"></a>00045
54
+ <a name="l00046"></a>00046 <span class="keyword">public</span>:
55
+ <a name="l00048"></a>00048 <a class="code" href="classGosu_1_1SampleInstance.html#1dcf6b649592940d21d3d2487e510c7e" title="Called by Sample, do not use.">SampleInstance</a>(<span class="keywordtype">int</span> handle, <span class="keywordtype">int</span> extra);
56
+ <a name="l00049"></a>00049
57
+ <a name="l00050"></a>00050 <span class="keywordtype">bool</span> playing() <span class="keyword">const</span>;
58
+ <a name="l00051"></a>00051 <span class="keywordtype">bool</span> paused() <span class="keyword">const</span>;
59
+ <a name="l00052"></a>00052 <span class="keywordtype">void</span> pause();
60
+ <a name="l00053"></a>00053 <span class="keywordtype">void</span> resume();
61
+ <a name="l00054"></a>00054 <span class="keywordtype">void</span> stop();
62
+ <a name="l00055"></a>00055
63
+ <a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#bb54d7569ac18cdad24da5d538cca1b5">changeVolume</a>(<span class="keywordtype">double</span> volume);
64
+ <a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#def37ef2af53716fb0b10e06263468d0">changePan</a>(<span class="keywordtype">double</span> pan);
65
+ <a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1SampleInstance.html#3de21bed437c846734cf06243a5db112">changeSpeed</a>(<span class="keywordtype">double</span> speed);
66
+ <a name="l00065"></a>00065 };
67
+ <a name="l00066"></a>00066
68
+ <a name="l00070"></a><a class="code" href="classGosu_1_1Sample.html">00070</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>
69
+ <a name="l00071"></a>00071 {
70
+ <a name="l00072"></a>00072 <span class="keyword">struct </span>SampleData;
71
+ <a name="l00073"></a>00073 boost::scoped_ptr&lt;SampleData&gt; data;
72
+ <a name="l00074"></a>00074
73
+ <a name="l00075"></a>00075 <span class="keyword">public</span>:
74
+ <a name="l00078"></a>00078 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<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> std::wstring&amp; filename);
75
+ <a name="l00079"></a>00079
76
+ <a name="l00082"></a>00082 <a class="code" href="classGosu_1_1Sample.html#11aa4cd7de748370c9352970660619bf" title="Constructs a sample that can be played on the specified audio system and loads the...">Sample</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp; audio, Reader reader);
77
+ <a name="l00083"></a>00083
78
+ <a name="l00084"></a>00084 ~<a class="code" href="classGosu_1_1Sample.html" title="A sample is a short sound that is completely loaded in memory, can be played multiple...">Sample</a>();
79
+ <a name="l00085"></a>00085
80
+ <a name="l00092"></a>00092 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#190b3cc66e2115c7ed0390c47769c1b8" title="Plays the sample without panning.">play</a>(<span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
81
+ <a name="l00093"></a>00093 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
82
+ <a name="l00094"></a>00094
83
+ <a name="l00104"></a>00104 <a class="code" href="classGosu_1_1SampleInstance.html" title="An instance of a Sample playing.">SampleInstance</a> <a class="code" href="classGosu_1_1Sample.html#13032b78fa19f7324035c6fbee6e5069" title="Plays the sample with panning.">playPan</a>(<span class="keywordtype">double</span> pan, <span class="keywordtype">double</span> volume = 1, <span class="keywordtype">double</span> speed = 1,
84
+ <a name="l00105"></a>00105 <span class="keywordtype">bool</span> looping = <span class="keyword">false</span>) <span class="keyword">const</span>;
85
+ <a name="l00106"></a>00106 };
86
+ <a name="l00107"></a>00107
87
+ <a name="l00110"></a><a class="code" href="classGosu_1_1Song.html">00110</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>
88
+ <a name="l00111"></a>00111 {
89
+ <a name="l00112"></a>00112 <span class="keyword">class </span>BaseData;
90
+ <a name="l00113"></a>00113 <span class="keyword">class </span>ModuleData;
91
+ <a name="l00114"></a>00114 <span class="keyword">class </span>StreamData;
92
+ <a name="l00115"></a>00115 boost::scoped_ptr&lt;BaseData&gt; data;
93
+ <a name="l00116"></a>00116
94
+ <a name="l00117"></a>00117 <span class="keyword">public</span>:
95
+ <a name="l00120"></a><a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f">00120</a> <span class="keyword">enum</span> <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a>
96
+ <a name="l00121"></a>00121 {
97
+ <a name="l00122"></a>00122 stStream,
98
+ <a name="l00123"></a>00123 stModule
99
+ <a name="l00124"></a>00124 };
100
+ <a name="l00125"></a>00125
101
+ <a name="l00129"></a>00129 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp;, <span class="keyword">const</span> std::wstring&amp; filename);
102
+ <a name="l00130"></a>00130
103
+ <a name="l00133"></a>00133 <a class="code" href="classGosu_1_1Song.html#ef65dfe9e74d33480375481d47eee408" title="Constructs a song that can be played on the provided audio system and loads the song...">Song</a>(<a class="code" href="classGosu_1_1Audio.html" title="Manages initialization and finalization of audio libraries.">Audio</a>&amp;, <a class="code" href="classGosu_1_1Song.html#ec4c76bfe19e210da34bcaa286af605f" title="There are two types of songs that can be loaded as a Song: Streamed songs (like OGG)...">Type</a> type, Reader reader);
104
+ <a name="l00134"></a>00134
105
+ <a name="l00135"></a>00135 ~<a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>();
106
+ <a name="l00136"></a>00136
107
+ <a name="l00140"></a>00140 <span class="keyword">static</span> <a class="code" href="classGosu_1_1Song.html" title="Songs are less flexible than samples in that they can only be played one at a time...">Song</a>* <a class="code" href="classGosu_1_1Song.html#3f6c94bd9ea9522430d6e0d1e1e64250" title="Returns the song currently being played or paused, or 0 if no song has been played...">currentSong</a>();
108
+ <a name="l00141"></a>00141
109
+ <a name="l00144"></a>00144 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#6b9cb7b452a737455e8cf4e7d90acff9" title="Starts or resumes playback of the song.">play</a>(<span class="keywordtype">bool</span> looping = <span class="keyword">false</span>);
110
+ <a name="l00147"></a>00147 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#9ae053fbee6f240d2793fab3fa4ef596" title="Pauses playback of the song.">pause</a>();
111
+ <a name="l00150"></a>00150 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#a0d611bf37c19086797c9e46e001e092" title="Returns true if the song is the current song, but in paused mode.">paused</a>() <span class="keyword">const</span>;
112
+ <a name="l00153"></a>00153 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#469a3cf49be8ebec2c9855dec46f5f71" title="Stops playback of this song if it is currently played or paused.">stop</a>();
113
+ <a name="l00155"></a>00155 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Song.html#c83d4b509149c2b1fb48ad697fb1adf3" title="Returns if the song is currently playing.">playing</a>() <span class="keyword">const</span>;
114
+ <a name="l00157"></a>00157 <span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>() <span class="keyword">const</span>;
115
+ <a name="l00159"></a>00159 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Song.html#e460032103a9ddb7e0dd50f53fb9d36e" title="Changes the volume of the song.">changeVolume</a>(<span class="keywordtype">double</span> <a class="code" href="classGosu_1_1Song.html#ab8e8a273b5ea235ad9f48dee684c683" title="Returns the current volume of the song.">volume</a>);
116
+ <a name="l00160"></a>00160 };
117
+ <a name="l00161"></a>00161 }
118
+ <a name="l00162"></a>00162
119
+ <a name="l00163"></a>00163 <span class="preprocessor">#endif</span>
119
120
  </pre></div></div>
120
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
121
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
121
122
  <a href="http://www.doxygen.org/index.html">
122
123
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
123
124
  </body>
@@ -43,7 +43,7 @@
43
43
  Contains all the classes of Gosu's audio system.
44
44
  <p>
45
45
  </div>
46
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
46
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
@@ -31,7 +31,7 @@
31
31
  <a name="l00015"></a>00015 <span class="preprocessor">#endif</span>
32
32
  <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
33
33
  </pre></div></div>
34
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
34
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
35
35
  <a href="http://www.doxygen.org/index.html">
36
36
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
37
37
  </body>
@@ -27,7 +27,7 @@
27
27
  Contains pragmas that make MSVC link against all the necessary libraries automatically.
28
28
  <p>
29
29
  </div>
30
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
30
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
31
31
  <a href="http://www.doxygen.org/index.html">
32
32
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
33
33
  </body>
@@ -56,29 +56,28 @@
56
56
  <a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Bitmap.html#fe59c7aed8ffadefb136eff87326c13e" title="Inserts a bitmap at the given position.">insert</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; source, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> srcX,
57
57
  <a name="l00055"></a>00055 <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight);
58
58
  <a name="l00056"></a>00056
59
- <a name="l00057"></a>00057 <span class="preprocessor"> #ifndef __BIG_ENDIAN__</span>
60
- <a name="l00059"></a><a class="code" href="classGosu_1_1Bitmap.html#1eab4186d0c6b539f9b94e0f70778e25">00059</a> <span class="preprocessor"> const unsigned* glCompatibleData() const { return reinterpret_cast&lt;const unsigned*&gt;(&amp;pixels[0]); }</span>
61
- <a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
62
- <a name="l00061"></a>00061 <span class="preprocessor"></span> };
59
+ <a name="l00059"></a><a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe">00059</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span>* <a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe" title="Direct access to the array of color values.">data</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">unsigned</span>*<span class="keyword">&gt;</span>(&amp;pixels[0]); }
60
+ <a name="l00060"></a>00060 <span class="keywordtype">unsigned</span>* <a class="code" href="classGosu_1_1Bitmap.html#f20320b33058d6a54aa31fc4c99a65fe" title="Direct access to the array of color values.">data</a>() { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">unsigned</span>*<span class="keyword">&gt;</span>(&amp;pixels[0]); }
61
+ <a name="l00061"></a>00061 };
63
62
  <a name="l00062"></a>00062
64
- <a name="l00064"></a>00064 Reader <a class="code" href="namespaceGosu.html#5eb2a400728e57559f35615af17ead55" title="Loads a Windows or OS/2 BMP file into the given bitmap.">loadFromBMP</a>(<a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; bmp, Reader reader);
65
- <a name="l00066"></a>00066 Writer <a class="code" href="namespaceGosu.html#88c53b6073e06c2ce343bf49579b02de" title="Saves the contents of the given bitmap into windows BMP file data.">saveToBMP</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; bmp, Writer writer);
66
- <a name="l00068"></a>00068 Reader <a class="code" href="namespaceGosu.html#1be1c9db6a1ecf3b5c62797079e49e70" title="Loads a PNG file into the given bitmap.">loadFromPNG</a>(<a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; bmp, Reader reader);
67
- <a name="l00070"></a>00070 Writer <a class="code" href="namespaceGosu.html#7c1a78c796335d8f2183a6694a911eb7" title="Saves the contents of the given bitmap into PNG file data, 24 bits.">saveToPNG</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; bmp, Writer writer);
63
+ <a name="l00064"></a>00064 Reader <a class="code" href="namespaceGosu.html#5eb2a400728e57559f35615af17ead55" title="Loads a Windows or OS/2 BMP file into the given bitmap.">loadFromBMP</a>(Bitmap&amp; bmp, Reader reader);
64
+ <a name="l00066"></a>00066 Writer <a class="code" href="namespaceGosu.html#88c53b6073e06c2ce343bf49579b02de" title="Saves the contents of the given bitmap into windows BMP file data.">saveToBMP</a>(<span class="keyword">const</span> Bitmap&amp; bmp, Writer writer);
65
+ <a name="l00068"></a>00068 Reader <a class="code" href="namespaceGosu.html#1be1c9db6a1ecf3b5c62797079e49e70" title="Loads a PNG file into the given bitmap.">loadFromPNG</a>(Bitmap&amp; bmp, Reader reader);
66
+ <a name="l00070"></a>00070 Writer <a class="code" href="namespaceGosu.html#7c1a78c796335d8f2183a6694a911eb7" title="Saves the contents of the given bitmap into PNG file data, 24 bits.">saveToPNG</a>(<span class="keyword">const</span> Bitmap&amp; bmp, Writer writer);
68
67
  <a name="l00071"></a>00071
69
- <a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="namespaceGosu.html#97ea4128d29b9835243e69939085bfa5" title="Set the alpha value of all pixels which are equal to the color key to zero.">applyColorKey</a>(<a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; bitmap, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> key);
68
+ <a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="namespaceGosu.html#97ea4128d29b9835243e69939085bfa5" title="Set the alpha value of all pixels which are equal to the color key to zero.">applyColorKey</a>(Bitmap&amp; bitmap, Color key);
70
69
  <a name="l00076"></a>00076
71
- <a name="l00077"></a>00077 <span class="keywordtype">void</span> applyBorderFlags(<a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; dest, <span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; source,
70
+ <a name="l00077"></a>00077 <span class="keywordtype">void</span> applyBorderFlags(Bitmap&amp; dest, <span class="keyword">const</span> Bitmap&amp; source,
72
71
  <a name="l00078"></a>00078 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
73
72
  <a name="l00079"></a>00079 <span class="keywordtype">unsigned</span> borderFlags);
74
73
  <a name="l00080"></a>00080
75
74
  <a name="l00081"></a>00081 <span class="comment">// Still to be moved around &amp; undocumented, beware! (TODO)</span>
76
- <a name="l00082"></a>00082 <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a> quickLoadBitmap(<span class="keyword">const</span> std::wstring&amp; filename);
75
+ <a name="l00082"></a>00082 Bitmap quickLoadBitmap(<span class="keyword">const</span> std::wstring&amp; filename);
77
76
  <a name="l00083"></a>00083 }
78
77
  <a name="l00084"></a>00084
79
78
  <a name="l00085"></a>00085 <span class="preprocessor">#endif</span>
80
79
  </pre></div></div>
81
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
80
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
82
81
  <a href="http://www.doxygen.org/index.html">
83
82
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
84
83
  </body>
@@ -51,7 +51,7 @@ Bitmap&nbsp;</td><td class="memItemRight" valign="bottom"><b>Gosu::quickLoadBitm
51
51
  Interface of the Bitmap class.
52
52
  <p>
53
53
  </div>
54
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
54
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
55
55
  <a href="http://www.doxygen.org/index.html">
56
56
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
57
57
  </body>
@@ -152,7 +152,7 @@
152
152
  <a name="l00139"></a>00139
153
153
  <a name="l00140"></a>00140 <span class="preprocessor">#endif</span>
154
154
  </pre></div></div>
155
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
155
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
156
156
  <a href="http://www.doxygen.org/index.html">
157
157
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
158
158
  </body>
@@ -152,7 +152,7 @@
152
152
  <a name="l00136"></a>00136
153
153
  <a name="l00137"></a>00137 <span class="preprocessor">#endif</span>
154
154
  </pre></div></div>
155
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
155
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
156
156
  <a href="http://www.doxygen.org/index.html">
157
157
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
158
158
  </body>
@@ -153,7 +153,7 @@
153
153
  <a name="l00140"></a>00140 <span class="preprocessor">#endif</span>
154
154
  <a name="l00141"></a>00141 <span class="preprocessor"></span>
155
155
  </pre></div></div>
156
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
156
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
157
157
  <a href="http://www.doxygen.org/index.html">
158
158
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
159
159
  </body>
@@ -162,7 +162,7 @@
162
162
  <a name="l00171"></a>00171
163
163
  <a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
164
164
  </pre></div></div>
165
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
165
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
166
166
  <a href="http://www.doxygen.org/index.html">
167
167
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
168
168
  </body>
@@ -78,7 +78,7 @@ const Color&nbsp;</td><td class="memItemRight" valign="bottom"><b>Gosu::Colors::
78
78
  Interface of the Color class.
79
79
  <p>
80
80
  </div>
81
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
81
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
82
82
  <a href="http://www.doxygen.org/index.html">
83
83
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
84
84
  </body>
@@ -35,7 +35,7 @@
35
35
  <a name="l00035"></a>00035
36
36
  <a name="l00036"></a>00036 <span class="preprocessor">#endif</span>
37
37
  </pre></div></div>
38
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
38
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
@@ -39,7 +39,7 @@
39
39
  Access to a small set of system paths.
40
40
  <p>
41
41
  </div>
42
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
42
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
@@ -58,7 +58,7 @@
58
58
  <a name="l00058"></a>00058
59
59
  <a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
60
60
  </pre></div></div>
61
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
61
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
62
62
  <a href="http://www.doxygen.org/index.html">
63
63
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
64
64
  </body>
@@ -34,7 +34,7 @@
34
34
  Interface of the Font class.
35
35
  <p>
36
36
  </div>
37
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 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>
@@ -45,7 +45,7 @@
45
45
  <a name="l00030"></a>00030
46
46
  <a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
47
47
  </pre></div></div>
48
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
48
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
49
49
  <a href="http://www.doxygen.org/index.html">
50
50
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
51
51
  </body>
@@ -30,7 +30,7 @@
30
30
  Contains declarations of all of Gosu's available classes.
31
31
  <p>
32
32
  </div>
33
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
33
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
34
34
  <a href="http://www.doxygen.org/index.html">
35
35
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
36
36
  </body>
@@ -42,7 +42,7 @@
42
42
  <a name="l00026"></a>00026
43
43
  <a name="l00027"></a>00027 <span class="preprocessor">#endif</span>
44
44
  </pre></div></div>
45
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
45
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
46
46
  <a href="http://www.doxygen.org/index.html">
47
47
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
48
48
  </body>
@@ -27,7 +27,7 @@
27
27
  Umbrella header for lazy people with fast compilers, or pre-compiled headers.
28
28
  <p>
29
29
  </div>
30
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
30
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
31
31
  <a href="http://www.doxygen.org/index.html">
32
32
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
33
33
  </body>
@@ -52,7 +52,7 @@
52
52
  <a name="l00049"></a>00049
53
53
  <a name="l00050"></a>00050 <span class="preprocessor">#endif</span>
54
54
  </pre></div></div>
55
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
55
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
56
56
  <a href="http://www.doxygen.org/index.html">
57
57
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
58
58
  </body>
@@ -52,7 +52,7 @@
52
52
  Contains general typedefs and enums related to graphics.
53
53
  <p>
54
54
  </div>
55
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
55
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
56
56
  <a href="http://www.doxygen.org/index.html">
57
57
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
58
58
  </body>
@@ -28,68 +28,71 @@
28
28
  <a name="l00012"></a>00012
29
29
  <a name="l00013"></a>00013 <span class="keyword">namespace </span>Gosu
30
30
  <a name="l00014"></a>00014 {
31
- <a name="l00016"></a><a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82">00016</a> <span class="keyword">enum</span> <a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82" title="Flags that affect the softness of a border.">BorderFlags</a>
32
- <a name="l00017"></a>00017 {
33
- <a name="l00018"></a>00018 bfSoft = 0,
34
- <a name="l00019"></a>00019 bfHardLeft = 1,
35
- <a name="l00020"></a>00020 bfHardTop = 2,
36
- <a name="l00021"></a>00021 bfHardRight = 4,
37
- <a name="l00022"></a>00022 bfHardBottom = 8,
38
- <a name="l00023"></a>00023 bfHard = bfHardLeft | bfHardTop | bfHardRight | bfHardBottom
39
- <a name="l00024"></a>00024 };
40
- <a name="l00025"></a>00025
41
- <a name="l00029"></a><a class="code" href="classGosu_1_1Graphics.html">00029</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>
42
- <a name="l00030"></a>00030 {
43
- <a name="l00031"></a>00031 <span class="keyword">struct </span>Impl;
44
- <a name="l00032"></a>00032 boost::scoped_ptr&lt;Impl&gt; pimpl;
45
- <a name="l00033"></a>00033
46
- <a name="l00034"></a>00034 <span class="keyword">public</span>:
47
- <a name="l00035"></a>00035 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>(<span class="keywordtype">unsigned</span> physicalWidth, <span class="keywordtype">unsigned</span> physicalHeight, <span class="keywordtype">bool</span> fullscreen);
48
- <a name="l00036"></a>00036 ~<a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>();
49
- <a name="l00037"></a>00037
50
- <a name="l00038"></a>00038 <span class="comment">// Undocumented until I have thought about this...</span>
51
- <a name="l00039"></a>00039 <span class="keywordtype">double</span> factorX() <span class="keyword">const</span>;
52
- <a name="l00040"></a>00040 <span class="keywordtype">double</span> factorY() <span class="keyword">const</span>;
53
- <a name="l00041"></a>00041 <span class="keywordtype">void</span> setResolution(<span class="keywordtype">unsigned</span> virtualWidth, <span class="keywordtype">unsigned</span> virtualHeight);
54
- <a name="l00042"></a>00042 <span class="comment">// End of Undocumented</span>
55
- <a name="l00043"></a>00043
56
- <a name="l00044"></a>00044 <span class="keywordtype">unsigned</span> width() <span class="keyword">const</span>;
57
- <a name="l00045"></a>00045 <span class="keywordtype">unsigned</span> height() <span class="keyword">const</span>;
58
- <a name="l00046"></a>00046 <span class="keywordtype">bool</span> fullscreen() <span class="keyword">const</span>;
59
- <a name="l00047"></a>00047
60
- <a name="l00050"></a>00050 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = Colors::black);
61
- <a name="l00052"></a>00052 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#ddeab66c3a18c0a12df43067de841b71" title="Every call to begin must have a matching call to end.">end</a>();
62
- <a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#207f436a09bd02e11ddc474565912135" title="Finishes all pending Gosu drawing operations and executes the following OpenGL code...">beginGL</a>();
63
- <a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#3e37d9b17e55fa5f6d3ad6116759364f" title="Resets Gosu into its default rendering state.">endGL</a>();
64
- <a name="l00058"></a>00058 <span class="comment">// Enables clipping to a specified rectangle.</span>
65
- <a name="l00059"></a>00059 <span class="keywordtype">void</span> beginClipping(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height);
66
- <a name="l00060"></a>00060 <span class="comment">// Disables clipping.</span>
67
- <a name="l00061"></a>00061 <span class="keywordtype">void</span> endClipping();
68
- <a name="l00062"></a>00062
69
- <a name="l00063"></a>00063 <span class="keywordtype">void</span> drawLine(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
70
- <a name="l00064"></a>00064 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
71
- <a name="l00065"></a>00065 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
72
- <a name="l00066"></a>00066
73
- <a name="l00067"></a>00067 <span class="keywordtype">void</span> drawTriangle(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
74
- <a name="l00068"></a>00068 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
75
- <a name="l00069"></a>00069 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
76
- <a name="l00070"></a>00070 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
77
- <a name="l00071"></a>00071
78
- <a name="l00072"></a>00072 <span class="keywordtype">void</span> drawQuad(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
79
- <a name="l00073"></a>00073 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
80
- <a name="l00074"></a>00074 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
81
- <a name="l00075"></a>00075 <span class="keywordtype">double</span> x4, <span class="keywordtype">double</span> y4, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c4,
82
- <a name="l00076"></a>00076 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
83
- <a name="l00077"></a>00077
84
- <a name="l00080"></a>00080 std::auto_ptr&lt;ImageData&gt; <a class="code" href="classGosu_1_1Graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">createImage</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; src,
85
- <a name="l00081"></a>00081 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
86
- <a name="l00082"></a>00082 <span class="keywordtype">unsigned</span> borderFlags);
87
- <a name="l00083"></a>00083 };
88
- <a name="l00084"></a>00084 }
89
- <a name="l00085"></a>00085
90
- <a name="l00086"></a>00086 <span class="preprocessor">#endif</span>
31
+ <a name="l00015"></a>00015 <span class="keywordtype">unsigned</span> screenWidth();
32
+ <a name="l00016"></a>00016 <span class="keywordtype">unsigned</span> screenHeight();
33
+ <a name="l00017"></a>00017
34
+ <a name="l00019"></a><a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82">00019</a> <span class="keyword">enum</span> <a class="code" href="namespaceGosu.html#3b7f4d1f697d86c584543e455faeef82" title="Flags that affect the softness of a border.">BorderFlags</a>
35
+ <a name="l00020"></a>00020 {
36
+ <a name="l00021"></a>00021 bfSoft = 0,
37
+ <a name="l00022"></a>00022 bfHardLeft = 1,
38
+ <a name="l00023"></a>00023 bfHardTop = 2,
39
+ <a name="l00024"></a>00024 bfHardRight = 4,
40
+ <a name="l00025"></a>00025 bfHardBottom = 8,
41
+ <a name="l00026"></a>00026 bfHard = bfHardLeft | bfHardTop | bfHardRight | bfHardBottom
42
+ <a name="l00027"></a>00027 };
43
+ <a name="l00028"></a>00028
44
+ <a name="l00032"></a><a class="code" href="classGosu_1_1Graphics.html">00032</a> <span class="keyword">class </span><a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>
45
+ <a name="l00033"></a>00033 {
46
+ <a name="l00034"></a>00034 <span class="keyword">struct </span>Impl;
47
+ <a name="l00035"></a>00035 boost::scoped_ptr&lt;Impl&gt; pimpl;
48
+ <a name="l00036"></a>00036
49
+ <a name="l00037"></a>00037 <span class="keyword">public</span>:
50
+ <a name="l00038"></a>00038 <a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>(<span class="keywordtype">unsigned</span> physicalWidth, <span class="keywordtype">unsigned</span> physicalHeight, <span class="keywordtype">bool</span> fullscreen);
51
+ <a name="l00039"></a>00039 ~<a class="code" href="classGosu_1_1Graphics.html" title="Serves as the target of all drawing and provides basic drawing functionality.">Graphics</a>();
52
+ <a name="l00040"></a>00040
53
+ <a name="l00041"></a>00041 <span class="comment">// Undocumented until I have thought about this...</span>
54
+ <a name="l00042"></a>00042 <span class="keywordtype">double</span> factorX() <span class="keyword">const</span>;
55
+ <a name="l00043"></a>00043 <span class="keywordtype">double</span> factorY() <span class="keyword">const</span>;
56
+ <a name="l00044"></a>00044 <span class="keywordtype">void</span> setResolution(<span class="keywordtype">unsigned</span> virtualWidth, <span class="keywordtype">unsigned</span> virtualHeight);
57
+ <a name="l00045"></a>00045 <span class="comment">// End of Undocumented</span>
58
+ <a name="l00046"></a>00046
59
+ <a name="l00047"></a>00047 <span class="keywordtype">unsigned</span> width() <span class="keyword">const</span>;
60
+ <a name="l00048"></a>00048 <span class="keywordtype">unsigned</span> height() <span class="keyword">const</span>;
61
+ <a name="l00049"></a>00049 <span class="keywordtype">bool</span> fullscreen() <span class="keyword">const</span>;
62
+ <a name="l00050"></a>00050
63
+ <a name="l00053"></a>00053 <span class="keywordtype">bool</span> <a class="code" href="classGosu_1_1Graphics.html#5cf453663573a90f6709146cefe4b9cd" title="Prepares the graphics object for drawing.">begin</a>(<a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> clearWithColor = Colors::black);
64
+ <a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#ddeab66c3a18c0a12df43067de841b71" title="Every call to begin must have a matching call to end.">end</a>();
65
+ <a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#207f436a09bd02e11ddc474565912135" title="Finishes all pending Gosu drawing operations and executes the following OpenGL code...">beginGL</a>();
66
+ <a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="classGosu_1_1Graphics.html#3e37d9b17e55fa5f6d3ad6116759364f" title="Resets Gosu into its default rendering state.">endGL</a>();
67
+ <a name="l00061"></a>00061 <span class="comment">// Enables clipping to a specified rectangle.</span>
68
+ <a name="l00062"></a>00062 <span class="keywordtype">void</span> beginClipping(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">unsigned</span> width, <span class="keywordtype">unsigned</span> height);
69
+ <a name="l00063"></a>00063 <span class="comment">// Disables clipping.</span>
70
+ <a name="l00064"></a>00064 <span class="keywordtype">void</span> endClipping();
71
+ <a name="l00065"></a>00065
72
+ <a name="l00066"></a>00066 <span class="keywordtype">void</span> drawLine(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
73
+ <a name="l00067"></a>00067 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
74
+ <a name="l00068"></a>00068 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
75
+ <a name="l00069"></a>00069
76
+ <a name="l00070"></a>00070 <span class="keywordtype">void</span> drawTriangle(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
77
+ <a name="l00071"></a>00071 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
78
+ <a name="l00072"></a>00072 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
79
+ <a name="l00073"></a>00073 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
80
+ <a name="l00074"></a>00074
81
+ <a name="l00075"></a>00075 <span class="keywordtype">void</span> drawQuad(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> y1, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c1,
82
+ <a name="l00076"></a>00076 <span class="keywordtype">double</span> x2, <span class="keywordtype">double</span> y2, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c2,
83
+ <a name="l00077"></a>00077 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> y3, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c3,
84
+ <a name="l00078"></a>00078 <span class="keywordtype">double</span> x4, <span class="keywordtype">double</span> y4, <a class="code" href="classGosu_1_1Color.html" title="Represents an ARGB color value with 8 bits for each channel.">Color</a> c4,
85
+ <a name="l00079"></a>00079 <a class="code" href="namespaceGosu.html#a2fd8fe9574c0ad3fd52557cb160be49" title="Represents the Z position of something drawn with Gosu&amp;#39;s graphics system.">ZPos</a> z, <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9" title="Determines the way colors are combined when one is drawn onto another.">AlphaMode</a> mode = <a class="code" href="namespaceGosu.html#769656b1f560bc3d1bbdb47f8ca4eda9d1661cf5d3ba68fcbdca99f9dcc832e0" title="The color&amp;#39;s channels will be interpolated.">amDefault</a>);
86
+ <a name="l00080"></a>00080
87
+ <a name="l00083"></a>00083 std::auto_ptr&lt;ImageData&gt; <a class="code" href="classGosu_1_1Graphics.html#6b10629453eec979500179e4ceb11434" title="Turns a portion of a bitmap into something that can be drawn on this graphics object...">createImage</a>(<span class="keyword">const</span> <a class="code" href="classGosu_1_1Bitmap.html" title="Rectangular area of pixels, each represented by a Color value.">Bitmap</a>&amp; src,
88
+ <a name="l00084"></a>00084 <span class="keywordtype">unsigned</span> srcX, <span class="keywordtype">unsigned</span> srcY, <span class="keywordtype">unsigned</span> srcWidth, <span class="keywordtype">unsigned</span> srcHeight,
89
+ <a name="l00085"></a>00085 <span class="keywordtype">unsigned</span> borderFlags);
90
+ <a name="l00086"></a>00086 };
91
+ <a name="l00087"></a>00087 }
92
+ <a name="l00088"></a>00088
93
+ <a name="l00089"></a>00089 <span class="preprocessor">#endif</span>
91
94
  </pre></div></div>
92
- <hr size="1"><address style="text-align: right;"><small>Generated on Sat Feb 7 22:34:53 2009 for Gosu by&nbsp;
95
+ <hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 17 23:35:43 2009 for Gosu by&nbsp;
93
96
  <a href="http://www.doxygen.org/index.html">
94
97
  <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
95
98
  </body>