Hide scrolltext options, if scrolltext support is disabled

This commit is contained in:
alu 2010-04-18 02:56:03 +00:00
parent 102a17dbaf
commit 284fce9da8
1 changed files with 12 additions and 11 deletions

View File

@ -1,19 +1,20 @@
dep_bool_menu "Scrolltext Support" SCROLLTEXT_SUPPORT y dep_bool_menu "Scrolltext Support" SCROLLTEXT_SUPPORT y
choice 'Scrolltext Font' \ if [ "$SCROLLTEXT_SUPPORT" = "y" ]; then
"Arial_8 font_arial8 \ choice 'Scrolltext Font' \
Small_6 font_small6 \ "Arial_8 font_arial8 \
Uni_53 font_uni53" \ Small_6 font_small6 \
'Arial_8' SCROLLTEXT_FONT Uni_53 font_uni53" \
'Arial_8' SCROLLTEXT_FONT
int "Scrolltest buffer size" SCROLLTEXT_BUFFER_SIZE 128 int "Scrolltest buffer size" SCROLLTEXT_BUFFER_SIZE 128
int "Default x speed" SCROLL_X_SPEED 20 int "Default x speed" SCROLL_X_SPEED 20
int "Default y speed" SCROLL_Y_SPEED 20 int "Default y speed" SCROLL_Y_SPEED 20
string "Default text" SCROLLTEXT_TEXT "</#www.das-labor.org"
string "Default text" SCROLLTEXT_TEXT "</#www.das-labor.org"
fi
endmenu endmenu