local gc = Var("GameCommand")

local string_name = gc:GetText()
local string_expl = THEME:GetString("StyleType", gc:GetStyle():GetStyleType())
local icon_color = color("#F700FF")
local icon_color2 = color("#F700FF")

local t = Def.ActorFrame {
	Def.ActorFrame {
		GainFocusCommand=THEME:GetMetric(Var "LoadingScreen","IconGainFocusCommand"),
		LoseFocusCommand=THEME:GetMetric(Var "LoadingScreen","IconLoseFocusCommand"),

		Def.Sprite{ Texture= THEME:GetPathG("ScreenSelectPlayMode", "icon/_background base"),
			InitCommand=function(self) self:diffuse(icon_color):diffusebottomedge(icon_color2) end,
		},
		Def.Sprite{ Texture= THEME:GetPathG("ScreenSelectPlayMode", "icon/_background effect") },
		Def.Sprite{ Texture= THEME:GetPathG("ScreenSelectPlayMode", "icon/_gloss") },
		Def.Sprite{ Texture= THEME:GetPathG("ScreenSelectPlayMode", "icon/_stroke") },
		Def.Sprite{ Texture= THEME:GetPathG("ScreenSelectPlayMode", "icon/style cutout") },

		Def.BitmapText{ Font= "Common Large",
			Text=string.upper(string_name),
			InitCommand=function(self) self:y(-12):maxwidth(232) end,
			OnCommand=function(self)
				self:diffuse(Color.Black):shadowlength(1):shadowcolor(color("#ffffff77")):skewx(-0.125) end,
		},
		Def.BitmapText{ Font= "Common Normal",
			Text=string.upper(string_expl),
			InitCommand=function(self) self:y(28):maxwidth(232):zoom(0.75) end,
		},

		Def.Sprite{ Texture=THEME:GetPathG("ScreenSelectPlayMode", "icon/_background base"),
			DisabledCommand=function(self) self:diffuse(color("0,0,0,0.5")) end,
			EnabledCommand=function(self) self:diffuse(color("1,1,1,0")) end,
		}
	}
}
return t