1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>G2_GetOBJColorParam</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G2_GetOBJColorParam<img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE>
20<CODE>#include &lt;nitro/gx/g2_oam.h&gt;</CODE><BR>
21<CODE>int G2_GetOBJColorParam(const <A href="../gx/GXOamAttr.html">GXOamAttr</A> * oam);</CODE></PRE></dd>
22</dl><h2>Arguments</h2>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26      <TD width="149"><em><strong><font face="Courier New">oam</font></strong></em></TD>
27      <TD width="706">Pointer to the location storing the OAM data</TD>
28    </TR>
29  </TBODY>
30</TABLE>
31<h2>Return Values</h2>
32<p>The color parameter. Obtains the palette number when the OBJ mode is set to something other than bitmap OBJ. Returns the alpha value of the OBJ when the OBJ mode is bitmap OBJ.</p>
33<H2>Description</H2>
34<P>*Gets the color parameter for the OAM data stored in *<b><i>oam</i></b>.</P>
35<h2>See Also</h2>
36<P><code><a href="G2_SetOBJAttr.html">G2_SetOBJAttr</a>, <a  href="G2_SetOBJMode.html">G2_SetOBJMode</a></code></P>
37<H2>Revision History</H2>
38<P>2004/06/09 Initial version.</P>
39<hr><p>CONFIDENTIAL</p></body>
40</html>
41