Lines Matching refs:Scr

44 	if(Scr->Monochrome != COLOR) {
48 XChangeGC(dpy, Scr->BorderGC, gcm, &gcv);
49 XFillRectangle(dpy, w, Scr->BorderGC, x, y, width, height);
56 XChangeGC(dpy, Scr->BorderGC, gcm, &gcv);
58 XDrawLine(dpy, w, Scr->BorderGC, x, y + i,
60 XDrawLine(dpy, w, Scr->BorderGC, x + i, y,
69 XChangeGC(dpy, Scr->BorderGC, gcm, &gcv);
71 XDrawLine(dpy, w, Scr->BorderGC, x + width - i - 1, y + i,
73 XDrawLine(dpy, w, Scr->BorderGC, x + i, y + height - i - 1,
80 FBGC(Scr->BorderGC, cp.back, cp.fore);
81 XFillRectangle(dpy, w, Scr->BorderGC, x, y, width, height);
83 if(Scr->BeNiceToColormap) {
91 XChangeGC(dpy, Scr->BorderGC, gcm, &gcv);
94 XSetForeground(dpy, Scr->BorderGC, Scr->Black);
97 XSetForeground(dpy, Scr->BorderGC, Scr->White);
100 XDrawLine(dpy, w, Scr->BorderGC, x + i, y + dashoffset,
102 XDrawLine(dpy, w, Scr->BorderGC, x + dashoffset, y + i,
106 XSetForeground(dpy, Scr->BorderGC, ((state == on) ? Scr->White : Scr->Black));
108 XDrawLine(dpy, w, Scr->BorderGC, x + i, y + height - i - 1,
110 XDrawLine(dpy, w, Scr->BorderGC, x + width - i - 1, y + i,
116 FBGC(Scr->BorderGC, cp.shadd, cp.shadc);
119 FBGC(Scr->BorderGC, cp.shadc, cp.shadd);
122 XDrawLine(dpy, w, Scr->BorderGC, x, y + i,
124 XDrawLine(dpy, w, Scr->BorderGC, x + i, y,
129 FBGC(Scr->BorderGC, cp.shadc, cp.shadd);
132 FBGC(Scr->BorderGC, cp.shadd, cp.shadc);
135 XDrawLine(dpy, w, Scr->BorderGC, x + width - i - 1, y + i,
137 XDrawLine(dpy, w, Scr->BorderGC, x + i, y + height - i - 1,
163 font = Scr->workSpaceMgr.buttonFont;
166 OccupyWindow *occwin = Scr->workSpaceMgr.occupyWindow;
172 OccupyWindow *occwin = Scr->workSpaceMgr.occupyWindow;
194 if(hspace < (Scr->WMgrButtonShadowDepth + 1)) {
195 hspace = Scr->WMgrButtonShadowDepth + 1;
199 if(Scr->Monochrome == COLOR) {
200 Draw3DBorder(w, 0, 0, bwidth, bheight, Scr->WMgrButtonShadowDepth,
203 switch(Scr->workSpaceMgr.buttonStyle) {
209 Scr->WMgrButtonShadowDepth - 1,
210 Scr->WMgrButtonShadowDepth - 1,
211 bwidth - 2 * Scr->WMgrButtonShadowDepth + 2,
212 bheight - 2 * Scr->WMgrButtonShadowDepth + 2,
218 Scr->WMgrButtonShadowDepth / 2,
219 Scr->WMgrButtonShadowDepth / 2,
220 bwidth - Scr->WMgrButtonShadowDepth,
221 bheight - Scr->WMgrButtonShadowDepth,
235 XmbDrawString(dpy, w, font.font_set, Scr->NormalGC, hspace, vspace,
239 Draw3DBorder(w, 0, 0, bwidth, bheight, Scr->WMgrButtonShadowDepth,
243 XmbDrawImageString(dpy, w, font.font_set, Scr->NormalGC, hspace, vspace,
248 XmbDrawImageString(dpy, w, font.font_set, Scr->NormalGC, hspace, vspace,