| /xsrc/external/mit/ctwm/dist/ |
| H A D | win_iconify.h | 9 void Iconify(TwmWindow *tmp_win, int def_x, int def_y); 10 void DeIconify(TwmWindow *tmp_win); 13 void ReMapTransients(TwmWindow *tmp_win); 14 void UnmapTransients(TwmWindow *tmp_win, bool iconify, long eventMask);
|
| H A D | win_resize.h | 20 void OpaqueResizeSize(TwmWindow *tmp_win); 21 void MenuStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 22 void StartResize(XEvent *evp, TwmWindow *tmp_win, 24 void AddStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 25 void MenuDoResize(int x_root, int y_root, TwmWindow *tmp_win); 26 void DoResize(int x_root, int y_root, TwmWindow *tmp_win); 28 void MenuEndResize(TwmWindow *tmp_win); 29 void AddEndResize(TwmWindow *tmp_win); 30 void ConstrainSize(TwmWindow *tmp_win, unsigned 33 void fullzoom(TwmWindow *tmp_win, in [all...] |
| H A D | win_decorations.h | 9 void SetupWindow(TwmWindow *tmp_win, 11 void SetupFrame(TwmWindow *tmp_win, 16 void CreateWindowTitlebarButtons(TwmWindow *tmp_win); 17 void DeleteHighlightWindows(TwmWindow *tmp_win); 19 void PaintTitle(TwmWindow *tmp_win); 20 void PaintTitleButtons(TwmWindow *tmp_win); 21 void PaintTitleButton(TwmWindow *tmp_win, TBWindow *tbw); 23 void PaintBorders(TwmWindow *tmp_win, bool focus); 24 void SetBorderCursor(TwmWindow *tmp_win, int x, int y);
|
| H A D | win_ops.c | 30 SetFocusVisualAttributes(TwmWindow *tmp_win, bool focus) argument 32 if(! tmp_win) { 36 if(focus == tmp_win->hasfocusvisible) { 39 if(tmp_win->highlight) { 41 PaintBorders(tmp_win, focus); 45 XSetWindowBorder(dpy, tmp_win->frame, tmp_win->borderC.back); 46 if(tmp_win->title_w) { 47 XSetWindowBorder(dpy, tmp_win->title_w, tmp_win 128 SetFocus(TwmWindow * tmp_win,Time tim) argument 205 AutoSqueeze(TwmWindow * tmp_win) argument 223 Squeeze(TwmWindow * tmp_win) argument [all...] |
| H A D | win_ops.h | 8 void SetFocusVisualAttributes(TwmWindow *tmp_win, bool focus); 9 void SetFocus(TwmWindow *tmp_win, Time tim); 11 void AutoSqueeze(TwmWindow *tmp_win); 12 void Squeeze(TwmWindow *tmp_win);
|
| H A D | add_window.c | 86 TwmWindow *tmp_win); 115 TwmWindow *tmp_win; /* new twm window structure */ local in function:AddWindow 152 tmp_win = calloc(1, sizeof(TwmWindow)); 153 if(tmp_win == NULL) { 166 tmp_win->w = w; 167 tmp_win->zoomed = ZOOM_NONE; 168 tmp_win->isiconmgr = (wtype == AWT_ICON_MANAGER); 169 tmp_win->iconmgrp = iconp; 170 tmp_win->iswspmgr = (wtype == AWT_WORKSPACE_MANAGER); 171 tmp_win 1903 GrabButtons(TwmWindow * tmp_win) argument 1957 GrabKeys(TwmWindow * tmp_win) argument 2108 DealWithNonSensicalGeometries(Display * mydpy,Window vroot,TwmWindow * tmp_win) argument [all...] |
| H A D | functions_win.c | 43 tmp_win->auto_raise = !tmp_win->auto_raise; 44 if(tmp_win->auto_raise) { 54 tmp_win->auto_lower = !tmp_win->auto_lower; 55 if(tmp_win->auto_lower) { 79 if(tmp_win->icon && (w == tmp_win->icon->w) && Context != C_ROOT) { 80 OtpRaise(tmp_win, IconWin); 83 OtpRaise(tmp_win, WinWi [all...] |
| H A D | win_decorations.c | 29 static void ComputeWindowTitleOffsets(TwmWindow *tmp_win, unsigned int width, 31 static void CreateHighlightWindows(TwmWindow *tmp_win); 32 static void CreateLowlightWindows(TwmWindow *tmp_win); 51 * tmp_win - the TwmWindow pointer 62 * The tmp_win->frame_XXX variables should NOT be updated with the 71 SetupWindow(TwmWindow *tmp_win, int x, int y, int w, int h, int bw) argument 73 SetupFrame(tmp_win, x, y, w, h, bw, false); 77 SetupFrame(TwmWindow *tmp_win, int x, int y, int w, int h, int bw, argument 89 bw = tmp_win->frame_bw; 137 if(tmp_win 661 CreateWindowTitlebarButtons(TwmWindow * tmp_win) argument 828 ComputeWindowTitleOffsets(TwmWindow * tmp_win,unsigned int width,bool squeeze) argument 967 CreateHighlightWindows(TwmWindow * tmp_win) argument 1075 DeleteHighlightWindows(TwmWindow * tmp_win) argument 1095 CreateLowlightWindows(TwmWindow * tmp_win) argument 1189 PaintTitle(TwmWindow * tmp_win) argument 1282 PaintTitleButtons(TwmWindow * tmp_win) argument 1297 PaintTitleButton(TwmWindow * tmp_win,TBWindow * tbw) argument 1385 PaintBorders(TwmWindow * tmp_win,bool focus) argument 1513 SetBorderCursor(TwmWindow * tmp_win,int x,int y) argument [all...] |
| H A D | win_regions.h | 10 bool PlaceWindowInRegion(TwmWindow *tmp_win, int *final_x, int *final_y); 11 void RemoveWindowFromRegion(TwmWindow *tmp_win);
|
| H A D | win_resize.c | 74 static void DisplaySize(TwmWindow *tmp_win, int width, int height); 76 static void do_auto_clamp(TwmWindow *tmp_win, XEvent *evp) argument 105 v = (int)(y - dragy - tmp_win->title_height) / 133 * tmp_win - the TwmWindow pointer 138 void OpaqueResizeSize(TwmWindow *tmp_win) argument 140 if(tmp_win->OpaqueResize) { 153 const unsigned long winsz = tmp_win->frame_width 154 * tmp_win->frame_height; 177 * tmp_win - the TwmWindow pointer 183 void StartResize(XEvent *evp, TwmWindow *tmp_win, argument 241 MenuStartResize(TwmWindow * tmp_win,int x,int y,int w,int h) argument 284 AddStartResize(TwmWindow * tmp_win,int x,int y,int w,int h) argument 305 MenuDoResize(int x_root,int y_root,TwmWindow * tmp_win) argument 439 DoResize(int x_root,int y_root,TwmWindow * tmp_win) argument 574 DisplaySize(TwmWindow * tmp_win,int width,int height) argument 635 TwmWindow *tmp_win; local in function:EndResize 681 MenuEndResize(TwmWindow * tmp_win) argument 702 AddEndResize(TwmWindow * tmp_win) argument 727 ConstrainSize(TwmWindow * tmp_win,unsigned int * widthp,unsigned int * heightp) argument 896 fullzoom(TwmWindow * tmp_win,int func) argument 1135 unzoom(TwmWindow * tmp_win) argument 1149 savegeometry(TwmWindow * tmp_win) argument 1160 restoregeometry(TwmWindow * tmp_win) argument 1179 ChangeSize(char * in_string,TwmWindow * tmp_win) argument 1322 resizeFromCenter(Window w,TwmWindow * tmp_win) argument [all...] |
| H A D | vscreen.c | 23 static void DisplayWinUnchecked(VirtualScreen *vs, TwmWindow *tmp_win); 232 DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win) argument 235 DisplayWinUnchecked(vs, tmp_win); 240 DisplayWinUnchecked(VirtualScreen *vs, TwmWindow *tmp_win) argument 246 if(vs && tmp_win->vs) { 251 tmp_win->vs = vs; 255 if(!tmp_win->mapped) { 256 ReparentFrameAndIcon(tmp_win); 259 if(tmp_win->isicon) { 260 if(tmp_win 313 ReparentFrameAndIcon(TwmWindow * tmp_win) argument 344 Vanish(VirtualScreen * vs,TwmWindow * tmp_win) argument [all...] |
| H A D | functions_win_moveresize.c | 41 static int FindConstraint(TwmWindow *tmp_win, MoveFillDir direction); 133 if(tmp_win->OpaqueMove) { 138 const unsigned long sw = tmp_win->frame_width 139 * tmp_win->frame_height; 157 if(tmp_win->winbox) { 158 XTranslateCoordinates(dpy, dragroot, tmp_win->winbox->window, 203 const Window grabwin = (tmp_win->winbox ? tmp_win->winbox->window 222 if(context == C_ICON && tmp_win->icon && tmp_win 710 packwindow(TwmWindow * tmp_win,const char * direction) argument 788 jump(TwmWindow * tmp_win,MoveFillDir direction,const char * action) argument 1042 fillwindow(TwmWindow * tmp_win,const char * direction) argument 1325 FindConstraint(TwmWindow * tmp_win,MoveFillDir direction) argument [all...] |
| H A D | functions_workspaces.c | 20 Occupy(tmp_win); 25 OccupyAll(tmp_win); 35 AddToWorkSpace(action, tmp_win); 40 RemoveFromWorkSpace(action, tmp_win); 45 ToggleOccupation(action, tmp_win); 54 WMgrRemoveFromCurrentWorkSpace(Scr->currentvs, tmp_win); 68 MoveToNextWorkSpace(Scr->currentvs, tmp_win); 73 MoveToPrevWorkSpace(Scr->currentvs, tmp_win); 78 MoveToNextWorkSpaceAndFollow(Scr->currentvs, tmp_win); 83 MoveToPrevWorkSpaceAndFollow(Scr->currentvs, tmp_win); [all...] |
| H A D | win_iconify.c | 28 static void MosaicFade(TwmWindow *tmp_win, Window blanket); 29 static void ZoomInWindow(TwmWindow *tmp_win, Window blanket); 30 static void ZoomOutWindow(TwmWindow *tmp_win, Window blanket); 31 static void FadeWindow(TwmWindow *tmp_win, Window blanket); 32 static void SweepWindow(TwmWindow *tmp_win, Window blanket); 45 Iconify(TwmWindow *tmp_win, int def_x, int def_y) argument 54 iconify = (!tmp_win->iconify_by_unmapping); 56 if(tmp_win->istransient) { 57 leader = tmp_win->transientfor; 60 else if((leader = tmp_win 167 DeIconify(TwmWindow * tmp_win) argument 221 MosaicFade(TwmWindow * tmp_win,Window blanket) argument 264 ZoomInWindow(TwmWindow * tmp_win,Window blanket) argument 296 ZoomOutWindow(TwmWindow * tmp_win,Window blanket) argument 328 FadeWindow(TwmWindow * tmp_win,Window blanket) argument 364 SweepWindow(TwmWindow * tmp_win,Window blanket) argument 538 ReMapTransients(TwmWindow * tmp_win) argument 557 UnmapTransients(TwmWindow * tmp_win,bool iconify,long eventMask) argument [all...] |
| H A D | add_window.h | 33 void GrabButtons(TwmWindow *tmp_win); 34 void GrabKeys(TwmWindow *tmp_win);
|
| H A D | icons.h | 74 void CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y); 75 void DeleteIconsList(TwmWindow *tmp_win); 80 void IconUp(TwmWindow *tmp_win); 81 void IconDown(TwmWindow *tmp_win); 84 void PaintIcon(TwmWindow *tmp_win); 85 void ShrinkIconTitle(TwmWindow *tmp_win); 86 void ExpandIconTitle(TwmWindow *tmp_win);
|
| H A D | vscreen.h | 23 void DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win); 24 void ReparentFrameAndIcon(TwmWindow *tmp_win); 25 void Vanish(VirtualScreen *vs, TwmWindow *tmp_win);
|
| H A D | functions_warp.c | 39 if(len == 0 && tmp_win && tmp_win->iconmgr) { 40 printf("curren iconmgr entry: %s", tmp_win->iconmgr->Current); 94 if(tmp_win && tmp_win->iconmanagerlist) { 95 raisewin = tmp_win->iconmanagerlist->iconmgr->twm_win; 96 iconwin = tmp_win->iconmanagerlist->icon; 127 if(WindowIsOnRing(tmp_win)) { 129 UnlinkWindowFromRing(tmp_win); 133 AddWindowToRing(tmp_win); [all...] |
| H A D | win_utils.h | 8 void GetWindowSizeHints(TwmWindow *tmp_win); 14 bool visible(const TwmWindow *tmp_win); 18 void SetMapStateProp(TwmWindow *tmp_win, int state); 23 void TryToPack(TwmWindow *tmp_win, int *x, int *y); 24 void TryToPush(TwmWindow *tmp_win, int x, int y); 25 void TryToGrid(TwmWindow *tmp_win, int *x, int *y);
|
| H A D | icons.c | 46 static void PlaceIcon(TwmWindow *tmp_win, int def_x, int def_y, 48 static IconEntry *FindIconEntry(TwmWindow *tmp_win, IconRegion **irp); 53 static Image *LookupIconNameOrClass(TwmWindow *tmp_win, Icon *icon, 212 * location in final_[xy], and also sets the IconRegion in tmp_win->icon 216 PlaceIcon(TwmWindow *tmp_win, int def_x, int def_y, argument 223 const int iconWidth = tmp_win->icon->border_width * 2 224 + (Scr->ShrinkIconTitles ? tmp_win->icon->width 225 : tmp_win->icon->w_width); 226 const int iconHeight = tmp_win->icon->border_width * 2 227 + tmp_win 374 FindIconEntry(TwmWindow * tmp_win,IconRegion ** irp) argument 448 CreateIconWindow(TwmWindow * tmp_win,int def_x,int def_y) argument 782 DeleteIconsList(TwmWindow * tmp_win) argument 859 IconUp(TwmWindow * tmp_win) argument 915 IconDown(TwmWindow * tmp_win) argument 967 PaintIcon(TwmWindow * tmp_win) argument 1021 ShrinkIconTitle(TwmWindow * tmp_win) argument 1053 ExpandIconTitle(TwmWindow * tmp_win) argument 1378 LookupIconNameOrClass(TwmWindow * tmp_win,Icon * icon,char ** pattern) argument [all...] |
| /xsrc/external/mit/twm/dist/src/ |
| H A D | resize.h | 65 extern void AddEndResize(TwmWindow *tmp_win); 66 extern void AddStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 67 extern void ConstrainSize(TwmWindow *tmp_win, int *widthp, int *heightp); 68 extern void DoResize(int x_root, int y_root, TwmWindow *tmp_win); 70 extern void fullzoom(TwmWindow *tmp_win, int flag); 71 extern void MenuDoResize(int x_root, int y_root, TwmWindow *tmp_win); 72 extern void MenuEndResize(TwmWindow *tmp_win); 73 extern void MenuStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 75 extern void SetupFrame(TwmWindow *tmp_win, int x, int y, int w, int h, int bw, 77 extern void SetupWindow(TwmWindow *tmp_win, in [all...] |
| H A D | add_window.c | 92 static Window CreateHighlightWindow(TwmWindow *tmp_win); 93 static void CreateWindowTitlebarButtons(TwmWindow *tmp_win); 149 TwmWindow *tmp_win; /* new twm window structure */ local in function:AddWindow 174 tmp_win = (TwmWindow *) calloc(1, sizeof(TwmWindow)); 175 if (tmp_win == NULL) { 179 tmp_win->w = w; 180 tmp_win->zoomed = ZOOM_NONE; 181 tmp_win->iconmgr = (short) iconm; 182 tmp_win->iconmgrp = iconp; 183 tmp_win 1029 GrabButtons(TwmWindow * tmp_win) argument 1054 GrabKeys(TwmWindow * tmp_win) argument 1107 CreateHighlightWindow(TwmWindow * tmp_win) argument 1196 ComputeWindowTitleOffsets(TwmWindow * tmp_win,int width,Bool squeeze) argument 1273 CreateWindowTitlebarButtons(TwmWindow * tmp_win) argument [all...] |
| H A D | resize.c | 70 static void DisplaySize(TwmWindow *tmp_win, int width, int height); 96 do_auto_clamp(TwmWindow *tmp_win, XEvent *evp) argument 118 v = ((y - dragy - tmp_win->title_height) / 143 * \param tmp_win the TwmWindow pointer 147 StartResize(XEvent *evp, TwmWindow *tmp_win, Bool fromtitlebar) argument 152 ResizeWindow = tmp_win->frame; 160 XGetGeometry(dpy, (Drawable) tmp_win->frame, &junkRoot, 163 dragx += tmp_win->frame_bw; 164 dragy += tmp_win->frame_bw; 172 do_auto_clamp(tmp_win, ev 190 MenuStartResize(TwmWindow * tmp_win,int x,int y,int w,int h) argument 224 AddStartResize(TwmWindow * tmp_win,int x,int y,int w,int h) argument 250 MenuDoResize(int x_root,int y_root,TwmWindow * tmp_win) argument 362 DoResize(int x_root,int y_root,TwmWindow * tmp_win) argument 477 DisplaySize(TwmWindow * tmp_win,int width,int height) argument 527 TwmWindow *tmp_win; local in function:EndResize 568 MenuEndResize(TwmWindow * tmp_win) argument 584 AddEndResize(TwmWindow * tmp_win) argument 606 ConstrainSize(TwmWindow * tmp_win,int * widthp,int * heightp) argument 752 SetupWindow(TwmWindow * tmp_win,int x,int y,int w,int h,int bw) argument 761 SetupFrame(TwmWindow * tmp_win,int x,int y,int w,int h,int bw,Bool sendEvent) argument 914 fullzoom(TwmWindow * tmp_win,int flag) argument [all...] |
| H A D | icons.c | 45 static IconEntry *FindIconEntry(TwmWindow *tmp_win, IconRegion **irp); 109 PlaceIcon(TwmWindow *tmp_win, int def_x, int def_y, int *final_x, int *final_y) argument 117 w = roundUp(iconWidth(tmp_win), ir->stepx); 118 h = roundUp(iconHeight(tmp_win), ir->stepy); 131 ie->twm_win = tmp_win; 132 *final_x = ie->x + (ie->w - iconWidth(tmp_win)) / 2; 133 *final_y = ie->y + (ie->h - iconHeight(tmp_win)) / 2; 143 FindIconEntry(TwmWindow *tmp_win, IconRegion **irp) argument 150 if (ie->twm_win == tmp_win) { 160 IconUp(TwmWindow *tmp_win) argument 236 IconDown(TwmWindow * tmp_win) argument 316 CreateIconWindow(TwmWindow * tmp_win,int def_x,int def_y) argument [all...] |
| H A D | icons.h | 54 extern void IconUp(TwmWindow *tmp_win); 55 extern void IconDown(TwmWindow *tmp_win); 58 extern void CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y);
|