Files
itgmania212121/Themes/themekit/Graphics/ScreenSelectStyle scroll.lua
T
2011-04-25 11:45:06 -07:00

12 lines
464 B
Lua

local gc = Var("GameCommand");
local t = Def.ActorFrame {
LoadActor("Style " .. gc:GetText() );
};
-- This works.
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");
return t;