include gui/mainStyles.txt

style difficultyDescriptionText
{
	fsCTextSpriteComponent
	{
		smallMessageText
		fontSize = 8
		width = 180 height = 100
		posY = 60
	}
}

fsCNewPlayerGui
{
	name = NewPlayerWindow
	fadeBackground

	fsCSpriteComponent
	{
		name = NewPlayerBackground
		image = gui/newPlayer/newPlayer.png

		fsCTextSpriteComponent
		{
			name = ChoosePlayerTitle
			textKey = titleNewPlayer
			panelTitleText
			posX = -136 posY = -212
			width = 300 height = 50
		}
		

		fsCSpriteComponent
		{
			name = NewPlayerTextFieldPanel
			image = gui/newPlayer/textField.png
			posX = -142 posY = -130
			hitMap = true

			fsCTextEntryComponent
			{
				name = NewPlayerTextEntry
				standardButtonText
				alignmentH = left
				width = 216 height = 32
				maxStringLength = 12
			}
		}

		fsCCheckBoxGroupComponent
		{
			name = NewPlayerDifficultyCheckBoxes

			fsCTextSpriteComponent
			{
				panelLabelText
				name = casualTitle
				textKey = titleCasual
				fontSize = 18
				posX = -140 posY = -30
				width = 300 height = 50
			}

			fsCTextSpriteComponent
			{
				panelLabelText
				name = challengeTitle
				textKey = titleChallenge
				fontSize = 18
				posX = -140 posY = 92
				width = 300 height = 50
			}

			difficultyDescriptionText
			{
				name = NewPlayerCasualDescription
				width = 400 height = 88
				posX = -140 posY = 10
				textKey = castext
			}

			difficultyDescriptionText
			{
				name = NewPlayerChallengingDescription
				width = 400 height = 88
				posX = -140 posY = 132
				textKey = exptext
			}
			
			casualCheckBox
			{
				name = NewPlayerCasual
				posX = -142 posY = -8
			}

			challengeCheckBox
			{
				name = NewPlayerChallenging
				posX = -142 posY = 115
			}
		}

		fsCSpriteComponent
		{
			name = NewPlayerCharacterPanel
			posX = 250 posY = -44
		}
		
		fsCCheckBoxGroupComponent
		{
			name = NewPlayerGenderCheckBoxes

			femaleCheckBox
			{
				name = NewPlayerFemale
				posX = 180 posY = 163
			}
			
			maleCheckBox
			{
				name = NewPlayerMale
				posX = 312 posY = 163
			}

		}

		standardTextButton
		{
			name = NewPlayerOKButton
			textKey = buttonOK
			posX = -240 posY = 220
		}

		standardTextButton
		{
			name = NewPlayerCancelButton
			textKey = buttonCancel
			posX = -0 posY = 220
			action = "closeGui NewPlayerWindow"
		}
	}
}
