Files
itgmania212121/Themes/default/Graphics/ScreenHowToInstallSongs scroll.lua
T

42 lines
907 B
Lua
Raw Normal View History

2011-03-17 01:47:30 -04:00
local gc = Var("GameCommand");
local squareSize = 8; -- was 18
return Def.ActorFrame {
Def.Quad{
2013-07-05 22:17:42 -04:00
InitCommand=function(self)
self:x(-12);
self:zoom(squareSize);
self:rotationz(45);
self:diffuse(color("#222222"));
end;
GainFocusCommand=function(self)
self:stoptweening();
self:accelerate(0.25);
self:zoom(squareSize);
self:rotationz(45);
end;
LoseFocusCommand=function(self)
self:stoptweening();
self:decelerate(0.25);
self:zoom(0);
self:rotationz(360+45);
end;
2011-03-17 01:47:30 -04:00
};
LoadFont("Common Normal") .. {
Text=gc:GetText();
2013-07-05 22:17:42 -04:00
InitCommand=function(self)
self:halign(0);
self:zoom(0.625);
end;
GainFocusCommand=function(self)
self:stoptweening();
self:decelerate(0.25);
self:diffuse(color("1,1,1,1"));
end;
LoseFocusCommand=function(self)
self:stoptweening();
self:accelerate(0.25);
self:diffuse(color("0.5,0.5,0.5,1"));
end;
2011-03-17 01:47:30 -04:00
};
2010-06-28 20:04:04 -05:00
};