Back to Home

ESO Lua File v100031

libraries/zo_tile/activationtile.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
30
31
----
-- ZO_ActivationTile
----
ZO_ActivationTile = ZO_Tile:Subclass()
function ZO_ActivationTile:New(...)
    return ZO_Tile.New(self, ...)
end
function ZO_ActivationTile:Initialize(control)
    ZO_Tile.Initialize(self, control)
    self.titleLabel = control:GetNamedChild("Title")
end
function ZO_ActivationTile:SetTitle(titleText)
    self.titleLabel:SetText(titleText)
end
function ZO_ActivationTile:SetTitleColor(titleColor)
    self.titleLabel:SetColor(titleColor:UnpackRGB())
end
function ZO_ActivationTile:Activate()
    assert(false) -- must be overridden in derived classes
end
function ZO_ActivationTile:SetDeactivateCallback(deactivateCallback)
end