Lines Matching refs:icon
65 /* Local function to handle comma-ified icon names */
181 /* Reset the window's icon to undefined. */
184 /* If the old icon is generated on-the-fly, get rid of it, will regen */
187 /* Same for the small icon */
198 /* winUpdateIcon() will set the icon default, dynamic, or from xwinrc */
255 if (pref.icon[i].hicon)
256 DestroyIcon ((HICON)pref.icon[i].hicon);
257 free (pref.icon);
258 pref.icon = NULL;
261 /* Free global default X icon */
497 * Possibly add a menu to the toolbar icon
569 * Parse a filename to extract an icon:
570 * If fname is exactly ",nnn" then extract icon from our resource
571 * else if it is "file,nnn" then extract icon nnn from that file
637 * ICONS{} section in the prefs file, and load the icon from a file
658 if (!strcmp(pref.icon[i].match, res_name) ||
659 !strcmp(pref.icon[i].match, res_class) ||
660 (wmName && strstr(wmName, pref.icon[i].match)))
666 if (pref.icon[i].hicon)
667 return pref.icon[i].hicon;
669 hicon = LoadImageComma (pref.icon[i].iconFile, 0, 0, LR_DEFAULTSIZE);
672 pref.icon[i].iconFile);
674 pref.icon[i].hicon = hicon;
679 /* Didn't find the icon, fail gracefully */
689 * Should we free this icon or leave it in memory (is it part of our
704 if ((HICON)pref.icon[i].hicon == hicon)