Revert "HelloWorld theme handled."

This reverts commit e805184fd0.
This commit is contained in:
Jason Felds
2013-07-18 17:42:49 -04:00
parent c872bb311c
commit 450936e414
16 changed files with 786 additions and 1155 deletions
@@ -1,52 +1,23 @@
local t = Def.ActorFrame{
Def.Quad{
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, 96);
self:diffuse(color("#EEF4FFCC"));
end;
};
Def.ActorFrame{
InitCommand=function(self)
self:y(12);
end;
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenReferenceMain","Header");
InitCommand=function(self)
self:x(-312);
self:y(-34);
self:halign(0);
self:diffuse(color("#111111FF"));
self:diffusetopedge(color("#11111188"));
self:shadowlength(-1);
self:shadowcolor(color("#FFFFFF44"));
end;
};
Def.Quad{
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH * 0.975, 2);
self:y(-20);
self:diffuse(color("#111111FF"));
self:diffusetopedge(color("#11111188"));
self:shadowlength(-1);
self:shadowcolor(color("#FFFFFF44"));
self:fadeleft(0.1);
self:faderight(0.625);
end;
};
LoadFont("_frutiger roman 24px")..{
Name="Explanation";
Text=THEME:GetString("ScreenReferenceMain","Explanation");
InitCommand=function(self)
self:x(-312);
self:y(-14);
self:align(0, 0);
self:diffuse(color("#111111FF"));
self:zoom(0.65);
self:wrapwidthpixels(SCREEN_WIDTH);
end;
};
};
};
local t = Def.ActorFrame{
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH,96;diffuse,color("#EEF4FFCC"));
};
Def.ActorFrame{
InitCommand=cmd(y,12);
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenReferenceMain","Header");
InitCommand=cmd(x,-312;y,-34;halign,0;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44"));
};
Def.Quad{
InitCommand=cmd(zoomto,SCREEN_WIDTH*0.975,2;y,-20;diffuse,color("#111111FF");diffusetopedge,color("#11111188");shadowlength,-1;shadowcolor,color("#FFFFFF44");fadeleft,0.1;faderight,0.625);
};
LoadFont("_frutiger roman 24px")..{
Name="Explanation";
Text=THEME:GetString("ScreenReferenceMain","Explanation");
InitCommand=cmd(x,-312;y,-14;align,0,0;diffuse,color("#111111FF");zoom,0.65;wrapwidthpixels,(SCREEN_WIDTH));
};
};
};
return t;