Lines Matching refs:shrink
399 * shrink - TRUE if we need to shrink a pane, FALSE otherwise.
404 ChoosePaneToResize(pw, paneindex, dir, shrink)
408 Boolean shrink;
426 if ( (rules < 3 || SatisfiesRule3(pane, shrink)) &&
428 (SatisfiesRule1(pane, shrink)) &&
457 * shrink -TRUE if we want to shrink this pane, FALSE otherwise
462 SatisfiesRule1(pane, shrink)
464 Boolean shrink;
466 return( (shrink && (pane->size != pane->min)) ||
467 (!shrink && (pane->size != pane->max)) );
486 * shrink -TRUE if we want to shrink this pane, FALSE otherwise
491 SatisfiesRule3(pane, shrink)
493 Boolean shrink;
496 ( (shrink && ((int)pane->wp_size <= pane->size)) ||
497 (!shrink && ((int)pane->wp_size >= pane->size))) );
519 Boolean shrink = (*sizeused > pane_size);
534 GetPaneStack(pw, shrink, &pane, &start_size);
536 pane = ChoosePaneToResize(pw, paneindex, dir, shrink);
540 rule3_ok = SatisfiesRule3(pane, shrink);
554 if (shrink) {
563 if (shrink) {
1354 * shrink - TRUE if we want to shrink this pane,
1362 GetPaneStack(pw, shrink, pane, start_size)
1364 Boolean shrink;
1376 if (shrink != ((*pane)->size > *start_size)) *pane = NULL;