2015-06-14 08:59:24 -06:00
|
|
|
local label_text= false
|
2012-07-12 16:58:45 -05:00
|
|
|
return Def.ActorFrame {
|
|
|
|
|
LoadFont("Common Normal") .. {
|
|
|
|
|
Text=GetTimingDifficulty();
|
|
|
|
|
AltText="";
|
2013-07-18 18:02:01 -04:00
|
|
|
InitCommand=cmd(horizalign,left;zoom,0.675);
|
2015-06-14 08:55:42 -06:00
|
|
|
OnCommand= function(self)
|
|
|
|
|
label_text= self
|
|
|
|
|
self:shadowlength(1):settextf(Screen.String("TimingDifficulty"), "");
|
|
|
|
|
end,
|
2012-07-12 16:58:45 -05:00
|
|
|
};
|
|
|
|
|
LoadFont("Common Normal") .. {
|
|
|
|
|
Text=GetTimingDifficulty();
|
|
|
|
|
AltText="";
|
2013-07-18 18:02:01 -04:00
|
|
|
InitCommand=cmd(x,136;zoom,0.675;halign,0);
|
2012-07-12 16:58:45 -05:00
|
|
|
OnCommand=function(self)
|
2015-06-14 08:55:42 -06:00
|
|
|
self:shadowlength(1):skewx(-0.125):x(label_text:GetZoomedWidth()+8)
|
2012-07-12 16:58:45 -05:00
|
|
|
if GetTimingDifficulty() == 9 then
|
2015-06-14 08:55:42 -06:00
|
|
|
self:settext(Screen.String("Hardest Timing"));
|
2013-07-18 18:02:01 -04:00
|
|
|
(cmd(zoom,0.5;diffuse,ColorLightTone( Color("Orange")) ))(self);
|
2012-07-12 16:58:45 -05:00
|
|
|
else
|
|
|
|
|
self:settext( GetTimingDifficulty() );
|
|
|
|
|
end
|
|
|
|
|
end;
|
|
|
|
|
};
|
2015-06-14 08:55:42 -06:00
|
|
|
};
|