Lines Matching refs:box

50 		XtOffsetOf(BoxRec, box.h_space),
53 XtOffsetOf(BoxRec, box.v_space),
56 XtOffsetOf(BoxRec, box.orientation),
142 Dimension *reply_width, *reply_height; /* bounding box */
145 Boolean vbox = (bbw->box.orientation == XtorientVertical);
147 Dimension w, h; /* Width and height needed for box */
150 Dimension h_space; /* Local copy of bbw->box.h_space */
155 h_space = bbw->box.h_space;
157 h = bbw->box.v_space;
176 h += lh + bbw->box.v_space;
215 XtOrientation orientation = bbw->box.orientation;
216 bbw->box.orientation = XtorientVertical;
224 bbw->box.orientation = orientation;
227 bbw->box.orientation = orientation;
249 h += lh + bbw->box.v_space;
258 * Calculate preferred size, given constraining box, caching it in the widget.
268 Dimension preferred_width = w->box.preferred_width;
269 Dimension preferred_height = w->box.preferred_height;
277 if (constraint->request_mode == w->box.last_query_mode &&
279 constraint->width == w->box.last_query_width) &&
281 constraint->height == w->box.last_query_height)) {
299 w->box.last_query_mode = constraint->request_mode;
300 w->box.last_query_width = constraint->width;
301 w->box.last_query_height= constraint->height;
345 preferred->width = w->box.preferred_width = preferred_width;
346 preferred->height = w->box.preferred_height = preferred_height;
359 * Actually layout the box
375 * if that fails try to resize and do it within the box returne
440 /* recalc bounding box; height might change */
510 || bbw->box.preferred_width < bbw->core.width
511 || bbw->box.preferred_height < bbw->core.height
534 /* Reconfigure the box */
552 newbbw->box.last_query_mode = CWWidth | CWHeight;
553 newbbw->box.last_query_width = newbbw->box.last_query_height = 0;
554 newbbw->box.preferred_width = Max(newbbw->box.h_space, 1);
555 newbbw->box.preferred_height = Max(newbbw->box.v_space, 1);
558 newbbw->core.width = newbbw->box.preferred_width;
561 newbbw->core.height = newbbw->box.preferred_height;