Files
itgmania212121/Themes/HelloWorld/Graphics/ScreenGuideMain header.lua
T

52 lines
1.2 KiB
Lua
Raw Normal View History

2013-07-02 20:28:29 -04:00
local t = Def.ActorFrame{
Def.Quad{
InitCommand=function(self)
self:zoomto(SCREEN_WIDTH, 120);
self:diffuse(color("#EEF4FFCC"));
end;
};
Def.ActorFrame{
InitCommand=function(self)
self:y(16);
end;
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=THEME:GetString("ScreenGuideMain","Header");
InitCommand=function(self)
self:x(-312);
self:y(-50);
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(-32);
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("ScreenGuideMain","Explanation");
InitCommand=function(self)
self:x(-312);
self:y(-24);
self:align(0, 0);
self:diffuse(color("#111111FF"));
self:zoom(0.65);
self:wrapwidthpixels(SCREEN_WIDTH);
end;
};
};
};
2011-02-22 23:09:05 -06:00
return t;