gosu 0.7.13 → 0.7.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. data/COPYING.txt +4 -2
  2. data/Gosu/Audio.hpp +8 -5
  3. data/Gosu/Font.hpp +5 -3
  4. data/Gosu/Gosu.hpp +6 -0
  5. data/Gosu/Graphics.hpp +6 -13
  6. data/Gosu/GraphicsBase.hpp +14 -3
  7. data/Gosu/IO.hpp +259 -255
  8. data/Gosu/Image.hpp +12 -12
  9. data/Gosu/ImageData.hpp +3 -0
  10. data/Gosu/Input.hpp +14 -2
  11. data/Gosu/Math.hpp +3 -2
  12. data/Gosu/RotFlip.hpp +125 -116
  13. data/Gosu/Sockets.hpp +139 -129
  14. data/Gosu/Text.hpp +4 -4
  15. data/Gosu/WinUtility.hpp +1 -1
  16. data/Gosu/Window.hpp +9 -5
  17. data/GosuImpl/Graphics/BitmapUtils.cpp +8 -8
  18. data/GosuImpl/Graphics/DrawOp.hpp +13 -14
  19. data/GosuImpl/Graphics/Graphics.cpp +3 -2
  20. data/GosuImpl/Graphics/Image.cpp +8 -8
  21. data/GosuImpl/Graphics/LargeImageData.cpp +8 -8
  22. data/GosuImpl/Graphics/Text.cpp +15 -3
  23. data/GosuImpl/{TextTTFWin.cpp → Graphics/TextTTFWin.cpp} +0 -0
  24. data/GosuImpl/Graphics/TextWin.cpp +36 -25
  25. data/GosuImpl/Graphics/Texture.cpp +2 -0
  26. data/GosuImpl/Iconv.hpp +1 -3
  27. data/GosuImpl/RubyGosu.swg +19 -10
  28. data/GosuImpl/RubyGosuStub.mm +40 -8
  29. data/GosuImpl/RubyGosu_SWIG_GC_PATCH.patch +126 -0
  30. data/GosuImpl/RubyGosu_wrap.cxx +1601 -247
  31. data/GosuImpl/RubyGosu_wrap.h +1 -1
  32. data/GosuImpl/WindowWin.cpp +18 -6
  33. data/README.txt +5 -5
  34. data/Rakefile +27 -7
  35. data/linux/Makefile.in +1 -1
  36. data/mac/Gosu.xcodeproj/jlnr.pbxuser +939 -350
  37. data/mac/Gosu.xcodeproj/jlnr.perspectivev3 +66 -61
  38. data/mac/Gosu.xcodeproj/project.pbxproj +474 -92
  39. data/mac/RubyGosu Template-Info.plist b/data/mac/RubyGosu → App-Info.plist +0 -0
  40. data/reference/cpp/_audio_8hpp-source.html +171 -0
  41. data/reference/cpp/_audio_8hpp.html +96 -0
  42. data/reference/cpp/_auto_link_8hpp-source.html +84 -0
  43. data/reference/cpp/_auto_link_8hpp.html +83 -0
  44. data/reference/cpp/_bitmap_8hpp-source.html +130 -0
  45. data/reference/cpp/_bitmap_8hpp.html +107 -0
  46. data/reference/{ButtonsMac_8hpp-source.html → cpp/_buttons_mac_8hpp-source.html} +60 -14
  47. data/reference/cpp/_buttons_mac_8hpp.html +233 -0
  48. data/reference/cpp/_color_8hpp-source.html +215 -0
  49. data/reference/cpp/_color_8hpp.html +119 -0
  50. data/reference/cpp/_directories_8hpp-source.html +88 -0
  51. data/reference/cpp/_directories_8hpp.html +96 -0
  52. data/reference/cpp/_font_8hpp-source.html +111 -0
  53. data/reference/cpp/_font_8hpp.html +87 -0
  54. data/reference/{Fwd_8hpp-source.html → cpp/_fwd_8hpp-source.html} +59 -13
  55. data/reference/cpp/_fwd_8hpp.html +83 -0
  56. data/reference/cpp/_gosu_8hpp-source.html +96 -0
  57. data/reference/cpp/_gosu_8hpp.html +83 -0
  58. data/reference/cpp/_graphics_8hpp-source.html +134 -0
  59. data/reference/cpp/_graphics_8hpp.html +94 -0
  60. data/reference/cpp/_graphics_base_8hpp-source.html +115 -0
  61. data/reference/cpp/_graphics_base_8hpp.html +120 -0
  62. data/reference/cpp/_i_o_8hpp-source.html +301 -0
  63. data/reference/cpp/_i_o_8hpp.html +122 -0
  64. data/reference/cpp/_image_8hpp-source.html +172 -0
  65. data/reference/cpp/_image_8hpp.html +96 -0
  66. data/reference/cpp/_image_data_8hpp-source.html +108 -0
  67. data/reference/cpp/_image_data_8hpp.html +90 -0
  68. data/reference/cpp/_input_8hpp-source.html +182 -0
  69. data/reference/cpp/_input_8hpp.html +102 -0
  70. data/reference/cpp/_math_8hpp-source.html +147 -0
  71. data/reference/cpp/_math_8hpp.html +139 -0
  72. data/reference/{Platform_8hpp-source.html → cpp/_platform_8hpp-source.html} +61 -15
  73. data/reference/cpp/_platform_8hpp.html +136 -0
  74. data/reference/cpp/_rot_flip_8hpp-source.html +184 -0
  75. data/reference/cpp/_rot_flip_8hpp.html +123 -0
  76. data/reference/cpp/_sockets_8hpp-source.html +174 -0
  77. data/reference/cpp/_sockets_8hpp.html +117 -0
  78. data/reference/cpp/_text_8hpp-source.html +102 -0
  79. data/reference/cpp/_text_8hpp.html +99 -0
  80. data/reference/cpp/_text_input_8hpp-source.html +110 -0
  81. data/reference/cpp/_text_input_8hpp.html +87 -0
  82. data/reference/cpp/_timing_8hpp-source.html +82 -0
  83. data/reference/cpp/_timing_8hpp.html +90 -0
  84. data/reference/cpp/_utility_8hpp-source.html +89 -0
  85. data/reference/cpp/_utility_8hpp.html +96 -0
  86. data/reference/cpp/_win_utility_8hpp-source.html +125 -0
  87. data/reference/cpp/_win_utility_8hpp.html +116 -0
  88. data/reference/cpp/_window_8hpp-source.html +157 -0
  89. data/reference/cpp/_window_8hpp.html +87 -0
  90. data/reference/cpp/annotated.html +98 -0
  91. data/reference/cpp/class_gosu_1_1_audio-members.html +74 -0
  92. data/reference/cpp/class_gosu_1_1_audio.html +132 -0
  93. data/reference/cpp/class_gosu_1_1_bitmap-members.html +85 -0
  94. data/reference/cpp/class_gosu_1_1_bitmap.html +501 -0
  95. data/reference/cpp/class_gosu_1_1_buffer-members.html +84 -0
  96. data/reference/cpp/class_gosu_1_1_buffer.html +346 -0
  97. data/reference/{classGosu_1_1Buffer.png → cpp/class_gosu_1_1_buffer.png} +0 -0
  98. data/reference/cpp/class_gosu_1_1_button-members.html +76 -0
  99. data/reference/cpp/class_gosu_1_1_button.html +195 -0
  100. data/reference/cpp/class_gosu_1_1_color-members.html +96 -0
  101. data/reference/cpp/class_gosu_1_1_color.html +758 -0
  102. data/reference/cpp/class_gosu_1_1_comm_socket-members.html +90 -0
  103. data/reference/cpp/class_gosu_1_1_comm_socket.html +505 -0
  104. data/reference/cpp/class_gosu_1_1_file-members.html +81 -0
  105. data/reference/cpp/class_gosu_1_1_file.html +275 -0
  106. data/reference/{classGosu_1_1File.png → cpp/class_gosu_1_1_file.png} +0 -0
  107. data/reference/cpp/class_gosu_1_1_font-members.html +79 -0
  108. data/reference/{classGosu_1_1Font.html → cpp/class_gosu_1_1_font.html} +207 -66
  109. data/reference/cpp/class_gosu_1_1_graphics-members.html +90 -0
  110. data/reference/cpp/class_gosu_1_1_graphics.html +768 -0
  111. data/reference/cpp/class_gosu_1_1_image-members.html +85 -0
  112. data/reference/cpp/class_gosu_1_1_image.html +771 -0
  113. data/reference/cpp/class_gosu_1_1_image_data-members.html +77 -0
  114. data/reference/cpp/class_gosu_1_1_image_data.html +281 -0
  115. data/reference/cpp/class_gosu_1_1_input-members.html +85 -0
  116. data/reference/cpp/class_gosu_1_1_input.html +417 -0
  117. data/reference/cpp/class_gosu_1_1_listener_socket-members.html +78 -0
  118. data/reference/cpp/class_gosu_1_1_listener_socket.html +221 -0
  119. data/reference/cpp/class_gosu_1_1_message_socket-members.html +80 -0
  120. data/reference/{classGosu_1_1MessageSocket.html → cpp/class_gosu_1_1_message_socket.html} +115 -43
  121. data/reference/cpp/class_gosu_1_1_reader-members.html +80 -0
  122. data/reference/cpp/class_gosu_1_1_reader.html +322 -0
  123. data/reference/cpp/class_gosu_1_1_resource-members.html +79 -0
  124. data/reference/cpp/class_gosu_1_1_resource.html +305 -0
  125. data/reference/{classGosu_1_1Resource.png → cpp/class_gosu_1_1_resource.png} +0 -0
  126. data/reference/cpp/class_gosu_1_1_rot_flip-members.html +83 -0
  127. data/reference/cpp/class_gosu_1_1_rot_flip.html +347 -0
  128. data/reference/cpp/class_gosu_1_1_sample-members.html +77 -0
  129. data/reference/{classGosu_1_1Sample.html → cpp/class_gosu_1_1_sample.html} +99 -32
  130. data/reference/cpp/class_gosu_1_1_sample_instance-members.html +81 -0
  131. data/reference/cpp/class_gosu_1_1_sample_instance.html +317 -0
  132. data/reference/cpp/class_gosu_1_1_song-members.html +86 -0
  133. data/reference/{classGosu_1_1Song.html → cpp/class_gosu_1_1_song.html} +152 -68
  134. data/reference/cpp/class_gosu_1_1_text_input-members.html +78 -0
  135. data/reference/cpp/class_gosu_1_1_text_input.html +227 -0
  136. data/reference/cpp/class_gosu_1_1_window-members.html +90 -0
  137. data/reference/cpp/class_gosu_1_1_window.html +533 -0
  138. data/reference/cpp/class_gosu_1_1_writer-members.html +79 -0
  139. data/reference/cpp/class_gosu_1_1_writer.html +292 -0
  140. data/reference/cpp/classes.html +86 -0
  141. data/reference/cpp/closed.gif +0 -0
  142. data/reference/cpp/cpp.css +155 -0
  143. data/reference/{doxygen.png → cpp/doxygen.png} +0 -0
  144. data/reference/cpp/files.html +97 -0
  145. data/reference/cpp/functions.html +127 -0
  146. data/reference/cpp/functions_0x62.html +137 -0
  147. data/reference/cpp/functions_0x63.html +140 -0
  148. data/reference/cpp/functions_0x64.html +142 -0
  149. data/reference/cpp/functions_0x65.html +119 -0
  150. data/reference/cpp/functions_0x66.html +137 -0
  151. data/reference/cpp/functions_0x67.html +131 -0
  152. data/reference/cpp/functions_0x68.html +121 -0
  153. data/reference/cpp/functions_0x69.html +123 -0
  154. data/reference/cpp/functions_0x6b.html +115 -0
  155. data/reference/cpp/functions_0x6c.html +117 -0
  156. data/reference/cpp/functions_0x6d.html +125 -0
  157. data/reference/cpp/functions_0x6e.html +117 -0
  158. data/reference/cpp/functions_0x6f.html +126 -0
  159. data/reference/cpp/functions_0x70.html +136 -0
  160. data/reference/cpp/functions_0x72.html +154 -0
  161. data/reference/cpp/functions_0x73.html +179 -0
  162. data/reference/cpp/functions_0x74.html +127 -0
  163. data/reference/cpp/functions_0x75.html +121 -0
  164. data/reference/cpp/functions_0x76.html +117 -0
  165. data/reference/cpp/functions_0x77.html +129 -0
  166. data/reference/cpp/functions_0x78.html +115 -0
  167. data/reference/cpp/functions_0x79.html +115 -0
  168. data/reference/cpp/functions_0x7e.html +143 -0
  169. data/reference/cpp/functions_enum.html +87 -0
  170. data/reference/cpp/functions_eval.html +89 -0
  171. data/reference/cpp/functions_func.html +125 -0
  172. data/reference/cpp/functions_func_0x62.html +133 -0
  173. data/reference/cpp/functions_func_0x63.html +136 -0
  174. data/reference/cpp/functions_func_0x64.html +140 -0
  175. data/reference/cpp/functions_func_0x65.html +117 -0
  176. data/reference/cpp/functions_func_0x66.html +135 -0
  177. data/reference/cpp/functions_func_0x67.html +129 -0
  178. data/reference/cpp/functions_func_0x68.html +119 -0
  179. data/reference/cpp/functions_func_0x69.html +119 -0
  180. data/reference/cpp/functions_func_0x6b.html +113 -0
  181. data/reference/cpp/functions_func_0x6c.html +113 -0
  182. data/reference/cpp/functions_func_0x6d.html +123 -0
  183. data/reference/cpp/functions_func_0x6e.html +115 -0
  184. data/reference/cpp/functions_func_0x6f.html +113 -0
  185. data/reference/cpp/functions_func_0x70.html +134 -0
  186. data/reference/cpp/functions_func_0x72.html +150 -0
  187. data/reference/cpp/functions_func_0x73.html +173 -0
  188. data/reference/cpp/functions_func_0x74.html +119 -0
  189. data/reference/cpp/functions_func_0x75.html +119 -0
  190. data/reference/cpp/functions_func_0x76.html +115 -0
  191. data/reference/cpp/functions_func_0x77.html +127 -0
  192. data/reference/cpp/functions_func_0x7e.html +141 -0
  193. data/reference/cpp/functions_type.html +87 -0
  194. data/reference/cpp/functions_vars.html +112 -0
  195. data/reference/cpp/globals.html +84 -0
  196. data/reference/cpp/globals_defs.html +84 -0
  197. data/reference/cpp/hierarchy.html +100 -0
  198. data/reference/cpp/index.html +66 -0
  199. data/reference/cpp/open.gif +0 -0
  200. data/reference/cpp/struct_gosu_1_1_g_l_tex_info-members.html +77 -0
  201. data/reference/cpp/struct_gosu_1_1_g_l_tex_info.html +185 -0
  202. data/reference/cpp/struct_gosu_1_1_touch-members.html +75 -0
  203. data/reference/cpp/struct_gosu_1_1_touch.html +153 -0
  204. data/reference/{tab_b.gif → cpp/tab_b.gif} +0 -0
  205. data/reference/{tab_l.gif → cpp/tab_l.gif} +0 -0
  206. data/reference/{tab_r.gif → cpp/tab_r.gif} +0 -0
  207. data/reference/{tabs.css → cpp/tabs.css} +5 -2
  208. data/windows/Gosu.sln +5 -0
  209. data/windows/Gosu.vcproj +3 -3
  210. data/windows/RubyGosu.vcproj +103 -1
  211. metadata +178 -176
  212. data/reference/Async_8hpp-source.html +0 -70
  213. data/reference/Audio_8hpp-source.html +0 -125
  214. data/reference/Audio_8hpp.html +0 -50
  215. data/reference/AutoLink_8hpp-source.html +0 -38
  216. data/reference/AutoLink_8hpp.html +0 -34
  217. data/reference/Bitmap_8hpp-source.html +0 -84
  218. data/reference/Bitmap_8hpp.html +0 -58
  219. data/reference/ButtonsWin_8hpp-source.html +0 -159
  220. data/reference/ButtonsX_8hpp-source.html +0 -160
  221. data/reference/Color_8hpp-source.html +0 -169
  222. data/reference/Color_8hpp.html +0 -85
  223. data/reference/Directories_8hpp-source.html +0 -42
  224. data/reference/Directories_8hpp.html +0 -46
  225. data/reference/Font_8hpp-source.html +0 -65
  226. data/reference/Font_8hpp.html +0 -41
  227. data/reference/Fwd_8hpp.html +0 -37
  228. data/reference/Gosu_8hpp-source.html +0 -49
  229. data/reference/Gosu_8hpp.html +0 -34
  230. data/reference/GraphicsBase_8hpp-source.html +0 -59
  231. data/reference/GraphicsBase_8hpp.html +0 -59
  232. data/reference/Graphics_8hpp-source.html +0 -99
  233. data/reference/Graphics_8hpp.html +0 -60
  234. data/reference/IO_8hpp-source.html +0 -255
  235. data/reference/IO_8hpp.html +0 -74
  236. data/reference/ImageData_8hpp-source.html +0 -62
  237. data/reference/ImageData_8hpp.html +0 -43
  238. data/reference/Image_8hpp-source.html +0 -126
  239. data/reference/Image_8hpp.html +0 -48
  240. data/reference/Input_8hpp-source.html +0 -131
  241. data/reference/Input_8hpp.html +0 -56
  242. data/reference/Math_8hpp-source.html +0 -101
  243. data/reference/Math_8hpp.html +0 -78
  244. data/reference/Platform_8hpp.html +0 -73
  245. data/reference/RotFlip_8hpp-source.html +0 -138
  246. data/reference/RotFlip_8hpp.html +0 -77
  247. data/reference/Sockets_8hpp-source.html +0 -130
  248. data/reference/Sockets_8hpp.html +0 -66
  249. data/reference/TextInput_8hpp-source.html +0 -64
  250. data/reference/TextInput_8hpp.html +0 -41
  251. data/reference/Text_8hpp-source.html +0 -56
  252. data/reference/Text_8hpp.html +0 -48
  253. data/reference/Timing_8hpp-source.html +0 -36
  254. data/reference/Timing_8hpp.html +0 -42
  255. data/reference/Utility_8hpp-source.html +0 -43
  256. data/reference/Utility_8hpp.html +0 -46
  257. data/reference/WinUtility_8hpp-source.html +0 -79
  258. data/reference/WinUtility_8hpp.html +0 -64
  259. data/reference/Window_8hpp-source.html +0 -110
  260. data/reference/Window_8hpp.html +0 -41
  261. data/reference/annotated.html +0 -51
  262. data/reference/classGosu_1_1Audio-members.html +0 -34
  263. data/reference/classGosu_1_1Audio.html +0 -46
  264. data/reference/classGosu_1_1Bitmap-members.html +0 -45
  265. data/reference/classGosu_1_1Bitmap.html +0 -266
  266. data/reference/classGosu_1_1Buffer-members.html +0 -44
  267. data/reference/classGosu_1_1Buffer.html +0 -78
  268. data/reference/classGosu_1_1Button-members.html +0 -36
  269. data/reference/classGosu_1_1Button.html +0 -143
  270. data/reference/classGosu_1_1Color-members.html +0 -56
  271. data/reference/classGosu_1_1Color.html +0 -387
  272. data/reference/classGosu_1_1File-members.html +0 -41
  273. data/reference/classGosu_1_1File.html +0 -69
  274. data/reference/classGosu_1_1Font-members.html +0 -39
  275. data/reference/classGosu_1_1Graphics-members.html +0 -50
  276. data/reference/classGosu_1_1Graphics.html +0 -234
  277. data/reference/classGosu_1_1Image-members.html +0 -45
  278. data/reference/classGosu_1_1Image.html +0 -518
  279. data/reference/classGosu_1_1ImageData-members.html +0 -37
  280. data/reference/classGosu_1_1ImageData.html +0 -60
  281. data/reference/classGosu_1_1Input-members.html +0 -45
  282. data/reference/classGosu_1_1Input.html +0 -256
  283. data/reference/classGosu_1_1MessageSocket-members.html +0 -40
  284. data/reference/classGosu_1_1Resource-members.html +0 -39
  285. data/reference/classGosu_1_1Resource.html +0 -116
  286. data/reference/classGosu_1_1Sample-members.html +0 -37
  287. data/reference/classGosu_1_1SampleInstance-members.html +0 -41
  288. data/reference/classGosu_1_1SampleInstance.html +0 -178
  289. data/reference/classGosu_1_1Song-members.html +0 -46
  290. data/reference/classGosu_1_1TextInput-members.html +0 -38
  291. data/reference/classGosu_1_1TextInput.html +0 -121
  292. data/reference/classGosu_1_1Window-members.html +0 -50
  293. data/reference/classGosu_1_1Window.html +0 -289
  294. data/reference/doxyfile +0 -233
  295. data/reference/doxygen.css +0 -433
  296. data/reference/files.html +0 -54
  297. data/reference/functions.html +0 -249
  298. data/reference/functions_enum.html +0 -45
  299. data/reference/functions_func.html +0 -240
  300. data/reference/functions_vars.html +0 -47
  301. data/reference/hierarchy.html +0 -53
  302. data/reference/index.html +0 -26
  303. data/reference/namespaceGosu.html +0 -3363
  304. data/reference/namespaceGosu_1_1Colors.html +0 -70
  305. data/reference/namespaceGosu_1_1Win.html +0 -275
  306. data/reference/namespacemembers.html +0 -229
  307. data/reference/namespacemembers_enum.html +0 -52
  308. data/reference/namespacemembers_eval.html +0 -54
  309. data/reference/namespacemembers_func.html +0 -196
  310. data/reference/namespacemembers_type.html +0 -46
  311. data/reference/namespacemembers_vars.html +0 -48
  312. data/reference/namespaces.html +0 -35
