6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 |
8 |
9 <h2>MBM/MIF Editor</h2> |
9 <h2>MBM/MIF Editor</h2> |
10 |
10 |
11 <p>The MIF Editor allows you to create or edit the <span class="code">.mif</span> files list of scalable icons (<span class="code">.svg</span>) |
11 <p>The <b>MIF Editor</b> allows you to create or edit the <span class="code">.mif</span> files list of scalable icons (<span class="code">.svg</span>) |
12 included in a S60 v3.0 and later GUI projects as well as standard <span class="code">.bmp</span> files. A .mif file is a MSX Interchange Format (MIF) file that should be built by the project. MIF files replace the functionality of AIF (and MBM) files.</p> |
12 included in a S60 v3.0 and later GUI projects as well as standard <span class="code">.bmp</span> files. A .mif file is a MSX Interchange Format (MIF) file that should be built by the project. MIF files replace the functionality of AIF (and MBM) files.</p> |
13 <p class="note"><b>NOTE</b> This editor is only supported by the S60 3.0 and later SDKs.</p> |
13 <p class="note"><b>NOTE</b> This editor is only supported by the S60 3.0 and later SDKs.</p> |
14 <p class="note"><b>NOTE</b> For resources that are included after creating a project, you should ensure that the output location is set correctly by viewing the file properties. The output location is set to "{EPOCROOT}\epoc32\include" by default, so if an alternate location is required you can set this in the file properties.</p> |
14 <p class="note"><b>NOTE</b> For resources that are included after creating a project, you should ensure that the output location is set correctly by viewing the file properties. The output location is set to "<span class="code">{EPOCROOT}\epoc32\include</span>" by default, so if an alternate location is required you can set this in the file properties.</p> |
15 <p>The MIF Editor appears when a MIF file is |
15 <p align="center" class="Image"><img src="../tasks/projects/images/mif_file_symprojnav.png" width="299" height="292"></p> |
16 opened for editing. To open the editor double-click on a .mif file in the Symbian Project Navigator view (figure 1), or select a scalable icon makefile (for example, Icons_scalable_dc.mk), right-click and select the Add MBM/MIF Entry command.</p> |
16 <p class="figure">Figure 1 - MIF File in the Symbian Project Navigator view</p> |
17 <p> </p> |
17 <p>The <b>MIF Editor</b> appears when a MIF file is |
18 <p align="center" class="Image"><img src="../tasks/projects/images/mif_file_symprojnav.png" width="299" height="292"></p> |
18 opened for editing. To open the editor double-click on a .mif file in the <a href="view_sym_proj_nav.htm">Symbian Project Navigator</a> view (figure 1), or select a scalable icon makefile (for example, <span class="code">Icons_scalable_dc.mk</span>), right-click and select the <b>Add MBM/MIF Entry</b> command.</p> |
19 <p class="figure">Figure 1 - MIF File in Symbian Project Navigator</p> |
19 <p align="center"><img src="../tasks/projects/images/MBM_MIF_editor.png" width="900" height="600"> </p> |
20 <p> </p> |
20 <p class="figure">Figure 2 - MBM/MIF Editor</p> |
21 <p><img src="../tasks/projects/images/MBM_MIF_editor.png" width="900" height="600"> </p> |
|
22 <p class="figure">Figure 2 - MBM/MIF Editor</p> |
|
23 <h5>Table 1. MBM/MIF Editor —Items</h5> |
21 <h5>Table 1. MBM/MIF Editor —Items</h5> |
24 <table width="94%" border="0" cellpadding="2" cellspacing="0"> |
22 <table width="94%" border="0" cellpadding="2" cellspacing="0"> |
25 <tr> |
23 <tr> |
26 <th width="32%" scope="col">Item</th> |
24 <th width="32%" scope="col">Item</th> |
27 <th width="68%" scope="col">Explanation</th> |
25 <th width="68%" scope="col">Explanation</th> |
28 </tr> |
26 </tr> |
29 <tr> |
27 <tr> |
30 <td><b>Target File </b></td> |
28 <td><b>Target File </b></td> |
31 <td><p>Specifies the EPOCROOT relative path for the compiled images. Click the Default button to set the target file based on the SDK and project name. </p></td> |
29 <td><p>Specifies the <span class="code">EPOCROOT</span> relative path for the compiled images. Click the Default button to set the target file based on the SDK and project name. </p></td> |
32 </tr> |
30 </tr> |
33 <tr> |
31 <tr> |
34 <td><b>Header File </b></td> |
32 <td><b>Header File </b></td> |
35 <td>Shows the generated header file. Select the Header option in the Header Generation group to create a default .mbg file. The path cannot be edited in this field. </td> |
33 <td>Shows the generated header file. Select the Header option in the Header Generation group to create a default .mbg file. The path cannot be edited in this field. </td> |
36 </tr> |
34 </tr> |
62 <td><b>Swap Image and Mask </b></td> |
60 <td><b>Swap Image and Mask </b></td> |
63 <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> |
61 <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> |
64 </tr> |
62 </tr> |
65 <tr> |
63 <tr> |
66 <td><b>Add From Project </b></td> |
64 <td><b>Add From Project </b></td> |
67 <td>Click this button to open an Add Images from Project dialog to reference available images in the project.</td> |
65 <td>Click this button to open the <b>Add Images from Project</b> dialog to reference available images in the project.</td> |
68 </tr> |
66 </tr> |
69 <tr> |
67 <tr> |
70 <td><b>Add From Filesystem </b></td> |
68 <td><b>Add From Filesystem </b></td> |
71 <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> |
69 <td>Click this button to open the <b>Add Images From Filesystem</b> dialog to locate and reference existing images in the filesystem or copy images to the project.</td> |
72 </tr> |
70 </tr> |
73 <tr> |
71 <tr> |
74 <td><b>Remove</b></td> |
72 <td><b>Remove</b></td> |
75 <td>Select an image and click Remove to remove image entry from the list. This does not delete file from directory.</td> |
73 <td>Select an image and click <b>Remove</b> to remove image entry from the list. This does not delete file from directory.</td> |
76 </tr> |
74 </tr> |
77 <tr> |
75 <tr> |
78 <td><b>Color depth </b></td> |
76 <td><b>Color depth </b></td> |
79 <td>Select the bit depth used to encode the image at build time.</td> |
77 <td>Select the bit depth used to encode the image at build time.</td> |
80 </tr> |
78 </tr> |