Lines Matching refs:size

214     /* size               */   sizeof(PanedRec),
275 * Description: Adjusts the size of the pane.
281 * Returns: the amount of change in size.
298 int size = Max(PaneInfo(*childP)->size, (int)PaneInfo(*childP)->min);
299 AssignMin(size, (int) PaneInfo(*childP)->max);
300 newsize += size + pw->paned.internal_bw;
348 * Returns: the size requested
383 * 1) size < max && size > min
466 return( (shrink && (pane->size != pane->min)) ||
467 (!shrink && (pane->size != pane->max)) );
496 ( (shrink && ((int)pane->wp_size <= pane->size)) ||
497 (!shrink && ((int)pane->wp_size >= pane->size))) );
550 old = pane->size;
551 pane->size += pane_size - *sizeused;
555 AssignMax(pane->size, start_size);
558 AssignMin(pane->size, start_size);
560 if (pane->size == start_size) (void) PopPaneStack(pw);
564 AssignMax(pane->size, (int) pane->wp_size);
567 AssignMin(pane->size, (int) pane->wp_size);
570 pane->paned_adjusted_me = (pane->size != pane->wp_size);
571 AssignMax(pane->size, (int) pane->min);
572 AssignMin(pane->size, (int) pane->max);
573 *sizeused += (pane->size - old);
607 * Get an initial estimate of the size we will use.
612 AssignMax(pane->size, (int) pane->min);
613 AssignMin(pane->size, (int) pane->max);
614 sizeused += (int) pane->size + (int) pw->paned.internal_bw;
622 * If we still are not the right size, then tell the pane that
629 Dimension old = pane->size;
631 pane->size += pane_size - sizeused;
632 AssignMax(pane->size, (int) pane->min);
633 AssignMin(pane->size, (int) pane->max);
634 sizeused += pane->size - old;
646 loc += PaneInfo(*childP)->size + pw->paned.internal_bw;
671 XtResizeWidget(*childP, pw->core.width, (Dimension) pane->size,
684 XtResizeWidget(*childP, (Dimension) pane->size, pw->core.height,
745 * on_size, off_size - size of rectangle.
986 * to go beyond the min or max size allowed.
1004 PaneInfo(pw->paned.whichadd)->size = add_size;
1006 PaneInfo(pw->paned.whichsub)->size = sub_size;
1026 * Since the user selected this size then use it as the preferred size.
1031 pane->wp_size = pane->size;
1035 pane->wp_size = pane->size;
1268 (PaneInfo(*childP)->size == 0) ||
1291 PaneInfo(*childP)->size = PaneInfo(*childP)->wp_size;
1346 stack->start_size = pane->size;
1357 * ** RETURNED ** start_size - the size that this pane started at.
1376 if (shrink != ((*pane)->size > *start_size)) *pane = NULL;
1466 * o The requested size is the same as the current size.
1478 old_size = pane->size;
1480 pane->wp_size = pane->size = GetRequestInfo(request, vert);
1504 reply->height = pane->size;
1510 reply->width = pane->size;
1536 pane->size = old_size;
1630 pane->size = 0;
1653 Dimension size;
1659 * If the size is zero then set it to the size of the widest or tallest pane.
1662 if ( (size = PaneSize( (Widget) pw, !vert )) == 0) {
1663 size = 1;
1665 if ( XtIsManaged(*childP) && (PaneSize( *childP, !vert ) > size) )
1666 size = PaneSize( *childP, !vert );
1686 SetChildrenPrefSizes( (PanedWidget) w, size);
1693 AdjustPanedSize(pw, size, (XtGeometryResult *)NULL,
1836 * Description: Sets the min and max size for a pane.
1838 * min, max - the new min and max size for the pane.
1859 * Description: Gets the min and max size for a pane.
1861 ** RETURNED ** min, max - the current min and max size for the pane.