• Home
  • Raw
  • Download

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) */
232 XcursorImages *images; in XcursorImagesCreate() local
234 images = malloc (sizeof (XcursorImages) + in XcursorImagesCreate()
236 if (!images) in XcursorImagesCreate()
238 images->nimage = 0; in XcursorImagesCreate()
239 images->images = (XcursorImage **) (images + 1); in XcursorImagesCreate()
240 images->name = NULL; in XcursorImagesCreate()
241 return images; in XcursorImagesCreate()
245 XcursorImagesDestroy (XcursorImages *images) in XcursorImagesDestroy() argument
249 if (!images) in XcursorImagesDestroy()
252 for (n = 0; n < images->nimage; n++) in XcursorImagesDestroy()
253 XcursorImageDestroy (images->images[n]); in XcursorImagesDestroy()
254 if (images->name) in XcursorImagesDestroy()
255 free (images->name); in XcursorImagesDestroy()
256 free (images); in XcursorImagesDestroy()
260 XcursorImagesSetName (XcursorImages *images, const char *name) in XcursorImagesSetName() argument
264 if (!images || !name) in XcursorImagesSetName()
273 if (images->name) in XcursorImagesSetName()
274 free (images->name); in XcursorImagesSetName()
275 images->name = new; in XcursorImagesSetName()
529 XcursorImages *images; in XcursorXcFileLoadImages() local
544 images = XcursorImagesCreate (nsize); in XcursorXcFileLoadImages()
545 if (!images) in XcursorXcFileLoadImages()
555 images->images[images->nimage] = _XcursorReadImage (file, fileHeader, in XcursorXcFileLoadImages()
557 if (!images->images[images->nimage]) in XcursorXcFileLoadImages()
559 images->nimage++; in XcursorXcFileLoadImages()
562 if (images->nimage != nsize) in XcursorXcFileLoadImages()
564 XcursorImagesDestroy (images); in XcursorXcFileLoadImages()
565 images = NULL; in XcursorXcFileLoadImages()
567 return images; in XcursorXcFileLoadImages()
852 XcursorImages *images = NULL; in XcursorLibraryLoadImages() local
863 images = XcursorFileLoadImages (f, size); in XcursorLibraryLoadImages()
864 if (images) in XcursorLibraryLoadImages()
865 XcursorImagesSetName (images, file); in XcursorLibraryLoadImages()
868 return images; in XcursorLibraryLoadImages()
880 XcursorImages *images; in load_all_cursors_from_dir() local
902 images = XcursorFileLoadImages(f, size); in load_all_cursors_from_dir()
904 if (images) { in load_all_cursors_from_dir()
905 XcursorImagesSetName(images, ent->d_name); in load_all_cursors_from_dir()
906 load_callback(images, user_data); in load_all_cursors_from_dir()
918 * This function loads all the cursor images of a given theme and its
928 * \param size The desired size of the cursor images