some pedantic changes

This commit is contained in:
AJ Kelly
2013-10-02 06:32:27 -05:00
parent d363db2132
commit 44c7334b18
2 changed files with 19 additions and 12 deletions
@@ -3,18 +3,17 @@ local colors = {
Exit = Color.Red; Exit = Color.Red;
} }
local t = Def.ActorFrame {}; local t = Def.ActorFrame {};
t[#t+1] = LoadFont("Common Normal") .. { t[#t+1] = LoadFont("Common Normal") .. {
Text=gc:GetName(); Text=gc:GetName();
InitCommand=cmd(horizalign,right;playcommand,"Set"); InitCommand=cmd(horizalign,right;shadowlength,1.5;playcommand,"Set");
SetCommand=function(self) SetCommand=function(self)
if colors[gc:GetName()] ~= nil then if colors[gc:GetName()] ~= nil then
self:diffuse(colors[gc:GetName()]); self:diffuse(colors[gc:GetName()]);
end end
end; end;
GainFocusCommand=cmd(diffusealpha,1); GainFocusCommand=cmd(diffusealpha,1);
LoseFocusCommand=cmd(diffusealpha,0.5); LoseFocusCommand=cmd(diffusealpha,0.5);
}; };
@@ -1,4 +1,5 @@
local t = Def.ActorFrame {}; local t = Def.ActorFrame{};
t[#t+1] = Def.ActorFrame { t[#t+1] = Def.ActorFrame {
InitCommand=cmd(y,48); InitCommand=cmd(y,48);
Def.Quad { Def.Quad {
@@ -6,8 +7,11 @@ t[#t+1] = Def.ActorFrame {
OnCommand=cmd(diffuse,Color.Black;diffusealpha,0.75); OnCommand=cmd(diffuse,Color.Black;diffusealpha,0.75);
}; };
}; };
t[#t+1] = Def.ActorFrame { Name="MenuTimerDecoration";
t[#t+1] = Def.ActorFrame {
Name="MenuTimerDecoration";
InitCommand=cmd(y,40;visible,false); InitCommand=cmd(y,40;visible,false);
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text="TIME"; Text="TIME";
InitCommand=cmd(vertalign,bottom;horizalign,right;x,SCREEN_CENTER_X-16;y,-4.5); InitCommand=cmd(vertalign,bottom;horizalign,right;x,SCREEN_CENTER_X-16;y,-4.5);
@@ -19,12 +23,16 @@ t[#t+1] = Def.ActorFrame { Name="MenuTimerDecoration";
OnCommand=cmd(); OnCommand=cmd();
}; --]] }; --]]
}; };
t[#t+1] = Def.ActorFrame { Name="HeaderTextDecoration";
t[#t+1] = Def.ActorFrame {
Name="HeaderTextDecoration";
InitCommand=cmd(y,40); InitCommand=cmd(y,40);
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text="OPTIONS"; Text="OPTIONS";
InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+16;y,-4.5); InitCommand=cmd(vertalign,bottom;horizalign,left;x,-SCREEN_CENTER_X+16;y,-4.5;diffusebottomedge,color("#EEEEEE"));
OnCommand=cmd(); OnCommand=cmd();
}; };
}; };
return t return t