@@ -0,0 +1,195 @@
1
+ <html>
2
+ <head>
3
+ <title>Gosu C++ Reference</title>
4
+ <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
+ </head>
6
+ <body>
7
+ <div class="everything">
8
+ <!-- Generated by Doxygen 1.5.8 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ <div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_button.html">Button</a>
66
+ </div>
67
+ </div>
68
+ <div class="contents">
69
+ <h1>Gosu::Button Class Reference</h1><!-- doxytag: class="Gosu::Button" -->Very lightweight class that identifies a button (keyboard, mouse or other device).
70
+ <a href="#_details">More...</a>
71
+ <p>
72
+
73
+ <p>
74
+ <a href="class_gosu_1_1_button-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
75
+ <tr><td></td></tr>
76
+ <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
77
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_button.html#e32f254fdf87bd98cfaa2c1be62e5600">Button</a> (unsigned id)</td></tr>
78
+
79
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For internal use. <a href="#e32f254fdf87bd98cfaa2c1be62e5600"></a><br></td></tr>
80
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a> () const </td></tr>
81
+
82
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For internal use. <a href="#b4427dd79ad56325fc5d0509b7ddaed2"></a><br></td></tr>
83
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_button.html#0277cb92caff494eb2b568101ada4254">Button</a> ()</td></tr>
84
+
85
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor; == noButton. <a href="#0277cb92caff494eb2b568101ada4254"></a><br></td></tr>
86
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_button.html#b0d53d357fa263d676d803c6c6baf843">Button</a> (ButtonName name)</td></tr>
87
+
88
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conversion from ButtonName constants. <a href="#b0d53d357fa263d676d803c6c6baf843"></a><br></td></tr>
89
+ </table>
90
+ <hr><a name="_details"></a><h2>Detailed Description</h2>
91
+ Very lightweight class that identifies a button (keyboard, mouse or other device).
92
+ <p>Definition at line <a class="el" href="_input_8hpp-source.html#l00035">35</a> of file <a class="el" href="_input_8hpp-source.html">Input.hpp</a>.</p>
93
+ <hr><h2>Constructor &amp; Destructor Documentation</h2>
94
+ <a class="anchor" name="e32f254fdf87bd98cfaa2c1be62e5600"></a><!-- doxytag: member="Gosu::Button::Button" ref="e32f254fdf87bd98cfaa2c1be62e5600" args="(unsigned id)" -->
95
+ <div class="memitem">
96
+ <div class="memproto">
97
+ <table class="memname">
98
+ <tr>
99
+ <td class="memname">Gosu::Button::Button </td>
100
+ <td>(</td>
101
+ <td class="paramtype">unsigned&nbsp;</td>
102
+ <td class="paramname"> <em>id</em> </td>
103
+ <td>&nbsp;)&nbsp;</td>
104
+ <td><code> [explicit]</code></td>
105
+ </tr>
106
+ </table>
107
+ </div>
108
+ <div class="memdoc">
109
+
110
+ <p>
111
+ For internal use.
112
+ <p>
113
+
114
+ <p>Definition at line <a class="el" href="_input_8hpp-source.html#l00041">41</a> of file <a class="el" href="_input_8hpp-source.html">Input.hpp</a>.</p>
115
+
116
+ </div>
117
+ </div><p>
118
+ <a class="anchor" name="0277cb92caff494eb2b568101ada4254"></a><!-- doxytag: member="Gosu::Button::Button" ref="0277cb92caff494eb2b568101ada4254" args="()" -->
119
+ <div class="memitem">
120
+ <div class="memproto">
121
+ <table class="memname">
122
+ <tr>
123
+ <td class="memname">Gosu::Button::Button </td>
124
+ <td>(</td>
125
+ <td class="paramname"> </td>
126
+ <td>&nbsp;)&nbsp;</td>
127
+ <td></td>
128
+ </tr>
129
+ </table>
130
+ </div>
131
+ <div class="memdoc">
132
+
133
+ <p>
134
+ Default constructor; == noButton.
135
+ <p>
136
+
137
+ <p>Definition at line <a class="el" href="_input_8hpp-source.html#l00046">46</a> of file <a class="el" href="_input_8hpp-source.html">Input.hpp</a>.</p>
138
+
139
+ </div>
140
+ </div><p>
141
+ <a class="anchor" name="b0d53d357fa263d676d803c6c6baf843"></a><!-- doxytag: member="Gosu::Button::Button" ref="b0d53d357fa263d676d803c6c6baf843" args="(ButtonName name)" -->
142
+ <div class="memitem">
143
+ <div class="memproto">
144
+ <table class="memname">
145
+ <tr>
146
+ <td class="memname">Gosu::Button::Button </td>
147
+ <td>(</td>
148
+ <td class="paramtype">ButtonName&nbsp;</td>
149
+ <td class="paramname"> <em>name</em> </td>
150
+ <td>&nbsp;)&nbsp;</td>
151
+ <td></td>
152
+ </tr>
153
+ </table>
154
+ </div>
155
+ <div class="memdoc">
156
+
157
+ <p>
158
+ Conversion from ButtonName constants.
159
+ <p>
160
+
161
+ <p>Definition at line <a class="el" href="_input_8hpp-source.html#l00049">49</a> of file <a class="el" href="_input_8hpp-source.html">Input.hpp</a>.</p>
162
+
163
+ </div>
164
+ </div><p>
165
+ <hr><h2>Member Function Documentation</h2>
166
+ <a class="anchor" name="b4427dd79ad56325fc5d0509b7ddaed2"></a><!-- doxytag: member="Gosu::Button::getId" ref="b4427dd79ad56325fc5d0509b7ddaed2" args="() const " -->
167
+ <div class="memitem">
168
+ <div class="memproto">
169
+ <table class="memname">
170
+ <tr>
171
+ <td class="memname">unsigned Gosu::Button::getId </td>
172
+ <td>(</td>
173
+ <td class="paramname"> </td>
174
+ <td>&nbsp;)&nbsp;</td>
175
+ <td> const</td>
176
+ </tr>
177
+ </table>
178
+ </div>
179
+ <div class="memdoc">
180
+
181
+ <p>
182
+ For internal use.
183
+ <p>
184
+
185
+ <p>Definition at line <a class="el" href="_input_8hpp-source.html#l00043">43</a> of file <a class="el" href="_input_8hpp-source.html">Input.hpp</a>.</p>
186
+
187
+ </div>
188
+ </div><p>
189
+ <hr>The documentation for this class was generated from the following file:<ul>
190
+ <li><a class="el" href="_input_8hpp-source.html">Input.hpp</a></ul>
191
+ </div>
192
+ <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
193
+ </div>
194
+ </body>
195
+ </html>
@@ -0,0 +1,96 @@
1
+ <html>
2
+ <head>
3
+ <title>Gosu C++ Reference</title>
4
+ <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
+ </head>
6
+ <body>
7
+ <div class="everything">
8
+ <!-- Generated by Doxygen 1.5.8 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ </div>
66
+ <div class="contents">
67
+ <h1>Gosu::Color Member List</h1>This is the complete list of members for <a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a>, including all inherited members.<p><table>
68
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
69
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
70
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
71
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
72
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
73
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> typedef</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
74
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a>()</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
75
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a>(boost::uint32_t argb)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
76
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#de4fc30548cc8de06d0d462d6ffeb334">Color</a>(Channel red, Channel green, Channel blue)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
77
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#56a809423e134392d39fb675a1ad6700">Color</a>(Channel alpha, Channel red, Channel green, Channel blue)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
78
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#b20e49f7a8bb0de839e05a0cf48a631e">fromAHSV</a>(Channel alpha, double h, double s, double v)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
79
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a>(double h, double s, double v)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
80
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">green</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
81
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
82
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
83
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
84
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#9a50c1f07fe92d6c07cb98fd4fc1e536">setAlpha</a>(Channel value)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
85
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#3134366a8659048a8ec0e2ac8c8f75b1">setBlue</a>(Channel value)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
86
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#ca2c08537635c0e6fd86d7e4b703a6ea">setGreen</a>(Channel value)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
87
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#ea1515be19da555c8beed681bd97e714">setHue</a>(double h)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
88
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#fc65d1b1bac9ade6efed437312c21a93">setRed</a>(Channel value)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
89
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a>(double s)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
90
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a>(double v)</td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
91
+ <tr class="memlist"><td><a class="el" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a>() const </td><td><a class="el" href="class_gosu_1_1_color.html">Gosu::Color</a></td><td></td></tr>
92
+ </table></div>
93
+ <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
94
+ </div>
95
+ </body>
96
+ </html>
@@ -0,0 +1,758 @@
1
+ <html>
2
+ <head>
3
+ <title>Gosu C++ Reference</title>
4
+ <link rel="stylesheet" href="cpp.css" type="text/css" charset="utf-8">
5
+ </head>
6
+ <body>
7
+ <div class="everything">
8
+ <!-- Generated by Doxygen 1.5.8 -->
9
+ <script type="text/javascript">
10
+ <!--
11
+ function changeDisplayState (e){
12
+ var num=this.id.replace(/[^[0-9]/g,'');
13
+ var button=this.firstChild;
14
+ var sectionDiv=document.getElementById('dynsection'+num);
15
+ if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
16
+ sectionDiv.style.display='block';
17
+ button.src='open.gif';
18
+ }else{
19
+ sectionDiv.style.display='none';
20
+ button.src='closed.gif';
21
+ }
22
+ }
23
+ function initDynSections(){
24
+ var divs=document.getElementsByTagName('div');
25
+ var sectionCounter=1;
26
+ for(var i=0;i<divs.length-1;i++){
27
+ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
28
+ var header=divs[i];
29
+ var section=divs[i+1];
30
+ var button=header.firstChild;
31
+ if (button!='IMG'){
32
+ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
33
+ button=document.createElement('img');
34
+ divs[i].insertBefore(button,divs[i].firstChild);
35
+ }
36
+ header.style.cursor='pointer';
37
+ header.onclick=changeDisplayState;
38
+ header.id='dynheader'+sectionCounter;
39
+ button.src='closed.gif';
40
+ section.id='dynsection'+sectionCounter;
41
+ section.style.display='none';
42
+ section.style.marginLeft='14px';
43
+ sectionCounter++;
44
+ }
45
+ }
46
+ }
47
+ window.onload = initDynSections;
48
+ -->
49
+ </script>
50
+ <div class="navigation" id="top">
51
+ <div class="tabs">
52
+ <ul>
53
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
54
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55
+ <li><a href="files.html"><span>Files</span></a></li>
56
+ </ul>
57
+ </div>
58
+ <div class="tabs">
59
+ <ul>
60
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
62
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
63
+ </ul>
64
+ </div>
65
+ <div class="navpath"><b>Gosu</b>::<a class="el" href="class_gosu_1_1_color.html">Color</a>
66
+ </div>
67
+ </div>
68
+ <div class="contents">
69
+ <h1>Gosu::Color Class Reference</h1><!-- doxytag: class="Gosu::Color" -->Represents an ARGB color value with 8 bits for each channel.
70
+ <a href="#_details">More...</a>
71
+ <p>
72
+
73
+ <p>
74
+ <a href="class_gosu_1_1_color-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
75
+ <tr><td></td></tr>
76
+ <tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
77
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef boost::uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a></td></tr>
78
+
79
+ <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a> ()</td></tr>
81
+
82
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The default constructor does not initialize the color to any value. <a href="#10bae97d1c2f7482dff21f6b0fa4c533"></a><br></td></tr>
83
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a> (boost::uint32_t argb)</td></tr>
84
+
85
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conversion constructor for literals of the form 0xaarrggbb. <a href="#d3875fcbe68fb1fe608ab15f38129c6e"></a><br></td></tr>
86
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#de4fc30548cc8de06d0d462d6ffeb334">Color</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> red, <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> green, <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> blue)</td></tr>
87
+
88
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#56a809423e134392d39fb675a1ad6700">Color</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> alpha, <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> red, <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> green, <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> blue)</td></tr>
89
+
90
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#d1e97f581f68947bedf7fd224246f128">alpha</a> () const </td></tr>
91
+
92
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#266978e0d4e94dd7aa10bf8a66bc1aa8">red</a> () const </td></tr>
93
+
94
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#551c77b7dfb7a2e7f56cdc57644ef832">green</a> () const </td></tr>
95
+
96
+ <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#9c7252f283e79bc94541d58e80a0d1cf">blue</a> () const </td></tr>
97
+
98
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#9a50c1f07fe92d6c07cb98fd4fc1e536">setAlpha</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> value)</td></tr>
99
+
100
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#fc65d1b1bac9ade6efed437312c21a93">setRed</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> value)</td></tr>
101
+
102
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#ca2c08537635c0e6fd86d7e4b703a6ea">setGreen</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> value)</td></tr>
103
+
104
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#3134366a8659048a8ec0e2ac8c8f75b1">setBlue</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> value)</td></tr>
105
+
106
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a> () const </td></tr>
107
+
108
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the hue of the color, in the usual range of 0..360. <a href="#e7dea29641a5e7c1a903f17c8f91ca41"></a><br></td></tr>
109
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#ea1515be19da555c8beed681bd97e714">setHue</a> (double h)</td></tr>
110
+
111
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the current color so <a class="el" href="class_gosu_1_1_color.html#e7dea29641a5e7c1a903f17c8f91ca41" title="Returns the hue of the color, in the usual range of 0..360.">hue()</a> will return h. <a href="#ea1515be19da555c8beed681bd97e714"></a><br></td></tr>
112
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a> () const </td></tr>
113
+
114
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the saturation of the color, in the range of 0..1. <a href="#50f84f148ae5676376f7ffab757ebe96"></a><br></td></tr>
115
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a> (double s)</td></tr>
116
+
117
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the current color so <a class="el" href="class_gosu_1_1_color.html#50f84f148ae5676376f7ffab757ebe96" title="Returns the saturation of the color, in the range of 0..1.">saturation()</a> will return s. <a href="#e5401d0533adc33bd2ce0d7d6bf360e6"></a><br></td></tr>
118
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a> () const </td></tr>
119
+
120
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the value (brightness) of the color, in the range of 0..1. <a href="#fa5e1b57786f25f93f8ef84acebfd82f"></a><br></td></tr>
121
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a> (double v)</td></tr>
122
+
123
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the current color so <a class="el" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value()</a> will return v. <a href="#7c84051414c6044f5928920dca1ca2c5"></a><br></td></tr>
124
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a> () const </td></tr>
125
+
126
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the color in 0xaarrggbb representation. <a href="#b079fa3b6b7ebef6a2cf432b0b38984a"></a><br></td></tr>
127
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a> () const </td></tr>
128
+
129
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the color in 0x00bbggrr representation. <a href="#629f55a6f636bc8d677bcca01eedf1c5"></a><br></td></tr>
130
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a> () const </td></tr>
131
+
132
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the color in 0xaabbggrr representation. <a href="#3ddd0323d5f1bf0d6dcf47ca6e80ca36"></a><br></td></tr>
133
+ <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
134
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a> (double h, double s, double v)</td></tr>
135
+
136
+ <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a color from the given hue/saturation/value triple. <a href="#f14484c5cff18b011f32e434fe13dfff"></a><br></td></tr>
137
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_gosu_1_1_color.html">Color</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_gosu_1_1_color.html#b20e49f7a8bb0de839e05a0cf48a631e">fromAHSV</a> (<a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> alpha, double h, double s, double v)</td></tr>
138
+
139
+ </table>
140
+ <hr><a name="_details"></a><h2>Detailed Description</h2>
141
+ Represents an ARGB color value with 8 bits for each channel.
142
+ <p>
143
+ Can be implicitly constructed from literals of the form 0xaarrggbb. Has fast value semantics.
144
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00014">14</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
145
+ <hr><h2>Member Typedef Documentation</h2>
146
+ <a class="anchor" name="34cffcd5f7a3c8668b74fb489a5be708"></a><!-- doxytag: member="Gosu::Color::Channel" ref="34cffcd5f7a3c8668b74fb489a5be708" args="" -->
147
+ <div class="memitem">
148
+ <div class="memproto">
149
+ <table class="memname">
150
+ <tr>
151
+ <td class="memname">typedef boost::uint8_t <a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Gosu::Color::Channel</a> </td>
152
+ </tr>
153
+ </table>
154
+ </div>
155
+ <div class="memdoc">
156
+
157
+ <p>
158
+
159
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00019">19</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
160
+
161
+ </div>
162
+ </div><p>
163
+ <hr><h2>Constructor &amp; Destructor Documentation</h2>
164
+ <a class="anchor" name="10bae97d1c2f7482dff21f6b0fa4c533"></a><!-- doxytag: member="Gosu::Color::Color" ref="10bae97d1c2f7482dff21f6b0fa4c533" args="()" -->
165
+ <div class="memitem">
166
+ <div class="memproto">
167
+ <table class="memname">
168
+ <tr>
169
+ <td class="memname">Gosu::Color::Color </td>
170
+ <td>(</td>
171
+ <td class="paramname"> </td>
172
+ <td>&nbsp;)&nbsp;</td>
173
+ <td></td>
174
+ </tr>
175
+ </table>
176
+ </div>
177
+ <div class="memdoc">
178
+
179
+ <p>
180
+ The default constructor does not initialize the color to any value.
181
+ <p>
182
+
183
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00022">22</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
184
+
185
+ </div>
186
+ </div><p>
187
+ <a class="anchor" name="d3875fcbe68fb1fe608ab15f38129c6e"></a><!-- doxytag: member="Gosu::Color::Color" ref="d3875fcbe68fb1fe608ab15f38129c6e" args="(boost::uint32_t argb)" -->
188
+ <div class="memitem">
189
+ <div class="memproto">
190
+ <table class="memname">
191
+ <tr>
192
+ <td class="memname">Gosu::Color::Color </td>
193
+ <td>(</td>
194
+ <td class="paramtype">boost::uint32_t&nbsp;</td>
195
+ <td class="paramname"> <em>argb</em> </td>
196
+ <td>&nbsp;)&nbsp;</td>
197
+ <td></td>
198
+ </tr>
199
+ </table>
200
+ </div>
201
+ <div class="memdoc">
202
+
203
+ <p>
204
+ Conversion constructor for literals of the form 0xaarrggbb.
205
+ <p>
206
+ (C++ only.)
207
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00028">28</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
208
+
209
+ </div>
210
+ </div><p>
211
+ <a class="anchor" name="de4fc30548cc8de06d0d462d6ffeb334"></a><!-- doxytag: member="Gosu::Color::Color" ref="de4fc30548cc8de06d0d462d6ffeb334" args="(Channel red, Channel green, Channel blue)" -->
212
+ <div class="memitem">
213
+ <div class="memproto">
214
+ <table class="memname">
215
+ <tr>
216
+ <td class="memname">Gosu::Color::Color </td>
217
+ <td>(</td>
218
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
219
+ <td class="paramname"> <em>red</em>, </td>
220
+ </tr>
221
+ <tr>
222
+ <td class="paramkey"></td>
223
+ <td></td>
224
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
225
+ <td class="paramname"> <em>green</em>, </td>
226
+ </tr>
227
+ <tr>
228
+ <td class="paramkey"></td>
229
+ <td></td>
230
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
231
+ <td class="paramname"> <em>blue</em></td><td>&nbsp;</td>
232
+ </tr>
233
+ <tr>
234
+ <td></td>
235
+ <td>)</td>
236
+ <td></td><td></td><td></td>
237
+ </tr>
238
+ </table>
239
+ </div>
240
+ <div class="memdoc">
241
+
242
+ <p>
243
+
244
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00033">33</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
245
+
246
+ </div>
247
+ </div><p>
248
+ <a class="anchor" name="56a809423e134392d39fb675a1ad6700"></a><!-- doxytag: member="Gosu::Color::Color" ref="56a809423e134392d39fb675a1ad6700" args="(Channel alpha, Channel red, Channel green, Channel blue)" -->
249
+ <div class="memitem">
250
+ <div class="memproto">
251
+ <table class="memname">
252
+ <tr>
253
+ <td class="memname">Gosu::Color::Color </td>
254
+ <td>(</td>
255
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
256
+ <td class="paramname"> <em>alpha</em>, </td>
257
+ </tr>
258
+ <tr>
259
+ <td class="paramkey"></td>
260
+ <td></td>
261
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
262
+ <td class="paramname"> <em>red</em>, </td>
263
+ </tr>
264
+ <tr>
265
+ <td class="paramkey"></td>
266
+ <td></td>
267
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
268
+ <td class="paramname"> <em>green</em>, </td>
269
+ </tr>
270
+ <tr>
271
+ <td class="paramkey"></td>
272
+ <td></td>
273
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
274
+ <td class="paramname"> <em>blue</em></td><td>&nbsp;</td>
275
+ </tr>
276
+ <tr>
277
+ <td></td>
278
+ <td>)</td>
279
+ <td></td><td></td><td></td>
280
+ </tr>
281
+ </table>
282
+ </div>
283
+ <div class="memdoc">
284
+
285
+ <p>
286
+
287
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00038">38</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
288
+
289
+ </div>
290
+ </div><p>
291
+ <hr><h2>Member Function Documentation</h2>
292
+ <a class="anchor" name="3ddd0323d5f1bf0d6dcf47ca6e80ca36"></a><!-- doxytag: member="Gosu::Color::abgr" ref="3ddd0323d5f1bf0d6dcf47ca6e80ca36" args="() const " -->
293
+ <div class="memitem">
294
+ <div class="memproto">
295
+ <table class="memname">
296
+ <tr>
297
+ <td class="memname">boost::uint32_t Gosu::Color::abgr </td>
298
+ <td>(</td>
299
+ <td class="paramname"> </td>
300
+ <td>&nbsp;)&nbsp;</td>
301
+ <td> const</td>
302
+ </tr>
303
+ </table>
304
+ </div>
305
+ <div class="memdoc">
306
+
307
+ <p>
308
+ Returns the color in 0xaabbggrr representation.
309
+ <p>
310
+
311
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00125">125</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
312
+
313
+ <p>References <a class="el" href="_color_8hpp-source.html#l00050">alpha()</a>, and <a class="el" href="_color_8hpp-source.html#l00119">bgr()</a>.</p>
314
+
315
+ </div>
316
+ </div><p>
317
+ <a class="anchor" name="d1e97f581f68947bedf7fd224246f128"></a><!-- doxytag: member="Gosu::Color::alpha" ref="d1e97f581f68947bedf7fd224246f128" args="() const " -->
318
+ <div class="memitem">
319
+ <div class="memproto">
320
+ <table class="memname">
321
+ <tr>
322
+ <td class="memname"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> Gosu::Color::alpha </td>
323
+ <td>(</td>
324
+ <td class="paramname"> </td>
325
+ <td>&nbsp;)&nbsp;</td>
326
+ <td> const</td>
327
+ </tr>
328
+ </table>
329
+ </div>
330
+ <div class="memdoc">
331
+
332
+ <p>
333
+
334
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00050">50</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
335
+
336
+ <p>Referenced by <a class="el" href="_color_8hpp-source.html#l00125">abgr()</a>.</p>
337
+
338
+ </div>
339
+ </div><p>
340
+ <a class="anchor" name="b079fa3b6b7ebef6a2cf432b0b38984a"></a><!-- doxytag: member="Gosu::Color::argb" ref="b079fa3b6b7ebef6a2cf432b0b38984a" args="() const " -->
341
+ <div class="memitem">
342
+ <div class="memproto">
343
+ <table class="memname">
344
+ <tr>
345
+ <td class="memname">boost::uint32_t Gosu::Color::argb </td>
346
+ <td>(</td>
347
+ <td class="paramname"> </td>
348
+ <td>&nbsp;)&nbsp;</td>
349
+ <td> const</td>
350
+ </tr>
351
+ </table>
352
+ </div>
353
+ <div class="memdoc">
354
+
355
+ <p>
356
+ Returns the color in 0xaarrggbb representation.
357
+ <p>
358
+
359
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00113">113</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
360
+
361
+ </div>
362
+ </div><p>
363
+ <a class="anchor" name="629f55a6f636bc8d677bcca01eedf1c5"></a><!-- doxytag: member="Gosu::Color::bgr" ref="629f55a6f636bc8d677bcca01eedf1c5" args="() const " -->
364
+ <div class="memitem">
365
+ <div class="memproto">
366
+ <table class="memname">
367
+ <tr>
368
+ <td class="memname">boost::uint32_t Gosu::Color::bgr </td>
369
+ <td>(</td>
370
+ <td class="paramname"> </td>
371
+ <td>&nbsp;)&nbsp;</td>
372
+ <td> const</td>
373
+ </tr>
374
+ </table>
375
+ </div>
376
+ <div class="memdoc">
377
+
378
+ <p>
379
+ Returns the color in 0x00bbggrr representation.
380
+ <p>
381
+
382
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00119">119</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
383
+
384
+ <p>References <a class="el" href="_color_8hpp-source.html#l00065">blue()</a>, and <a class="el" href="_color_8hpp-source.html#l00055">red()</a>.</p>
385
+
386
+ <p>Referenced by <a class="el" href="_color_8hpp-source.html#l00125">abgr()</a>.</p>
387
+
388
+ </div>
389
+ </div><p>
390
+ <a class="anchor" name="9c7252f283e79bc94541d58e80a0d1cf"></a><!-- doxytag: member="Gosu::Color::blue" ref="9c7252f283e79bc94541d58e80a0d1cf" args="() const " -->
391
+ <div class="memitem">
392
+ <div class="memproto">
393
+ <table class="memname">
394
+ <tr>
395
+ <td class="memname"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> Gosu::Color::blue </td>
396
+ <td>(</td>
397
+ <td class="paramname"> </td>
398
+ <td>&nbsp;)&nbsp;</td>
399
+ <td> const</td>
400
+ </tr>
401
+ </table>
402
+ </div>
403
+ <div class="memdoc">
404
+
405
+ <p>
406
+
407
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00065">65</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
408
+
409
+ <p>Referenced by <a class="el" href="_color_8hpp-source.html#l00119">bgr()</a>.</p>
410
+
411
+ </div>
412
+ </div><p>
413
+ <a class="anchor" name="b20e49f7a8bb0de839e05a0cf48a631e"></a><!-- doxytag: member="Gosu::Color::fromAHSV" ref="b20e49f7a8bb0de839e05a0cf48a631e" args="(Channel alpha, double h, double s, double v)" -->
414
+ <div class="memitem">
415
+ <div class="memproto">
416
+ <table class="memname">
417
+ <tr>
418
+ <td class="memname">static <a class="el" href="class_gosu_1_1_color.html">Color</a> Gosu::Color::fromAHSV </td>
419
+ <td>(</td>
420
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
421
+ <td class="paramname"> <em>alpha</em>, </td>
422
+ </tr>
423
+ <tr>
424
+ <td class="paramkey"></td>
425
+ <td></td>
426
+ <td class="paramtype">double&nbsp;</td>
427
+ <td class="paramname"> <em>h</em>, </td>
428
+ </tr>
429
+ <tr>
430
+ <td class="paramkey"></td>
431
+ <td></td>
432
+ <td class="paramtype">double&nbsp;</td>
433
+ <td class="paramname"> <em>s</em>, </td>
434
+ </tr>
435
+ <tr>
436
+ <td class="paramkey"></td>
437
+ <td></td>
438
+ <td class="paramtype">double&nbsp;</td>
439
+ <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
440
+ </tr>
441
+ <tr>
442
+ <td></td>
443
+ <td>)</td>
444
+ <td></td><td></td><td><code> [static]</code></td>
445
+ </tr>
446
+ </table>
447
+ </div>
448
+ <div class="memdoc">
449
+
450
+ <p>
451
+
452
+ </div>
453
+ </div><p>
454
+ <a class="anchor" name="f14484c5cff18b011f32e434fe13dfff"></a><!-- doxytag: member="Gosu::Color::fromHSV" ref="f14484c5cff18b011f32e434fe13dfff" args="(double h, double s, double v)" -->
455
+ <div class="memitem">
456
+ <div class="memproto">
457
+ <table class="memname">
458
+ <tr>
459
+ <td class="memname">static <a class="el" href="class_gosu_1_1_color.html">Color</a> Gosu::Color::fromHSV </td>
460
+ <td>(</td>
461
+ <td class="paramtype">double&nbsp;</td>
462
+ <td class="paramname"> <em>h</em>, </td>
463
+ </tr>
464
+ <tr>
465
+ <td class="paramkey"></td>
466
+ <td></td>
467
+ <td class="paramtype">double&nbsp;</td>
468
+ <td class="paramname"> <em>s</em>, </td>
469
+ </tr>
470
+ <tr>
471
+ <td class="paramkey"></td>
472
+ <td></td>
473
+ <td class="paramtype">double&nbsp;</td>
474
+ <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
475
+ </tr>
476
+ <tr>
477
+ <td></td>
478
+ <td>)</td>
479
+ <td></td><td></td><td><code> [static]</code></td>
480
+ </tr>
481
+ </table>
482
+ </div>
483
+ <div class="memdoc">
484
+
485
+ <p>
486
+ Constructs a color from the given hue/saturation/value triple.
487
+ <p>
488
+ Ranges of these values are given as 0..360, 0..1 and 0..1, respectively. The alpha value is set to 1 from this method.
489
+ </div>
490
+ </div><p>
491
+ <a class="anchor" name="551c77b7dfb7a2e7f56cdc57644ef832"></a><!-- doxytag: member="Gosu::Color::green" ref="551c77b7dfb7a2e7f56cdc57644ef832" args="() const " -->
492
+ <div class="memitem">
493
+ <div class="memproto">
494
+ <table class="memname">
495
+ <tr>
496
+ <td class="memname"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> Gosu::Color::green </td>
497
+ <td>(</td>
498
+ <td class="paramname"> </td>
499
+ <td>&nbsp;)&nbsp;</td>
500
+ <td> const</td>
501
+ </tr>
502
+ </table>
503
+ </div>
504
+ <div class="memdoc">
505
+
506
+ <p>
507
+
508
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00060">60</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
509
+
510
+ </div>
511
+ </div><p>
512
+ <a class="anchor" name="e7dea29641a5e7c1a903f17c8f91ca41"></a><!-- doxytag: member="Gosu::Color::hue" ref="e7dea29641a5e7c1a903f17c8f91ca41" args="() const " -->
513
+ <div class="memitem">
514
+ <div class="memproto">
515
+ <table class="memname">
516
+ <tr>
517
+ <td class="memname">double Gosu::Color::hue </td>
518
+ <td>(</td>
519
+ <td class="paramname"> </td>
520
+ <td>&nbsp;)&nbsp;</td>
521
+ <td> const</td>
522
+ </tr>
523
+ </table>
524
+ </div>
525
+ <div class="memdoc">
526
+
527
+ <p>
528
+ Returns the hue of the color, in the usual range of 0..360.
529
+ <p>
530
+
531
+ </div>
532
+ </div><p>
533
+ <a class="anchor" name="266978e0d4e94dd7aa10bf8a66bc1aa8"></a><!-- doxytag: member="Gosu::Color::red" ref="266978e0d4e94dd7aa10bf8a66bc1aa8" args="() const " -->
534
+ <div class="memitem">
535
+ <div class="memproto">
536
+ <table class="memname">
537
+ <tr>
538
+ <td class="memname"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a> Gosu::Color::red </td>
539
+ <td>(</td>
540
+ <td class="paramname"> </td>
541
+ <td>&nbsp;)&nbsp;</td>
542
+ <td> const</td>
543
+ </tr>
544
+ </table>
545
+ </div>
546
+ <div class="memdoc">
547
+
548
+ <p>
549
+
550
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00055">55</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
551
+
552
+ <p>Referenced by <a class="el" href="_color_8hpp-source.html#l00119">bgr()</a>.</p>
553
+
554
+ </div>
555
+ </div><p>
556
+ <a class="anchor" name="50f84f148ae5676376f7ffab757ebe96"></a><!-- doxytag: member="Gosu::Color::saturation" ref="50f84f148ae5676376f7ffab757ebe96" args="() const " -->
557
+ <div class="memitem">
558
+ <div class="memproto">
559
+ <table class="memname">
560
+ <tr>
561
+ <td class="memname">double Gosu::Color::saturation </td>
562
+ <td>(</td>
563
+ <td class="paramname"> </td>
564
+ <td>&nbsp;)&nbsp;</td>
565
+ <td> const</td>
566
+ </tr>
567
+ </table>
568
+ </div>
569
+ <div class="memdoc">
570
+
571
+ <p>
572
+ Returns the saturation of the color, in the range of 0..1.
573
+ <p>
574
+
575
+ </div>
576
+ </div><p>
577
+ <a class="anchor" name="9a50c1f07fe92d6c07cb98fd4fc1e536"></a><!-- doxytag: member="Gosu::Color::setAlpha" ref="9a50c1f07fe92d6c07cb98fd4fc1e536" args="(Channel value)" -->
578
+ <div class="memitem">
579
+ <div class="memproto">
580
+ <table class="memname">
581
+ <tr>
582
+ <td class="memname">void Gosu::Color::setAlpha </td>
583
+ <td>(</td>
584
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
585
+ <td class="paramname"> <em>value</em> </td>
586
+ <td>&nbsp;)&nbsp;</td>
587
+ <td></td>
588
+ </tr>
589
+ </table>
590
+ </div>
591
+ <div class="memdoc">
592
+
593
+ <p>
594
+
595
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00070">70</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
596
+
597
+ </div>
598
+ </div><p>
599
+ <a class="anchor" name="3134366a8659048a8ec0e2ac8c8f75b1"></a><!-- doxytag: member="Gosu::Color::setBlue" ref="3134366a8659048a8ec0e2ac8c8f75b1" args="(Channel value)" -->
600
+ <div class="memitem">
601
+ <div class="memproto">
602
+ <table class="memname">
603
+ <tr>
604
+ <td class="memname">void Gosu::Color::setBlue </td>
605
+ <td>(</td>
606
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
607
+ <td class="paramname"> <em>value</em> </td>
608
+ <td>&nbsp;)&nbsp;</td>
609
+ <td></td>
610
+ </tr>
611
+ </table>
612
+ </div>
613
+ <div class="memdoc">
614
+
615
+ <p>
616
+
617
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00088">88</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
618
+
619
+ </div>
620
+ </div><p>
621
+ <a class="anchor" name="ca2c08537635c0e6fd86d7e4b703a6ea"></a><!-- doxytag: member="Gosu::Color::setGreen" ref="ca2c08537635c0e6fd86d7e4b703a6ea" args="(Channel value)" -->
622
+ <div class="memitem">
623
+ <div class="memproto">
624
+ <table class="memname">
625
+ <tr>
626
+ <td class="memname">void Gosu::Color::setGreen </td>
627
+ <td>(</td>
628
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
629
+ <td class="paramname"> <em>value</em> </td>
630
+ <td>&nbsp;)&nbsp;</td>
631
+ <td></td>
632
+ </tr>
633
+ </table>
634
+ </div>
635
+ <div class="memdoc">
636
+
637
+ <p>
638
+
639
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00082">82</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
640
+
641
+ </div>
642
+ </div><p>
643
+ <a class="anchor" name="ea1515be19da555c8beed681bd97e714"></a><!-- doxytag: member="Gosu::Color::setHue" ref="ea1515be19da555c8beed681bd97e714" args="(double h)" -->
644
+ <div class="memitem">
645
+ <div class="memproto">
646
+ <table class="memname">
647
+ <tr>
648
+ <td class="memname">void Gosu::Color::setHue </td>
649
+ <td>(</td>
650
+ <td class="paramtype">double&nbsp;</td>
651
+ <td class="paramname"> <em>h</em> </td>
652
+ <td>&nbsp;)&nbsp;</td>
653
+ <td></td>
654
+ </tr>
655
+ </table>
656
+ </div>
657
+ <div class="memdoc">
658
+
659
+ <p>
660
+ Changes the current color so <a class="el" href="class_gosu_1_1_color.html#e7dea29641a5e7c1a903f17c8f91ca41" title="Returns the hue of the color, in the usual range of 0..360.">hue()</a> will return h.
661
+ <p>
662
+
663
+ </div>
664
+ </div><p>
665
+ <a class="anchor" name="fc65d1b1bac9ade6efed437312c21a93"></a><!-- doxytag: member="Gosu::Color::setRed" ref="fc65d1b1bac9ade6efed437312c21a93" args="(Channel value)" -->
666
+ <div class="memitem">
667
+ <div class="memproto">
668
+ <table class="memname">
669
+ <tr>
670
+ <td class="memname">void Gosu::Color::setRed </td>
671
+ <td>(</td>
672
+ <td class="paramtype"><a class="el" href="class_gosu_1_1_color.html#34cffcd5f7a3c8668b74fb489a5be708">Channel</a>&nbsp;</td>
673
+ <td class="paramname"> <em>value</em> </td>
674
+ <td>&nbsp;)&nbsp;</td>
675
+ <td></td>
676
+ </tr>
677
+ </table>
678
+ </div>
679
+ <div class="memdoc">
680
+
681
+ <p>
682
+
683
+ <p>Definition at line <a class="el" href="_color_8hpp-source.html#l00076">76</a> of file <a class="el" href="_color_8hpp-source.html">Color.hpp</a>.</p>
684
+
685
+ </div>
686
+ </div><p>
687
+ <a class="anchor" name="e5401d0533adc33bd2ce0d7d6bf360e6"></a><!-- doxytag: member="Gosu::Color::setSaturation" ref="e5401d0533adc33bd2ce0d7d6bf360e6" args="(double s)" -->
688
+ <div class="memitem">
689
+ <div class="memproto">
690
+ <table class="memname">
691
+ <tr>
692
+ <td class="memname">void Gosu::Color::setSaturation </td>
693
+ <td>(</td>
694
+ <td class="paramtype">double&nbsp;</td>
695
+ <td class="paramname"> <em>s</em> </td>
696
+ <td>&nbsp;)&nbsp;</td>
697
+ <td></td>
698
+ </tr>
699
+ </table>
700
+ </div>
701
+ <div class="memdoc">
702
+
703
+ <p>
704
+ Changes the current color so <a class="el" href="class_gosu_1_1_color.html#50f84f148ae5676376f7ffab757ebe96" title="Returns the saturation of the color, in the range of 0..1.">saturation()</a> will return s.
705
+ <p>
706
+
707
+ </div>
708
+ </div><p>
709
+ <a class="anchor" name="7c84051414c6044f5928920dca1ca2c5"></a><!-- doxytag: member="Gosu::Color::setValue" ref="7c84051414c6044f5928920dca1ca2c5" args="(double v)" -->
710
+ <div class="memitem">
711
+ <div class="memproto">
712
+ <table class="memname">
713
+ <tr>
714
+ <td class="memname">void Gosu::Color::setValue </td>
715
+ <td>(</td>
716
+ <td class="paramtype">double&nbsp;</td>
717
+ <td class="paramname"> <em>v</em> </td>
718
+ <td>&nbsp;)&nbsp;</td>
719
+ <td></td>
720
+ </tr>
721
+ </table>
722
+ </div>
723
+ <div class="memdoc">
724
+
725
+ <p>
726
+ Changes the current color so <a class="el" href="class_gosu_1_1_color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value()</a> will return v.
727
+ <p>
728
+
729
+ </div>
730
+ </div><p>
731
+ <a class="anchor" name="fa5e1b57786f25f93f8ef84acebfd82f"></a><!-- doxytag: member="Gosu::Color::value" ref="fa5e1b57786f25f93f8ef84acebfd82f" args="() const " -->
732
+ <div class="memitem">
733
+ <div class="memproto">
734
+ <table class="memname">
735
+ <tr>
736
+ <td class="memname">double Gosu::Color::value </td>
737
+ <td>(</td>
738
+ <td class="paramname"> </td>
739
+ <td>&nbsp;)&nbsp;</td>
740
+ <td> const</td>
741
+ </tr>
742
+ </table>
743
+ </div>
744
+ <div class="memdoc">
745
+
746
+ <p>
747
+ Returns the value (brightness) of the color, in the range of 0..1.
748
+ <p>
749
+
750
+ </div>
751
+ </div><p>
752
+ <hr>The documentation for this class was generated from the following file:<ul>
753
+ <li><a class="el" href="_color_8hpp-source.html">Color.hpp</a></ul>
754
+ </div>
755
+ <p class="footer">Documentation not clear enough? Please go to one of the places listed on <a href="http://www.libgosu.org/">http://www.libgosu.org/</a> and leave feedback. Thanks!</p>
756
+ </div>
757
+ </body>
758
+ </html>