Files
itgmania212121/Themes/default/Graphics/ScreenSelectMusic BPMLabel.lua
T
2010-01-26 21:00:30 -06:00

16 lines
511 B
Lua

return LoadFont("Common Normal") .. {
Text="BPM";
SetCommand=function(self)
local bIsFirst = false;
local song = GAMESTATE:GetCurrentSong();
self:stoptweening();
self:linear(0.25);
if song then
self:diffusebottomedge( song:GetTimingData():HasStops() and color("#55CCEE") or color("#FFFFFF") );
else
self:diffusebottomedge( color("#FFFFFF") );
end;
end;
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
CurrentCourseChangedMessageCommand=cmd(playcommand,"Set");
};