Lines Matching defs:intended
483 XtWidgetGeometry intended;
489 intended.request_mode = CWBorderWidth;
490 intended.border_width = 0;
495 ComputeWithForceBars(widget, query, &intended,
506 * intended.{width,height} caches the eventual child dimensions,
512 intended.request_mode |= CWWidth;
515 intended.width = clip_width;
517 intended.width = child->core.width;
520 intended.height = clip_height;
522 intended.height = child->core.height;
525 intended.request_mode |= CWHeight;
531 do { /* while intended != prev */
534 (void) XtQueryGeometry( child, &intended, &preferred );
536 preferred.width = intended.width;
538 preferred.height = intended.height;
540 prev_width = intended.width;
541 prev_height = intended.height;
542 prev_mode = intended.request_mode;
560 intended.width = preferred.width; \
574 intended.height = preferred.height;
578 intended.width = clip_width;
579 intended.request_mode |= CWWidth;
583 intended.height = clip_height;
584 intended.request_mode |= CWHeight;
586 } while (intended.request_mode != prev_mode
587 || (intended.request_mode & CWWidth
588 && intended.width != prev_width)
589 || (intended.request_mode & CWHeight
590 && intended.height != prev_height));
653 XtResizeWidget( child, (Dimension)intended.width,
654 (Dimension)intended.height, (Dimension)0 );
667 * intended - the cache of the childs height is
675 ComputeWithForceBars(widget, query, intended, clip_width, clip_height)
678 XtWidgetGeometry * intended;
710 intended->height = *clip_height;
711 intended->request_mode = CWHeight;
714 intended->width = *clip_width;
715 intended->request_mode = CWWidth;
720 XtQueryGeometry( child, intended, &preferred );
722 if ( !(intended->request_mode & CWWidth) )
724 intended->width = preferred.width;
726 intended->width = child->core.width;
728 if ( !(intended->request_mode & CWHeight) )
730 intended->height = preferred.height;
732 intended->height = child->core.height;
737 intended->height = child->core.height;
739 intended->width = child->core.width;
742 if (*clip_width > (int)intended->width)
743 intended->width = *clip_width;
744 if (*clip_height > (int)intended->height)
745 intended->height = *clip_height;