@@ -1,12 +1,6 @@
|
||||
return LoadFont("Common", "Normal")..{
|
||||
Text="EXIT";
|
||||
InitCommand=function(self)
|
||||
self:CenterX();
|
||||
end;
|
||||
GainFocusCommand=function(self)
|
||||
self:diffuse(color("#FF0000"));
|
||||
end;
|
||||
LoseFocusCommand=function(self)
|
||||
self:diffuse(color("#FFFFFF"));
|
||||
end;
|
||||
InitCommand=cmd(CenterX);
|
||||
GainFocusCommand=cmd(diffuse,color("#FF0000"));
|
||||
LoseFocusCommand=cmd(diffuse,color("#FFFFFF"));
|
||||
}
|
||||
Reference in New Issue
Block a user