Revert "The "new" theme is handled."

This reverts commit 2d5d45e365.
This commit is contained in:
Jason Felds
2013-07-18 17:42:22 -04:00
parent f57abda0bc
commit c872bb311c
11 changed files with 95 additions and 212 deletions
@@ -1,37 +1,19 @@
local gc = Var("GameCommand");
--
local t = Def.ActorFrame {};
--
t[#t+1] = Def.ActorFrame {
Def.Quad {
InitCommand=function(self)
self:zoomto(96, 24);
self:diffuse(Color.White);
end;
GainFocusCommand=function(self)
self:diffuseshift();
self:effectcolor2(Color.White);
self:effectcolor1(Color.Blue);
end;
LoseFocusCommand=function(self)
self:stopeffect();
end;
DisabledCommand=function(self)
self:stopeffect();
self:diffuse(color("0.5,0.5,0.5,1"));
end;
EnabledCommand=function(self)
self:stopeffect();
self:diffuse(Color.White);
end;
};
--
LoadFont("Common Normal") .. {
Text=gc:GetText();
InitCommand=function(self)
self:diffuse(Color.Black);
self:zoom(0.675);
end;
};
};
local gc = Var("GameCommand");
--
local t = Def.ActorFrame {};
--
t[#t+1] = Def.ActorFrame {
Def.Quad {
InitCommand=cmd(zoomto,96,24;diffuse,Color.White);
GainFocusCommand=cmd(diffuseshift;effectcolor2,Color.White;effectcolor1,Color.Blue);
LoseFocusCommand=cmd(stopeffect;);
DisabledCommand=cmd(stopeffect;diffuse,color("0.5,0.5,0.5,1"));
EnabledCommand=cmd(stopeffect;diffuse,Color.White);
};
--
LoadFont("Common Normal") .. {
Text=gc:GetText();
InitCommand=cmd(diffuse,Color.Black;zoom,0.675);
};
};
return t