From 284fce9da884649a55f8366c601d618087f8f034 Mon Sep 17 00:00:00 2001 From: alu Date: Sun, 18 Apr 2010 02:56:03 +0000 Subject: [PATCH] Hide scrolltext options, if scrolltext support is disabled --- scrolltext/config.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/scrolltext/config.in b/scrolltext/config.in index 912d771..39c5a01 100644 --- a/scrolltext/config.in +++ b/scrolltext/config.in @@ -1,19 +1,20 @@ -dep_bool_menu "Scrolltext Support" SCROLLTEXT_SUPPORT y +dep_bool_menu "Scrolltext Support" SCROLLTEXT_SUPPORT y -choice 'Scrolltext Font' \ - "Arial_8 font_arial8 \ - Small_6 font_small6 \ - Uni_53 font_uni53" \ - 'Arial_8' SCROLLTEXT_FONT +if [ "$SCROLLTEXT_SUPPORT" = "y" ]; then + choice 'Scrolltext Font' \ + "Arial_8 font_arial8 \ + Small_6 font_small6 \ + 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 y speed" SCROLL_Y_SPEED 20 - -string "Default text" SCROLLTEXT_TEXT "