Files
itgmania212121/Themes/HelloWorld/Graphics/ReferenceBase 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, 96);
self:diffuse(color("#EEF4FFCC"));
end;
};
Def.ActorFrame{
InitCommand=function(self)
self:y(12);
end;
LoadFont("_frutiger roman 24px")..{
Name="Header";
Text=ScreenString("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=ScreenString("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;
};
};
};
2012-03-15 23:47:37 -05:00
return t;