Lines Matching defs:intended
425 XtWidgetGeometry intended;
432 intended.request_mode = CWBorderWidth;
433 intended.border_width = 0;
438 ComputeWithForceBars(widget, query, &intended,
449 * intended.{width,height} caches the eventual child dimensions,
455 intended.request_mode |= CWWidth;
458 intended.width = clip_width;
460 intended.width = child->core.width;
463 intended.height = clip_height;
465 intended.height = child->core.height;
468 intended.request_mode |= CWHeight;
474 do { /* while intended != prev */
477 (void) XtQueryGeometry( child, &intended, &preferred );
479 preferred.width = intended.width;
481 preferred.height = intended.height;
483 prev_width = intended.width;
484 prev_height = intended.height;
485 prev_mode = intended.request_mode;
502 intended.width = preferred.width; \
516 intended.height = preferred.height;
519 intended.width = clip_width;
520 intended.request_mode |= CWWidth;
523 intended.height = clip_height;
524 intended.request_mode |= CWHeight;
526 } while (intended.request_mode != prev_mode
527 || (intended.request_mode & CWWidth
528 && intended.width != prev_width)
529 || (intended.request_mode & CWHeight
530 && intended.height != prev_height));
593 XtResizeWidget( child, (Dimension)intended.width,
594 (Dimension)intended.height, (Dimension)0 );
605 * intended - the cache of the childs height is
613 ComputeWithForceBars(widget, query, intended, clip_width, clip_height)
616 XtWidgetGeometry * intended;
640 intended->height = *clip_height;
641 intended->request_mode = CWHeight;
644 intended->width = *clip_width;
645 intended->request_mode = CWWidth;
650 XtQueryGeometry( child, intended, &preferred );
652 if ( !(intended->request_mode & CWWidth) )
654 intended->width = preferred.width;
656 intended->width = child->core.width;
658 if ( !(intended->request_mode & CWHeight) )
660 intended->height = preferred.height;
662 intended->height = child->core.height;
667 intended->height = child->core.height;
669 intended->width = child->core.width;
672 AssignMax(intended->width, *clip_width);
673 AssignMax(intended->height, *clip_height);