@@ -1,63 +1,35 @@
|
||||
local t = Def.ActorFrame {};
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=function(self)
|
||||
self:y(48);
|
||||
end;
|
||||
InitCommand=cmd(y,48);
|
||||
Def.Quad {
|
||||
InitCommand=function(self)
|
||||
self:vertalign(bottom);
|
||||
self:zoomto(SCREEN_WIDTH - 32, 2);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:diffusealpha(0.5);
|
||||
end;
|
||||
InitCommand=cmd(vertalign,bottom;zoomto,SCREEN_WIDTH-32,2);
|
||||
OnCommand=cmd(diffusealpha,0.5);
|
||||
};
|
||||
};
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
Name="MenuTimerDecoration";
|
||||
InitCommand=function(self)
|
||||
self:y(48);
|
||||
end;
|
||||
t[#t+1] = Def.ActorFrame { Name="MenuTimerDecoration";
|
||||
InitCommand=cmd(y,48);
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="TIME";
|
||||
InitCommand=function(self)
|
||||
self:vertalign(bottom);
|
||||
self:horizalign(right);
|
||||
self:x(SCREEN_CENTER_X - 16);
|
||||
self:y,(-4.5);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:zoom(0.5);
|
||||
end;
|
||||
InitCommand=cmd(vertalign,bottom;horizalign,right;x,SCREEN_CENTER_X-16;y,-4.5);
|
||||
OnCommand=cmd(zoom,0.5);
|
||||
};
|
||||
--[[ LoadFont("Common Normal") .. {
|
||||
Text="99";
|
||||
InitCommand=cmd(vertalign,bottom;horizalign,right;x,SCREEN_CENTER_X-64;y,-4.5);
|
||||
OnCommand=cmd();
|
||||
}; --]]
|
||||
};
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
Name="HeaderTextDecoration";
|
||||
InitCommand=function(self)
|
||||
self:y(48);
|
||||
end;
|
||||
t[#t+1] = Def.ActorFrame { Name="HeaderTextDecoration";
|
||||
InitCommand=cmd(y,48);
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="SELECT";
|
||||
InitCommand=function(self)
|
||||
self:vertalign(bottom);
|
||||
self:horizalign(right);
|
||||
self:x(SCREEN_CENTER_X - 16);
|
||||
self:y,(-4.5);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:zoom(0.5);
|
||||
end;
|
||||
InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+16;y,-4.5);
|
||||
OnCommand=cmd(zoom,0.5);
|
||||
};
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="OPTIONS";
|
||||
InitCommand=function(self)
|
||||
self:vertalign(bottom);
|
||||
self:horizalign(right);
|
||||
self:x(SCREEN_CENTER_X - 16);
|
||||
self:y,(-4.5);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
end;
|
||||
InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+64;y,-4.5);
|
||||
OnCommand=cmd();
|
||||
};
|
||||
};
|
||||
return t
|
||||
Reference in New Issue
Block a user