# | Line 363 | Line 363 | char *name; | |
---|---|---|
363 | } | |
364 | ||
365 | ||
366 | + | C_COLOR * |
367 | + | c_getcolor(name) /* get a named color */ |
368 | + | char *name; |
369 | + | { |
370 | + | register LUENT *lp; |
371 | + | |
372 | + | if ((lp = lu_find(&clr_tab, name)) == NULL) |
373 | + | return(NULL); |
374 | + | return((C_COLOR *)lp->data); |
375 | + | } |
376 | + | |
377 | + | |
378 | int | |
379 | c_isgrey(clr) /* check if color is grey */ | |
380 | register C_COLOR *clr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |