From e9e877bca190f56c9d9e155629dd2d44bcbcf5ea Mon Sep 17 00:00:00 2001 From: Jonathan Payne Date: Wed, 4 Jan 2012 23:52:54 -0800 Subject: [PATCH] en.ini: Rank -> Meter; add old frame files. --- .../BGAnimations/_frame 3x1/default.lua | 12 ++++++++++++ .../BGAnimations/_frame 3x3/default.lua | 18 ++++++++++++++++++ .../_frame files 3x1/headers 3x1.png | Bin 0 -> 1142 bytes Themes/_fallback/Languages/en.ini | 16 ++++++++-------- 4 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 Themes/_fallback/BGAnimations/_frame 3x1/default.lua create mode 100644 Themes/_fallback/BGAnimations/_frame 3x3/default.lua create mode 100644 Themes/_fallback/BGAnimations/_frame files 3x1/headers 3x1.png diff --git a/Themes/_fallback/BGAnimations/_frame 3x1/default.lua b/Themes/_fallback/BGAnimations/_frame 3x1/default.lua new file mode 100644 index 0000000000..72cc1cd50c --- /dev/null +++ b/Themes/_fallback/BGAnimations/_frame 3x1/default.lua @@ -0,0 +1,12 @@ +local File, Width = ... +assert( File ); +assert( Width ); + +local FullFile = THEME:GetPathB('','_frame files 3x1/'..File ) +local Frame = LoadActor( FullFile ) + +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) }; +}; diff --git a/Themes/_fallback/BGAnimations/_frame 3x3/default.lua b/Themes/_fallback/BGAnimations/_frame 3x3/default.lua new file mode 100644 index 0000000000..e5e403448c --- /dev/null +++ b/Themes/_fallback/BGAnimations/_frame 3x3/default.lua @@ -0,0 +1,18 @@ +local File, Width, Height = ... +assert( File ); +assert( Width ); +assert( Height ); + +local FullFile = THEME:GetPathB('','_frame files 3x3/'..File ) +local Frame = LoadActor( FullFile ) +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) }; + Frame .. { InitCommand=cmd(setstate,3;pause;horizalign,right;x,-Width/2;zoomtoheight,Height) }; + Frame .. { InitCommand=cmd(setstate,4;pause;zoomtowidth,Width;zoomtoheight,Height) }; + Frame .. { InitCommand=cmd(setstate,5;pause;horizalign,left;x,Width/2;zoomtoheight,Height) }; + Frame .. { InitCommand=cmd(setstate,6;pause;horizalign,right;vertalign,top;x,-Width/2;y,Height/2) }; + Frame .. { InitCommand=cmd(setstate,7;pause;zoomtowidth,Width;vertalign,top;zoomtowidth,Width;y,Height/2) }; + Frame .. { InitCommand=cmd(setstate,8;pause;horizalign,left;vertalign,top;x,Width/2;y,Height/2) }; +}; diff --git a/Themes/_fallback/BGAnimations/_frame files 3x1/headers 3x1.png b/Themes/_fallback/BGAnimations/_frame files 3x1/headers 3x1.png new file mode 100644 index 0000000000000000000000000000000000000000..128438198ac4ddfa62d6a2e8268f284120c14f14 GIT binary patch literal 1142 zcmV-+1d02JP)_(U? zOAxv#5`qE)1^a_Gq(Rn5q!gAoHsk1c&T;lWd#|lx0$Hu@X^Tm;`H&2{AwgVUj4&E_9BC@NpaMA8Z-q=a+ia~U_f@p&%MJFUU zN8f|@vG}Qtj2%C^W%R?nTe9it7lBW62P7iT+c~|vSH1p!Doa-obPX3Qc!dPj2}Ol~ zCWr(0n!#+`ME&e9 z{CW7xUBFwp0czXRxAM_#eXG}#g%TkKX=QY5+K{}$OPM8Gw=;J9o1JO1{vI%%mq9~I z{o|rt$2(i1{Yq7Mh((g@eI0p4WBsxmj|FRmozb5 z277%eTPjq$!zo8dG;X>9FqQ|P(Rkt_$y6QhHIdCgq(J?kCh^21t@;&!b9n$d5l>tI zpP);csLLWs6@!n<2u{(wa0Wv7B9|=|LU1Co|L>E>UYWmcE4tzf)3o<#i?nft$)A4! z_&CqG*zo1k-(LsxG?9U*WDpf~_}Ishg@m+miN?8K0S@K{D1aN`o%(hd*uyR4mM>6=$Yx-ux@g(