fixed url-generator
[sdlgit/SDL-Site.git] / pages / SDL-Game-Palette.html-inc
1 <div class="pod">
2 <!-- INDEX START -->
3 <h3 id="TOP">Index</h3>
4
5 <ul><li><a href="#NAME">NAME</a></li>
6 <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
7 <li><a href="#METHODS">METHODS</a>
8 <ul><li><a href="#blue_index_value">blue ( index, [value] )</a></li>
9 <li><a href="#green_index_value">green ( index, [value] )</a></li>
10 <li><a href="#red_index_value">red ( index, [value] )</a></li>
11 <li><a href="#color_index_r_g_b">color ( index, [ r, g, b ] )</a></li>
12 <li><a href="#size">size</a></li>
13 </ul>
14 </li>
15 <li><a href="#AUTHOR">AUTHOR</a></li>
16 <li><a href="#SEE_ALSO">SEE ALSO</a>
17 </li>
18 </ul><hr />
19 <!-- INDEX END -->
20
21 <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p>
22 <div id="NAME_CONTENT">
23 <p>SDL::Palette - a perl extension</p>
24
25 </div>
26 <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
27 <div id="DESCRIPTION_CONTENT">
28 <p><a href="SDL-Palette.html">SDL::Palette</a> provides an interface to the SDL_Palette structures,
29 and can be used to set the color values of an existing palette's indexes.</p>
30
31 </div>
32 <h1 id="METHODS">METHODS</h1><p><a href="#TOP" class="toplink">Top</a></p>
33 <div id="METHODS_CONTENT">
34
35 </div>
36 <h2 id="blue_index_value">blue ( index, [value] )</h2>
37 <div id="blue_index_value_CONTENT">
38 <p>Fetches and sets the blue component of the color at index.</p>
39
40 </div>
41 <h2 id="green_index_value">green ( index, [value] )</h2>
42 <div id="green_index_value_CONTENT">
43 <p>Fetches and sets the green component of the color at index.</p>
44
45 </div>
46 <h2 id="red_index_value">red ( index, [value] )</h2>
47 <div id="red_index_value_CONTENT">
48 <p>Fetches and sets the red component of the color at index.</p>
49
50 </div>
51 <h2 id="color_index_r_g_b">color ( index, [ r, g, b ] )</h2>
52 <div id="color_index_r_g_b_CONTENT">
53 <p>Fetches and sets the RGB, returns an SDL_Color *.</p>
54
55 </div>
56 <h2 id="size">size</h2>
57 <div id="size_CONTENT">
58 <p>Returns the size of the palette.</p>
59
60 </div>
61 <h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p>
62 <div id="AUTHOR_CONTENT">
63 <p>David J. Goehrig</p>
64
65 </div>
66 <h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p>
67 <div id="SEE_ALSO_CONTENT">
68 <p><a href="http://search.cpan.org/perldoc?perl">perl</a> <a href="SDL-Color.html">SDL::Color</a> <a href="SDL-Surface.html">SDL::Surface</a></p>
69
70 </div>
71 </div>