Back to Home

ESO Lua File v100035

ingame/housingeditor/keyboard/houseinformation_keyboard.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
32
ZO_HouseInformation_Keyboard = ZO_HouseInformation_Shared:Subclass()
local CHILD_VERTICAL_PADDING = 5
local SECTION_VERTICAL_PADDING = 30
function ZO_HouseInformation_Keyboard:New(...)
    return ZO_HouseInformation_Shared.New(self, ...)
end
function ZO_HouseInformation_Keyboard:Initialize(control)
    HOUSE_INFORMATION_FRAGMENT = ZO_FadeSceneFragment:New(control)
    
    ZO_HouseInformation_Shared.Initialize(self, control, HOUSE_INFORMATION_FRAGMENT, "ZO_HouseInformation_Keyboard_Row", CHILD_VERTICAL_PADDING, SECTION_VERTICAL_PADDING)
end
-- XML functions --
-------------------
    InitializeTooltip(InformationTooltip, control:GetParent(), LEFT, 15, 0)
    local SET_TO_FULL_SIZE = true
    local r, g, b = ZO_NORMAL_TEXT:UnpackRGB()
    InformationTooltip:AddLine(GetString(SI_HOUSING_CURRENT_RESIDENTS_OVER_POPULATION_TEXT), "", r, g, b, TOPLEFT, MODIFY_TEXT_TYPE_NONE, TEXT_ALIGN_LEFT, SET_TO_FULL_SIZE)
end
    ClearTooltip(InformationTooltip)
end
    HOUSE_INFORMATION_KEYBOARD = ZO_HouseInformation_Keyboard:New(control)
end