Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- This file is part of TicketChaos. All TicketChaos code is Copyright (C) 2009 Chocochaos
- TicketChaos is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- TicketChaos is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with TicketChaos. If not, see <http://www.gnu.org/licenses/>.
- -->
- <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">
- <Button name="TicketTrackerColumnHeaderTemplate" virtual="true">
- <Size>
- <AbsDimension x="10" y="24"/>
- </Size>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
- <Size>
- <AbsDimension x="5" y="24"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT"/>
- </Anchors>
- <TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
- </Texture>
- <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
- <Size>
- <AbsDimension x="53" y="24"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
- </Anchors>
- <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
- </Texture>
- <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
- <Size>
- <AbsDimension x="4" y="24"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
- </Anchors>
- <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
- </Texture>
- </Layer>
- </Layers>
- <Scripts>
- <OnClick>
- if ( self.sortType ) then
- SortTicketList(self.sortType);
- end
- </OnClick>
- </Scripts>
- <ButtonText>
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="8" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </ButtonText>
- <NormalFont style="GameFontHighlightSmall"/>
- <HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentLeft">
- <Offset>
- <AbsDimension x="-2" y="5"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOMRIGHT" relativeTo="$parentRight">
- <Offset>
- <AbsDimension x="2" y="-7"/>
- </Offset>
- </Anchor>
- </Anchors>
- </HighlightTexture>
- </Button>
- <Button name="TicketStatusTemplate" virtual="true" hidden='true'>
- <Size>
- <AbsDimension x="300" y="16"/>
- </Size>
- <Layers>
- <Layer level="BORDER">
- <FontString name="$parentNumber" inherits="GameFontHighlightSmall" justifyH="LEFT">
- <Size>
- <AbsDimension x="40" y="14"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="14" y="-3"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
- <Size>
- <AbsDimension x="120" y="14"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentNumber" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parentLocation" inherits="GameFontHighlightSmall" justifyH="LEFT">
- <Size>
- <AbsDimension x="140" y="14"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- <Layer level="BACKGROUND">
- <Texture name="$parent_Texture" alphaMode="ADD">
- <Size>
- <AbsDimension x="298" y="16"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="5" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD">
- <Size>
- <AbsDimension x="298" y="16"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="5" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </HighlightTexture>
- <Scripts>
- <OnLoad>
- self.charname = "";
- </OnLoad>
- <Onclick>
- if(CurTicketNum ~= 0) then
- getglobal("TicketStatusButton".. CurTicketNum .."_Texture"):SetTexture(0, 0, 0);
- end
- CurTicketNum = tonumber(string.sub(this:GetName(), 19));
- getglobal("TicketStatusButton".. CurTicketNum .."_Texture"):SetTexture("Interface\\FriendsFrame\\UI-FriendsFrame-HighlightBar");
- Show_Ticket(self.charname)
- </Onclick>
- </Scripts>
- </Button>
- <Frame name="Ticket_Tracker" hidden="true" toplevel="true" frameStrata="HIGH" parent="UIParent" movable="true" enableMouse="true" clampedToScreen="true">
- <Size>
- <AbsDimension x="360" y="360"/>
- </Size>
- <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- </Backdrop>
- <Scripts>
- <OnMouseDown>this:StartMoving();</OnMouseDown>
- <OnMouseUp>this:StopMovingOrSizing();</OnMouseUp>
- <OnDragStop>this:StopMovingOrSizing();</OnDragStop>
- </Scripts>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="-150" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer>
- <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="200" y="30" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="5" />
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
- </Texture>
- <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="TicketChaos">
- <Size>
- <AbsDimension x="140" y="0" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-4" />
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="0.8196079" b="0" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- <FontString name="$parent_Counter" font="Fonts\FRIZQT__.TTF" text="0 tickets done">
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="23" />
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="0.8196079" b="0" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="$parent_Button3" inherits="UIPanelCloseButton">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="-4" y="-4"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Frame name="$parent_Tickets">
- <Size>
- <AbsDimension x="300" y="244"/>
- </Size>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
- <Size>
- <AbsDimension x="300" y="240"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
- </Anchors>
- <TexCoords left="0.078125" right="0.90625" top="0.5" bottom="0.75"/>
- </Texture>
- </Layer>
- </Layers>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="8"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Frames>
- <Frame name="$parent_Header" >
- <Size>
- <AbsDimension x="300" y="30"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="15"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Frames>
- <Button name="$parent_Number" inherits="TicketTrackerColumnHeaderTemplate" text="#">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="9"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- WhoFrameColumn_SetWidth(self, 40);
- self.sortType = "num";
- </OnLoad>
- </Scripts>
- </Button>
- <Button name="$parent_Name" inherits="TicketTrackerColumnHeaderTemplate" text="Name">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="40" y="9"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- WhoFrameColumn_SetWidth(self, 120);
- self.sortType = "name";
- </OnLoad>
- </Scripts>
- </Button>
- <Button name="$parent_Location" inherits="TicketTrackerColumnHeaderTemplate" text="Location">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="9"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- WhoFrameColumn_SetWidth(self, 140);
- self.sortType = "location";
- </OnLoad>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- <Button name="TicketStatusButton1" inherits="TicketStatusTemplate" id="1">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="-5" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton2" inherits="TicketStatusTemplate" id="2">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton1" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton3" inherits="TicketStatusTemplate" id="3">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton2" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton4" inherits="TicketStatusTemplate" id="4">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton3" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton5" inherits="TicketStatusTemplate" id="5">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton4" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton6" inherits="TicketStatusTemplate" id="6">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton5" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton7" inherits="TicketStatusTemplate" id="7">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton6" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton8" inherits="TicketStatusTemplate" id="8">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton7" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton9" inherits="TicketStatusTemplate" id="9">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton8" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton10" inherits="TicketStatusTemplate" id="10">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton9" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton11" inherits="TicketStatusTemplate" id="11">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton10" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton12" inherits="TicketStatusTemplate" id="12">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton11" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton13" inherits="TicketStatusTemplate" id="13">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton12" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton14" inherits="TicketStatusTemplate" id="14">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton13" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="TicketStatusButton15" inherits="TicketStatusTemplate" id="15">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TicketStatusButton14" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- </Frames>
- <Scripts>
- <OnMouseWheel>
- if arg1 == 1 then
- Previous_Page();
- else
- Next_Page();
- end
- </OnMouseWheel>
- </Scripts>
- </Frame>
- <Button name="$parent_Previous" inherits="UIPanelButtonTemplate" text=''>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="31" y="40"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Previous_Page();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="$parent_Next" inherits="UIPanelButtonTemplate" text=''>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-31" y="40"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Next_Page();
- </OnClick>
- </Scripts>
- </Button>
- <Frame name="$parent_Info">
- <Size>
- <AbsDimension x="250" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="40"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer>
- <FontString name="$parent_Text" font="Fonts\FRIZQT__.TTF" text="">
- <Size>
- <AbsDimension x="240" y="0" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-4" />
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="0.8196079" b="0" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <Button name="$parent_Refresh" inherits="UIPanelButtonTemplate" text='Refresh'>
- <Size>
- <AbsDimension x="80" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-30" y="17"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Refresh_Tickets();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="$parent_Whispers" inherits="UIPanelButtonTemplate" text='Whispers'>
- <Size>
- <AbsDimension x="80" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="30" y="17"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Toggle_Whisper_Macros();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- <Frame name="View_Tickets" hidden="true" toplevel="true" frameStrata="HIGH" parent="UIParent" movable="true" enableMouse="true" clampedToScreen="true">
- <Size>
- <AbsDimension x="360" y="360"/>
- </Size>
- <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- </Backdrop>
- <Scripts>
- <OnMouseDown>this:StartMoving();</OnMouseDown>
- <OnMouseUp>this:StopMovingOrSizing();</OnMouseUp>
- <OnDragStop>this:StopMovingOrSizing();</OnDragStop>
- </Scripts>
- <Anchors>
- <Anchor point="LEFT" relativeTo="Ticket_Tracker" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer>
- <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="200" y="30" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="5" />
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
- </Texture>
- <FontString name="$parent_TitleString" font="Fonts\FRIZQT__.TTF" text="Viewing Ticket">
- <Size>
- <AbsDimension x="140" y="0" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-4" />
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="0.8196079" b="0" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="$parent_Button3" inherits="UIPanelCloseButton">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="-4" y="-4"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- CloseTicket();
- HideUIPanel(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- <Frame name="$parent_Ticket">
- <Size>
- <AbsDimension x="300" y="245" />
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-30" />
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture name="$parent_Background" setAllPoints="true">
- <Color r="0" g="0" b="0" a="0.5" />
- </Texture>
- </Layer>
- <Layer>
- <FontString name="$parent_Text" inherits="GameFontHighlightSmall" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" justifyV="TOP">
- <Size>
- <AbsDimension x="280"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="10" y="-10"/>
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="11" />
- </FontHeight>
- </FontString>
- <FontString name="$parent_Reading" inherits="GameFontNormalSmall" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" hidden='true'>
- <Size>
- <AbsDimension x="280"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="10"/>
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="11" />
- </FontHeight>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <Button name="$parent_Dropdown">
- <Size>
- <AbsDimension x="164" y="32" />
- </Size>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="-2" y="47" />
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer>
- <Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
- <Size>
- <AbsDimension x="25" y="64" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="17" />
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0" right="0.1953125" top="0" bottom="1" />
- </Texture>
- <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
- <Size>
- <AbsDimension x="118" y="64" />
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
- </Anchors>
- <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" />
- </Texture>
- <Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
- <Size>
- <AbsDimension x="25" y="64" />
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
- </Anchors>
- <TexCoords left="0.8046875" right="1" top="0" bottom="1" />
- </Texture>
- <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Whisper Macros" justifyH="RIGHT">
- <Size>
- <AbsDimension x="125" y="10" />
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="$parentRight">
- <Offset>
- <AbsDimension x="-43" y="2" />
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="10" />
- </FontHeight>
- <Color r="1" g="1" b="1" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="$parent_Button">
- <Size>
- <AbsDimension x="24" y="24" />
- </Size>
- <Anchors>
- <Anchor point="TOPRIGHT" relativeTo="$parentRight">
- <Offset>
- <AbsDimension x="-16" y="-18" />
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- ToggleDropDownMenu(1, nil, View_Tickets_Dropdownbuttons, View_Tickets_Dropdownbuttons, 0, 0);
- PlaySound("igMainMenuOptionCheckBoxOn");
- </OnClick>
- </Scripts>
- <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
- <Size>
- <AbsDimension x="24" y="24" />
- </Size>
- <Anchors>
- <Anchor point="RIGHT" />
- </Anchors>
- </NormalTexture>
- <PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
- <Size>
- <AbsDimension x="24" y="24" />
- </Size>
- <Anchors>
- <Anchor point="RIGHT" />
- </Anchors>
- </PushedTexture>
- <DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
- <Size>
- <AbsDimension x="24" y="24" />
- </Size>
- <Anchors>
- <Anchor point="RIGHT" />
- </Anchors>
- </DisabledTexture>
- <HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
- <Size>
- <AbsDimension x="24" y="24" />
- </Size>
- <Anchors>
- <Anchor point="RIGHT" />
- </Anchors>
- </HighlightTexture>
- </Button>
- </Frames>
- <Scripts>
- <OnHide>CloseDropDownMenus();</OnHide>
- </Scripts>
- </Button>
- <Frame name="$parent_Dropdownbuttons" inherits="UIDropDownMenuTemplate" id="2">
- <Scripts>
- <OnLoad>
- UIDropDownMenu_Initialize(this, WhispersDropdown_OnLoad, "MENU");
- </OnLoad>
- </Scripts>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="-45" y="55" />
- </Offset>
- </Anchor>
- </Anchors>
- </Frame>
- <Button name="$parent_Whisper" inherits="UIPanelButtonTemplate" text="Whisper">
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="30" y="54"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- TicketWhisper();
- </OnClick>
- <OnEnter>
- GameTooltip:SetOwner(this, "ANCHOR_NONE");
- GameTooltip:SetPoint("BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -CONTAINER_OFFSET_X - 13, CONTAINER_OFFSET_Y);
- GameTooltip:AddLine("Whisper");
- GameTooltip:AddLine("Send a whisper to ".. CurName ..".");
- GameTooltip:Show();
- </OnEnter>
- <OnLeave>
- GameTooltip:Hide();
- </OnLeave>
- </Scripts>
- </Button>
- <Button name="$parent_Close" inherits="UIPanelButtonTemplate" text='Close'>
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="264" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- CloseTicket();
- HideUIPanel(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- <Button name="$parent_Revive" inherits="UIPanelButtonTemplate" text='Revive'>
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="30" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Ticket_Revive();
- </OnClick>
- <OnEnter>
- GameTooltip:SetOwner(this, "ANCHOR_NONE");
- GameTooltip:SetPoint("BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -CONTAINER_OFFSET_X - 13, CONTAINER_OFFSET_Y);
- GameTooltip:AddLine("Revive");
- GameTooltip:AddLine("Revive player ".. CurName ..".");
- GameTooltip:Show();
- </OnEnter>
- <OnLeave>
- GameTooltip:Hide();
- </OnLeave>
- </Scripts>
- </Button>
- <Button name="$parent_Root" inherits="SecureActionButtonTemplate" text="(Un)root">
- <Attributes>
- <Attribute name="type" type="string" value="macro"/>
- <Attribute name="macrotext1" type="string" value=""/>
- <Attribute name="macrotext2" type="string" value=""/>
- </Attributes>
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <ButtonText name="$parentText">
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="1"/>
- </Offset>
- </Anchor>
- </Anchors>
- </ButtonText>
- <NormalFont style="GameFontNormal"/>
- <HighlightFont style="GameFontHighlight"/>
- <DisabledFont style="GameFontDisable"/>
- <NormalTexture inherits="UIPanelButtonUpTexture"/>
- <PushedTexture inherits="UIPanelButtonDownTexture"/>
- <DisabledTexture inherits="UIPanelButtonDisabledTexture"/>
- <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="108" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- this:RegisterForClicks("LeftButtonUp","RightButtonUp");
- </OnLoad>
- <OnEnter>
- GameTooltip:SetOwner(this, "ANCHOR_NONE");
- GameTooltip:SetPoint("BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -CONTAINER_OFFSET_X - 13, CONTAINER_OFFSET_Y);
- GameTooltip:AddLine("Root/Unroot");
- GameTooltip:AddLine("Left click to root.");
- GameTooltip:AddLine("Right click to unroot.");
- GameTooltip:Show();
- </OnEnter>
- <OnLeave>
- GameTooltip:Hide();
- </OnLeave>
- </Scripts>
- </Button>
- <Button name="$parent_Appear" inherits="UIPanelButtonTemplate" text='App/Sum'>
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="186" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- this:RegisterForClicks("LeftButtonUp","RightButtonUp");
- </OnLoad>
- <OnClick>
- if (button == "RightButton") then
- Ticket_Summon();
- else
- Ticket_Appear();
- end
- </OnClick>
- <OnEnter>
- GameTooltip:SetOwner(this, "ANCHOR_NONE");
- GameTooltip:SetPoint("BOTTOMRIGHT", "UIParent", "BOTTOMRIGHT", -CONTAINER_OFFSET_X - 13, CONTAINER_OFFSET_Y);
- GameTooltip:AddLine("Appear/Summon");
- GameTooltip:AddLine("Left click to appear.");
- GameTooltip:AddLine("Right click to summon.");
- GameTooltip:Show();
- </OnEnter>
- <OnLeave>
- GameTooltip:Hide();
- </OnLeave>
- </Scripts>
- </Button>
- <Button name="$parent_Delete" inherits="UIPanelButtonTemplate" text='Delete'>
- <Size>
- <AbsDimension x="66" y="22"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="264" y="54"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- Ticket_Delete();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement