3 <h3 id="TOP">Index</h3>
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>
15 <li><a href="#AUTHOR">AUTHOR</a></li>
16 <li><a href="#SEE_ALSO">SEE ALSO</a>
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>
26 <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>
27 <div id="DESCRIPTION_CONTENT">
28 <p><cite>SDL::Palette</cite> 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>
32 <h1 id="METHODS">METHODS</h1><p><a href="#TOP" class="toplink">Top</a></p>
33 <div id="METHODS_CONTENT">
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>
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>
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>
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>
56 <h2 id="size">size</h2>
57 <div id="size_CONTENT">
58 <p>Returns the size of the palette.</p>
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>
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><cite>perl</cite> <cite>SDL::Color</cite> <cite>SDL::Surface</cite></p>