| /xsrc/external/mit/twm/dist/src/ |
| H A D | twm.c | 109 ScreenInfo *Scr = NULL; /* the cur and prev screens */ variable in typeref:typename:ScreenInfo * 397 Scr = ScreenList[scrnum] = (ScreenInfo *) calloc(1, sizeof(ScreenInfo)); 398 if (Scr == NULL) { 408 Scr->BorderColorL = NULL; 409 Scr->IconBorderColorL = NULL; 410 Scr->BorderTileForegroundL = NULL; 411 Scr->BorderTileBackgroundL = NULL; 412 Scr->TitleForegroundL = NULL; 413 Scr->TitleBackgroundL = NULL; 414 Scr [all...] |
| H A D | gc.c | 78 if (!Scr->FirstTime || prevScr == Scr) 81 prevScr = Scr; 88 gcm |= GCForeground; gcv.foreground = Scr->XORvalue; 91 Scr->DrawGC = XCreateGC(dpy, Scr->Root, gcm, &gcv); 94 gcm |= GCForeground; gcv.foreground = Scr->MenuC.fore; 95 gcm |= GCBackground; gcv.background = Scr->MenuC.back; 97 {gcm |= GCFont; gcv.font = Scr->MenuFont.font->fid;} 99 Scr [all...] |
| H A D | parse.c | 117 if (Scr->PointerForeground.pixel != Scr->Black || 118 Scr->PointerBackground.pixel != Scr->White) { 120 &Scr->PointerForeground, &Scr->PointerBackground); 122 &Scr->PointerForeground, &Scr->PointerBackground); 124 &Scr->PointerForeground, &Scr [all...] |
| H A D | gram.y | 152 | ICONMGR_GEOMETRY string number { if (Scr->FirstTime) 154 Scr->iconmgr.geometry=$2; 155 Scr->iconmgr.columns=$3; 158 | ICONMGR_GEOMETRY string { if (Scr->FirstTime) 159 Scr->iconmgr.geometry = $2; 161 | ZOOM number { if (Scr->FirstTime) 163 Scr->DoZoom = TRUE; 164 Scr->ZoomCount = (short)$2; 167 | ZOOM { if (Scr->FirstTime) 168 Scr [all...] |
| H A D | add_window.c | 233 if (tmp_win->attr.width > Scr->MaxWindowWidth) 234 tmp_win->attr.width = Scr->MaxWindowWidth; 235 if (tmp_win->attr.height > Scr->MaxWindowHeight) 236 tmp_win->attr.height = Scr->MaxWindowHeight; 274 tmp_win->highlight = Scr->Highlight && 275 (!short_lookup LookInList(Scr->NoHighlight, tmp_win->full_name, 278 tmp_win->stackmode = Scr->StackMode && 279 (!short_lookup LookInList(Scr->NoStackModeL, tmp_win->full_name, 282 tmp_win->titlehighlight = Scr->TitleHighlight && 283 (!short_lookup LookInList(Scr [all...] |
| H A D | menus.c | 138 Scr->Mouse[i][j][k].func = 0; 139 Scr->Mouse[i][j][k].item = NULL; 142 Scr->DefaultFunction.func = 0; 143 Scr->WindowFunction.func = 0; 151 for (key = Scr->FuncKeyRoot.next; key != NULL;) { 158 Scr->FuncKeyRoot.next = NULL; 189 for (tmp = Scr->FuncKeyRoot.next; tmp != NULL; tmp = tmp->next) { 196 tmp->next = Scr->FuncKeyRoot.next; 197 Scr->FuncKeyRoot.next = tmp; 234 Scr [all...] |
| H A D | list.c | 166 save = Scr->FirstTime; 167 Scr->FirstTime = TRUE; 168 GetColor(Scr->Monochrome, ptr, nptr->ptr); 169 Scr->FirstTime = (short) save; 176 save = Scr->FirstTime; 177 Scr->FirstTime = TRUE; 178 GetColor(Scr->Monochrome, ptr, nptr->ptr); 179 Scr->FirstTime = (short) save; 185 save = Scr->FirstTime; 186 Scr [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| H A D | gc.c | 52 if(!Scr->FirstTime || prevScr == Scr) { 56 prevScr = Scr; 66 gcv.foreground = Scr->XORvalue; 70 Scr->DrawGC = XCreateGC(dpy, Scr->Root, gcm, &gcv); 74 gcv.foreground = Scr->MenuC.fore; 76 gcv.background = Scr->MenuC.back; 78 Scr->MenuGC = XCreateGC(dpy, Scr [all...] |
| H A D | parse_be.c | 585 Scr->NoDefaults = true; 589 Scr->AutoRelativeResize = true; 593 if(Scr->FirstTime) { 594 Scr->ForceIcon = true; 599 Scr->NoIconManagers = true; 603 if(Scr->FirstTime) { 604 Scr->InterpolateMenuColors = true; 609 if(Scr->FirstTime) { 610 Scr->SortIconMgr = true; 615 if(Scr [all...] |
| H A D | functions_workspaces.c | 54 WMgrRemoveFromCurrentWorkSpace(Scr->currentvs, tmp_win); 59 WMgrAddToCurrentWorkSpaceAndWarp(Scr->currentvs, action); 68 MoveToNextWorkSpace(Scr->currentvs, tmp_win); 73 MoveToPrevWorkSpace(Scr->currentvs, tmp_win); 78 MoveToNextWorkSpaceAndFollow(Scr->currentvs, tmp_win); 83 MoveToPrevWorkSpaceAndFollow(Scr->currentvs, tmp_win); 97 GotoWorkSpaceByName(Scr->currentvs, action); 102 GotoPrevWorkSpace(Scr->currentvs); 107 GotoNextWorkSpace(Scr->currentvs); 112 GotoRightWorkSpace(Scr [all...] |
| H A D | workspace_config.c | 42 if(Scr->workSpaceMgr.count == MAXWORKSPACE) { 50 ws->number = Scr->workSpaceMgr.count++; 61 ws->cp.back = Scr->IconManagerC.back; 64 GetColor(Scr->Monochrome, &(ws->cp.back), background); 68 ws->cp.fore = Scr->IconManagerC.fore; 71 GetColor(Scr->Monochrome, &(ws->cp.fore), foreground); 76 ws->cp.shadc = Scr->White; 77 ws->cp.shadd = Scr->Black; 79 if(!Scr->BeNiceToColormap) { 89 GetColor(Scr [all...] |
| H A D | mask_screen.c | 48 attributes.background_pixel = Scr->Black; 49 Scr->WindowMask = XCreateWindow(dpy, Scr->Root, 0, 0, 50 Scr->rootw, 51 Scr->rooth, 56 XMapWindow(dpy, Scr->WindowMask); 59 if(Scr->Monochrome != COLOR) { 64 .fore = Scr->Black, 65 .back = Scr->White, 67 Scr [all...] |
| H A D | win_decorations_init.c | 49 Scr->TBInfo.width = (Scr->TitleHeight - 50 2 * (Scr->FramePadding + Scr->ButtonIndent)); 51 if(Scr->use3Dtitles) 52 Scr->TBInfo.pad = ((Scr->TitlePadding > 1) 53 ? ((Scr->TitlePadding + 1) / 2) : 0); 55 Scr->TBInfo.pad = ((Scr [all...] |
| H A D | drawing.c | 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 [all...] |
| H A D | ctwm_main.c | 93 ScreenInfo *Scr = NULL; /* the cur and prev screens */ variable in typeref:typename:ScreenInfo * 425 Scr = ScreenList[scrnum] = InitScreenInfo(scrnum, croot, 427 if(Scr == NULL) { 436 Scr->ShowWelcomeWindow = CLarg.ShowWelcomeWindow; 446 Scr->Layout = XrandrNewLayout(dpy, Scr->XineramaRoot); 449 if(Scr->Layout == NULL) { 455 fs = RAreaNewStatic(Scr->rootx, Scr->rooty, Scr 1125 #define Scr macro [all...] |
| H A D | win_ring.c | 13 * Scr->RingLeader. 14 * - If RingLeader is NULL, fall back to Scr->Ring. 55 if(Scr->Ring == win) { 56 Scr->Ring = (next != win ? next : NULL); 59 if(!Scr->Ring || Scr->RingLeader == win) { 60 Scr->RingLeader = Scr->Ring; 82 if(Scr->Ring) { 83 AddWindowToRingUnchecked(win, Scr [all...] |
| H A D | gram.y | 163 | ICONMGR_GEOMETRY string number { if (Scr->FirstTime) 165 Scr->iconmgr->geometry= (char*)$2; 166 Scr->iconmgr->columns=$3; 169 | ICONMGR_GEOMETRY string { if (Scr->FirstTime) 170 Scr->iconmgr->geometry = (char*)$2; 172 | WORKSPCMGR_GEOMETRY string number { if (Scr->FirstTime) 174 Scr->workSpaceMgr.geometry= (char*)$2; 175 Scr->workSpaceMgr.columns=$3; 178 | WORKSPCMGR_GEOMETRY string { if (Scr->FirstTime) 179 Scr [all...] |
| H A D | menus.c | 127 for(tmp = Scr->FuncKeyRoot.next; tmp != NULL; tmp = tmp->next) { 137 tmp->next = Scr->FuncKeyRoot.next; 138 Scr->FuncKeyRoot.next = tmp; 177 for(tmp = Scr->FuncButtonRoot.next; tmp != NULL; tmp = tmp->next) { 195 tmp->next = Scr->FuncButtonRoot.next; 196 Scr->FuncButtonRoot.next = tmp; 244 if(Scr->use3Dmenus) { 262 XmbTextExtents(Scr->MenuFont.font_set, mi->item, mi->strlen, 265 y_offset = mi->item_num * Scr->EntryHeight + Scr [all...] |
| H A D | image_bitmap_builtin.c | 95 int h = Scr->TBInfo.width - Scr->TBInfo.border * 2; 101 if(Scr->tbpm.xlogo == None) { 104 Scr->tbpm.xlogo = XCreatePixmap(dpy, Scr->Root, h, h, 1); 105 gc = XCreateGC(dpy, Scr->tbpm.xlogo, 0L, NULL); 107 XFillRectangle(dpy, Scr->tbpm.xlogo, gc, 0, 0, h, h); 109 gcBack = XCreateGC(dpy, Scr->tbpm.xlogo, 0L, NULL); 116 XmuDrawLogo(dpy, Scr->tbpm.xlogo, gc, gcBack, -1, -1, h + 2, h + 2); 117 XDrawRectangle(dpy, Scr [all...] |
| H A D | functions_icmgr_wsmgr.c | 84 if(! Scr->workSpaceManagerActive) { 88 if(Scr->NoIconManagers) { 92 for(wl = Scr->workSpaceMgr.workSpaceList; wl != NULL; wl = wl->next) { 142 if(Scr->NoIconManagers) { 146 for(wl = Scr->workSpaceMgr.workSpaceList; wl != NULL; wl = wl->next) { 170 bool save_sort = Scr->SortIconMgr; 172 Scr->SortIconMgr = true; 184 Scr->SortIconMgr = save_sort; 198 if(! Scr->workSpaceManagerActive) { 202 DeIconify(Scr [all...] |
| H A D | functions_warp.c | 43 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { 52 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { 61 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { 73 if(Scr->WarpUnmapped || tw->mapped) { 77 WarpToWindow(tw, Scr->RaiseOnWarp); 98 else if(Scr->iconmgr->active) { 99 raisewin = Scr->iconmgr->twm_win; 100 iconwin = Scr->iconmgr->active->w; 104 for(tw = Scr->FirstWindow; tw != NULL; tw = tw->next) { 166 if(Scr [all...] |
| H A D | workspace_utils.c | 58 if(! Scr->workSpaceManagerActive) { 61 for(tmpvs = Scr->vScreenList; tmpvs != NULL; tmpvs = tmpvs->next) { 74 if(useBackgroundInfo && ! Scr->DontPaintRootWindow) { 85 if(Scr->SaveWorkspaceFocus) { 86 oldws->save_focus = Scr->Focus; 131 if(Scr->numVscreens > 1) { 133 for(tvs = Scr->vScreenList; tvs != NULL; tvs = tvs->next) { 156 for(twmWin = Scr->FirstWindow; twmWin != NULL; twmWin = twmWin->next) { 191 if(Scr->ReverseCurrentWorkspace && vs->wsw->state == WMS_map) { 207 oldws->iconmgr = Scr [all...] |
| H A D | win_decorations.c | 103 limit = RLayoutFindBottomEdge(Scr->Layout, &area); 108 limit = RLayoutFindTopEdge(Scr->Layout, &area); 115 limit = RLayoutFindRightEdge(Scr->Layout, &area); 120 limit = RLayoutFindLeftEdge(Scr->Layout, &area); 149 OccupyWindow *occwin = Scr->workSpaceMgr.occupyWindow; 215 title_width = tmp_win->rightx + Scr->TBInfo.rightoff; 253 tmp_win->title_height = Scr->TitleHeight + bw; 324 frame_wc.x = Scr->rootw + 1; 325 frame_wc.y = Scr->rooth + 1; 384 if(Scr [all...] |
| H A D | win_ops.c | 40 if(Scr->use3Dborders) { 107 if(Scr->use3Dtitles && Scr->SunkFocusWindowTitle && tmp_win->title_height) { 111 Draw3DBorder(tmp_win->title_w, Scr->TBInfo.titlex, 0, 112 tmp_win->title_width - Scr->TBInfo.titlex - 113 Scr->TBInfo.rightoff - Scr->TitlePadding, 114 Scr->TitleHeight, Scr->TitleShadowDepth, 133 if(Scr [all...] |
| /xsrc/external/mit/ctwm/dist/tests/test_m4/ |
| H A D | test_m4.c | 25 if(Scr == NULL) { 26 fprintf(stderr, "BUG: Scr == NULL\n"); 29 if(Scr->workSpaceMgr.geometry == NULL) { 30 fprintf(stderr, "BUG: Scr->workSpaceMgr.geometry == NULL\n"); 36 if(strcmp(Scr->workSpaceMgr.geometry, expected_geom) != 0) { 38 Scr->workSpaceMgr.geometry, expected_geom); 42 if(Scr->workSpaceMgr.columns != expected_columns) { 44 Scr->workSpaceMgr.columns, expected_columns);
|