some pedantic changes
This commit is contained in:
@@ -3,18 +3,17 @@ local colors = {
|
||||
Exit = Color.Red;
|
||||
}
|
||||
|
||||
|
||||
local t = Def.ActorFrame {};
|
||||
|
||||
t[#t+1] = LoadFont("Common Normal") .. {
|
||||
Text=gc:GetName();
|
||||
InitCommand=cmd(horizalign,right;playcommand,"Set");
|
||||
SetCommand=function(self)
|
||||
if colors[gc:GetName()] ~= nil then
|
||||
self:diffuse(colors[gc:GetName()]);
|
||||
end
|
||||
Text=gc:GetName();
|
||||
InitCommand=cmd(horizalign,right;shadowlength,1.5;playcommand,"Set");
|
||||
SetCommand=function(self)
|
||||
if colors[gc:GetName()] ~= nil then
|
||||
self:diffuse(colors[gc:GetName()]);
|
||||
end
|
||||
end;
|
||||
GainFocusCommand=cmd(diffusealpha,1);
|
||||
GainFocusCommand=cmd(diffusealpha,1);
|
||||
LoseFocusCommand=cmd(diffusealpha,0.5);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
local t = Def.ActorFrame {};
|
||||
local t = Def.ActorFrame{};
|
||||
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
InitCommand=cmd(y,48);
|
||||
Def.Quad {
|
||||
@@ -6,8 +7,11 @@ t[#t+1] = Def.ActorFrame {
|
||||
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);
|
||||
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="TIME";
|
||||
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();
|
||||
}; --]]
|
||||
};
|
||||
t[#t+1] = Def.ActorFrame { Name="HeaderTextDecoration";
|
||||
|
||||
t[#t+1] = Def.ActorFrame {
|
||||
Name="HeaderTextDecoration";
|
||||
InitCommand=cmd(y,40);
|
||||
|
||||
LoadFont("Common Normal") .. {
|
||||
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();
|
||||
};
|
||||
};
|
||||
|
||||
return t
|
||||
Reference in New Issue
Block a user