require( "scripts/styles/style.lua" );


MakeState{
	BlgBitmap{
		image = "common/backgrounds/bg_endlessshift",
		name = "endlessmodemenuBG",
		center = {x = 0, y = 0},
	},
	
	BlgButton{
		name = "clubBtn",
		transformMatrix = {x = 464, y = 90},
		font = {
			standardFont,
			16,
			Color(255, 255, 255),
		},
		upState = {
			bitmap = "common/buttons/btn_club_default",
		},
		overState = {
			bitmap = "common/buttons/btn_club_rollover",
		},
		downState = {
			bitmap = "common/buttons/btn_club_pushed",
			sound = kDefaultButtonSound,
		},
	},
	
	BlgButton{
		name = "poolBtn",
		transformMatrix = {x = 694, y = 367},
		font = {
			standardFont,
			16,
			Color(255, 255, 255),
		},
		upState = {
			bitmap = "common/buttons/btn_pool_default",
		},
		overState = {
			bitmap = "common/buttons/btn_pool_rollover",
		},
		downState = {
			bitmap = "common/buttons/btn_pool_pushed",
			sound = kDefaultButtonSound,
		},
	},
	
	BlgButton{
		name = "beachBtn",
		transformMatrix = {x = 98, y = 494},
		font = {
			standardFont,
			16,
			Color(255, 255, 255),
		},
		upState = {
			bitmap = "common/buttons/btn_beach_default",
		},
		overState = {
			bitmap = "common/buttons/btn_beach_rollover",
		},
		downState = {
			bitmap = "common/buttons/btn_beach_pushed",
			sound = kDefaultButtonSound,
		},
	},
	
	BlgButton{
		name = "backBtn",
		ransformMatrix = {x = 850, y = 650},
		font = {
			standardFont,
			23,
			Color(182, 40, 154),
		},
		upState = {
			bitmap = "common/buttons/btn_default",
		},
		overState = {
			bitmap = "common/buttons/btn_rollover",
		},
		downState = {
			bitmap = "common/buttons/btn_pushed",
			sound = kDefaultButtonSound,
		},
		
		command =
			function()
				SwapToState("scripts/states/statemainmenu.lua");
			end
	},
}
	