mirror of
https://github.com/MiSTer-devel/Scripts_MiSTer.git
synced 2026-05-24 03:04:22 +00:00
Version 1.1.8 - Added DIALOG_HEIGHT parameter
Added DIALOG_HEIGHT parameter.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
# You can download the latest version of this script from:
|
||||
# https://github.com/MiSTer-devel/Scripts_MiSTer
|
||||
|
||||
# Version 1.1.8 - 2019-05-31 - Added DIALOG_HEIGHT parameter.
|
||||
# Version 1.1.7 - 2019-05-30 - The menu box uses all available space now.
|
||||
# Version 1.1.6 - 2019-05-29 - Speed optimizations.
|
||||
# Version 1.1.5 - 2019-05-29 - Added "Please wait..." screens; font value now is stored as font=/font/myfont.pf without the leading /media/fat.
|
||||
@@ -48,6 +49,8 @@ MISTER_INI_FILE="/media/fat/MiSTer.ini"
|
||||
|
||||
ALLOW_INSECURE_SSL="true"
|
||||
|
||||
DIALOG_HEIGHT="31"
|
||||
|
||||
FONTS_DIRECTORY="/media/fat/font"
|
||||
FONTS_EXTENSION="pf"
|
||||
|
||||
@@ -521,7 +524,7 @@ function showMainMENU_GUI {
|
||||
${SAVE_BUTTON} \
|
||||
--help-button --help-label \"Advanced...\" \
|
||||
--title \"MiSTer INI Settings\" \
|
||||
--menu \"Please choose an option you want to change.$'\n'Use arrow keys, tab, space, enter and esc.\" 0 0 999 \
|
||||
--menu \"Please choose an option you want to change.$'\n'Use arrow keys, tab, space, enter and esc.\" ${DIALOG_HEIGHT} 0 999 \
|
||||
${MENU_ITEMS} \
|
||||
2> ${DIALOG_TEMPFILE}
|
||||
readDIALOGtempfile
|
||||
@@ -533,7 +536,7 @@ function showMainMENU_EDITOR {
|
||||
setupDIALOGtempfile
|
||||
eval ${DIALOG} --clear --defaultno \
|
||||
--title \"MiSTer INI Settings\" \
|
||||
--editbox "${EDITOR_TEMPFILE}" 0 0 \
|
||||
--editbox "${EDITOR_TEMPFILE}" ${DIALOG_HEIGHT} 0 \
|
||||
2> ${DIALOG_TEMPFILE}
|
||||
readDIALOGtempfile
|
||||
rm -f "${EDITOR_TEMPFILE}"
|
||||
@@ -581,7 +584,7 @@ function showOptionMENU {
|
||||
eval ${DIALOG} --clear --colors --item-help --ok-label \"Select\" \
|
||||
--title \"MiSTer INI Settings: ${INI_KEY}\" \
|
||||
${ADDITIONAL_OPTIONS} \
|
||||
--menu \"${INI_KEY_HELP}\" 0 0 999 \
|
||||
--menu \"${INI_KEY_HELP}\" ${DIALOG_HEIGHT} 0 999 \
|
||||
${MENU_ITEMS} \
|
||||
2> ${DIALOG_TEMPFILE}
|
||||
readDIALOGtempfile
|
||||
|
||||
Reference in New Issue
Block a user