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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>G2_SetBlendBrightness</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G2_SetBlendBrightness <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.h&gt;</CODE><BR>
21<CODE>void G2_SetBlendBrightness(<BR>    int plane /* GXBlendPlaneMask */,<BR>    int brightness<BR>);</CODE></PRE></dd>
22</dl><h2>Arguments</h2>
23
24<table border="1" width="100%">
25
26    <tr>
27      <TD width="30"><em><strong><font face="Courier New">plane</font></strong></em></TD>
28      <TD width="672">Selects the plane where the brightness will be changed (result of a logical OR with the <code>GXBlendPlaneMask</code> type values)</TD>
29    </tr>
30    <TR>
31      <TD width="30"><em><strong><font face="Courier New">brightness</font></strong></em></TD>
32      <TD width="672">Specifies the coefficient for brightness change (-16 &le;  <em><strong><CODE>brightness</CODE></strong></em> &le; 16)</TD>
33    </TR>
34  </table>
35<h2>Return Values</h2>
36<p>None.</p>
37<H2>Description</H2>
38<P>This function changes the brightness of the screen specified by <em><strong><code>plane</code></strong></em>. If <em><strong><code>brightness</code></strong></em> is positive, the brightness increases; if it is negative, the brightness decreases. Refer to the <CODE><A href="G2_SetBlendAlpha.html">G2_SetBlendAlpha</A></CODE> function for details on the <code>GXBlendPlaneMask</code> type.</P>
39<h2>See Also</h2>
40<P><CODE><A href="G2_BlendNone.html">G2_BlendNone</A>, <A href="G2_SetBlendAlpha.html">G2_SetBlendAlpha</A>, <A href="G2_SetBlendBrightnessExt.html">G2_SetBlendBrightnessExt</A>, <A href="G2_ChangeBlendAlpha.html">G2_ChangeBlendAlpha</A>, <A href="G2_ChangeBlendBrightness.html">G2_ChangeBlendBrightness</A></CODE></P>
41<H2>Revision History</H2>
42<P>2004/01/19 Initial version.</P>
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45