Lines Matching defs:shadow
45 Pixmap shadow; /* Stipple pattern to use for drawing
52 * border. None means the shadow colors
55 * the border. None means the shadow colors
166 borderPtr->shadow = None;
207 * An appropriate shadow color is chosen for the bevel based
586 if (borderPtr->shadow != None) {
587 Tk_FreeBitmap(display, borderPtr->shadow);
1211 * This procedure computes the shadow colors for a 3-D border
1215 * is only used for flat backgrounds the shadow colors will
1245 * The shadow colors get computed using whichever formula results
1247 * 1. Lighter shadow is half-way to white, darker shadow is half
1249 * 2. Lighter shadow is 40% brighter than background, darker shadow
1256 * shadow, cut 40% from each of the background color components.
1257 * For the light shadow, boost each component by 40% or half-way
1299 if (borderPtr->shadow == None) {
1300 borderPtr->shadow = Tk_GetBitmap((Tcl_Interp *) NULL, tkwin,
1302 if (borderPtr->shadow == None) {
1316 gcValues.stipple = borderPtr->shadow;
1328 * existence on this earth. Make one shadow a 50% stipple and the
1334 gcValues.stipple = borderPtr->shadow;