Back to Home

ESO Lua File v100035

libraries/zo_tile/gamepad/contextualactionstile_gamepad.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-----------
-- This class should be dual inherited after an ZO_ContextualActionsTile to create a complete tile. This class should NOT subclass an ZO_ContextualActionsTile
--
-- Note: Since this is expected to be the second class of a dual inheritance it does not have it's own New function
-----------
ZO_CONTEXTUAL_ACTIONS_TILE_GAMEPAD_DEFAULT_HIGHLIGHT_ANIMATION_PROVIDER = ZO_ReversibleAnimationProvider:New("ZO_ContextualActionsTile_Gamepad_HighlightAnimation")
ZO_ContextualActionsTile_Gamepad = ZO_Tile_Gamepad:Subclass()
-- Begin ZO_Tile_Gamepad Overrides --
function ZO_ContextualActionsTile_Gamepad:InitializePlatform()
    ZO_Tile_Gamepad.InitializePlatform(self)
    self:SetHighlightAnimationProvider(ZO_CONTEXTUAL_ACTIONS_TILE_GAMEPAD_DEFAULT_HIGHLIGHT_ANIMATION_PROVIDER)
end
function ZO_ContextualActionsTile_Gamepad:PostInitializePlatform()
    ZO_Tile_Gamepad.PostInitializePlatform(self)
    self.keybindStripDescriptor.alignment = KEYBIND_STRIP_ALIGN_LEFT
end
function ZO_ContextualActionsTile_Gamepad:OnSelectionChanged()
end
-- End ZO_Tile_Gamepad Overrides --