The basic name for the icon must be no more than seven characters. The size and color suffixes are appended to the name, as shown in Table 4-4.
Table 4-4 Icon Name Conventions
Size |
COLOR |
B&W |
B&W Mask |
---|---|---|---|
48 |
Iconame.l.pm |
Iconame.l.bm |
Iconame.l_m.bm |
32 |
Iconame.m.pm |
Iconame.m.bm |
Iconame.m_m.bm |
24 |
Iconame.s.pm |
Iconame.s.bm |
Iconame.s_m.bm |
16 |
Iconame.t.pm |
Iconame.t.bm |
Iconame.t_m.bm |
The suffix .pm is for the color XPM format. The suffix .bm is for the XBM format. The suffix _m refers to the mask for the black and white icon.
Please note that you do not have to provide icons in all these configurations. Table 4-3 lists the required icons. For example, the .s icons are used primarily for things like tool bars, which your application may not have.