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>G2S_SetBG3ControlDCBmp</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">G2S_SetBG3ControlDCBmp <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>void G2S_SetBG3ControlDCBmp(
21    GXBGScrSizeDcBmp screenSize,
22    GXBGAreaOver areaOver,
23    GXBGBmpScrBase screenBase
24);</CODE></PRE>
25  </dd>
26</dl><h2>Arguments</h2>
27<TABLE border="1" width="100%">
28  <TBODY>
29    <TR>
30      <TD width="300"><em><strong><font face="Courier New">screenSize</font></strong></em></TD>
31      <TD width="700">Screen Size</TD>
32    </TR>
33    <TR>
34      <TD><em><strong><font face="Courier New">areaOver</font></strong></em></TD>
35      <TD>Option for out-of-area processing</TD>
36    </TR>
37    <TR>
38      <TD><em><strong><font face="Courier New">screenBase</font></strong></em></TD>
39      <TD>Screen base block</TD>
40    </TR>
41  </TBODY>
42</TABLE>
43<h2>Return Values</h2>
44<p>None.</p>
45<H2>Description</H2>
46<P>This function sets the sub 2D Engine's BG3 (in the case of direct color bit mapped BG).<BR>
47</P>
48<TABLE border="1">
49  <TBODY>
50    <TR>
51      <TD width="30%"><CODE>GX_BG_SCRSIZE_DCBMP_128x128</CODE></TD>
52      <TD width="70%">Sets screen size to 128x128 pixels (32 kilobytes).</TD>
53    </TR>
54    <TR>
55      <TD width="30%"><CODE>GX_BG_SCRSIZE_DCBMP_256x256</CODE></TD>
56      <TD width="70%">Sets screen size to 256x256 pixels (128 kilobytes).</TD>
57    </TR>
58  </TBODY>
59</TABLE>
60<P></P>
61<TABLE border="1">
62  <TBODY>
63    <TR>
64      <TD width="30%"><CODE>GX_BG_AREAOVER_XLU</CODE></TD>
65      <TD width="70%">Transparent display of the out-of-area region</TD>
66    </TR>
67    <TR>
68      <TD width="30%"><CODE>GX_BG_AREAOVER_REPEAT</CODE></TD>
69      <TD width="70%">Wraparound display of the out-of-area region</TD>
70    </TR>
71  </TBODY>
72</TABLE>
73<P></P>
74<TABLE border="1">
75  <TBODY>
76    <TR>
77      <TD width="30%"><CODE>GX_BG_BMPSCRBASE_0xnnnnn</CODE></TD>
78      <TD width="70%">Specifies BG3 screen base block.</TD>
79    </TR>
80  </TBODY>
81</TABLE>
82<P>The following describes the enumerated type definitions of the arguments.</P>
83<PRE><CODE>typedef enum
84{
85    GX_BG_SCRSIZE_DCBMP_128x128 = 0,
86    GX_BG_SCRSIZE_DCBMP_256x256 = 1,
87    GX_BG_SCRSIZE_DCBMP_512x256 = 2,
88    GX_BG_SCRSIZE_DCBMP_512x512 = 3
89}
90GXBGScrSizeDcBmp;
91
92typedef enum
93{
94    GX_BG_AREAOVER_XLU = 0,
95    GX_BG_AREAOVER_REPEAT = 1
96}
97GXBGAreaOver;
98
99typedef enum
100{
101    GX_BG_BMPSCRBASE_0x00000 = 0,
102    GX_BG_BMPSCRBASE_0x04000 = 1,
103    GX_BG_BMPSCRBASE_0x08000 = 2,
104    GX_BG_BMPSCRBASE_0x0c000 = 3,
105    GX_BG_BMPSCRBASE_0x10000 = 4,
106    GX_BG_BMPSCRBASE_0x14000 = 5,
107    GX_BG_BMPSCRBASE_0x18000 = 6,
108    GX_BG_BMPSCRBASE_0x1c000 = 7,
109    GX_BG_BMPSCRBASE_0x20000 = 8,
110    GX_BG_BMPSCRBASE_0x24000 = 9,
111    GX_BG_BMPSCRBASE_0x28000 = 10,
112    GX_BG_BMPSCRBASE_0x2c000 = 11,
113    GX_BG_BMPSCRBASE_0x30000 = 12,
114    GX_BG_BMPSCRBASE_0x34000 = 13,
115    GX_BG_BMPSCRBASE_0x38000 = 14,
116    GX_BG_BMPSCRBASE_0x3c000 = 15,
117    GX_BG_BMPSCRBASE_0x40000 = 16,
118    GX_BG_BMPSCRBASE_0x44000 = 17,
119    GX_BG_BMPSCRBASE_0x48000 = 18,
120    GX_BG_BMPSCRBASE_0x4c000 = 19,
121    GX_BG_BMPSCRBASE_0x50000 = 20,
122    GX_BG_BMPSCRBASE_0x54000 = 21,
123    GX_BG_BMPSCRBASE_0x58000 = 22,
124    GX_BG_BMPSCRBASE_0x5c000 = 23,
125    GX_BG_BMPSCRBASE_0x60000 = 24,
126    GX_BG_BMPSCRBASE_0x64000 = 25,
127    GX_BG_BMPSCRBASE_0x68000 = 26,
128    GX_BG_BMPSCRBASE_0x6c000 = 27,
129    GX_BG_BMPSCRBASE_0x70000 = 28,
130    GX_BG_BMPSCRBASE_0x74000 = 29,
131    GX_BG_BMPSCRBASE_0x78000 = 30,
132    GX_BG_BMPSCRBASE_0x7c000 = 31
133}
134GXBGBmpScrBase;</CODE></PRE>
135<h2>See Also</h2>
136<P><A href="G2_GetBG3ControlDCBmp.html">G2S_GetBG3ControlDCBmp</A></P>
137<H2>Revision History</H2>
138<P>2004/02/07 Initial version.</P>
139<hr><p>CONFIDENTIAL</p></body>
140</html>
141