Lines Matching refs:icon
81 /* We read the directory entries in a cursor or icon file into
100 } icon;
156 /* The number of icon resources we have written out. */
778 /* A cursor file is basically an icon file. The start of the file
789 /* Read in the icon directory entries. */
1160 /* Define an icon resource. An icon file may contain a set of
1161 bitmaps, each representing the same icon at various different
1163 real icon resource is then a group resource which can be used to
1164 select one of the actual icon bitmaps. */
1178 e = open_file_search (filename, FOPEN_RB, "icon file", &real_filename);
1180 /* The start of an icon file is a three word structure. The first
1188 fatal (_("icon file `%s' does not contain icon data"), real_filename);
1190 /* Read in the icon directory entries. */
1200 icondirs[i].u.icon.planes = get_word (e, real_filename);
1201 icondirs[i].u.icon.bits = get_word (e, real_filename);
1209 /* Define each icon as a unique resource. */
1242 /* Define an icon group resource. */
1260 if (icondirs[i].u.icon.planes)
1261 cg->planes = icondirs[i].u.icon.planes;
1265 if (icondirs[i].u.icon.bits)
1266 cg->bits = icondirs[i].u.icon.bits;
1311 fatal (_("unexpected group icon type %d"), type);
1319 fatal ("too small group icon rcdata");
1372 fatal ("too small group icon rcdata");
2098 case RT_ICON: s = "icon"; break;
2108 case RT_GROUP_ICON: s = "group icon"; break;
2629 { "ICON", CTL_STATIC, SS_ICON },
2751 /* Write out group icon data. This would normally be built from the
2752 icon data. */