Files
itgmania212121/Themes/default/Graphics/ScreenSelectMusic BPMLabel.lua
T

19 lines
624 B
Lua
Raw Normal View History

return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text="BPM";
InitCommand=cmd(horizalign,right;zoom,0.75;strokecolor,Color("Outline"));
SetCommand=function(self)
local bIsFirst = false;
local song = GAMESTATE:GetCurrentSong();
self:stoptweening();
-- self:linear(0.25);
if song then
2010-07-03 20:55:25 -05:00
self:diffusebottomedge( song:GetTimingData():HasStops() and Color("Orange") or Color("White") );
else
2010-07-03 20:55:25 -05:00
self:diffusebottomedge( Color("White") );
end;
2010-01-26 21:00:30 -06:00
end;
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
CurrentCourseChangedMessageCommand=cmd(playcommand,"Set");
};
2010-01-26 21:00:30 -06:00
};