[Context]
ContextName=LevelUp

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

# Stats background

[LevelUpStatsBackground]
Type=Image
Texture=CHARSTAT.IMG
Palette=CHARSHT.COL

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

# Player name/race/class

[LevelUpPlayerNameTextBox]
Type=TextBox
Position=10,8
DrawOrder=1
WorstCaseText=WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpPlayerRaceTextBox]
Type=TextBox
Position=10,17
DrawOrder=1
WorstCaseText=WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpPlayerClassTextBox]
Type=TextBox
Position=10,26
DrawOrder=1
WorstCaseText=WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Primary attributes

[LevelUpStrengthTextBox]
Type=TextBox
Position=26,52
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpIntelligenceTextBox]
Type=TextBox
Position=26,60
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpWillpowerTextBox]
Type=TextBox
Position=26,68
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpAgilityTextBox]
Type=TextBox
Position=26,76
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpSpeedTextBox]
Type=TextBox
Position=26,84
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpEnduranceTextBox]
Type=TextBox
Position=26,92
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpPersonalityTextBox]
Type=TextBox
Position=26,100
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpLuckTextBox]
Type=TextBox
Position=26,108
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Primary attribute buttons for setting attribute active

[LevelUpStrengthButton]
Type=Button
Position=10,52
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onStrengthButtonSelected

[LevelUpIntelligenceButton]
Type=Button
Position=10,60
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onIntelligenceButtonSelected

[LevelUpWillpowerButton]
Type=Button
Position=10,68
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onWillpowerButtonSelected

[LevelUpAgilityButton]
Type=Button
Position=10,76
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onAgilityButtonSelected

[LevelUpSpeedButton]
Type=Button
Position=10,84
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onSpeedButtonSelected

[LevelUpEnduranceButton]
Type=Button
Position=10,92
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onEnduranceButtonSelected

[LevelUpPersonalityButton]
Type=Button
Position=10,100
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onPersonalityButtonSelected

[LevelUpLuckButton]
Type=Button
Position=10,108
Size=26,8
DrawOrder=3
Callback=LevelUpUI.onLuckButtonSelected

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

# Primary attribute up/down buttons for incrementing/decrementing points

[LevelUpUpDownImage]
Type=Image
DrawOrder=3
Texture=UPDOWN.IMG
Palette=CHARSHT.COL

[LevelUpStrengthUpButton]
Type=Button
Position=38,48
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onStrengthUpButtonSelected

[LevelUpStrengthDownButton]
Type=Button
Position=38,56
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onStrengthDownButtonSelected

[LevelUpIntelligenceUpButton]
Type=Button
Position=38,56
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onIntelligenceUpButtonSelected

[LevelUpIntelligenceDownButton]
Type=Button
Position=38,64
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onIntelligenceDownButtonSelected

[LevelUpWillpowerUpButton]
Type=Button
Position=38,64
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onWillpowerUpButtonSelected

[LevelUpWillpowerDownButton]
Type=Button
Position=38,72
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onWillpowerDownButtonSelected

[LevelUpAgilityUpButton]
Type=Button
Position=38,72
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onAgilityUpButtonSelected

[LevelUpAgilityDownButton]
Type=Button
Position=38,80
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onAgilityDownButtonSelected

[LevelUpSpeedUpButton]
Type=Button
Position=38,80
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onSpeedUpButtonSelected

[LevelUpSpeedDownButton]
Type=Button
Position=38,88
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onSpeedDownButtonSelected

[LevelUpEnduranceUpButton]
Type=Button
Position=38,88
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onEnduranceUpButtonSelected

[LevelUpEnduranceDownButton]
Type=Button
Position=38,96
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onEnduranceDownButtonSelected

[LevelUpPersonalityUpButton]
Type=Button
Position=38,96
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onPersonalityUpButtonSelected

[LevelUpPersonalityDownButton]
Type=Button
Position=38,104
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onPersonalityDownButtonSelected

[LevelUpLuckUpButton]
Type=Button
Position=38,104
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onLuckUpButtonSelected

[LevelUpLuckDownButton]
Type=Button
Position=38,112
Size=8,8
DrawOrder=4
Callback=LevelUpUI.onLuckDownButtonSelected

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

# Derived attributes

[LevelUpBonusDamageTextBox]
Type=TextBox
Position=86,52
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpMagicDefenseTextBox]
Type=TextBox
Position=86,68
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpBonusToHitTextBox]
Type=TextBox
Position=86,76
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpBonusToHealthTextBox]
Type=TextBox
Position=86,92
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpBonusToCharismaTextBox]
Type=TextBox
Position=86,100
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpMaxWeightTextBox]
Type=TextBox
Position=145,52
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpBonusToDefendTextBox]
Type=TextBox
Position=145,76
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpHealModTextBox]
Type=TextBox
Position=145,92
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Health/stamina/spell points

[LevelUpHealthTextBox]
Type=TextBox
Position=45,127
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpStaminaTextBox]
Type=TextBox
Position=45,135
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpSpellPointsTextBox]
Type=TextBox
Position=86,60
DrawOrder=2
WorstCaseText=WWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Gold

[LevelUpGoldTextBox]
Type=TextBox
Position=45,143
DrawOrder=2
WorstCaseText=WWWWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Bonus points/experience/level

[LevelUpBonusPointsImage]
Type=Image
Position=45,109
DrawOrder=2
Texture=BONUS.IMG
Palette=CHARSHT.COL

[LevelUpBonusPointsTextBox]
Type=TextBox
Position=92,113
DrawOrder=3
WorstCaseText=WWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpExperienceTextBox]
Type=TextBox
Position=45,158
DrawOrder=2
WorstCaseText=WWWWWWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

[LevelUpLevelTextBox]
Type=TextBox
Position=45,167
DrawOrder=2
WorstCaseText=WWWWWW
FontName=ARENAFNT.DAT
TextColor=199,199,199,255

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

# Done button

[LevelUpDoneButton]
Type=Button
Position=25,185
Size=21,13
Pivot=Middle
Callback=LevelUpUI.onDoneButtonSelected

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

# Hotkeys

[LevelUpBackInputListener]
Type=InputListener
InputActionName=Back
Callback=LevelUpUI.onBackInputAction

[LevelUpCharacterSheetInputListener]
Type=InputListener
InputActionName=CharacterSheet
Callback=LevelUpUI.onCharacterSheetInputAction
