Added Button for "Keys" in overview
This commit is contained in:
@@ -32,21 +32,23 @@ local ICON_VIEW_COMPANIONS = "Interface\\Icons\\INV_Box_Birdcage_01"
|
|||||||
local ICON_VIEW_MOUNTS = "Interface\\Icons\\Ability_Mount_RidingHorse"
|
local ICON_VIEW_MOUNTS = "Interface\\Icons\\Ability_Mount_RidingHorse"
|
||||||
local ICON_VIEW_REP = "Interface\\Icons\\INV_BannerPVP_02"
|
local ICON_VIEW_REP = "Interface\\Icons\\INV_BannerPVP_02"
|
||||||
local ICON_VIEW_EQUIP = "Interface\\Icons\\INV_Chest_Plate04"
|
local ICON_VIEW_EQUIP = "Interface\\Icons\\INV_Chest_Plate04"
|
||||||
|
local ICON_VIEW_KEY = "Interface\\Icons\\inv_misc_key_11"
|
||||||
local ICON_VIEW_TALENTS = "Interface\\Icons\\Spell_Nature_NatureGuardian"
|
local ICON_VIEW_TALENTS = "Interface\\Icons\\Spell_Nature_NatureGuardian"
|
||||||
local ICON_VIEW_TOKENS = "Interface\\Icons\\Spell_Holy_SummonChampion"
|
local ICON_VIEW_TOKENS = "Interface\\Icons\\Spell_Holy_SummonChampion"
|
||||||
|
|
||||||
local CharInfoButtons = {
|
local CharInfoButtons = {
|
||||||
"AltoholicTabCharacters_Bags",
|
"AltoholicTabCharacters_Bags", --[1]
|
||||||
"AltoholicTabCharacters_Talents",
|
"AltoholicTabCharacters_Talents", --[2]
|
||||||
"AltoholicTabCharacters_Mails",
|
"AltoholicTabCharacters_Mails", --[3]
|
||||||
"AltoholicTabCharacters_Quests",
|
"AltoholicTabCharacters_Quests", --[4]
|
||||||
"AltoholicTabCharacters_Auctions",
|
"AltoholicTabCharacters_Auctions", --[5]
|
||||||
"AltoholicTabCharacters_Bids",
|
"AltoholicTabCharacters_Bids", --[6]
|
||||||
"AltoholicTabCharacters_Pets",
|
"AltoholicTabCharacters_Pets", --[7]
|
||||||
"AltoholicTabCharacters_Mounts",
|
"AltoholicTabCharacters_Mounts", --[8]
|
||||||
"AltoholicTabCharacters_Factions",
|
"AltoholicTabCharacters_Factions", --[9]
|
||||||
"AltoholicTabCharacters_Equipment",
|
"AltoholicTabCharacters_Equipment", --[10]
|
||||||
"AltoholicTabCharacters_Tokens",
|
"AltoholicTabCharacters_Tokens", --[11]
|
||||||
|
"AltoholicTabCharacters_Keys", --[12]
|
||||||
}
|
}
|
||||||
|
|
||||||
local lastButton
|
local lastButton
|
||||||
@@ -125,6 +127,11 @@ function ns:UpdateViewIcons()
|
|||||||
AltoholicTabCharacters_Equipment.text = L["Equipment"]
|
AltoholicTabCharacters_Equipment.text = L["Equipment"]
|
||||||
AltoholicTabCharacters_Equipment:Show()
|
AltoholicTabCharacters_Equipment:Show()
|
||||||
|
|
||||||
|
-- KEYS
|
||||||
|
addon:SetItemButtonTexture("AltoholicTabCharacters_Keys", ICON_VIEW_KEY, size, size)
|
||||||
|
AltoholicTabCharacters_Keys.text = L["Keys"]
|
||||||
|
AltoholicTabCharacters_Keys:Show()
|
||||||
|
|
||||||
addon:SetItemButtonTexture("AltoholicTabCharacters_Quests", ICON_VIEW_QUESTS, size, size)
|
addon:SetItemButtonTexture("AltoholicTabCharacters_Quests", ICON_VIEW_QUESTS, size, size)
|
||||||
AltoholicTabCharacters_Quests.text = L["Quests"]
|
AltoholicTabCharacters_Quests.text = L["Quests"]
|
||||||
AltoholicTabCharacters_Quests:Show()
|
AltoholicTabCharacters_Quests:Show()
|
||||||
|
|||||||
@@ -192,6 +192,13 @@
|
|||||||
</Anchor>
|
</Anchor>
|
||||||
</Anchors>
|
</Anchors>
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button name="$parent_Keys" inherits="AltoViewIconTemplate" id="12">
|
||||||
|
<Anchors>
|
||||||
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent_Mails" relativePoint="BOTTOMRIGHT" >
|
||||||
|
<Offset x="5" y="0" />
|
||||||
|
</Anchor>
|
||||||
|
</Anchors>
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button name="$parent_Pets" inherits="AltoViewIconTemplate" id="7">
|
<Button name="$parent_Pets" inherits="AltoViewIconTemplate" id="7">
|
||||||
<Anchors>
|
<Anchors>
|
||||||
|
|||||||
@@ -731,3 +731,4 @@ L[ [=[Your confirmation will still be required any time someone requests your in
|
|||||||
L["Zelemar the Wrathful"] = "Zelemar der Hasserfüllte"
|
L["Zelemar the Wrathful"] = "Zelemar der Hasserfüllte"
|
||||||
L["Zone"] = true
|
L["Zone"] = true
|
||||||
|
|
||||||
|
L["Keys"] = "Schlüssel"
|
||||||
|
|||||||
@@ -702,3 +702,5 @@ L[ [=[Your confirmation will still be required any time someone requests your in
|
|||||||
]=] ] = true
|
]=] ] = true
|
||||||
L["Zelemar the Wrathful"] = true
|
L["Zelemar the Wrathful"] = true
|
||||||
L["Zone"] = true
|
L["Zone"] = true
|
||||||
|
|
||||||
|
L["Keys"] = true
|
||||||
|
|||||||
Reference in New Issue
Block a user