[Context]
ContextName=Options

##################################

# Tabs

[OptionsGraphicsButtonImage]
Type=Image
Position=3,6
DrawOrder=1
Texture=Custom1,54,16

[OptionsGraphicsButtonTextBox]
Type=TextBox
Position=30,14
Pivot=Middle
DrawOrder=2
Text=Graphics
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsGraphicsButton]
Type=Button
Position=3,6
Callback=OptionsUI.onGraphicsButtonSelected
ContentElementName=OptionsGraphicsButtonImage

[OptionsAudioButtonImage]
Type=Image
Position=3,22
DrawOrder=1
Texture=Custom1,54,16

[OptionsAudioButtonTextBox]
Type=TextBox
Position=30,30
Pivot=Middle
DrawOrder=2
Text=Audio
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsAudioButton]
Type=Button
Position=3,22
Callback=OptionsUI.onAudioButtonSelected
ContentElementName=OptionsAudioButtonImage

[OptionsInputButtonImage]
Type=Image
Position=3,38
DrawOrder=1
Texture=Custom1,54,16

[OptionsInputButtonTextBox]
Type=TextBox
Position=30,46
Pivot=Middle
DrawOrder=2
Text=Input
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsInputButton]
Type=Button
Position=3,38
Callback=OptionsUI.onInputButtonSelected
ContentElementName=OptionsInputButtonImage

[OptionsMiscButtonImage]
Type=Image
Position=3,54
DrawOrder=1
Texture=Custom1,54,16

[OptionsMiscButtonTextBox]
Type=TextBox
Position=30,62
Pivot=Middle
DrawOrder=2
Text=Misc
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsMiscButton]
Type=Button
Position=3,54
Callback=OptionsUI.onMiscButtonSelected
ContentElementName=OptionsMiscButtonImage

[OptionsDevButtonImage]
Type=Image
Position=3,70
DrawOrder=1
Texture=Custom1,54,16

[OptionsDevButtonTextBox]
Type=TextBox
Position=30,78
Pivot=Middle
DrawOrder=2
Text=Dev
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsDevButton]
Type=Button
Position=3,70
Callback=OptionsUI.onDevButtonSelected
ContentElementName=OptionsDevButtonImage

##################################

# Options list

[OptionsListBox]
Type=ListBox
Position=62,6
DrawOrder=2
TextureSize=240,90
FontName=ARENAFNT.DAT
TextColor=255,255,255,255
IsHighlightEnabled=false
MouseButtons=Both

[OptionsListBoxUpDownArrowImage]
Type=Image
Position=308,6
DrawOrder=3
Texture=UPDOWN.IMG
Palette=CHARSHT.COL

[OptionsListBoxUpArrowButton]
Type=Button
Position=308,6
Size=8,8
Callback=OptionsUI.onListBoxScrollUpButtonSelected

[OptionsListBoxDownArrowButton]
Type=Button
Position=308,14
Size=8,8
Callback=OptionsUI.onListBoxScrollDownButtonSelected

##################################

# Hovered option description

[OptionsDescriptionTextBox]
Type=TextBox
Position=5,122
DrawOrder=1
WorstCaseText=WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW\n\n\n\n\n\n\n\n
FontName=ARENAFNT.DAT
TextColor=255,255,255,255

##################################

# Back button

[OptionsBackButtonImage]
Type=Image
Position=290,185
Pivot=Middle
DrawOrder=1
Texture=Custom1,40,16

[OptionsBackButtonTextBox]
Type=TextBox
Position=290,185
Pivot=Middle
DrawOrder=2
Text=Return
FontName=ARENAFNT.DAT
TextAlignment=MiddleCenter
TextColor=255,255,255,255

[OptionsBackButton]
Type=Button
Position=290,185
Pivot=Middle
Callback=OptionsUI.onBackButtonSelected
ContentElementName=OptionsBackButtonImage

##################################

# Hotkeys

[OptionsBackInputListener]
Type=InputListener
InputActionName=Back
Callback=OptionsUI.onBackInputAction
