Files
itgmania212121/Themes/default/Graphics/ScreenWithMenuElements header/default.lua
T

24 lines
915 B
Lua
Raw Normal View History

2011-03-17 01:47:30 -04:00
local t = Def.ActorFrame {};
2012-12-27 18:25:08 -08:00
t[#t+1] = Def.Quad {
InitCommand=cmd(vertalign,top;zoomto,SCREEN_WIDTH+1,48;diffuse,Color.Black);
}
2012-12-27 21:47:29 -08:00
--[[ t[#t+1] = LoadActor("Header") .. {
2011-03-17 01:47:30 -04:00
InitCommand=cmd(vertalign,top;zoomtowidth,SCREEN_WIDTH+1;diffuse,color("#ffd400"));
2012-12-27 21:47:29 -08:00
}; ]]
2011-03-17 01:47:30 -04:00
--[[ t[#t+1] = LoadActor("_texture stripe") .. {
InitCommand=cmd(vertalign,top;zoomto,SCREEN_WIDTH+64,44;customtexturerect,0,0,SCREEN_WIDTH+64/8,44/32);
OnCommand=cmd(fadebottom,0.8;texcoordvelocity,1,0;skewx,-0.0025;diffuse,Color("Black");diffusealpha,0.235);
}; --]]
2012-12-27 18:25:08 -08:00
t[#t+1] = LoadFont("Common Bold") .. {
2011-03-17 01:47:30 -04:00
Name="HeaderText";
Text=Screen.String("HeaderText");
InitCommand=cmd(x,-SCREEN_CENTER_X+24;y,24;zoom,1;horizalign,left;shadowlength,0;maxwidth,200);
2012-12-27 18:25:08 -08:00
OnCommand=cmd(strokecolor,Color.Invisible;diffusebottomedge,color("0.75,0.75,0.75"));
2011-03-17 01:47:30 -04:00
UpdateScreenHeaderMessageCommand=function(self,param)
self:settext(param.Header);
end;
};
2010-01-26 21:00:30 -06:00
return t