Files
itgmania212121/Themes/themekit/Graphics/ScreenTitleMenu scroll.lua
T

15 lines
492 B
Lua
Raw Normal View History

2011-03-17 01:47:30 -04:00
local gc = Var("GameCommand");
local t = Def.ActorFrame {};
t[#t+1] = LoadFont("Common Normal") .. {
2011-04-07 16:42:16 -07:00
Name="Text";
2011-03-17 01:47:30 -04:00
Text=gc:GetText();
};
2011-04-07 16:42:16 -07:00
t[1].OnCommand=Screen.Metric("ScrollerItemOnCommand");
t[1].GainFocusCommand=Screen.Metric("ScrollerItemGainFocusCommand");
t[1].LoseFocusCommand=Screen.Metric("ScrollerItemLoseFocusCommand");
t[1].OffFocusedCommand=Screen.Metric("ScrollerItemOffFocusedCommand");
t[1].OffUnfocusedCommand=Screen.Metric("ScrollerItemOffUnfocusedCommand");
2010-01-26 21:00:30 -06:00
return t;