vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
        <Script file="CT_MMInbox.lua"/>
        <Frame name="CT_MMInboxFrame" parent="UIParent">
                <Scripts>
                        <OnLoad>
                                CT_MMInbox_OnLoad();
                        </OnLoad>
                        <OnUpdate>
                                CT_MMInbox_OnUpdate(arg1);
                        </OnUpdate>
                        <OnEvent>
                                CT_MMInbox_OnEvent(event);
                        </OnEvent>
                </Scripts>
        </Frame>
        <CheckButton name="CT_MailBoxItemCBTemplate" hidden="true" virtual="true" inherits="OptionsCheckButtonTemplate">
                <HitRectInsets>
                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                </HitRectInsets>
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="1" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                CT_MMInbox_SetSelected();
                        </OnClick>
                </Scripts>
        </CheckButton>
        <CheckButton name="CT_MailBoxItem1CB" id="1" hidden="false" parent="MailItem1" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem2CB" id="2" hidden="false" parent="MailItem2" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem3CB" id="3" hidden="false" parent="MailItem3" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem4CB" id="4" hidden="false" parent="MailItem4" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem5CB" id="5" hidden="false" parent="MailItem5" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem6CB" id="6" hidden="false" parent="MailItem6" inherits="CT_MailBoxItemCBTemplate"/>
        <CheckButton name="CT_MailBoxItem7CB" id="7" hidden="false" parent="MailItem7" inherits="CT_MailBoxItemCBTemplate"/>
        <Button name="CT_MMInboxOpenSelected" parent="InboxFrame" inherits="UIPanelButtonTemplate" text="CT_MMINBOX_OPENSELECTED">
                <Size>
                        <AbsDimension x="120" y="25"/>
                </Size>
                <Anchors>
                        <Anchor relativePoint="TOP" point="RIGHT">
                                <Offset>
                                        <AbsDimension x="5" y="-53"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                CT_MMInbox_OpenSelected();
                        </OnClick>
                </Scripts>
        </Button>
        <Button name="CT_MMInboxOpenAll" parent="InboxFrame" inherits="UIPanelButtonTemplate" text="CT_MMINBOX_OPENALL">
                <Size>
                        <AbsDimension x="120" y="25"/>
                </Size>
                <Anchors>
                        <Anchor relativePoint="TOP" point="LEFT">
                                <Offset>
                                        <AbsDimension x="10" y="-53"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                ShowUIPanel(CT_MMInbox_OpenAll);
                        </OnClick>
                </Scripts>
        </Button>
        <CheckButton name="CT_MMInboxDisplayMessagesCB" hidden="false" parent="InboxFrame" inherits="OptionsCheckButtonTemplate">
                <HitRectInsets>
                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                </HitRectInsets>
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="CT_MMInboxOpenAll">
                                <Offset>
                                        <AbsDimension x="1" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(CT_MMINBOX_DISPLAYPROCESSMESSAGES);
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                        <OnClick>
                                CT_MMInbox_DisplayMessages = this:GetChecked();
                        </OnClick>
                </Scripts>
        </CheckButton>
        <Frame name="CT_MMInbox_OpenAll" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="MailFrame">
                <Size>
                        <AbsDimension x="400" y="100"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER" relativeTo="UIParent"/>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="256" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="CT_MMINBOX_OPENALLTITLE">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="$parentHeaderTexture">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentInfo" justifyV="top" inherits="GameFontNormal" text="CT_MMINBOX_OPENALLCONFIRMATION">
                                        <Size>
                                                <AbsDimension x="350" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="0" y="4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="$parentOpenButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_MMINBOX_OPENALL">
                                <Size>
                                        <AbsDimension x="125" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="-8" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                CT_MMInbox_OpenSelected(1);
                                                HideUIPanel(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_MAIL_CANCELBUTTON">
                                <Size>
                                        <AbsDimension x="125" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="8" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                HideUIPanel(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnShow>
                                PlaySound("UChatScrollButton");
                        </OnShow>
                        <OnHide>
                                PlaySound("UChatScrollButton");
                        </OnHide>
                </Scripts>
        </Frame>
        
        <!-- Mail forwarding -->
        <Button name="OpenMailForwardButton" parent="OpenMailFrame" inherits="UIPanelButtonTemplate" text="Forward">
                <Size>
                        <AbsDimension x="82" y="22"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativeTo="OpenMailReplyButton" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                CT_MMForward_OpenReply();
                        </OnClick>
                </Scripts>
        </Button>
        <Frame name="CT_MMForwardFrame" parent="UIParent">
                <Scripts>
                        <OnUpdate>
                                CT_MMForward_OnUpdate(arg1);
                        </OnUpdate>
                        <OnLoad>
                                this.pickItem = { };
                                this.process = 0;
                                this:RegisterEvent("BAG_UPDATE");
                        </OnLoad>
                        <OnEvent>
                                CT_MMForward_ScanItems();
                        </OnEvent>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.