Commit d62c2821 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-29141patch8.1.5_PTR

parent 610688c2
......@@ -36,6 +36,7 @@ ChallengeModeInfoDocumentation.lua
ChatBubblesDocumentation.lua
ChatInfoDocumentation.lua
CinematicDocumentation.lua
ClassColorDocumentation.lua
ClassTrialDocumentation.lua
ClubDocumentation.lua
CombatLogDocumentation.lua
......
......@@ -99,6 +99,22 @@ local ChatInfo =
{ Name = "successfulRequest", Type = "bool", Nilable = false },
},
},
{
Name = "ReplaceIconAndGroupExpressions",
Type = "Function",
Arguments =
{
{ Name = "input", Type = "string", Nilable = false },
{ Name = "noIconReplacement", Type = "bool", Nilable = true },
{ Name = "noGroupReplacement", Type = "bool", Nilable = true },
},
Returns =
{
{ Name = "output", Type = "string", Nilable = false },
},
},
{
Name = "ResetDefaultZoneChannels",
Type = "Function",
......
......@@ -94,6 +94,20 @@ local QuestTaskInfo =
{ Name = "minutesLeft", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestTimeLeftSeconds",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "secondsLeft", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestZoneID",
Type = "Function",
......
......@@ -96,6 +96,15 @@ local SpecializationInfo =
{ Name = "spellID", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "IsInitialized",
Type = "Function",
Returns =
{
{ Name = "isSpecializationDataInitialized", Type = "bool", Nilable = false },
},
},
{
Name = "IsPvpTalentLocked",
Type = "Function",
......
......@@ -20,7 +20,7 @@ function VoiceActivityManagerMixin:OnLoad()
self.notificationTemplates = { "VoiceActivityNotificationTemplate" };
self.externalNotificationTemplates = {};
self.notificationPools = CreatePoolCollection();
self.notificationPools = CreateFramePoolCollection();
for index, templateType in ipairs(self.notificationTemplates) do
self.notificationPools:CreatePool("ContainedAlertFrame", self, templateType);
......
......@@ -326,10 +326,6 @@ function CommunitiesChatMixin:FormatMessage(clubId, streamId, message)
content = message.content;
end
local noIconReplacement = false; -- We are replacing icon tags. For example: {skull}
local noGroupReplacement = true; -- We don't want to replace group tags. For example: {g1}
content = ChatFrame_ReplaceIconAndGroupExpressions(content, noIconReplacement, noGroupReplacement);
if CHAT_TIMESTAMP_FORMAT then
return BetterDate(CHAT_TIMESTAMP_FORMAT, message.messageId.epoch / 1000000)..COMMUNITIES_CHAT_MESSAGE_FORMAT:format(link or name, content);
else
......
......@@ -312,6 +312,10 @@ function EventTraceFrame_HandleSlashCmd (msg)
end
end
function EventTraceFrame_AddMessage(fmt, ...)
EventTraceFrame_OnEvent(_EventTraceFrame, fmt:format(...));
end
function EventTraceFrame_OnMouseWheel (self, delta)
local scrollBar = _G["EventTraceFrameScroll"];
local minVal, maxVal = scrollBar:GetMinMaxValues();
......@@ -529,6 +533,10 @@ function FrameStackTooltip_OnFramestackVisibilityUpdated(self)
end
function FrameStackTooltip_OnLoad(self)
Mixin(self, CallbackRegistryBaseMixin);
CallbackRegistryBaseMixin.OnLoad(self);
self:GenerateCallbackEvents({ "FrameStackOnHighlightFrameChanged", "FrameStackOnShow", "FrameStackOnHide", "FrameStackOnTooltipCleared" });
DebugTooltip_OnLoad(self);
self.nextUpdate = 0;
......@@ -680,6 +688,8 @@ function FrameStackTooltip_OnTooltipSetFrameStack(self, highlightFrame)
if self.shouldSetFSObj then
fsobj = self.highlightFrame;
self.shouldSetFSObj = nil;
self:TriggerEvent(self.Event.FrameStackOnHighlightFrameChanged, fsobj);
end
if fsobj then
......@@ -794,12 +804,16 @@ function FrameStackTooltip_OnShow(self)
self:SetPoint("TOPRIGHT", parent, "TOPRIGHT", -20, -20);
end
end
self:TriggerEvent(self.Event.FrameStackOnShow);
end
function FrameStackTooltip_OnHide(self)
self:TriggerEvent(self.Event.FrameStackOnHide);
end
function FrameStackTooltip_OnTooltipCleared(self)
self:TriggerEvent(self.Event.FrameStackOnTooltipCleared);
end
FrameStackTooltip_OnEnter = FrameStackTooltip_OnShow;
FrameStackTooltip_OnEnter = FrameStackTooltip_OnShow;
\ No newline at end of file
......@@ -3,7 +3,7 @@ TableInspectorAttributeDataProviderMixin = CreateFromMixins(TableInspectorDataPr
function TableInspectorAttributeDataProviderMixin:Initialize(tableInspector, parent)
TableInspectorDataProviderMixin.Initialize(self, tableInspector, parent);
self.linePool = CreatePoolCollection();
self.linePool = CreateFramePoolCollection();
self.linePool:CreatePool("FRAME", parent, "TableAttributeLineEditableTemplate");
self.linePool:CreatePool("FRAME", parent, "TableAttributeLineReferenceTemplate");
self.linePool:CreatePool("FRAME", parent, "TableAttributeLineFixedValueTemplate");
......
......@@ -10,4 +10,11 @@ end
do
-- Use GameTooltip instead.
WorldmapTooltip = GameTooltip;
end
\ No newline at end of file
end
-- Pool Collection Changes
do
-- Use CreateFramePoolCollection instead.
CreatePoolCollection = CreateFramePoolCollection;
PoolCollection = FramePoolCollectionMixin;
end
......@@ -21,7 +21,7 @@
</Texture>
-->
<Button name="GuildBankItemButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
<ItemButton name="GuildBankItemButtonTemplate" virtual="true">
<Frames>
<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate"/>
</Frames>
......@@ -51,7 +51,7 @@
end
</OnEvent>
</Scripts>
</Button>
</ItemButton>
<Frame name="GuildBankFrameColumnTemplate" virtual="true">
<Size x="100" y="311"/>
<Layers>
......@@ -62,76 +62,76 @@
</Layer>
</Layers>
<Frames>
<Button name="$parentButton1" inherits="GuildBankItemButtonTemplate">
<ItemButton name="$parentButton1" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" x="7" y="-3"/>
</Anchors>
</Button>
<Button name="$parentButton2" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton2" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton3" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton3" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton4" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton4" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton5" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton5" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton6" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton6" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton7" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton7" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton8" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton8" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="TOPRIGHT" x="12" y="0"/>
</Anchors>
</Button>
<Button name="$parentButton9" inherits="GuildBankItemButtonTemplate">
</ItemButton>
<ItemButton name="$parentButton9" inherits="GuildBankItemButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton10" inherits="GuildBankItemButtonTemplate" id="10">
</ItemButton>
<ItemButton name="$parentButton10" inherits="GuildBankItemButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton11" inherits="GuildBankItemButtonTemplate" id="11">
</ItemButton>
<ItemButton name="$parentButton11" inherits="GuildBankItemButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton12" inherits="GuildBankItemButtonTemplate" id="12">
</ItemButton>
<ItemButton name="$parentButton12" inherits="GuildBankItemButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton13" inherits="GuildBankItemButtonTemplate" id="13">
</ItemButton>
<ItemButton name="$parentButton13" inherits="GuildBankItemButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton12" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
<Button name="$parentButton14" inherits="GuildBankItemButtonTemplate" id="14">
</ItemButton>
<ItemButton name="$parentButton14" inherits="GuildBankItemButtonTemplate" id="14">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentButton13" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
</Anchors>
</Button>
</ItemButton>
</Frames>
</Frame>
<Frame name="GuildBankTabTemplate" enableMouse="true" virtual="true">
......
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd">
<Script file="InspectPaperDollFrame.lua"/>
<Button name="InspectPaperDollItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
<ItemButton name="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Scripts>
<OnLoad>
InspectPaperDollItemSlotButton_OnLoad(self);
......@@ -38,8 +38,8 @@
</Anchor>
</Anchors>
</NormalTexture>
</Button>
<Button name="InspectPaperDollItemSlotButtonLeftTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
</ItemButton>
<ItemButton name="InspectPaperDollItemSlotButtonLeftTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-LeftSlot">
......@@ -49,8 +49,8 @@
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectPaperDollItemSlotButtonRightTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
</ItemButton>
<ItemButton name="InspectPaperDollItemSlotButtonRightTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-RightSlot">
......@@ -60,8 +60,8 @@
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectPaperDollItemSlotButtonBottomTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
</ItemButton>
<ItemButton name="InspectPaperDollItemSlotButtonBottomTemplate" inherits="InspectPaperDollItemSlotButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture name="$parentFrame" inherits="Char-BottomSlot">
......@@ -71,7 +71,7 @@
</Texture>
</Layer>
</Layers>
</Button>
</ItemButton>
<Frame name="InspectPaperDollFrame" setAllPoints="true" useParentLevel="true" parent="InspectFrame" id="1">
<Layers>
<Layer level="OVERLAY">
......@@ -228,12 +228,12 @@
</PlayerModel>
<Frame name="InspectPaperDollItemsFrame" setAllPoints="true">
<Frames>
<Button name="InspectHeadSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<ItemButton name="InspectHeadSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFrameInset" x="4" y="-2"/>
</Anchors>
</Button>
<Button name="InspectNeckSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectNeckSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectHeadSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -241,8 +241,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectShoulderSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectShoulderSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectNeckSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -250,8 +250,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectBackSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectBackSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectShoulderSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -259,8 +259,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectChestSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectChestSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectBackSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -268,8 +268,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectShirtSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectShirtSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectChestSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -277,8 +277,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTabardSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectTabardSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectShirtSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -286,8 +286,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectWristSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
</ItemButton>
<ItemButton name="InspectWristSlot" inherits="InspectPaperDollItemSlotButtonLeftTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectTabardSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -295,13 +295,13 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectHandsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectHandsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="InspectFrameInset" x="-4" y="-2"/>
</Anchors>
</Button>
<Button name="InspectWaistSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectWaistSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectHandsSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -309,8 +309,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectLegsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectLegsSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectWaistSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -318,8 +318,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFeetSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectFeetSlot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectLegsSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -327,8 +327,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFinger0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectFinger0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFeetSlot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -336,8 +336,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectFinger1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectFinger1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFinger0Slot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -345,8 +345,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTrinket0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectTrinket0Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectFinger1Slot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -354,8 +354,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectTrinket1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
</ItemButton>
<ItemButton name="InspectTrinket1Slot" inherits="InspectPaperDollItemSlotButtonRightTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectTrinket0Slot" relativePoint="BOTTOMLEFT">
<Offset>
......@@ -363,8 +363,8 @@
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="InspectMainHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
</ItemButton>
<ItemButton name="InspectMainHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
......@@ -381,8 +381,8 @@
</Texture>
</Layer>
</Layers>
</Button>
<Button name="InspectSecondaryHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
</ItemButton>
<ItemButton name="InspectSecondaryHandSlot" inherits="InspectPaperDollItemSlotButtonBottomTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InspectMainHandSlot" relativePoint="TOPRIGHT">
<Offset>
......@@ -390,7 +390,7 @@
</Offset>
</Anchor>
</Anchors>
</Button>
</ItemButton>
</Frames>
</Frame>
</Frames>
......
......@@ -2,7 +2,7 @@
## Title: Blizzard_IslandsPartyPoseUI
## Notes: What's better than a party? An island party! (Island End Screen)
## Author: Blizzard Entertainment
## RequiredDep: Blizzard_PartyPoseUI
## RequiredDep: Blizzard_PartyPoseUI, Blizzard_UIWidgets
## Version: 1.0
## LoadOnDemand: 1
......
......@@ -21,11 +21,14 @@
<Anchor point="CENTER"/>
</Anchors>
</ModelScene>
<Frame parentKey="Score">
<Frame parentKey="Score" inherits="UIWidgetContainerTemplate">
<Size x="100" y="40"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.ModelScene" x="15" y="-55"/>
</Anchors>
<KeyValues>
<KeyValue key="showAndHideOnWidgetSetRegistration" value="false" type="boolean"/>
</KeyValues>
</Frame>
<Button parentKey="LeaveButton" inherits="UIPanelButtonNoTooltipResizeToFitTemplate">
<KeyValues>
......
......@@ -147,7 +147,7 @@ function IslandsQueueFrameMixin:OnLoad()
self.portrait:Hide();
SetPortraitToTexture(self.ArtOverlayFrame.portrait, "Interface\\Icons\\icon_treasuremap");
UIWidgetManager:RegisterWidgetSetContainer(ISLANDS_QUEUE_WIDGET_SET_ID, self.IslandCardsFrame, WidgetsLayout);
self.IslandCardsFrame:RegisterForWidgetSet(ISLANDS_QUEUE_WIDGET_SET_ID, WidgetsLayout);
self:RegisterEvent("ISLANDS_QUEUE_CLOSE");
end
......
......@@ -4,6 +4,7 @@
## Author: Blizzard Entertainment
## Version: 1.0
## LoadOnDemand: 1
## RequiredDep: Blizzard_UIWidgets
Blizzard_IslandsQueueUI.lua
Blizzard_IslandsQueueUI.xml
\ No newline at end of file
......@@ -337,8 +337,11 @@
</Frame>
</Frames>
</Frame>
<Frame name="IslandsQueueFrameCardFrameTemplate" virtual="true">
<Size x="950" y="642"/>
<Frame name="IslandsQueueFrameCardFrameTemplate" virtual="true" inherits="UIWidgetContainerTemplate">
<Size x="950" y="642"/>
<KeyValues>
<KeyValue key="showAndHideOnWidgetSetRegistration" value="false" type="boolean"/>
</KeyValues>
<Frames>
<Frame parentKey="CenterCard" frameLevel="1000" parentArray="IslandCards" inherits="IslandsQueueFrameIslandCardTemplate">
<Size x="438" y="302"/>
......