StaticPopupSpecial.xml
StaticPopupSpecial.xml (9.0.2.37474; unchanged since 8.2.5.31960)
- <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="StaticPopupSpecial.lua"/>
- <Frame name="PetBattleQueueReadyFrame" hidden="true" parent="UIParent" frameStrata="DIALOG">
- <Size x="320" y="200"/>
- <Layers>
- <Layer level="ARTWORK">
- <Texture parentKey="Art" file="Interface\PetBattles\PetBattlesQueue">
- <Size x="256" y="100"/>
- <Anchors>
- <Anchor point="TOP" x="0" y="-20"/>
- </Anchors>
- </Texture>
- <FontString parentKey="Label" inherits="GameFontHighlight" text="PET_BATTLE_QUEUE_PROPOSE_MATCH" justifyH="CENTER" justifyV="MIDDLE">
- <Size x="300" y="0"/>
- <Anchors>
- <Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="60"/>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Frame parentKey="Border" inherits="DialogBorderTemplate"/>
- <Button parentKey="AcceptButton" inherits="UIPanelButtonTemplate" text="ACCEPT">
- <Size x="120" y="21"/>
- <Anchors>
- <Anchor point="RIGHT" relativePoint="BOTTOM" x="-5" y="30"/>
- </Anchors>
- <Scripts>
- <OnClick>
- C_PetBattles.AcceptQueuedPVPMatch();
- StaticPopupSpecial_Hide(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- <Button parentKey="DeclineButton" inherits="UIPanelButtonTemplate" text="DECLINE">
- <Size x="120" y="21"/>
- <Anchors>
- <Anchor point="LEFT" relativePoint="BOTTOM" x="5" y="30"/>
- </Anchors>
- <Scripts>
- <OnClick>
- C_PetBattles.DeclineQueuedPVPMatch();
- StaticPopupSpecial_Hide(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- <Scripts>
- <OnLoad>
- self.hideOnEscape = 1;
- </OnLoad>
- <OnUpdate>
- if ( C_PetBattles.CanAcceptQueuedPVPMatch() == true ) then
- self.AcceptButton:Enable();
- else
- self.AcceptButton:Disable();
- end
- </OnUpdate>
- </Scripts>
- </Frame>
- <Frame name="PlayerReportFrameTemplate" parent="UIParent" hidden="true" frameStrata="DIALOG" mixin="PlayerReportFrameBaseMixin" virtual="true">
- <Size x="344" y="224"/>
- <Layers>
- <Layer level="ARTWORK">
- <FontString parentKey="Title" inherits="GameFontNormalMed3" justifyH="LEFT">
- <Anchors>
- <Anchor point="TOPLEFT" x="30" y="-24"/>
- </Anchors>
- </FontString>
- <FontString parentKey="Name" inherits="FriendsFont_Large" justifyH="LEFT" justifyV="TOP">
- <Size x="286" y="10"/>
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.Title" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
- </Anchors>
- <Color r="1" g="1" b="1"/>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Frame parentKey="Border" inherits="DialogBorderTemplate"/>
- <Frame parentKey="Comment">
- <Size x="286" y="80"/>
- <Anchors>
- <Anchor point="TOPLEFT" x="30" y="-75"/>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture parentKey="TopLeft" file="Interface\Common\Common-Input-Border-TL">
- <Size x="8" y="8"/>
- <Anchors>
- <Anchor point="TOPLEFT" x="0" y="0"/>
- </Anchors>
- </Texture>
- <Texture parentKey="TopRight" file="Interface\Common\Common-Input-Border-TR">
- <Size x="8" y="8"/>
- <Anchors>
- <Anchor point="TOPRIGHT" x="0" y="0"/>
- </Anchors>
- </Texture>
- <Texture parentKey="Top" file="Interface\Common\Common-Input-Border-T">
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="TOPRIGHT"/>
- <Anchor point="BOTTOMRIGHT" relativeKey="$parent.TopRight" relativePoint="BOTTOMLEFT"/>
- </Anchors>
- </Texture>
- <Texture parentKey="BottomLeft" file="Interface\Common\Common-Input-Border-BL">
- <Size x="8" y="8"/>
- <Anchors>
- <Anchor point="BOTTOMLEFT" x="0" y="0"/>
- </Anchors>
- </Texture>
- <Texture parentKey="BottomRight" file="Interface\Common\Common-Input-Border-BR">
- <Size x="8" y="8"/>
- <Anchors>
- <Anchor point="BOTTOMRIGHT" x="0" y="0"/>
- </Anchors>
- </Texture>
- <Texture parentKey="Bottom" file="Interface\Common\Common-Input-Border-B">
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.BottomLeft" relativePoint="TOPRIGHT"/>
- <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="BOTTOMLEFT"/>
- </Anchors>
- </Texture>
- <Texture parentKey="Left" file="Interface\Common\Common-Input-Border-L">
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="BOTTOMLEFT"/>
- <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomLeft" relativePoint="TOPRIGHT"/>
- </Anchors>
- </Texture>
- <Texture parentKey="Right" file="Interface\Common\Common-Input-Border-R">
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.TopRight" relativePoint="BOTTOMLEFT"/>
- <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="TOPRIGHT"/>
- </Anchors>
- </Texture>
- <Texture parentKey="Middle" file="Interface\Common\Common-Input-Border-M">
- <Anchors>
- <Anchor point="TOPLEFT" relativeKey="$parent.Left" relativePoint="TOPRIGHT"/>
- <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Right" relativePoint="BOTTOMLEFT"/>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <Frames>
- <ScrollFrame parentKey="ScrollFrame" inherits="UIPanelScrollFrameTemplate">
- <Anchors>
- <Anchor point="TOPLEFT" x="6" y="-6"/>
- <Anchor point="BOTTOMRIGHT" x="0" y="6"/>
- </Anchors>
- <Scripts>
- <OnLoad>
- local scrollBar = self["ScrollBar"];
- scrollBar:ClearAllPoints();
- scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", -18, -10);
- scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", -18, 8);
- -- reposition the up and down buttons
- scrollBar["ScrollDownButton"]:SetPoint("TOP", scrollBar, "BOTTOM", 0, 4);
- scrollBar["ScrollUpButton"]:SetPoint("BOTTOM", scrollBar, "TOP", 0, -4);
- -- make the scroll bar hideable and force it to start off hidden so positioning calculations can be done
- -- as soon as it needs to be shown
- self.scrollBarHideable = 1;
- scrollBar:Hide();
- </OnLoad>
- <OnMouseDown>
- self.CommentBox:SetFocus();
- </OnMouseDown>
- </Scripts>
- <ScrollChild>
- <EditBox parentKey="CommentBox" multiLine="true" letters="127" countInvisibleLetters="true" autoFocus="false">
- <Size x="258" y="1"/>
- <Layers>
- <Layer level="BORDER">
- <FontString parentKey="Fill" inherits="ChatFontNormal" justifyH="LEFT" justifyV="TOP" text="REPORT_PLAYER_COMMENT_PROMPT">
- <Size x="258" y="0"/>
- <Anchors>
- <Anchor point="TOPLEFT" x="3" y="-1"/>
- </Anchors>
- <Color r="0.35" g="0.35" b="0.35"/>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnTextChanged>
- ScrollingEdit_OnTextChanged(self, self:GetParent());
- if ( self:GetText() ~= "" ) then
- self.Fill:Hide();
- else
- self.Fill:Show();
- end
- </OnTextChanged>
- <OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
- <OnUpdate>
- ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
- </OnUpdate>
- <OnEscapePressed>
- self:ClearFocus();
- </OnEscapePressed>
- </Scripts>
- <FontString inherits="ChatFontNormal"/>
- </EditBox>
- </ScrollChild>
- </ScrollFrame>
- </Frames>
- </Frame>
- <Button parentKey="ReportButton" inherits="UIPanelButtonTemplate" text="REPORT_PLAYER_BUTTON_SHORT">
- <Size x="128" y="22"/>
- <Anchors>
- <Anchor point="BOTTOMLEFT" x="30" y="24"/>
- </Anchors>
- <Scripts>
- <OnClick>
- self:GetParent():ConfirmReport();
- </OnClick>
- </Scripts>
- </Button>
- <Button parentKey="CancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
- <Size x="128" y="22"/>
- <Anchors>
- <Anchor point="BOTTOMRIGHT" x="-30" y="24"/>
- </Anchors>
- <Scripts>
- <OnClick>
- self:GetParent():CancelReport();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- <Scripts>
- <OnLoad method="OnLoad"/>
- <OnShow method="OnShow"/>
- <OnHide method="OnHide"/>
- </Scripts>
- </Frame>
- <Frame name="ClubFinderReportFrame" enableMouse="true" inherits="PlayerReportFrameTemplate" mixin="ClubFinderReportFrameMixin"/>
- <Frame name="PlayerReportFrame" inherits="PlayerReportFrameTemplate" mixin="PlayerReportFrameMixin">
- <Scripts>
- <OnEvent method="OnEvent"/>
- </Scripts>
- </Frame>
- </Ui>