HomeSort by: relevance | last modified time | path
    Searched refs:tmp_win (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /xsrc/external/mit/ctwm/dist/
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);
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, int func)
    [all...]
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);
win_ops.c 30 SetFocusVisualAttributes(TwmWindow *tmp_win, bool focus)
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->borderC.back)
    [all...]
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);
add_window.c 86 TwmWindow *tmp_win);
115 TwmWindow *tmp_win; /* new twm window structure */ local
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->isoccupy = (wtype == AWT_OCCUPY)
    [all...]
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, WinWin)
    [all...]
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)
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,
89 bw = tmp_win->frame_bw;
137 if(tmp_win->isiconmgr)
    [all...]
win_regions.h 10 bool PlaceWindowInRegion(TwmWindow *tmp_win, int *final_x, int *final_y);
11 void RemoveWindowFromRegion(TwmWindow *tmp_win);
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)
105 v = (int)(y - dragy - tmp_win->title_height) /
133 * tmp_win - the TwmWindow pointer
138 void OpaqueResizeSize(TwmWindow *tmp_win)
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,
635 TwmWindow *tmp_win; local
    [all...]
vscreen.c 23 static void DisplayWinUnchecked(VirtualScreen *vs, TwmWindow *tmp_win);
232 DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win)
235 DisplayWinUnchecked(vs, tmp_win);
240 DisplayWinUnchecked(VirtualScreen *vs, TwmWindow *tmp_win)
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->icon_on)
    [all...]
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->icon->w)
    [all...]
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...]
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)
54 iconify = (!tmp_win->iconify_by_unmapping);
56 if(tmp_win->istransient) {
57 leader = tmp_win->transientfor;
60 else if((leader = tmp_win->group) != 0 && leader != tmp_win->w)
    [all...]
add_window.h 33 void GrabButtons(TwmWindow *tmp_win);
34 void GrabKeys(TwmWindow *tmp_win);
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);
vscreen.h 23 void DisplayWin(VirtualScreen *vs, TwmWindow *tmp_win);
24 void ReparentFrameAndIcon(TwmWindow *tmp_win);
25 void Vanish(VirtualScreen *vs, TwmWindow *tmp_win);
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...]
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);
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,
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->icon->w_height
    [all...]
  /xsrc/external/mit/twm/dist/src/
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, int x, int y, int w, int h, int bw)
    [all...]
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
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->cmaps.number_cwins = 0
    [all...]
resize.c 70 static void DisplaySize(TwmWindow *tmp_win, int width, int height);
96 do_auto_clamp(TwmWindow *tmp_win, XEvent *evp)
118 v = ((y - dragy - tmp_win->title_height) /
143 * \param tmp_win the TwmWindow pointer
147 StartResize(XEvent *evp, TwmWindow *tmp_win, Bool fromtitlebar)
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, evp)
527 TwmWindow *tmp_win; local
    [all...]
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)
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)
150 if (ie->twm_win == tmp_win) {
160 IconUp(TwmWindow *tmp_win)
    [all...]
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);

Completed in 17 milliseconds

1 2 3