Files
itgmania212121/Themes/default/Graphics/ScreenSelectStyle Icon.lua
T
2013-07-04 13:09:03 -04:00

15 lines
479 B
Lua

local gc = Var("GameCommand");
local t = Def.ActorFrame {};
t[#t+1] = Def.ActorFrame {
GainFocusCommand=THEME:GetMetric(Var "LoadingScreen","IconGainFocusCommand");
LoseFocusCommand=THEME:GetMetric(Var "LoadingScreen","IconLoseFocusCommand");
LoadActor(THEME:GetPathG("_SelectIcon",gc:GetName() )) .. {
DisabledCommand=function(self)
self:diffuse(color("0.5,0.5,0.5,1"));
end;
EnabledCommand=function(self)
self:diffuse(color("1,1,1,1"));
end;
};
};
return t