diff src/menu_tree.asm @ 645:070528a88715

3.16 release
author heinrichsweikamp
date Sun, 07 Nov 2021 12:39:23 +0100
parents 7d8a4c60ec1a
children ef2ed7e3a895
line wrap: on
line diff
--- a/src/menu_tree.asm	Mon May 24 18:41:51 2021 +0200
+++ b/src/menu_tree.asm	Sun Nov 07 12:39:23 2021 +0100
@@ -1537,7 +1537,7 @@
 do_menu_dispsets:
  IF _language_2!=none
 	MENU_BEGIN	tDispSets, .7
-		MENU_OPT_INC	tBright,					oBrightness
+		MENU_CALL	tBright,					do_menu_Brightness
 		MENU_OPT_INC	tLayout,					oLayout
 		MENU_OPT_INC	tUnits,						oUnits
 		MENU_OPT_INC	tLanguage,					oLanguage
@@ -1547,7 +1547,7 @@
 	MENU_END
  ELSE
 	MENU_BEGIN	tDispSets, .6
-		MENU_OPT_INC	tBright,					oBrightness
+		MENU_CALL	tBright,					do_menu_Brightness
 		MENU_OPT_INC	tLayout,					oLayout
 		MENU_OPT_INC	tUnits,						oUnits
 		MENU_OPT_INC	tFlip,						oFlipScreen
@@ -1556,7 +1556,17 @@
 	MENU_END
  ENDIF
 
+;-----------------------------------------------------------------------------
+; Settings Menu - 3rd Layer - Display Settings - Brightness
+;
+do_menu_Brightness: 
+    	MENU_BEGIN	tBright, .3
+		MENU_OPT_INC	tDvMode,					oBrightness_dive
+		MENU_OPT_INC	tBrightsurface,					oBrightness_surface
+		MENU_CALL	tBack,						do_return_dispsets_menu
+	MENU_END
 
+ 
 ;-----------------------------------------------------------------------------
 ; Settings Menu - 3rd Layer - Display Settings - Color Schemes
 ;