2011-03-17 01:47:30 -04:00
|
|
|
local gc = Var("GameCommand");
|
|
|
|
|
|
|
|
|
|
local t = Def.ActorFrame {};
|
|
|
|
|
|
|
|
|
|
t[#t+1] = LoadFont("Common Normal") .. {
|
|
|
|
|
Text=gc:GetText();
|
|
|
|
|
};
|
|
|
|
|
|
2013-07-01 21:30:10 -04:00
|
|
|
t.GainFocusCommand=function(self)
|
|
|
|
|
self:diffusealpha(1);
|
|
|
|
|
end;
|
|
|
|
|
t.LoseFocusCommand=function(self)
|
|
|
|
|
self:diffusealpha(0.5);
|
|
|
|
|
end;
|
2011-01-21 14:24:08 -08:00
|
|
|
return t;
|