Add new 5.1 default theme Lambda

I'd like to thank everyone who made this possible;, including but not
limited to Riakodoadm, MrThatKid, kyzentun, Luizsan, JoseVarelaP,
everyone else who provided feedback and bug reports.
This commit is contained in:
ListenerJubatus
2017-08-08 01:07:34 -06:00
parent 4c5319c888
commit f257f19dad
1015 changed files with 17245 additions and 3865 deletions
@@ -1,26 +1,7 @@
local label_text= false
return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
InitCommand=cmd(horizalign,left;zoom,0.675);
OnCommand= function(self)
label_text= self
self:shadowlength(1):settextf(Screen.String("TimingDifficulty"), "");
end,
};
LoadFont("Common Normal") .. {
Text=GetTimingDifficulty();
AltText="";
InitCommand=cmd(x,136;zoom,0.675;halign,0);
OnCommand=function(self)
self:shadowlength(1):skewx(-0.125):x(label_text:GetZoomedWidth()+8)
if GetTimingDifficulty() == 9 then
self:settext(Screen.String("Hardest Timing"));
(cmd(zoom,0.5;diffuse,ColorLightTone( Color("Orange")) ))(self);
else
self:settext( GetTimingDifficulty() );
end
end;
};
};
local icon_params = {
base_color = color("#CE3D06"),
label_text = Screen.String("TimingDifficulty"),
value_text = GetTimingDifficulty() == 9 and Screen.String("Hardest Timing") or GetTimingDifficulty()
}
return LoadActor(THEME:GetPathG("", "_title_info_icon"), icon_params)