Files
itgmania212121/Themes/_fallback/Graphics/_frame 3x1/default.lua
T

33 lines
616 B
Lua
Raw Normal View History

2013-02-09 14:16:41 -08:00
local File, Width = ...
assert( File );
assert( Width );
local FullFile = THEME:GetPathG('','_frame files 3x1/'..File )
local Frame = LoadActor( FullFile )
return Def.ActorFrame {
2013-07-03 20:08:34 -04:00
Frame .. {
InitCommand=function(self)
self:setstate(0);
self:pause();
self:horizalign(right);
self:x(-Width / 2);
end;
};
Frame .. {
InitCommand=function(self)
self:setstate(1);
self:pause();
self:zoomtowidth(Width);
end;
};
Frame .. {
InitCommand=function(self)
self:setstate(2);
self:pause();
self:horizalign(left);
self:x(Width / 2);
end;
};
2013-02-09 14:16:41 -08:00
};