mi32/iconid.h File Reference

<mi32/iconid.h> More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INC_MI32_ICONID_H

Enumerations

enum  ICONID

Detailed Description

<mi32/iconid.h>

MGUI::ICONID enumerations


Define Documentation

#define INC_MI32_ICONID_H

Enumeration Type Documentation

enum ICONID

Icon ID enumeration.

To add a new icon:

1. If the icon does not exist in 'icons.ref', add using the 'dispicon' utility, or have the graphic designer do so. Note the icon group/name for later use.

2. Add IDI_ entries to <mi32/iconid.h> for the icon. New entry should always be 1 greater than the last IDI value.

3. Edit the ICONIDTABLE in <mi32/iconid.h> to add the new icon. If the icon is a new size for an existing icon change the ICONIDENTRY to ICONIDENTRY2 or ICONENTRY3 as appropriate. Otherwise add a new ICONIDENTRY containing the resource name (without the IDI_ prefix), the icon group and icon name from 'icons.ref'. Keep items in alphabetical order by resource name.

4. The X version of the translation is defined in 'micon.c'. This module will NOT rebuild automatically after edits to the ICONIDTABLE, so if immediate use of the icon is desired in an X application you will need to 'touch' the 'micon.c' module before starting a library build.


Generated on Sun Oct 7 21:26:34 2012 for TNTsdk 2012 by  doxygen 1.6.1