2008-03-12 09:55:11 +00:00
|
|
|
local MetricsName, FileName = ...;
|
|
|
|
|
return LoadActor( THEME:GetPathG(Var "LoadingScreen",FileName) ) .. {
|
2008-03-24 04:07:46 +00:00
|
|
|
InitCommand=function(self)
|
|
|
|
|
local x1 = THEME:GetMetric(Var "LoadingScreen",MetricsName .. "X");
|
|
|
|
|
if x1 then self:x(x1); end
|
|
|
|
|
local y1 = THEME:GetMetric(Var "LoadingScreen",MetricsName .. "Y");
|
|
|
|
|
if y1 then self:y(y1); end
|
|
|
|
|
end;
|
2008-03-12 09:55:11 +00:00
|
|
|
OnCommand=THEME:GetMetric(Var "LoadingScreen",MetricsName .. "OnCommand");
|
|
|
|
|
OffCommand=THEME:GetMetric(Var "LoadingScreen",MetricsName .. "OffCommand");
|
|
|
|
|
};
|