Lines Matching refs:style
74 static void AddStyleLine(char *matchstr, unsigned long style);
392 if (pref.style != NULL) {
393 ErrorF("LoadPreferences: Redefining window style\n");
394 free(pref.style);
395 pref.style = NULL;
401 AddStyleLine (char *matchstr, unsigned long style)
403 if (pref.style==NULL)
404 pref.style = (STYLEITEM*)malloc(sizeof(STYLEITEM));
406 pref.style = (STYLEITEM*)
407 realloc(pref.style, sizeof(STYLEITEM)*(pref.styleItems+1));
409 strncpy(pref.style[pref.styleItems].match, matchstr, MENU_MAX);
410 pref.style[pref.styleItems].match[MENU_MAX] = 0;
412 pref.style[pref.styleItems].type = style;