gosu 0.7.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING.txt +29 -0
- data/Gosu/Async.hpp +48 -0
- data/Gosu/Audio.hpp +145 -0
- data/Gosu/AutoLink.hpp +16 -0
- data/Gosu/Bitmap.hpp +85 -0
- data/Gosu/ButtonsMac.hpp +114 -0
- data/Gosu/ButtonsWin.hpp +111 -0
- data/Gosu/ButtonsX.hpp +115 -0
- data/Gosu/Color.hpp +172 -0
- data/Gosu/Directories.hpp +36 -0
- data/Gosu/Font.hpp +59 -0
- data/Gosu/Fwd.hpp +31 -0
- data/Gosu/Gosu.hpp +26 -0
- data/Gosu/Graphics.hpp +86 -0
- data/Gosu/GraphicsBase.hpp +45 -0
- data/Gosu/IO.hpp +255 -0
- data/Gosu/Image.hpp +148 -0
- data/Gosu/ImageData.hpp +45 -0
- data/Gosu/Input.hpp +116 -0
- data/Gosu/Math.hpp +95 -0
- data/Gosu/Platform.hpp +61 -0
- data/Gosu/RotFlip.hpp +116 -0
- data/Gosu/Sockets.hpp +129 -0
- data/Gosu/Text.hpp +47 -0
- data/Gosu/TextInput.hpp +57 -0
- data/Gosu/Timing.hpp +16 -0
- data/Gosu/Utility.hpp +24 -0
- data/Gosu/WinUtility.hpp +76 -0
- data/Gosu/Window.hpp +84 -0
- data/GosuImpl/Async.cpp +37 -0
- data/GosuImpl/AudioFmod.cpp +417 -0
- data/GosuImpl/AudioSDL.cpp +255 -0
- data/GosuImpl/DirectoriesMac.mm +38 -0
- data/GosuImpl/DirectoriesUnix.cpp +48 -0
- data/GosuImpl/DirectoriesWin.cpp +42 -0
- data/GosuImpl/FileUnix.cpp +100 -0
- data/GosuImpl/FileWin.cpp +83 -0
- data/GosuImpl/Graphics/Bitmap.cpp +116 -0
- data/GosuImpl/Graphics/BitmapBMP.cpp +232 -0
- data/GosuImpl/Graphics/BitmapColorKey.cpp +39 -0
- data/GosuImpl/Graphics/BitmapPNG.cpp +276 -0
- data/GosuImpl/Graphics/BitmapUtils.cpp +67 -0
- data/GosuImpl/Graphics/BlockAllocator.cpp +127 -0
- data/GosuImpl/Graphics/BlockAllocator.hpp +34 -0
- data/GosuImpl/Graphics/Color.cpp +126 -0
- data/GosuImpl/Graphics/Common.hpp +21 -0
- data/GosuImpl/Graphics/DrawOp.hpp +154 -0
- data/GosuImpl/Graphics/Font.cpp +110 -0
- data/GosuImpl/Graphics/Graphics.cpp +295 -0
- data/GosuImpl/Graphics/Image.cpp +159 -0
- data/GosuImpl/Graphics/LargeImageData.cpp +115 -0
- data/GosuImpl/Graphics/LargeImageData.hpp +37 -0
- data/GosuImpl/Graphics/RotFlip.cpp +184 -0
- data/GosuImpl/Graphics/TexChunk.cpp +77 -0
- data/GosuImpl/Graphics/TexChunk.hpp +40 -0
- data/GosuImpl/Graphics/Text.cpp +223 -0
- data/GosuImpl/Graphics/TextMac.cpp +242 -0
- data/GosuImpl/Graphics/TextPangoFT.cpp +186 -0
- data/GosuImpl/Graphics/TextWin.cpp +172 -0
- data/GosuImpl/Graphics/Texture.cpp +104 -0
- data/GosuImpl/Graphics/Texture.hpp +34 -0
- data/GosuImpl/IO.cpp +48 -0
- data/GosuImpl/InputMac.mm +677 -0
- data/GosuImpl/InputWin.cpp +444 -0
- data/GosuImpl/InputX.cpp +158 -0
- data/GosuImpl/MacUtility.hpp +48 -0
- data/GosuImpl/Math.cpp +49 -0
- data/GosuImpl/RubyGosu.swg +474 -0
- data/GosuImpl/RubyGosuStub.mm +17 -0
- data/GosuImpl/RubyGosu_DllMain.cxx +30 -0
- data/GosuImpl/RubyGosu_wrap.cxx +8521 -0
- data/GosuImpl/RubyGosu_wrap.h +31 -0
- data/GosuImpl/Sockets/CommSocket.cpp +304 -0
- data/GosuImpl/Sockets/ListenerSocket.cpp +60 -0
- data/GosuImpl/Sockets/MessageSocket.cpp +136 -0
- data/GosuImpl/Sockets/Socket.cpp +145 -0
- data/GosuImpl/Sockets/Sockets.hpp +66 -0
- data/GosuImpl/TextInputMac.mm +207 -0
- data/GosuImpl/TextInputWin.cpp +197 -0
- data/GosuImpl/TextInputX.cpp +201 -0
- data/GosuImpl/TextTTFWin.cpp +247 -0
- data/GosuImpl/TimingUnix.cpp +17 -0
- data/GosuImpl/TimingWin.cpp +28 -0
- data/GosuImpl/Utility.cpp +140 -0
- data/GosuImpl/WinMain.cpp +69 -0
- data/GosuImpl/WinUtility.cpp +137 -0
- data/GosuImpl/WindowMac.mm +466 -0
- data/GosuImpl/WindowWin.cpp +447 -0
- data/GosuImpl/WindowX.cpp +392 -0
- data/GosuImpl/X11vroot.h +118 -0
- data/README.txt +13 -0
- data/Rakefile +178 -0
- data/examples/ChipmunkIntegration.rb +275 -0
- data/examples/CptnRuby.rb +231 -0
- data/examples/MoreChipmunkAndRMagick.rb +155 -0
- data/examples/OpenGLIntegration.rb +232 -0
- data/examples/RMagickIntegration.rb +449 -0
- data/examples/TextInput.cpp +170 -0
- data/examples/TextInput.rb +139 -0
- data/examples/Tutorial.cpp +215 -0
- data/examples/Tutorial.rb +137 -0
- data/examples/media/Beep.wav +0 -0
- data/examples/media/CptnRuby Gem.png +0 -0
- data/examples/media/CptnRuby Map.txt +25 -0
- data/examples/media/CptnRuby Tileset.png +0 -0
- data/examples/media/CptnRuby.png +0 -0
- data/examples/media/Cursor.png +0 -0
- data/examples/media/Earth.png +0 -0
- data/examples/media/Explosion.wav +0 -0
- data/examples/media/LargeStar.png +0 -0
- data/examples/media/Sky.jpg +0 -0
- data/examples/media/Smoke.png +0 -0
- data/examples/media/Soldier.png +0 -0
- data/examples/media/Space.png +0 -0
- data/examples/media/Star.png +0 -0
- data/examples/media/Starfighter.bmp +0 -0
- data/linux/Makefile.in +98 -0
- data/linux/configure +5658 -0
- data/linux/configure.ac +126 -0
- data/linux/extconf.rb +11 -0
- data/mac/English.lproj/InfoPlist.strings +0 -0
- data/mac/Gosu-Info.plist +26 -0
- data/mac/Gosu.xcodeproj/project.pbxproj +1194 -0
- data/mac/RubyGosu Template-Info.plist +26 -0
- data/mac/libboost_thread_1_34_1_universal.a +0 -0
- data/mac/libboost_thread_d_1_34_1_universal.a +0 -0
- data/mac/libfmod_universal.a +0 -0
- data/mac/libpng_universal.a +0 -0
- data/mac/libz_universal.a +0 -0
- data/reference/Async_8hpp-source.html +70 -0
- data/reference/Audio_8hpp-source.html +114 -0
- data/reference/Audio_8hpp.html +50 -0
- data/reference/AutoLink_8hpp-source.html +38 -0
- data/reference/AutoLink_8hpp.html +34 -0
- data/reference/Bitmap_8hpp-source.html +85 -0
- data/reference/Bitmap_8hpp.html +58 -0
- data/reference/ButtonsMac_8hpp-source.html +133 -0
- data/reference/ButtonsWin_8hpp-source.html +133 -0
- data/reference/ButtonsX_8hpp-source.html +134 -0
- data/reference/Color_8hpp-source.html +169 -0
- data/reference/Color_8hpp.html +85 -0
- data/reference/Directories_8hpp-source.html +42 -0
- data/reference/Directories_8hpp.html +46 -0
- data/reference/Font_8hpp-source.html +65 -0
- data/reference/Font_8hpp.html +41 -0
- data/reference/Fwd_8hpp-source.html +52 -0
- data/reference/Fwd_8hpp.html +37 -0
- data/reference/Gosu_8hpp-source.html +48 -0
- data/reference/Gosu_8hpp.html +34 -0
- data/reference/GraphicsBase_8hpp-source.html +57 -0
- data/reference/GraphicsBase_8hpp.html +56 -0
- data/reference/Graphics_8hpp-source.html +96 -0
- data/reference/Graphics_8hpp.html +53 -0
- data/reference/IO_8hpp-source.html +255 -0
- data/reference/IO_8hpp.html +74 -0
- data/reference/ImageData_8hpp-source.html +62 -0
- data/reference/ImageData_8hpp.html +43 -0
- data/reference/Image_8hpp-source.html +126 -0
- data/reference/Image_8hpp.html +48 -0
- data/reference/Input_8hpp-source.html +118 -0
- data/reference/Input_8hpp.html +50 -0
- data/reference/Math_8hpp-source.html +92 -0
- data/reference/Math_8hpp.html +74 -0
- data/reference/Platform_8hpp-source.html +83 -0
- data/reference/Platform_8hpp.html +73 -0
- data/reference/RotFlip_8hpp-source.html +138 -0
- data/reference/RotFlip_8hpp.html +77 -0
- data/reference/Sockets_8hpp-source.html +130 -0
- data/reference/Sockets_8hpp.html +66 -0
- data/reference/TextInput_8hpp-source.html +64 -0
- data/reference/TextInput_8hpp.html +41 -0
- data/reference/Text_8hpp-source.html +51 -0
- data/reference/Text_8hpp.html +46 -0
- data/reference/Timing_8hpp-source.html +36 -0
- data/reference/Timing_8hpp.html +42 -0
- data/reference/Utility_8hpp-source.html +44 -0
- data/reference/Utility_8hpp.html +48 -0
- data/reference/WinUtility_8hpp-source.html +79 -0
- data/reference/WinUtility_8hpp.html +64 -0
- data/reference/Window_8hpp-source.html +91 -0
- data/reference/Window_8hpp.html +41 -0
- data/reference/annotated.html +51 -0
- data/reference/classGosu_1_1Audio-members.html +34 -0
- data/reference/classGosu_1_1Audio.html +46 -0
- data/reference/classGosu_1_1Bitmap-members.html +44 -0
- data/reference/classGosu_1_1Bitmap.html +263 -0
- data/reference/classGosu_1_1Buffer-members.html +44 -0
- data/reference/classGosu_1_1Buffer.html +78 -0
- data/reference/classGosu_1_1Buffer.png +0 -0
- data/reference/classGosu_1_1Button-members.html +36 -0
- data/reference/classGosu_1_1Button.html +143 -0
- data/reference/classGosu_1_1Color-members.html +56 -0
- data/reference/classGosu_1_1Color.html +387 -0
- data/reference/classGosu_1_1File-members.html +41 -0
- data/reference/classGosu_1_1File.html +69 -0
- data/reference/classGosu_1_1File.png +0 -0
- data/reference/classGosu_1_1Font-members.html +39 -0
- data/reference/classGosu_1_1Font.html +309 -0
- data/reference/classGosu_1_1Graphics-members.html +50 -0
- data/reference/classGosu_1_1Graphics.html +234 -0
- data/reference/classGosu_1_1Image-members.html +45 -0
- data/reference/classGosu_1_1Image.html +518 -0
- data/reference/classGosu_1_1ImageData-members.html +37 -0
- data/reference/classGosu_1_1ImageData.html +60 -0
- data/reference/classGosu_1_1Input-members.html +44 -0
- data/reference/classGosu_1_1Input.html +223 -0
- data/reference/classGosu_1_1MessageSocket-members.html +40 -0
- data/reference/classGosu_1_1MessageSocket.html +233 -0
- data/reference/classGosu_1_1Resource-members.html +39 -0
- data/reference/classGosu_1_1Resource.html +116 -0
- data/reference/classGosu_1_1Resource.png +0 -0
- data/reference/classGosu_1_1Sample-members.html +37 -0
- data/reference/classGosu_1_1Sample.html +200 -0
- data/reference/classGosu_1_1SampleInstance-members.html +38 -0
- data/reference/classGosu_1_1SampleInstance.html +169 -0
- data/reference/classGosu_1_1Song-members.html +43 -0
- data/reference/classGosu_1_1Song.html +260 -0
- data/reference/classGosu_1_1TextInput-members.html +38 -0
- data/reference/classGosu_1_1TextInput.html +121 -0
- data/reference/classGosu_1_1Window-members.html +50 -0
- data/reference/classGosu_1_1Window.html +271 -0
- data/reference/doxyfile +233 -0
- data/reference/doxygen.css +433 -0
- data/reference/doxygen.png +0 -0
- data/reference/files.html +54 -0
- data/reference/functions.html +236 -0
- data/reference/functions_enum.html +45 -0
- data/reference/functions_func.html +227 -0
- data/reference/functions_vars.html +47 -0
- data/reference/hierarchy.html +53 -0
- data/reference/index.html +26 -0
- data/reference/namespaceGosu.html +2890 -0
- data/reference/namespaceGosu_1_1Colors.html +70 -0
- data/reference/namespaceGosu_1_1Win.html +275 -0
- data/reference/namespacemembers.html +216 -0
- data/reference/namespacemembers_enum.html +52 -0
- data/reference/namespacemembers_eval.html +54 -0
- data/reference/namespacemembers_func.html +185 -0
- data/reference/namespacemembers_type.html +46 -0
- data/reference/namespacemembers_vars.html +46 -0
- data/reference/namespaces.html +35 -0
- data/reference/tab_b.gif +0 -0
- data/reference/tab_l.gif +0 -0
- data/reference/tab_r.gif +0 -0
- data/reference/tabs.css +102 -0
- data/windows/Gosu.sln +29 -0
- data/windows/Gosu.vcproj +553 -0
- data/windows/RubyGosu.vcproj +138 -0
- metadata +305 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Gosu: Gosu::Buffer Class Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
13
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
14
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<div class="tabs">
|
18
|
+
<ul>
|
19
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
20
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
21
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
<div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Buffer.html">Buffer</a>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
<div class="contents">
|
28
|
+
<h1>Gosu::Buffer Class Reference</h1><!-- doxytag: class="Gosu::Buffer" --><!-- doxytag: inherits="Gosu::Resource" -->Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface.
|
29
|
+
<a href="#_details">More...</a>
|
30
|
+
<p>
|
31
|
+
<div class="dynheader">
|
32
|
+
Inheritance diagram for Gosu::Buffer:</div>
|
33
|
+
<div class="dynsection">
|
34
|
+
|
35
|
+
<p><center><img src="classGosu_1_1Buffer.png" usemap="#Gosu::Buffer_map" border="0" alt=""></center>
|
36
|
+
<map name="Gosu::Buffer_map">
|
37
|
+
<area href="classGosu_1_1Resource.html" alt="Gosu::Resource" shape="rect" coords="0,0,101,24">
|
38
|
+
</map>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<p>
|
42
|
+
<a href="classGosu_1_1Buffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
43
|
+
<tr><td></td></tr>
|
44
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
45
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5633a0dc1b9b9d394cf53e5e06ab82c"></a><!-- doxytag: member="Gosu::Buffer::Buffer" ref="b5633a0dc1b9b9d394cf53e5e06ab82c" args="(const Buffer &other)" -->
|
46
|
+
</td><td class="memItemRight" valign="bottom"><b>Buffer</b> (const <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &other)</td></tr>
|
47
|
+
|
48
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6027117fa016fb5b1315106436badbc0"></a><!-- doxytag: member="Gosu::Buffer::operator=" ref="6027117fa016fb5b1315106436badbc0" args="(const Buffer &other)" -->
|
49
|
+
<a class="el" href="classGosu_1_1Buffer.html">Buffer</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classGosu_1_1Buffer.html">Buffer</a> &other)</td></tr>
|
50
|
+
|
51
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87dc8af05b5c5073ef12bdf3368dcfe3"></a><!-- doxytag: member="Gosu::Buffer::size" ref="87dc8af05b5c5073ef12bdf3368dcfe3" args="() const " -->
|
52
|
+
std::size_t </td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
|
53
|
+
|
54
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2ba0896aa3e51d2d8ae30551288fabc"></a><!-- doxytag: member="Gosu::Buffer::resize" ref="a2ba0896aa3e51d2d8ae30551288fabc" args="(std::size_t newSize)" -->
|
55
|
+
void </td><td class="memItemRight" valign="bottom"><b>resize</b> (std::size_t newSize)</td></tr>
|
56
|
+
|
57
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="663043ae5ef683670989dfa2fc71c189"></a><!-- doxytag: member="Gosu::Buffer::read" ref="663043ae5ef683670989dfa2fc71c189" args="(std::size_t offset, std::size_t length, void *destBuffer) const " -->
|
58
|
+
void </td><td class="memItemRight" valign="bottom"><b>read</b> (std::size_t offset, std::size_t length, void *destBuffer) const </td></tr>
|
59
|
+
|
60
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6fb20591d430230c854aaa9ff5f29bc3"></a><!-- doxytag: member="Gosu::Buffer::write" ref="6fb20591d430230c854aaa9ff5f29bc3" args="(std::size_t offset, std::size_t length, const void *sourceBuffer)" -->
|
61
|
+
void </td><td class="memItemRight" valign="bottom"><b>write</b> (std::size_t offset, std::size_t length, const void *sourceBuffer)</td></tr>
|
62
|
+
|
63
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d488eb50bdec6f327dee18025dc95714"></a><!-- doxytag: member="Gosu::Buffer::data" ref="d488eb50bdec6f327dee18025dc95714" args="() const " -->
|
64
|
+
const void * </td><td class="memItemRight" valign="bottom"><b>data</b> () const </td></tr>
|
65
|
+
|
66
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e71074a520bb3939313b7610432c7358"></a><!-- doxytag: member="Gosu::Buffer::data" ref="e71074a520bb3939313b7610432c7358" args="()" -->
|
67
|
+
void * </td><td class="memItemRight" valign="bottom"><b>data</b> ()</td></tr>
|
68
|
+
|
69
|
+
</table>
|
70
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
71
|
+
Piece of memory with the <a class="el" href="classGosu_1_1Resource.html" title="Base class for resources.">Resource</a> interface. <hr>The documentation for this class was generated from the following file:<ul>
|
72
|
+
<li><a class="el" href="IO_8hpp-source.html">IO.hpp</a></ul>
|
73
|
+
</div>
|
74
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by
|
75
|
+
<a href="http://www.doxygen.org/index.html">
|
76
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
77
|
+
</body>
|
78
|
+
</html>
|
Binary file
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Gosu: Member List</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
13
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
14
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<div class="tabs">
|
18
|
+
<ul>
|
19
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
20
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
21
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<div class="contents">
|
26
|
+
<h1>Gosu::Button Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Button.html">Gosu::Button</a>, including all inherited members.<p><table>
|
27
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#e32f254fdf87bd98cfaa2c1be62e5600">Button</a>(unsigned id)</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline, explicit]</code></td></tr>
|
28
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#0277cb92caff494eb2b568101ada4254">Button</a>()</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
|
29
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b0d53d357fa263d676d803c6c6baf843">Button</a>(ButtonName name)</td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
|
30
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a>() const </td><td><a class="el" href="classGosu_1_1Button.html">Gosu::Button</a></td><td><code> [inline]</code></td></tr>
|
31
|
+
</table></div>
|
32
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by
|
33
|
+
<a href="http://www.doxygen.org/index.html">
|
34
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,143 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Gosu: Gosu::Button Class Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
13
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
14
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<div class="tabs">
|
18
|
+
<ul>
|
19
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
20
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
21
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
<div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Button.html">Button</a>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
<div class="contents">
|
28
|
+
<h1>Gosu::Button Class Reference</h1><!-- doxytag: class="Gosu::Button" -->Very lightweight class that identifies a button (keyboard, mouse or other device).
|
29
|
+
<a href="#_details">More...</a>
|
30
|
+
<p>
|
31
|
+
|
32
|
+
<p>
|
33
|
+
<a href="classGosu_1_1Button-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
34
|
+
<tr><td></td></tr>
|
35
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
36
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#e32f254fdf87bd98cfaa2c1be62e5600">Button</a> (unsigned id)</td></tr>
|
37
|
+
|
38
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#b4427dd79ad56325fc5d0509b7ddaed2">getId</a> () const </td></tr>
|
39
|
+
|
40
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#0277cb92caff494eb2b568101ada4254">Button</a> ()</td></tr>
|
41
|
+
|
42
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Button.html#b0d53d357fa263d676d803c6c6baf843">Button</a> (<a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a> name)</td></tr>
|
43
|
+
|
44
|
+
</table>
|
45
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
46
|
+
Very lightweight class that identifies a button (keyboard, mouse or other device). <hr><h2>Constructor & Destructor Documentation</h2>
|
47
|
+
<a class="anchor" name="e32f254fdf87bd98cfaa2c1be62e5600"></a><!-- doxytag: member="Gosu::Button::Button" ref="e32f254fdf87bd98cfaa2c1be62e5600" args="(unsigned id)" -->
|
48
|
+
<div class="memitem">
|
49
|
+
<div class="memproto">
|
50
|
+
<table class="memname">
|
51
|
+
<tr>
|
52
|
+
<td class="memname">Gosu::Button::Button </td>
|
53
|
+
<td>(</td>
|
54
|
+
<td class="paramtype">unsigned </td>
|
55
|
+
<td class="paramname"> <em>id</em> </td>
|
56
|
+
<td> ) </td>
|
57
|
+
<td width="100%"><code> [inline, explicit]</code></td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<div class="memdoc">
|
62
|
+
|
63
|
+
<p>
|
64
|
+
For internal use.
|
65
|
+
<p>
|
66
|
+
|
67
|
+
</div>
|
68
|
+
</div><p>
|
69
|
+
<a class="anchor" name="0277cb92caff494eb2b568101ada4254"></a><!-- doxytag: member="Gosu::Button::Button" ref="0277cb92caff494eb2b568101ada4254" args="()" -->
|
70
|
+
<div class="memitem">
|
71
|
+
<div class="memproto">
|
72
|
+
<table class="memname">
|
73
|
+
<tr>
|
74
|
+
<td class="memname">Gosu::Button::Button </td>
|
75
|
+
<td>(</td>
|
76
|
+
<td class="paramname"> </td>
|
77
|
+
<td> ) </td>
|
78
|
+
<td width="100%"><code> [inline]</code></td>
|
79
|
+
</tr>
|
80
|
+
</table>
|
81
|
+
</div>
|
82
|
+
<div class="memdoc">
|
83
|
+
|
84
|
+
<p>
|
85
|
+
Default constructor; == noButton.
|
86
|
+
<p>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
</div><p>
|
90
|
+
<a class="anchor" name="b0d53d357fa263d676d803c6c6baf843"></a><!-- doxytag: member="Gosu::Button::Button" ref="b0d53d357fa263d676d803c6c6baf843" args="(ButtonName name)" -->
|
91
|
+
<div class="memitem">
|
92
|
+
<div class="memproto">
|
93
|
+
<table class="memname">
|
94
|
+
<tr>
|
95
|
+
<td class="memname">Gosu::Button::Button </td>
|
96
|
+
<td>(</td>
|
97
|
+
<td class="paramtype"><a class="el" href="namespaceGosu.html#b085b2dbdd533b49dadaf217dbcf8368">ButtonName</a> </td>
|
98
|
+
<td class="paramname"> <em>name</em> </td>
|
99
|
+
<td> ) </td>
|
100
|
+
<td width="100%"><code> [inline]</code></td>
|
101
|
+
</tr>
|
102
|
+
</table>
|
103
|
+
</div>
|
104
|
+
<div class="memdoc">
|
105
|
+
|
106
|
+
<p>
|
107
|
+
Conversion from ButtonName constants.
|
108
|
+
<p>
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div><p>
|
112
|
+
<hr><h2>Member Function Documentation</h2>
|
113
|
+
<a class="anchor" name="b4427dd79ad56325fc5d0509b7ddaed2"></a><!-- doxytag: member="Gosu::Button::getId" ref="b4427dd79ad56325fc5d0509b7ddaed2" args="() const " -->
|
114
|
+
<div class="memitem">
|
115
|
+
<div class="memproto">
|
116
|
+
<table class="memname">
|
117
|
+
<tr>
|
118
|
+
<td class="memname">unsigned Gosu::Button::getId </td>
|
119
|
+
<td>(</td>
|
120
|
+
<td class="paramname"> </td>
|
121
|
+
<td> ) </td>
|
122
|
+
<td width="100%"> const<code> [inline]</code></td>
|
123
|
+
</tr>
|
124
|
+
</table>
|
125
|
+
</div>
|
126
|
+
<div class="memdoc">
|
127
|
+
|
128
|
+
<p>
|
129
|
+
For internal use.
|
130
|
+
<p>
|
131
|
+
|
132
|
+
<p>Referenced by <a class="el" href="Input_8hpp-source.html#l00052">Gosu::operator==()</a>.</p>
|
133
|
+
|
134
|
+
</div>
|
135
|
+
</div><p>
|
136
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
137
|
+
<li><a class="el" href="Input_8hpp-source.html">Input.hpp</a></ul>
|
138
|
+
</div>
|
139
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by
|
140
|
+
<a href="http://www.doxygen.org/index.html">
|
141
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
142
|
+
</body>
|
143
|
+
</html>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Gosu: Member List</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
13
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
14
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<div class="tabs">
|
18
|
+
<ul>
|
19
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
20
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
21
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<div class="contents">
|
26
|
+
<h1>Gosu::Color Member List</h1>This is the complete list of members for <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>, including all inherited members.<p><table>
|
27
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
28
|
+
<tr bgcolor="#f0f0f0"><td><b>alpha</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
29
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
30
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
31
|
+
<tr bgcolor="#f0f0f0"><td><b>blue</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
32
|
+
<tr bgcolor="#f0f0f0"><td><b>Channel</b> typedef (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
33
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a>()</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
34
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a>(boost::uint32_t argb)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
35
|
+
<tr bgcolor="#f0f0f0"><td><b>Color</b>(Channel red, Channel green, Channel blue) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
36
|
+
<tr bgcolor="#f0f0f0"><td><b>Color</b>(Channel alpha, Channel red, Channel green, Channel blue) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
37
|
+
<tr bgcolor="#f0f0f0"><td><b>fromAHSV</b>(Channel alpha, double h, double s, double v) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
|
38
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a>(double h, double s, double v)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [static]</code></td></tr>
|
39
|
+
<tr bgcolor="#f0f0f0"><td><b>green</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
40
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
41
|
+
<tr bgcolor="#f0f0f0"><td><b>red</b>() const (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
42
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
43
|
+
<tr bgcolor="#f0f0f0"><td><b>setAlpha</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
44
|
+
<tr bgcolor="#f0f0f0"><td><b>setBlue</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
45
|
+
<tr bgcolor="#f0f0f0"><td><b>setGreen</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
46
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#ea1515be19da555c8beed681bd97e714">setHue</a>(double h)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
47
|
+
<tr bgcolor="#f0f0f0"><td><b>setRed</b>(Channel value) (defined in <a class="el" href="classGosu_1_1Color.html">Gosu::Color</a>)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td><code> [inline]</code></td></tr>
|
48
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a>(double s)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
49
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a>(double v)</td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
50
|
+
<tr class="memlist"><td><a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a>() const </td><td><a class="el" href="classGosu_1_1Color.html">Gosu::Color</a></td><td></td></tr>
|
51
|
+
</table></div>
|
52
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by
|
53
|
+
<a href="http://www.doxygen.org/index.html">
|
54
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
55
|
+
</body>
|
56
|
+
</html>
|
@@ -0,0 +1,387 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Gosu: Gosu::Color Class Reference</title>
|
4
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.5 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="index.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
13
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
14
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<div class="tabs">
|
18
|
+
<ul>
|
19
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
20
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
21
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
<div class="navpath"><a class="el" href="namespaceGosu.html">Gosu</a>::<a class="el" href="classGosu_1_1Color.html">Color</a>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
<div class="contents">
|
28
|
+
<h1>Gosu::Color Class Reference</h1><!-- doxytag: class="Gosu::Color" -->Represents an ARGB color value with 8 bits for each channel.
|
29
|
+
<a href="#_details">More...</a>
|
30
|
+
<p>
|
31
|
+
|
32
|
+
<p>
|
33
|
+
<a href="classGosu_1_1Color-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
34
|
+
<tr><td></td></tr>
|
35
|
+
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
|
36
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34cffcd5f7a3c8668b74fb489a5be708"></a><!-- doxytag: member="Gosu::Color::Channel" ref="34cffcd5f7a3c8668b74fb489a5be708" args="" -->
|
37
|
+
typedef boost::uint8_t </td><td class="memItemRight" valign="bottom"><b>Channel</b></td></tr>
|
38
|
+
|
39
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
40
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#10bae97d1c2f7482dff21f6b0fa4c533">Color</a> ()</td></tr>
|
41
|
+
|
42
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#d3875fcbe68fb1fe608ab15f38129c6e">Color</a> (boost::uint32_t argb)</td></tr>
|
43
|
+
|
44
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de4fc30548cc8de06d0d462d6ffeb334"></a><!-- doxytag: member="Gosu::Color::Color" ref="de4fc30548cc8de06d0d462d6ffeb334" args="(Channel red, Channel green, Channel blue)" -->
|
45
|
+
</td><td class="memItemRight" valign="bottom"><b>Color</b> (Channel red, Channel green, Channel blue)</td></tr>
|
46
|
+
|
47
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56a809423e134392d39fb675a1ad6700"></a><!-- doxytag: member="Gosu::Color::Color" ref="56a809423e134392d39fb675a1ad6700" args="(Channel alpha, Channel red, Channel green, Channel blue)" -->
|
48
|
+
</td><td class="memItemRight" valign="bottom"><b>Color</b> (Channel alpha, Channel red, Channel green, Channel blue)</td></tr>
|
49
|
+
|
50
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1e97f581f68947bedf7fd224246f128"></a><!-- doxytag: member="Gosu::Color::alpha" ref="d1e97f581f68947bedf7fd224246f128" args="() const " -->
|
51
|
+
Channel </td><td class="memItemRight" valign="bottom"><b>alpha</b> () const </td></tr>
|
52
|
+
|
53
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="266978e0d4e94dd7aa10bf8a66bc1aa8"></a><!-- doxytag: member="Gosu::Color::red" ref="266978e0d4e94dd7aa10bf8a66bc1aa8" args="() const " -->
|
54
|
+
Channel </td><td class="memItemRight" valign="bottom"><b>red</b> () const </td></tr>
|
55
|
+
|
56
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="551c77b7dfb7a2e7f56cdc57644ef832"></a><!-- doxytag: member="Gosu::Color::green" ref="551c77b7dfb7a2e7f56cdc57644ef832" args="() const " -->
|
57
|
+
Channel </td><td class="memItemRight" valign="bottom"><b>green</b> () const </td></tr>
|
58
|
+
|
59
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c7252f283e79bc94541d58e80a0d1cf"></a><!-- doxytag: member="Gosu::Color::blue" ref="9c7252f283e79bc94541d58e80a0d1cf" args="() const " -->
|
60
|
+
Channel </td><td class="memItemRight" valign="bottom"><b>blue</b> () const </td></tr>
|
61
|
+
|
62
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a50c1f07fe92d6c07cb98fd4fc1e536"></a><!-- doxytag: member="Gosu::Color::setAlpha" ref="9a50c1f07fe92d6c07cb98fd4fc1e536" args="(Channel value)" -->
|
63
|
+
void </td><td class="memItemRight" valign="bottom"><b>setAlpha</b> (Channel value)</td></tr>
|
64
|
+
|
65
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc65d1b1bac9ade6efed437312c21a93"></a><!-- doxytag: member="Gosu::Color::setRed" ref="fc65d1b1bac9ade6efed437312c21a93" args="(Channel value)" -->
|
66
|
+
void </td><td class="memItemRight" valign="bottom"><b>setRed</b> (Channel value)</td></tr>
|
67
|
+
|
68
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca2c08537635c0e6fd86d7e4b703a6ea"></a><!-- doxytag: member="Gosu::Color::setGreen" ref="ca2c08537635c0e6fd86d7e4b703a6ea" args="(Channel value)" -->
|
69
|
+
void </td><td class="memItemRight" valign="bottom"><b>setGreen</b> (Channel value)</td></tr>
|
70
|
+
|
71
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3134366a8659048a8ec0e2ac8c8f75b1"></a><!-- doxytag: member="Gosu::Color::setBlue" ref="3134366a8659048a8ec0e2ac8c8f75b1" args="(Channel value)" -->
|
72
|
+
void </td><td class="memItemRight" valign="bottom"><b>setBlue</b> (Channel value)</td></tr>
|
73
|
+
|
74
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41">hue</a> () const </td></tr>
|
75
|
+
|
76
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#ea1515be19da555c8beed681bd97e714">setHue</a> (double h)</td></tr>
|
77
|
+
|
78
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96">saturation</a> () const </td></tr>
|
79
|
+
|
80
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#e5401d0533adc33bd2ce0d7d6bf360e6">setSaturation</a> (double s)</td></tr>
|
81
|
+
|
82
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f">value</a> () const </td></tr>
|
83
|
+
|
84
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#7c84051414c6044f5928920dca1ca2c5">setValue</a> (double v)</td></tr>
|
85
|
+
|
86
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#b079fa3b6b7ebef6a2cf432b0b38984a">argb</a> () const </td></tr>
|
87
|
+
|
88
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#629f55a6f636bc8d677bcca01eedf1c5">bgr</a> () const </td></tr>
|
89
|
+
|
90
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">boost::uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#3ddd0323d5f1bf0d6dcf47ca6e80ca36">abgr</a> () const </td></tr>
|
91
|
+
|
92
|
+
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
|
93
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGosu_1_1Color.html">Color</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGosu_1_1Color.html#f14484c5cff18b011f32e434fe13dfff">fromHSV</a> (double h, double s, double v)</td></tr>
|
94
|
+
|
95
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b20e49f7a8bb0de839e05a0cf48a631e"></a><!-- doxytag: member="Gosu::Color::fromAHSV" ref="b20e49f7a8bb0de839e05a0cf48a631e" args="(Channel alpha, double h, double s, double v)" -->
|
96
|
+
static <a class="el" href="classGosu_1_1Color.html">Color</a> </td><td class="memItemRight" valign="bottom"><b>fromAHSV</b> (Channel alpha, double h, double s, double v)</td></tr>
|
97
|
+
|
98
|
+
</table>
|
99
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
100
|
+
Represents an ARGB color value with 8 bits for each channel.
|
101
|
+
<p>
|
102
|
+
Can be implicitly constructed from literals of the form 0xaarrggbb. Has fast value semantics. <hr><h2>Constructor & Destructor Documentation</h2>
|
103
|
+
<a class="anchor" name="10bae97d1c2f7482dff21f6b0fa4c533"></a><!-- doxytag: member="Gosu::Color::Color" ref="10bae97d1c2f7482dff21f6b0fa4c533" args="()" -->
|
104
|
+
<div class="memitem">
|
105
|
+
<div class="memproto">
|
106
|
+
<table class="memname">
|
107
|
+
<tr>
|
108
|
+
<td class="memname">Gosu::Color::Color </td>
|
109
|
+
<td>(</td>
|
110
|
+
<td class="paramname"> </td>
|
111
|
+
<td> ) </td>
|
112
|
+
<td width="100%"><code> [inline]</code></td>
|
113
|
+
</tr>
|
114
|
+
</table>
|
115
|
+
</div>
|
116
|
+
<div class="memdoc">
|
117
|
+
|
118
|
+
<p>
|
119
|
+
The default constructor does not initialize the color to any value.
|
120
|
+
<p>
|
121
|
+
|
122
|
+
</div>
|
123
|
+
</div><p>
|
124
|
+
<a class="anchor" name="d3875fcbe68fb1fe608ab15f38129c6e"></a><!-- doxytag: member="Gosu::Color::Color" ref="d3875fcbe68fb1fe608ab15f38129c6e" args="(boost::uint32_t argb)" -->
|
125
|
+
<div class="memitem">
|
126
|
+
<div class="memproto">
|
127
|
+
<table class="memname">
|
128
|
+
<tr>
|
129
|
+
<td class="memname">Gosu::Color::Color </td>
|
130
|
+
<td>(</td>
|
131
|
+
<td class="paramtype">boost::uint32_t </td>
|
132
|
+
<td class="paramname"> <em>argb</em> </td>
|
133
|
+
<td> ) </td>
|
134
|
+
<td width="100%"><code> [inline]</code></td>
|
135
|
+
</tr>
|
136
|
+
</table>
|
137
|
+
</div>
|
138
|
+
<div class="memdoc">
|
139
|
+
|
140
|
+
<p>
|
141
|
+
Conversion constructor for literals of the form 0xaarrggbb.
|
142
|
+
<p>
|
143
|
+
(C++ only.)
|
144
|
+
</div>
|
145
|
+
</div><p>
|
146
|
+
<hr><h2>Member Function Documentation</h2>
|
147
|
+
<a class="anchor" name="f14484c5cff18b011f32e434fe13dfff"></a><!-- doxytag: member="Gosu::Color::fromHSV" ref="f14484c5cff18b011f32e434fe13dfff" args="(double h, double s, double v)" -->
|
148
|
+
<div class="memitem">
|
149
|
+
<div class="memproto">
|
150
|
+
<table class="memname">
|
151
|
+
<tr>
|
152
|
+
<td class="memname">static <a class="el" href="classGosu_1_1Color.html">Color</a> Gosu::Color::fromHSV </td>
|
153
|
+
<td>(</td>
|
154
|
+
<td class="paramtype">double </td>
|
155
|
+
<td class="paramname"> <em>h</em>, </td>
|
156
|
+
</tr>
|
157
|
+
<tr>
|
158
|
+
<td class="paramkey"></td>
|
159
|
+
<td></td>
|
160
|
+
<td class="paramtype">double </td>
|
161
|
+
<td class="paramname"> <em>s</em>, </td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="paramkey"></td>
|
165
|
+
<td></td>
|
166
|
+
<td class="paramtype">double </td>
|
167
|
+
<td class="paramname"> <em>v</em></td><td> </td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td></td>
|
171
|
+
<td>)</td>
|
172
|
+
<td></td><td></td><td width="100%"><code> [static]</code></td>
|
173
|
+
</tr>
|
174
|
+
</table>
|
175
|
+
</div>
|
176
|
+
<div class="memdoc">
|
177
|
+
|
178
|
+
<p>
|
179
|
+
Constructs a color from the given hue/saturation/value triple.
|
180
|
+
<p>
|
181
|
+
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.
|
182
|
+
</div>
|
183
|
+
</div><p>
|
184
|
+
<a class="anchor" name="e7dea29641a5e7c1a903f17c8f91ca41"></a><!-- doxytag: member="Gosu::Color::hue" ref="e7dea29641a5e7c1a903f17c8f91ca41" args="() const " -->
|
185
|
+
<div class="memitem">
|
186
|
+
<div class="memproto">
|
187
|
+
<table class="memname">
|
188
|
+
<tr>
|
189
|
+
<td class="memname">double Gosu::Color::hue </td>
|
190
|
+
<td>(</td>
|
191
|
+
<td class="paramname"> </td>
|
192
|
+
<td> ) </td>
|
193
|
+
<td width="100%"> const</td>
|
194
|
+
</tr>
|
195
|
+
</table>
|
196
|
+
</div>
|
197
|
+
<div class="memdoc">
|
198
|
+
|
199
|
+
<p>
|
200
|
+
Returns the hue of the color, in the usual range of 0..360.
|
201
|
+
<p>
|
202
|
+
|
203
|
+
</div>
|
204
|
+
</div><p>
|
205
|
+
<a class="anchor" name="ea1515be19da555c8beed681bd97e714"></a><!-- doxytag: member="Gosu::Color::setHue" ref="ea1515be19da555c8beed681bd97e714" args="(double h)" -->
|
206
|
+
<div class="memitem">
|
207
|
+
<div class="memproto">
|
208
|
+
<table class="memname">
|
209
|
+
<tr>
|
210
|
+
<td class="memname">void Gosu::Color::setHue </td>
|
211
|
+
<td>(</td>
|
212
|
+
<td class="paramtype">double </td>
|
213
|
+
<td class="paramname"> <em>h</em> </td>
|
214
|
+
<td> ) </td>
|
215
|
+
<td width="100%"></td>
|
216
|
+
</tr>
|
217
|
+
</table>
|
218
|
+
</div>
|
219
|
+
<div class="memdoc">
|
220
|
+
|
221
|
+
<p>
|
222
|
+
Changes the current color so <a class="el" href="classGosu_1_1Color.html#e7dea29641a5e7c1a903f17c8f91ca41" title="Returns the hue of the color, in the usual range of 0..360.">hue()</a> will return h.
|
223
|
+
<p>
|
224
|
+
|
225
|
+
</div>
|
226
|
+
</div><p>
|
227
|
+
<a class="anchor" name="50f84f148ae5676376f7ffab757ebe96"></a><!-- doxytag: member="Gosu::Color::saturation" ref="50f84f148ae5676376f7ffab757ebe96" args="() const " -->
|
228
|
+
<div class="memitem">
|
229
|
+
<div class="memproto">
|
230
|
+
<table class="memname">
|
231
|
+
<tr>
|
232
|
+
<td class="memname">double Gosu::Color::saturation </td>
|
233
|
+
<td>(</td>
|
234
|
+
<td class="paramname"> </td>
|
235
|
+
<td> ) </td>
|
236
|
+
<td width="100%"> const</td>
|
237
|
+
</tr>
|
238
|
+
</table>
|
239
|
+
</div>
|
240
|
+
<div class="memdoc">
|
241
|
+
|
242
|
+
<p>
|
243
|
+
Returns the saturation of the color, in the range of 0..1.
|
244
|
+
<p>
|
245
|
+
|
246
|
+
</div>
|
247
|
+
</div><p>
|
248
|
+
<a class="anchor" name="e5401d0533adc33bd2ce0d7d6bf360e6"></a><!-- doxytag: member="Gosu::Color::setSaturation" ref="e5401d0533adc33bd2ce0d7d6bf360e6" args="(double s)" -->
|
249
|
+
<div class="memitem">
|
250
|
+
<div class="memproto">
|
251
|
+
<table class="memname">
|
252
|
+
<tr>
|
253
|
+
<td class="memname">void Gosu::Color::setSaturation </td>
|
254
|
+
<td>(</td>
|
255
|
+
<td class="paramtype">double </td>
|
256
|
+
<td class="paramname"> <em>s</em> </td>
|
257
|
+
<td> ) </td>
|
258
|
+
<td width="100%"></td>
|
259
|
+
</tr>
|
260
|
+
</table>
|
261
|
+
</div>
|
262
|
+
<div class="memdoc">
|
263
|
+
|
264
|
+
<p>
|
265
|
+
Changes the current color so <a class="el" href="classGosu_1_1Color.html#50f84f148ae5676376f7ffab757ebe96" title="Returns the saturation of the color, in the range of 0..1.">saturation()</a> will return s.
|
266
|
+
<p>
|
267
|
+
|
268
|
+
</div>
|
269
|
+
</div><p>
|
270
|
+
<a class="anchor" name="fa5e1b57786f25f93f8ef84acebfd82f"></a><!-- doxytag: member="Gosu::Color::value" ref="fa5e1b57786f25f93f8ef84acebfd82f" args="() const " -->
|
271
|
+
<div class="memitem">
|
272
|
+
<div class="memproto">
|
273
|
+
<table class="memname">
|
274
|
+
<tr>
|
275
|
+
<td class="memname">double Gosu::Color::value </td>
|
276
|
+
<td>(</td>
|
277
|
+
<td class="paramname"> </td>
|
278
|
+
<td> ) </td>
|
279
|
+
<td width="100%"> const</td>
|
280
|
+
</tr>
|
281
|
+
</table>
|
282
|
+
</div>
|
283
|
+
<div class="memdoc">
|
284
|
+
|
285
|
+
<p>
|
286
|
+
Returns the value (brightness) of the color, in the range of 0..1.
|
287
|
+
<p>
|
288
|
+
|
289
|
+
</div>
|
290
|
+
</div><p>
|
291
|
+
<a class="anchor" name="7c84051414c6044f5928920dca1ca2c5"></a><!-- doxytag: member="Gosu::Color::setValue" ref="7c84051414c6044f5928920dca1ca2c5" args="(double v)" -->
|
292
|
+
<div class="memitem">
|
293
|
+
<div class="memproto">
|
294
|
+
<table class="memname">
|
295
|
+
<tr>
|
296
|
+
<td class="memname">void Gosu::Color::setValue </td>
|
297
|
+
<td>(</td>
|
298
|
+
<td class="paramtype">double </td>
|
299
|
+
<td class="paramname"> <em>v</em> </td>
|
300
|
+
<td> ) </td>
|
301
|
+
<td width="100%"></td>
|
302
|
+
</tr>
|
303
|
+
</table>
|
304
|
+
</div>
|
305
|
+
<div class="memdoc">
|
306
|
+
|
307
|
+
<p>
|
308
|
+
Changes the current color so <a class="el" href="classGosu_1_1Color.html#fa5e1b57786f25f93f8ef84acebfd82f" title="Returns the value (brightness) of the color, in the range of 0..1.">value()</a> will return v.
|
309
|
+
<p>
|
310
|
+
|
311
|
+
</div>
|
312
|
+
</div><p>
|
313
|
+
<a class="anchor" name="b079fa3b6b7ebef6a2cf432b0b38984a"></a><!-- doxytag: member="Gosu::Color::argb" ref="b079fa3b6b7ebef6a2cf432b0b38984a" args="() const " -->
|
314
|
+
<div class="memitem">
|
315
|
+
<div class="memproto">
|
316
|
+
<table class="memname">
|
317
|
+
<tr>
|
318
|
+
<td class="memname">boost::uint32_t Gosu::Color::argb </td>
|
319
|
+
<td>(</td>
|
320
|
+
<td class="paramname"> </td>
|
321
|
+
<td> ) </td>
|
322
|
+
<td width="100%"> const<code> [inline]</code></td>
|
323
|
+
</tr>
|
324
|
+
</table>
|
325
|
+
</div>
|
326
|
+
<div class="memdoc">
|
327
|
+
|
328
|
+
<p>
|
329
|
+
Returns the color in 0xaarrggbb representation.
|
330
|
+
<p>
|
331
|
+
|
332
|
+
</div>
|
333
|
+
</div><p>
|
334
|
+
<a class="anchor" name="629f55a6f636bc8d677bcca01eedf1c5"></a><!-- doxytag: member="Gosu::Color::bgr" ref="629f55a6f636bc8d677bcca01eedf1c5" args="() const " -->
|
335
|
+
<div class="memitem">
|
336
|
+
<div class="memproto">
|
337
|
+
<table class="memname">
|
338
|
+
<tr>
|
339
|
+
<td class="memname">boost::uint32_t Gosu::Color::bgr </td>
|
340
|
+
<td>(</td>
|
341
|
+
<td class="paramname"> </td>
|
342
|
+
<td> ) </td>
|
343
|
+
<td width="100%"> const<code> [inline]</code></td>
|
344
|
+
</tr>
|
345
|
+
</table>
|
346
|
+
</div>
|
347
|
+
<div class="memdoc">
|
348
|
+
|
349
|
+
<p>
|
350
|
+
Returns the color in 0x00bbggrr representation.
|
351
|
+
<p>
|
352
|
+
|
353
|
+
<p>Referenced by <a class="el" href="Color_8hpp-source.html#l00125">abgr()</a>.</p>
|
354
|
+
|
355
|
+
</div>
|
356
|
+
</div><p>
|
357
|
+
<a class="anchor" name="3ddd0323d5f1bf0d6dcf47ca6e80ca36"></a><!-- doxytag: member="Gosu::Color::abgr" ref="3ddd0323d5f1bf0d6dcf47ca6e80ca36" args="() const " -->
|
358
|
+
<div class="memitem">
|
359
|
+
<div class="memproto">
|
360
|
+
<table class="memname">
|
361
|
+
<tr>
|
362
|
+
<td class="memname">boost::uint32_t Gosu::Color::abgr </td>
|
363
|
+
<td>(</td>
|
364
|
+
<td class="paramname"> </td>
|
365
|
+
<td> ) </td>
|
366
|
+
<td width="100%"> const<code> [inline]</code></td>
|
367
|
+
</tr>
|
368
|
+
</table>
|
369
|
+
</div>
|
370
|
+
<div class="memdoc">
|
371
|
+
|
372
|
+
<p>
|
373
|
+
Returns the color in 0xaabbggrr representation.
|
374
|
+
<p>
|
375
|
+
|
376
|
+
<p>References <a class="el" href="Color_8hpp-source.html#l00119">bgr()</a>.</p>
|
377
|
+
|
378
|
+
</div>
|
379
|
+
</div><p>
|
380
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
381
|
+
<li><a class="el" href="Color_8hpp-source.html">Color.hpp</a></ul>
|
382
|
+
</div>
|
383
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Sep 12 21:50:23 2008 for Gosu by
|
384
|
+
<a href="http://www.doxygen.org/index.html">
|
385
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
386
|
+
</body>
|
387
|
+
</html>
|