1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html><head> |
|
3 <title>AIF Editor in AIF Definition File</title> |
|
4 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
5 </head> |
|
6 <body> |
|
7 <h2>AIF Editor</h2> |
|
8 |
|
9 <p> |
|
10 The <b>AIF Editor</b> allows you to specify the Symbian OS |
|
11 resource file and bitmaps that should be included in a Symbian OS application |
|
12 information (AIF) file. Use of AIF files is restricted to using <span class="filename">.bmp</span> files and works for versions 2.x and later releases of the Symbian OS SDKs. For more information, see <a href="../concepts/AIFDefWizard.html">AIF File</a>.</p> |
|
13 <p> |
|
14 The AIF Editor is shown when a new AIF file is created or an existing file is edited in the Resources group of the MMP editor's Sources tab. Refer to <a href="../tasks/AppInfoFile.html">Creating an AIF File</a> for more information.</p> |
|
15 |
|
16 <p align="center" class="Image"><img src="../tasks/projects/images/AIF_editor2.png" width="700" height="575" /></p> |
|
17 <h5>Table 1. AIF Editor —Items</h5> |
|
18 <table width="94%" border="0" cellpadding="2" cellspacing="0"> |
|
19 <tr> |
|
20 <th width="32%" scope="col">Item</th> |
|
21 <th width="68%" scope="col">Explanation</th> |
|
22 </tr> |
|
23 <tr> |
|
24 <td><b>Target File </b></td> |
|
25 <td><p>Specifies the filename of the compiled AIF file, relative to the target path. Click the untitled.aif button to set the target file based on the SDK and project name.</p></td> |
|
26 </tr> |
|
27 <tr> |
|
28 <td><b>Resource File Path </b></td> |
|
29 <td>Choose a resource file from the current project, browse the file system or enter the path. For relative paths use the Carbide project as the reference point, not the MMP file location. </td> |
|
30 </tr> |
|
31 <tr> |
|
32 <td><b>Up</b></td> |
|
33 <td>Select an image in the list and click Up to move the selection one position up in the list.</td> |
|
34 </tr> |
|
35 <tr> |
|
36 <td><b>Down</b></td> |
|
37 <td><p>Select an image in the list and click Down to move the selection one position down in the list. </p></td> |
|
38 </tr> |
|
39 <tr> |
|
40 <td><b>Pair Image and Mask </b></td> |
|
41 <td>Select two adjacent unpaired BMP image entries in the list and click this button to combine the images together into image/mask pairs.</td> |
|
42 </tr> |
|
43 <tr> |
|
44 <td><b>Split Image and Mask </b></td> |
|
45 <td>Select a paired BMP image in the list and click this button to split the image into image and mask entries. </td> |
|
46 </tr> |
|
47 <tr> |
|
48 <td><b>Swap Image and Mask </b></td> |
|
49 <td>Select a paired BMP image in the list and click this button to swap the image and mask files and format information in paired image entries. </td> |
|
50 </tr> |
|
51 <tr> |
|
52 <td><b><a href="add_from_project.htm">Add From Project</a> </b></td> |
|
53 <td>Click this button to open an Add Images from Project dialog to reference available images in the project.</td> |
|
54 </tr> |
|
55 <tr> |
|
56 <td><b><a href="add_from_filesys.htm">Add From Filesystem</a></b></td> |
|
57 <td>Click this button to open an Add Images From Filesystem dialog to locate and reference existing images in the filesystem or copy images to the project.</td> |
|
58 </tr> |
|
59 <tr> |
|
60 <td><b>Remove</b></td> |
|
61 <td>Select an image and click Remove to remove image entry from the list. This does not delete file from directory.</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><b>Color depth </b></td> |
|
65 <td>Select the bit depth used to encode the image at build time.</td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><b>Mask depth </b></td> |
|
69 <td><p>Select the bit depth used to encode the mask at build time. Options include:</p> |
|
70 <ul> |
|
71 <li>n/a - Do not apply mask depth to images </li> |
|
72 <li>1 - A 1-bit mask treats pixels as "on/off" bits, where black is opaque and white is transparent. </li> |
|
73 <li>8 - An 8-bit mask is treated as alpha values, where black is transparent and white is opaque.</li> |
|
74 </ul></td> |
|
75 </tr> |
|
76 <tr> |
|
77 <td><b>Color format </b></td> |
|
78 <td>Select Color to encode the image(s) as color or select Grayscale to encode the image(s) as grayscale.</td> |
|
79 </tr> |
|
80 <tr> |
|
81 <td><b>Preview</b></td> |
|
82 <td>A preview of the image as it will appear at runtime. </td> |
|
83 </tr> |
|
84 </table> |
|
85 <p> </p> |
|
86 <h5>Related concepts</h5> |
|
87 <ul> |
|
88 <li><a href="../concepts/AIFDefWizard.html">AIF File</a></li> |
|
89 </ul> |
|
90 <h5>Related tasks</h5> |
|
91 <ul> |
|
92 <li><a href="../tasks/AppInfoFile.html">Creating an AIF File</a></li> |
|
93 </ul> |
|
94 <div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
95 |
|
96 </body> |
|
97 </html> |
|
98 |
|