Searched defs:dw (Results 1 - 6 of 6) sorted by relevance

/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_rect.h48 * @dw: horizontal adjustment
51 * Change the size of rectangle @r by @dw in the horizontal direction,
55 * Positive @dw and @dh increase the size, negative values decrease it.
57 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) argument
59 r->x1 -= dw >> 1;
61 r->x2 += (dw + 1) >> 1;
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Dialog.c135 DialogWidget dw = (DialogWidget)new; local
142 if (dw->dialog.icon != (Pixmap)0) {
143 XtSetArg(arglist[num_args], XtNbitmap, dw->dialog.icon); num_args++;
145 dw->dialog.iconW =
149 XtSetArg(arglist[num_args], XtNfromHoriz, dw->dialog.iconW);num_args++;
150 } else dw->dialog.iconW = (Widget)NULL;
152 XtSetArg(arglist[num_args], XtNlabel, dw->dialog.label); num_args++;
155 dw->dialog.labelW = XtCreateManagedWidget( "label", labelWidgetClass,
158 if (dw->dialog.iconW != (Widget)NULL &&
159 (dw
173 DialogWidget dw = (DialogWidget)new->core.parent; local
307 DialogWidget dw = (DialogWidget) w; local
[all...]
H A DXaw3_1Scrollbar.c404 ScrollbarWidget dw = (ScrollbarWidget) desired; local
411 if (dw->scrollbar.top < 0.0 || dw->scrollbar.top > 1.0)
412 dw->scrollbar.top = w->scrollbar.top;
414 if (dw->scrollbar.shown < 0.0 || dw->scrollbar.shown > 1.0)
415 dw->scrollbar.shown = w->scrollbar.shown;
422 if ( (w->scrollbar.foreground != dw->scrollbar.foreground) ||
423 (w->core.background_pixel != dw->core.background_pixel) ||
424 (w->scrollbar.thumb != dw
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DDialog.c159 DialogWidget dw = (DialogWidget)new; local
166 if (dw->dialog.icon != (Pixmap)0) {
167 XtSetArg(arglist[arg_cnt], XtNbitmap, dw->dialog.icon); arg_cnt++;
169 dw->dialog.iconW =
173 XtSetArg(arglist[arg_cnt], XtNfromHoriz, dw->dialog.iconW);arg_cnt++;
174 } else dw->dialog.iconW = (Widget)NULL;
176 XtSetArg(arglist[arg_cnt], XtNlabel, dw->dialog.label); arg_cnt++;
179 dw->dialog.labelW = XtCreateManagedWidget( "label", labelWidgetClass,
182 if (dw->dialog.iconW != (Widget)NULL &&
183 (dw
199 DialogWidget dw = (DialogWidget)new->core.parent; local
362 DialogWidget dw = (DialogWidget) w; local
[all...]
H A DScrollbar.c432 ScrollbarWidget dw = (ScrollbarWidget) desired; local
439 if (dw->scrollbar.top < 0.0 || dw->scrollbar.top > 1.0)
440 dw->scrollbar.top = w->scrollbar.top;
442 if (dw->scrollbar.shown < 0.0 || dw->scrollbar.shown > 1.0)
443 dw->scrollbar.shown = w->scrollbar.shown;
450 if ( (w->scrollbar.foreground != dw->scrollbar.foreground) ||
451 (w->core.background_pixel != dw->core.background_pixel) ||
452 (w->scrollbar.thumb != dw
[all...]
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c733 int dw = DisplayWidth (dpy, screen), dh = DisplayHeight (dpy, screen); local
809 if (x + width > dw) x = dw - width;
853 int dw = DisplayWidth (dpy, screen), dh = DisplayHeight (dpy, screen); local
864 if (x + width > dw) x = dw - width;

Completed in 897 milliseconds