Lines Matching refs:theme

38     const char	*theme;
80 _XcursorBuildThemeDir (const char *dir, const char *theme)
91 if (!dir || !theme)
100 tcolon = strchr (theme, ':');
102 tcolon = theme + strlen (theme);
104 themelen = (int) (tcolon - theme);
132 _XcursorAddPathElt (full, theme, themelen);
224 XcursorScanTheme (const char *theme, const char *name)
233 if (!theme || !name)
242 if (!strcmp (theme, XCURSOR_CORE_THEME) && XcursorLibraryShape (name) >= 0)
248 inherits[d].theme = theme;
250 while (f == NULL && d >= 0 && inherits[d].theme != NULL)
253 * Scan this theme
259 dir = _XcursorBuildThemeDir (path, inherits[d].theme);
275 full = _XcursorBuildFullname (dir, "", "index.theme");
279 inherits[d + 1].theme = inherits[d + 1].line;
288 while (d > 0 && inherits[d].theme == NULL)
294 inherits[d].theme = NULL;
296 inherits[d].theme = _XcursorNextPath (inherits[d].theme);
302 if (inherits[d].theme != NULL && strcmp (inherits[d].theme, theme) == 0)
314 XcursorLibraryLoadImage (const char *file, const char *theme, int size)
320 NonNull(file), NonNull(theme), size));
325 if (theme)
326 f = XcursorScanTheme (theme, file);
341 char *theme = XcursorGetTheme (dpy);
349 if (theme)
350 f = XcursorScanTheme (theme, file);
364 XcursorLibraryLoadImages (const char *file, const char *theme, int size)
370 NonNull(file), NonNull(theme), size));
375 if (theme)
376 f = XcursorScanTheme (theme, file);
557 XcursorShapeLoadImage (unsigned int shape, const char *theme, int size)
563 shape, NonNull(theme), size));
566 result = XcursorLibraryLoadImage (STANDARD_NAME (id), theme, size);
587 XcursorShapeLoadImages (unsigned int shape, const char *theme, int size)
593 shape, NonNull(theme), size));
596 result = XcursorLibraryLoadImages (STANDARD_NAME (id), theme, size);