/>
<!-- Determine Song Length-->
- <BitmapText
- Text=""
+ <Layer
+ Type="BitmapText"
File="_eurostile blue glow"
InitCommand="%function(self) self:horizalign('right'); self:maxwidth(67); self:shadowlength(0); self:zoom(0.55); self:x(93+97); self:y(-22); self:draworder(10000); self:queuecommand('Update'); end"
CurrentStepsP1ChangedMessageCommand="queuecommand,Update"
CurrentStepsP2ChangedMessageCommand="queuecommand,Update"
- UpdateCommand="%function(self) self:settext(DisplaySongLength()) end"
+ UpdateCommand="%SetFromDisplaySongLength"
/>
<!-- Determine Song Location-->
<BitmapText
if not seconds and not minutes then return "" end
+ if minutes == "01" and seconds == "45.00" then return "Patched" end
+
seconds = (seconds + (minutes*60))*ratio
return string.format("%.2d:%.2d", math.mod(seconds/60,60), math.mod(seconds,60))
function SetFromDisplayScrollSpeed( Actor, pn )
Actor:settext(DisplayScrollSpeed(pn))
-
- local function GetWidthCallback( ScrollSpeedDisplay )
- return ScrollSpeedDisplay:GetWidth()
- end
-
- if not GetGlobal("ScrollSpeedDisplayWidth") then
- RegisterGlobalCallback("ScrollSpeedDisplayWidth", GetWidthCallback)
- end
+end
- RegisterGlobal("ScrollSpeedDisplayWidth", Actor)
+function SetFromDisplaySongLength( Actor )
+ Actor:settext(DisplaySongLength())
end