parameters: ()
docstring: Open feedback options window
docstring_summary: Open feedback options window
docstring_tokens: Open feedback options window
function: def OpenFeedbackOptionsWindow ():
  	"""Open feedback options window"""
  	global FeedbackHelpText
  
  	Window = GemRB.LoadWindow (8, "GUIOPT")
  	GemRB.SetVar ("Circle Feedback", GemRB.GetVar ("GUI Feedback Level") - 1)
  
  
  	FeedbackHelpText = GUIOPTControls.OptHelpText ('FeedbackOptions', Window, 9, 37410)
  
  	GUIOPTControls.OptDone (lambda: Window.Close(), Window, 7)
  	GUIOPTControls.OptCancel (lambda: Window.Close(), Window, 8)
  
  	GUIOPTControls.OptSlider (31213, 37411, FeedbackHelpText, Window, 1, 10, 37463, "Circle Feedback", UpdateMarkerFeedback)
  	GUIOPTControls.OptSlider (31213, 37447, FeedbackHelpText, Window, 2, 11, 37586, "Locator Feedback Level")
  	GUIOPTControls.OptSlider (31213, 54878, FeedbackHelpText, Window, 20, 21, 54879, "Selection Sounds Frequency")
  	GUIOPTControls.OptSlider (31213, 54880, FeedbackHelpText, Window, 22, 23, 55012, "Command Sounds Frequency")
  
  	# others have: to hit rolls, combat info, [actions], state changes, [selection text], misc
  	# pst: states, misc, to hit rolls, combat info, [spell casting]; and separate sliders for selection and command
  	# we harmonize it across games by likely breaking compatibility with the original
  	# there's no need to disable values 4 and 16 (set by our defaults.ini), since their use takes the separate sliders into account
  	GUIOPTControls.OptCheckbox (31213, 37460, FeedbackHelpText, Window, 6, 15, 37594, 'Effect Text Level', None, 8)
  	GUIOPTControls.OptCheckbox (31213, 37462, FeedbackHelpText, Window, 17, 19, 37596, 'Effect Text Level', None, 32)
  	GUIOPTControls.OptCheckbox (31213, 37453, FeedbackHelpText, Window, 3, 12, 37588, 'Effect Text Level', None, 1)
  	GUIOPTControls.OptCheckbox (31213, 37457, FeedbackHelpText, Window, 4, 13, 37590, 'Effect Text Level', None, 2)
  	GUIOPTControls.OptCheckbox (31213, 37458, FeedbackHelpText, Window, 5, 14, 37592, 'Effect Text Level', None, 64)
  
  	Window.ShowModal (MODAL_SHADOW_GRAY)
function_tokens: def OpenFeedbackOptionsWindow ( ) : global FeedbackHelpText Window = GemRB . LoadWindow ( 8 , "GUIOPT" ) GemRB . SetVar ( "Circle Feedback" , GemRB . GetVar ( "GUI Feedback Level" ) - 1 ) FeedbackHelpText = GUIOPTControls . OptHelpText ( 'FeedbackOptions' , Window , 9 , 37410 ) GUIOPTControls . OptDone ( lambda : Window . Close ( ) , Window , 7 ) GUIOPTControls . OptCancel ( lambda : Window . Close ( ) , Window , 8 ) GUIOPTControls . OptSlider ( 31213 , 37411 , FeedbackHelpText , Window , 1 , 10 , 37463 , "Circle Feedback" , UpdateMarkerFeedback ) GUIOPTControls . OptSlider ( 31213 , 37447 , FeedbackHelpText , Window , 2 , 11 , 37586 , "Locator Feedback Level" ) GUIOPTControls . OptSlider ( 31213 , 54878 , FeedbackHelpText , Window , 20 , 21 , 54879 , "Selection Sounds Frequency" ) GUIOPTControls . OptSlider ( 31213 , 54880 , FeedbackHelpText , Window , 22 , 23 , 55012 , "Command Sounds Frequency" ) # others have: to hit rolls, combat info, [actions], state changes, [selection text], misc # pst: states, misc, to hit rolls, combat info, [spell casting]; and separate sliders for selection and command # we harmonize it across games by likely breaking compatibility with the original # there's no need to disable values 4 and 16 (set by our defaults.ini), since their use takes the separate sliders into account GUIOPTControls . OptCheckbox ( 31213 , 37460 , FeedbackHelpText , Window , 6 , 15 , 37594 , 'Effect Text Level' , None , 8 ) GUIOPTControls . OptCheckbox ( 31213 , 37462 , FeedbackHelpText , Window , 17 , 19 , 37596 , 'Effect Text Level' , None , 32 ) GUIOPTControls . OptCheckbox ( 31213 , 37453 , FeedbackHelpText , Window , 3 , 12 , 37588 , 'Effect Text Level' , None , 1 ) GUIOPTControls . OptCheckbox ( 31213 , 37457 , FeedbackHelpText , Window , 4 , 13 , 37590 , 'Effect Text Level' , None , 2 ) GUIOPTControls . OptCheckbox ( 31213 , 37458 , FeedbackHelpText , Window , 5 , 14 , 37592 , 'Effect Text Level' , None , 64 ) Window . ShowModal ( MODAL_SHADOW_GRAY )