[default -> sm130futures] up to date.

This commit is contained in:
Jason Felds
2011-04-09 11:19:38 -04:00
4 changed files with 45 additions and 5 deletions
@@ -2,6 +2,26 @@
-- I prefer to keep these optional, incase another screen wants to hide
-- these elements.
local t = Def.ActorFrame {};
-- Image displayed on the top of the screen
t[#t+1] = StandardDecorationFromFileOptional("Header","Header");
-- Text displayed at the top of the screen
t[#t+1] = StandardDecorationFromFileOptional("TextHeader","TextHeader") .. {
BeginCommand=cmd(playcommand,"Set");
SetCommand=function(self)
local sText = '_';
if SCREENMAN:GetTopScreen() then
if SCREENMAN:GetTopScreen():GetName() ~= nil then
sText = THEME:GetString(SCREENMAN:GetTopScreen():GetName(), "HeaderText");
else
sText = 'No Screen Name';
end
else
sText = 'No Top Screen';
end
--
self:settext(sText);
end;
};
-- Image displayed on the bottom of the screen
t[#t+1] = StandardDecorationFromFileOptional("Footer","Footer");
return t
@@ -0,0 +1,3 @@
Common Normal
-- Fun Fact, Redirs only read the 1st line in any of the files, so you can
-- comment them as much as you want!
@@ -0,0 +1,2 @@
-- This actually returns an object for stepmania to use instead of a regular image or movie! Pretty sneaky stuff.
return LoadFont("ScreenWithMenuElements","TextHeader");
+20 -5
View File
@@ -1,25 +1,40 @@
[Global]
FallbackTheme=_fallback
[ScreenSystemLayer]
CreditsP1X=SCREEN_CENTER_X-256-32
CreditsP1Y=SCREEN_BOTTOM-4
CreditsP1OnCommand=horizalign,left;vertalign,bottom;zoom,0.675;shadowlength,1;diffusebottomedge,PlayerColor(PLAYER_1);
#
CreditsP2X=SCREEN_CENTER_X+256+32
CreditsP2Y=SCREEN_BOTTOM-4
CreditsP2OnCommand=horizalign,right;vertalign,bottom;zoom,0.675;shadowlength,1;diffusebottomedge,PlayerColor(PLAYER_2);
[ScreenWithMenuElements]
# Header ( Top of Screen )
ShowHeader=true
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP
HeaderOnCommand=vertalign,top
HeaderOffCommand=
#
# Text Header ( Text displayed at top of screen on top of header )
ShowTextHeader=true
TextHeaderX=SCREEN_CENTER_X-256-32
TextHeaderY=SCREEN_TOP+32+8-1.5
TextHeaderOnCommand=horizalign,left;vertalign,bottom;
TextHeaderOffCommand=
# Footer ( Bottom Of Screen )
ShowFooter=true
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM
FooterOnCommand=vertalign,bottom
FooterOffCommand=
#
TimerX=SCREEN_WIDTH-64
TimerY=SCREEN_TOP+48-4.5
# Menu Timer
TimerX=SCREEN_CENTER_X+256+32
TimerY=SCREEN_TOP+32+8-1.5
TimerOnCommand=
TimerOffCommand=
[MenuTimer]
# Text
Text1OnCommand=stopeffect;stoptweening;vertalign,bottom;horizalign,right
Text1OnCommand=stopeffect;stoptweening;horizalign,right;vertalign,bottom;
Text1FormatFunction=function(fSeconds) \
return string.format("%0.1f", fSeconds); \
end