include gui/styles.txt

style titleFont
{
	fsCTextSpriteComponent
	{
		largeShopFont

	}
}	

style bodyFont
{
	fsCTextSpriteComponent
	{
		standardShopFont
	}
}	

fsCInGameShopItemPopupGui
{
	name = shopItemWindow
	posX = 0 posY = 0
	width = 1366 height = 768
	fadeAlphaPercentage = 30

	fsCSpriteComponent
	{
		name = shopItemBackground
		image = gui/shopMenu/itemBg.png
		posX = 0 posY = 0
		
		fsCTextSpriteComponent
		{
			name = itemPopup
			textKey = itemPopup
			largeTitleFont
			posX = 1 posY = -243
			width = 300 height = 50
		}

		titleFont
		{
			name = shopItemNameText
			textKey = emptyString
			posX = 0 posY = -160
			width = 600 height = 50
		}

		fsCSpriteComponent
		{
			name = shopItemCloseupImage
			posX = 0 posY = -40
		}

		bodyFont
		{
			name = shopItemDescriptionText
			text = emptyString
			posX = 0 posY = 80
			width = 280 height = 100
		}
		
		bodyFont
		{
			name = shopItemPriceText
			text = emptyString
			fontSize = 20
			posX = 0 posY = 130
			width = 300 height = 100
		}

		standardTextButton
		{
			name = shopItemBuyButton
			textKey = purchase
			posX = -100 posY = 205
		}

		standardTextButton
		{
			name = shopItemBackButton
			textKey = back
			posX = 100 posY = 205
			action = "closeGui shopItemWindow"
		}
	}
}
