This commit is contained in:
Glenn Maynard
2007-05-20 18:13:10 +00:00
parent 9d4184a910
commit fe718e19da
4 changed files with 4 additions and 4 deletions
@@ -135,7 +135,7 @@ local function AddLine( text, command )
OnCommand = command or lineOn;
}
-- XXX: Hack. Wrap in an ActorFrame so OnCommand works
table.insert( t, WrapInActorFrame({t}) )
table.insert( t, Def.ActorFrame { t } )
end
-- Add header and padding
@@ -21,7 +21,7 @@ for i=1,num do
OnCommand = cmd(zoom,0.7;diffuse,color);
}
table.insert( t, WrapInActorFrame({text}) )
table.insert( t, Def.ActorFrame { text } )
end
return t;
@@ -5,7 +5,7 @@ assert( Width );
local FullFile = THEME:GetPathB('','_frame files 3x1/'..File )
local Frame = LoadActor( FullFile )
return WrapInActorFrame {
return Def.ActorFrame {
Frame .. { InitCommand=cmd(setstate,0;pause;horizalign,right;x,-Width/2) };
Frame .. { InitCommand=cmd(setstate,1;pause;zoomtowidth,Width) };
Frame .. { InitCommand=cmd(setstate,2;pause;horizalign,left;x,Width/2) };
@@ -5,7 +5,7 @@ assert( Height );
local FullFile = THEME:GetPathB('','_frame files 3x3/'..File )
local Frame = LoadActor( FullFile )
return WrapInActorFrame {
return Def.ActorFrame {
Frame .. { InitCommand=cmd(setstate,0;pause;horizalign,right;vertalign,bottom;x,-Width/2;y,-Height/2) };
Frame .. { InitCommand=cmd(setstate,1;pause;zoomtowidth,Width;vertalign,bottom;zoomtowidth,Width;y,-Height/2) };
Frame .. { InitCommand=cmd(setstate,2;pause;horizalign,left;vertalign,bottom;x,Width/2;y,-Height/2) };