Lines Matching refs:box

71 		XtOffsetOf(BoxRec, box.h_space),
74 XtOffsetOf(BoxRec, box.v_space),
77 XtOffsetOf(BoxRec, box.orientation),
163 Dimension *reply_width, *reply_height; /* bounding box */
166 Boolean vbox = (bbw->box.orientation == XtorientVertical);
168 Dimension w, h; /* Width and height needed for box */
171 Dimension h_space; /* Local copy of bbw->box.h_space */
176 h_space = bbw->box.h_space;
185 h = bbw->box.v_space;
204 h += lh + bbw->box.v_space;
243 XtOrientation orientation = bbw->box.orientation;
244 bbw->box.orientation = XtorientVertical;
252 bbw->box.orientation = orientation;
255 bbw->box.orientation = orientation;
278 h += lh + bbw->box.v_space;
287 * Calculate preferred size, given constraining box, caching it in the widget.
297 Dimension preferred_width = w->box.preferred_width;
298 Dimension preferred_height = w->box.preferred_height;
306 if (constraint->request_mode == w->box.last_query_mode &&
308 constraint->width == w->box.last_query_width) &&
310 constraint->height == w->box.last_query_height)) {
328 w->box.last_query_mode = constraint->request_mode;
329 w->box.last_query_width = constraint->width;
330 w->box.last_query_height= constraint->height;
374 preferred->width = w->box.preferred_width = preferred_width;
375 preferred->height = w->box.preferred_height = preferred_height;
388 * Actually layout the box
404 * if that fails try to resize and do it within the box returne
469 /* recalc bounding box; height might change */
539 || bbw->box.preferred_width < bbw->core.width
540 || bbw->box.preferred_height < bbw->core.height
563 /* Reconfigure the box */
583 newbbw->box.last_query_mode = CWWidth | CWHeight;
584 newbbw->box.last_query_width = newbbw->box.last_query_height = 0;
585 newbbw->box.preferred_width = Max(newbbw->box.h_space, 1);
586 newbbw->box.preferred_height = Max(newbbw->box.v_space, 1);
589 newbbw->core.width = newbbw->box.preferred_width;
592 newbbw->core.height = newbbw->box.preferred_height;