Lines Matching refs:height

114 # need to know the size of the embedded GUI objects because the height passed
119 # height (but does for width) -- a height of 3 will display three lines and a
121 # given a height of 3). For dialog(1), use these values for making sure that
122 # the height does not exceed max_height (obtained by f_dialog_max_size()).
301 # Get the maximum height and width for a dialog widget and store the values in
345 # Don't adjust height if already too small (allowing
358 # and no-greater-than terminal height (or screen height if $USE_XDIALOG is
380 # NOTE: Don't change the name of $__{var,min,}{height,width}
384 for __arg in height width; do
397 for __arg in height width; do
406 # Obtain maximum height and width values
407 # NOTE: Function name appended to prevent __var_{height,width} values
413 # Adjust height if desired
449 # and no-greater-than terminal height (or screen height if $USE_XDIALOG is
459 # terminal height (or screen height if $USE_XDIALOG is set). If $prompt is NULL
477 # NOTE: Don't change the name of $__{var,min,}{height,width,rows}
482 for __arg in height width rows; do
495 for __arg in height width rows; do
504 # Obtain maximum height and width values
505 # NOTE: Function name appended to prevent __var_{height,width} values
511 # Adjust height if desired
576 # Not all versions of dialog(1) perform auto-sizing of the width and height of
581 # storing the calculated height and width. The second set of arguments are the
582 # title, backtitle, prompt, and [optionally] hline. The optimal height and
583 # width for the described widget (not exceeding the actual terminal height or
602 # Default height/width of zero for auto-sizing
605 # Adjust height if desired
608 # Set height based on number of rows in prompt
615 # For Xdialog(1) bump height if backtitle is enabled (displayed
676 # Not all versions of dialog(1) perform auto-sizing of the width and height of
681 # storing the calculated height and width. The second set of arguments are the
682 # title, backtitle, prompt, and [optionally] hline. The optimal height and
683 # width for the described widget (not exceeding the actual terminal height or
702 # Calculate height/width of infobox (adjusted/constrained below)
703 # NOTE: Function name appended to prevent __var_{height,width} values
711 # Adjust height if desired
713 # Add height to accommodate the buttons
737 # Not all versions of dialog(1) perform auto-sizing of the width and height of
742 # storing the calculated height and width. The second set of arguments are the
743 # title, backtitle, prompt, and [optionally] hline. The optimal height and
744 # width for the described widget (not exceeding the actual terminal height or
763 # Calculate height/width of buttonbox (adjusted/constrained below)
764 # NOTE: Function name appended to prevent __var_{height,width} values
772 # Adjust height if desired
774 # Add height for input box (not needed for Xdialog(1))
802 # Xdialog(1) does not perform auto-sizing of the width and height of
807 # storing the calculated height and width. The second set of arguments are the
810 # optimal height and width for the described widget (not exceeding the actual
811 # terminal height or width) is stored in $var_height and $var_width
831 # Calculate height/width of inputbox (adjusted/constrained below)
832 # NOTE: Function name appended to prevent __var_{height,width} values
840 # Adjust height if desired
842 # Add height for 1st label, 2nd label, and 2nd input box
880 # Not all versions of dialog(1) perform auto-sizing of the width and height of
885 # storing the calculated height, width, and rows. The second set of arguments
888 # optimal height, width, and rows for the described widget (not exceeding the
889 # actual terminal height or width) is stored in $var_height, $var_width, and
907 # Calculate height/width of infobox (adjusted/constrained below)
908 # NOTE: Function name appended to prevent __var_{height,width} values
919 # rows (used to bump the height).
930 # Adjust rows early (for up-comning height calculation)
936 # Adjust height if desired
938 # Add rows to height
963 # Constrain height, width, and rows to sensible minimum/maximum values
973 # Not all versions of dialog(1) perform auto-sizing of the width and height of
978 # storing the calculated height, width, and rows. The second set of arguments
981 # optimal height, width, and rows for the described widget (not exceeding the
982 # actual terminal height or width) is stored in $var_height, $var_width, and
1000 # Calculate height/width of infobox (adjusted/constrained below)
1001 # NOTE: Function name appended to prevent __var_{height,width} values
1014 # the height).
1026 # Adjust rows early (for up-coming height calculation)
1032 # Adjust height if desired
1034 # Add rows to height
1068 # Constrain height, width, and rows to sensible minimum/maximum values
1078 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1083 # storing the calculated height, width, and rows. The second set of arguments
1086 # The optimal height, width, and rows for the described widget (not exceeding
1087 # the actual terminal height or width) is stored in $var_height, $var_width,
1105 # Calculate height/width of infobox (adjusted/constrained below)
1106 # NOTE: Function name appended to prevent __var_{height,width} values
1117 # rows (used to bump the height).
1128 # Adjust rows early (for up-coming height calculation)
1135 # Adjust height if desired
1137 # Add rows to height
1164 # Constrain height, width, and rows to sensible minimum/maximum values
1174 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1179 # storing the calculated height, width, and rows. The second set of arguments
1182 # The optimal height, width, and rows for the described widget (not exceeding
1183 # the actual terminal height or width) is stored in $var_height, $var_width,
1199 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1204 # storing the calculated height, width, and rows. The second set of arguments
1207 # quadruplets). The optimal height, width, and rows for the described widget
1208 # (not exceeding the actual terminal height or width) is stored in $var_height,
1226 # Calculate height/width of infobox (adjusted/constrained below)
1227 # NOTE: Function name appended to prevent __var_{height,width} values
1240 # the height).
1255 # Adjust rows early (for up-coming height calculation)
1264 # Adjust height if desired
1266 # Add rows to height
1304 # Constrain height, width, and rows to sensible minimum/maximum values
1315 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1320 # storing the calculated height, width, and rows. The second set of arguments
1323 # quadruplets). The optimal height, width, and rows for the described widget
1324 # (not exceeding the actual terminal height or width) is stored in $var_height,
1338 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1343 # storing the calculated height and width. The second set of arguments are the
1344 # title, backtitle, prompt, and [optionally] hline. The optimal height and
1345 # width for the described widget (not exceeding the actual terminal height or
1366 # NOTE: Function name appended to prevent __var_{height,width} values
1386 # Calculate height if desired
1392 # Add height to accommodate for embedded calendar widget
1395 # Also, bump height if backtitle is enabled
1405 # Enforce maximum height, unless `-n' was passed
1414 # NOTE: Function name appended to prevent __var_{height,width}
1440 # Not all versions of dialog(1) perform auto-sizing of the width and height of
1445 # storing the calculated height and width. The second set of arguments are the
1446 # title, backtitle, prompt, and [optionally] hline. The optional height and
1447 # width for the described widget (not exceeding the actual terminal height or
1468 # NOTE: Function name appended to prevent __var_{height,width} values
1488 # Calculate height if desired
1490 # When using Xdialog(1), the height seems to have
1498 # Enforce maximum height, unless `-n' was passed
1507 # NOTE: Function name appended to prevent __var_{height,width}
1550 local info_text="$*" height width
1551 f_dialog_infobox_size height width \
1558 --infobox "$info_text" $height $width
1579 local info_text="$*" height width
1580 f_dialog_infobox_size height width \
1586 --infobox "$info_text" $height $width \
1599 local pause_text="$1" duration="$2" hline="$3" height width
1601 f_dialog_buttonbox_size height width \
1612 $height $width
1615 height=$(( $height + 3 )) # Add height for progress bar
1624 $height $width "$duration"
1651 local msg_text="$1" hline="$2" height width
1652 f_dialog_buttonbox_size height width \
1659 --msgbox "$msg_text" $height $width
1676 local contents height width retval
1681 f_dialog_buttonbox_size height width \
1690 --textbox "$file" $height $width
1696 --msgbox "$contents" $height $width
1713 local msg_text="$1" height width
1718 f_dialog_buttonbox_size height width \
1728 --yesno "$msg_text" $height $width
1736 --yesno "$msg_text" $height $width
1753 local msg_text="$1" height width
1758 f_dialog_buttonbox_size height width \
1769 --yesno "$msg_text" $height $width
1778 --yesno "$msg_text" $height $width
1839 # NOTE: Function name appended to prevent __var_{height,width} values
2285 # Probe Xdialog(1) for maximum height/width constraints, or die
2297 local height width
2298 f_dialog_buttonbox_size height width \
2304 --msgbox "$maxsize" $height $width
2311 height=${1%,}
2314 echo $height $width