Lines Matching refs:size

190     /* size               */   sizeof(PanedRec),
251 * Description: Adjusts the size of the pane.
257 * Returns: the amount of change in size.
274 int size = (int) Max(PaneInfo(*childP)->size, PaneInfo(*childP)->min);
275 AssignMin(size, (int) PaneInfo(*childP)->max);
276 newsize += size + pw->paned.internal_bw;
323 * Returns: the size requested
358 * 1) size < max && size > min
439 return( (shrink && (pane->size != pane->min)) ||
440 (!shrink && (pane->size != pane->max)) );
469 ( (shrink && (pane->wp_size <= pane->size)) ||
470 (!shrink && (pane->wp_size >= pane->size))) );
523 old = pane->size;
524 pane->size += pane_size - *sizeused;
528 AssignMax(pane->size, start_size);
531 AssignMin(pane->size, start_size);
533 if (pane->size == start_size) (void) PopPaneStack(pw);
537 AssignMax(pane->size, (int) pane->wp_size);
540 AssignMin(pane->size, (int) pane->wp_size);
543 pane->paned_adjusted_me = (pane->size != pane->wp_size);
544 AssignMax(pane->size, (int) pane->min);
545 AssignMin(pane->size, (int) pane->max);
546 *sizeused += (pane->size - old);
580 * Get an initial estimate of the size we will use.
585 AssignMax(pane->size, (int) pane->min);
586 AssignMin(pane->size, (int) pane->max);
587 sizeused += (int) pane->size + (int) pw->paned.internal_bw;
595 * If we still are not the right size, then tell the pane that
602 Dimension old = pane->size;
604 pane->size += pane_size - sizeused;
605 AssignMax(pane->size, (int) pane->min);
606 AssignMin(pane->size, (int) pane->max);
607 sizeused += pane->size - old;
619 loc += PaneInfo(*childP)->size + pw->paned.internal_bw;
644 XtResizeWidget(*childP, pw->core.width, (Dimension) pane->size,
657 XtResizeWidget(*childP, (Dimension) pane->size, pw->core.height,
718 * on_size, off_size - size of rectangle.
959 * to go beyond the min or max size allowed.
977 PaneInfo(pw->paned.whichadd)->size = add_size;
979 PaneInfo(pw->paned.whichsub)->size = sub_size;
998 * Since the user selected this size then use it as the preferred size.
1003 pane->wp_size = pane->size;
1007 pane->wp_size = pane->size;
1240 (PaneInfo(*childP)->size == 0) ||
1263 PaneInfo(*childP)->size = PaneInfo(*childP)->wp_size;
1318 stack->start_size = pane->size;
1329 * ** RETURNED ** start_size - the size that this pane started at.
1348 if (shrink != ((*pane)->size > *start_size)) *pane = NULL;
1438 * o The requested size is the same as the current size.
1450 old_size = pane->size;
1452 pane->wp_size = pane->size = GetRequestInfo(request, vert);
1476 reply->height = pane->size;
1482 reply->width = pane->size;
1508 pane->size = old_size;
1597 pane->size = 0;
1620 Dimension size;
1626 * If the size is zero then set it to the size of the widest or tallest pane.
1629 if ( (size = PaneSize( (Widget) pw, !vert )) == 0) {
1630 size = 1;
1632 if ( XtIsManaged(*childP) && (PaneSize( *childP, !vert ) > size) )
1633 size = PaneSize( *childP, !vert );
1653 SetChildrenPrefSizes( (PanedWidget) w, size);
1660 AdjustPanedSize(pw, size, NULL, NULL, NULL);
1798 * Description: Sets the min and max size for a pane.
1800 * min, max - the new min and max size for the pane.
1817 * Description: Gets the min and max size for a pane.
1819 ** RETURNED ** min, max - the current min and max size for the pane.