--[[
Author: Will Graham (wgraham@digipen.edu)

Copyright 2008-2009 DigiPen (USA) Corp.
]]--

FadeBackground = Button(0, 0, ScreenWidth, ScreenHeight, 0, 0, 0, 255, "sprites/BlankBackground.png", false, true, 1)

BarHeight = ((768.0 - (1024.0 * (8.0 / 16.0))) / 2.0) * (ScreenWidth / 1024)
BarHeight = CalculateBarHeight(ScreenWidth, ScreenHeight)
BarWidth = ScreenWidth;
CinematicBar1 = Button(0, 0, ScreenWidth, BarHeight, 0, 0, 0, 255, "sprites/BlankBackground.png", false, true, 1)
CinematicBar2 = Button(0, ScreenHeight - BarHeight, ScreenWidth, BarHeight + 10, 0, 0, 0, 255, "sprites/BlankBackground.png", false, true, 1)

LevelTitles = {}
LevelTitleRatio = 800.0 / 70.0
LevelTitleWidth = ScreenWidth / 2
LevelTitleHeight = LevelTitleWidth / LevelTitleRatio
LevelTitleX = ScreenWidth / 2 - LevelTitleWidth / 2
--LevelTitleX = 0
--LevelTitleX = ScreenWidth - LevelTitleWidth
--LevelTitleY = ScreenHeight - LevelTitleHeight - (BarHeight - LevelTitleHeight) / 2
LevelTitleY = ScreenHeight / 2 - LevelTitleHeight / 2
--LevelTitleY = 0
LevelTitleR = 255
LevelTitleG = 255
LevelTitleB = 255
LevelTitles[1] = Button(LevelTitleX, LevelTitleY, LevelTitleWidth, LevelTitleHeight, LevelTitleR, LevelTitleG, LevelTitleB, 0, "textures/Screens/stage1.png", false, false, 1)
LevelTitles[2] = Button(LevelTitleX, LevelTitleY, LevelTitleWidth, LevelTitleHeight, LevelTitleR, LevelTitleG, LevelTitleB, 0, "textures/Screens/stage2.png", false, false, 1)
LevelTitles[3] = Button(LevelTitleX, LevelTitleY, LevelTitleWidth, LevelTitleHeight, LevelTitleR, LevelTitleG, LevelTitleB, 0, "textures/Screens/stage3.png", false, false, 1)
LevelTitles[4] = Button(LevelTitleX, LevelTitleY, LevelTitleWidth, LevelTitleHeight, LevelTitleR, LevelTitleG, LevelTitleB, 0, "textures/Screens/stage4.png", false, false, 1)

--LoadingScreen = Button(ScreenWidth / 2 - ScreenWidth / 16, ScreenHeight / 2 - ScreenHeight / 80, ScreenWidth / 8, ScreenHeight / 40, 255, 255, 255, 0, "textures/loadScreenText.png", false, true, 1)
LoadingRatio = 256.0 / 128.0
LoadingWidth = ScreenWidth / 8
LoadingHeight = LoadingWidth / LoadingRatio
LoadingX = 0
LoadingY = ScreenHeight - LoadingHeight
LoadingScreen = Button(LoadingX, LoadingY, LoadingWidth, LoadingHeight, 255, 255, 255, 255, "textures/Screens/nowLoading.png", false, false, 1)
