Files
itgmania212121/Themes/legacy/Graphics/ScreenTitleMenu LifeDifficulty.lua
T
ListenerJubatus f257f19dad 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.
2017-08-08 01:07:34 -06:00

22 lines
527 B
Lua

local label_text= false
return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text=GetLifeDifficulty();
AltText="";
InitCommand=cmd(horizalign,left;zoom,0.675);
OnCommand= function(self)
label_text= self
self:shadowlength(1):settextf(Screen.String("LifeDifficulty"), "");
end,
};
LoadFont("Common Normal") .. {
Text=GetLifeDifficulty();
AltText="";
InitCommand=cmd(zoom,0.675;halign,0);
OnCommand= function(self)
self:shadowlength(1):skewx(-0.125):x(label_text:GetZoomedWidth()+8)
end,
};
};