I'd like to thank everyone who made this possible;, including but not limited to Riakodoadm, MrThatKid, kyzentun, Luizsan, JoseVarelaP, everyone else who provided feedback and bug reports.
26 lines
1006 B
Lua
26 lines
1006 B
Lua
-- You know what, I guess the "fancy UI background" theme option can be put to use.
|
|
if ThemePrefs.Get("FancyUIBG") then
|
|
return Def.ActorFrame {
|
|
Def.Quad {
|
|
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#093A3E");diffusetopedge,color("#000000"););
|
|
};
|
|
|
|
LoadActor("_base") .. {
|
|
InitCommand=cmd(Center;zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;blend,'BlendMode_Add';);
|
|
},
|
|
|
|
LoadActor("_barcode") .. {
|
|
InitCommand=cmd(zoomto,36,1024;diffuse,color("#65F0FD");x,SCREEN_LEFT+15;y,SCREEN_CENTER_Y;diffusealpha,0.1);
|
|
OnCommand=cmd(customtexturerect,0,0,1,1;texcoordvelocity,0,-0.1);
|
|
};
|
|
|
|
LoadActor("_barcode") .. {
|
|
InitCommand=cmd(zoomto,36,1024;diffuse,color("#65F0FD");x,SCREEN_RIGHT-15;y,SCREEN_CENTER_Y;diffusealpha,0.1);
|
|
OnCommand=cmd(customtexturerect,0,0,1,1;texcoordvelocity,0,0.1);
|
|
};
|
|
};
|
|
else
|
|
return Def.Quad {
|
|
InitCommand=cmd(zoomto,SCREEN_WIDTH,SCREEN_HEIGHT;diffuse,color("#222222");diffusetopedge,color("#000000"););
|
|
};
|
|
end |