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*_GetBG3ExtMode</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G2*_GetBG3ExtMode <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<CODE>#include &lt;nitro/gx/gx_bgcnt.h&gt;</CODE><BR>
20  <PRE><CODE>static inline GXBGExtMode G2_GetBG3ExtMode( void );</CODE>
21<CODE>static inline GXBGExtMode G2S_GetBG3ExtMode( void );</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24<P>None.</P>
25<h2>Return Values</h2>
26<p>The Affine Expanded BG type settings for BG3.</p>
27<H2>Description</H2>
28<P>Gets the expanded BG type settings for BG3 as <code>GXBGExtMode</code>. Use the <CODE>G2_GetBG3ExtMode</CODE> function to get the settings for the main 2D engine and the <CODE>G2S_GetBG3ExtMode</CODE> function to get the settings for the sub 2D engine. To use this function, the BG mode of BG3 must be set to Affine Expanded BG. The following is the definition of <code>GXBGExtMode</code>:</P>
29<PRE>typedef enum
30{
31    GX_BG_EXTMODE_256x16PLTT = (0 &lt;&lt; REG_G2_BG2CNT_CHARBASE_SHIFT) | (0 &lt;&lt; REG_G2_BG2CNT_COLORMODE_SHIFT),
32    GX_BG_EXTMODE_256BITMAP  = (0 &lt;&lt; REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 &lt;&lt; REG_G2_BG2CNT_COLORMODE_SHIFT),
33    GX_BG_EXTMODE_DCBITMAP   = (1 &lt;&lt; REG_G2_BG2CNT_CHARBASE_SHIFT) | (1 &lt;&lt; REG_G2_BG2CNT_COLORMODE_SHIFT)
34}
35GXBGExtMode;
36</PRE>
37
38<h2>See Also</h2>
39<P><a href="../gx/GX_SetGraphicsMode.html">GX_SetGraphicsMode</a>, <a  href="../gx/GXS_SetGraphicsMode.html">GXS_SetGraphicsMode</a></P>
40<H2>Revision History</H2>
41<P>2004/12/24 Initial version.</P>
42
43<hr><p>CONFIDENTIAL</p></body>
44</html>
45