Lines Matching refs:icon
86 /* We read the directory entries in a cursor or icon file into
105 } icon;
161 /* The number of icon resources we have written out. */
722 /* A cursor file is basically an icon file. The start of the file
733 /* Read in the icon directory entries. */
1104 /* Define an icon resource. An icon file may contain a set of
1105 bitmaps, each representing the same icon at various different
1107 real icon resource is then a group resource which can be used to
1108 select one of the actual icon bitmaps. */
1122 e = open_file_search (filename, FOPEN_RB, "icon file", &real_filename);
1124 /* The start of an icon file is a three word structure. The first
1132 fatal (_("icon file `%s' does not contain icon data"), real_filename);
1134 /* Read in the icon directory entries. */
1144 icondirs[i].u.icon.planes = get_word (e, real_filename);
1145 icondirs[i].u.icon.bits = get_word (e, real_filename);
1153 /* Define each icon as a unique resource. */
1186 /* Define an icon group resource. */
1204 if (icondirs[i].u.icon.planes)
1205 cg->planes = icondirs[i].u.icon.planes;
1209 if (icondirs[i].u.icon.bits)
1210 cg->bits = icondirs[i].u.icon.bits;
1255 fatal (_("unexpected group icon type %d"), type);
1263 fatal ("too small group icon rcdata");
1316 fatal ("too small group icon rcdata");
2015 case RT_ICON: s = "icon"; break;
2025 case RT_GROUP_ICON: s = "group icon"; break;
2662 /* Write out group icon data. This would normally be built from the
2663 icon data. */