Lines Matching full:images

66  *	CARD32		subtype	    entry subtype (size for images)
96 XcursorUInt subtype; /* subtype (size for images) */
129 XcursorUInt subtype; /* chunk subtype (size for images) */
227 XcursorImages *images; in XcursorImagesCreate() local
229 images = malloc (sizeof (XcursorImages) + in XcursorImagesCreate()
231 if (!images) in XcursorImagesCreate()
233 images->nimage = 0; in XcursorImagesCreate()
234 images->images = (XcursorImage **) (images + 1); in XcursorImagesCreate()
235 images->name = NULL; in XcursorImagesCreate()
236 return images; in XcursorImagesCreate()
240 XcursorImagesDestroy (XcursorImages *images) in XcursorImagesDestroy() argument
244 if (!images) in XcursorImagesDestroy()
247 for (n = 0; n < images->nimage; n++) in XcursorImagesDestroy()
248 XcursorImageDestroy (images->images[n]); in XcursorImagesDestroy()
249 if (images->name) in XcursorImagesDestroy()
250 free (images->name); in XcursorImagesDestroy()
251 free (images); in XcursorImagesDestroy()
255 XcursorImagesSetName (XcursorImages *images, const char *name) in XcursorImagesSetName() argument
259 if (!images || !name) in XcursorImagesSetName()
268 if (images->name) in XcursorImagesSetName()
269 free (images->name); in XcursorImagesSetName()
270 images->name = new; in XcursorImagesSetName()
522 XcursorImages *images; in XcursorXcFileLoadImages() local
537 images = XcursorImagesCreate (nsize); in XcursorXcFileLoadImages()
538 if (!images) in XcursorXcFileLoadImages()
548 images->images[images->nimage] = _XcursorReadImage (file, fileHeader, in XcursorXcFileLoadImages()
550 if (!images->images[images->nimage]) in XcursorXcFileLoadImages()
552 images->nimage++; in XcursorXcFileLoadImages()
555 if (images->nimage != nsize) in XcursorXcFileLoadImages()
557 XcursorImagesDestroy (images); in XcursorXcFileLoadImages()
558 images = NULL; in XcursorXcFileLoadImages()
560 return images; in XcursorXcFileLoadImages()
845 XcursorImages *images = NULL; in XcursorLibraryLoadImages() local
856 images = XcursorFileLoadImages (f, size); in XcursorLibraryLoadImages()
857 if (images) in XcursorLibraryLoadImages()
858 XcursorImagesSetName (images, file); in XcursorLibraryLoadImages()
861 return images; in XcursorLibraryLoadImages()
873 XcursorImages *images; in load_all_cursors_from_dir() local
895 images = XcursorFileLoadImages(f, size); in load_all_cursors_from_dir()
897 if (images) { in load_all_cursors_from_dir()
898 XcursorImagesSetName(images, ent->d_name); in load_all_cursors_from_dir()
899 load_callback(images, user_data); in load_all_cursors_from_dir()
911 * This function loads all the cursor images of a given theme and its
921 * \param size The desired size of the cursor images