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/
..\..\FrameXML\UI.xsd">

        <Script file="AuctionFilterPlus.lua"/>
        <Script file="Localization.EN.lua"/>
        <Script file="Localization.DE.lua"/>
        <Script file="Localization.FR.lua"/>

        <CheckButton name="afp_UICheckButtonTemplate" virtual="true" inherits="UICheckButtonTemplate" framestrata="HIGH">
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Scripts>
                        <OnEnter>
                                afp_AuctionFrameBrowse_OnEnter();
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                        <OnClick>
                                afp_AuctionFrameBrowse_Update();
                        </OnClick>
                </Scripts>
        </CheckButton>

      <Button name="BrowseBuyoutSort" inherits="AuctionSortButtonTemplate" text="BUYOUT_PRICE">
        <Size>
          <AbsDimension x="95" y="19"/>
        </Size>
        <Scripts>
          <OnClick>
            SortAuctionItems("list", "buyout")
            SortBuyoutButton_UpdateArrow(BrowseBuyoutSort, "list", "buyout")
          </OnClick>
        </Scripts>
      </Button>

      <Button name="BrowseNameSort" inherits="AuctionSortButtonTemplate" text="NAME">
        <Size>
          <AbsDimension x="95" y="19"/>
        </Size>
        <Scripts>
          <OnClick>
            SortAuctionItems("list", "name")
            SortButton_UpdateArrow(BrowseNameSort, "list", "name")
          </OnClick>
        </Scripts>
      </Button>

        <Button name="afp_FlyoutButton" inherits="UIPanelButtonTemplate" text="AFP_BUTTON_TEXT_FILTER" framestrata="HIGH" hidden="true" movable="true">
                <Size>
                        <AbsDimension x="70" y="19"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT">
                                <Offset>
                                        <AbsDimension x="-50" y="-50"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                afp_FlyoutButton_OnClick();
                        </OnClick>
                        <OnLoad>
                                AuctionFilterPlus_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                AuctionFilterPlus_OnEvent();
                        </OnEvent>
                </Scripts>
        </Button>

        <Button name="afp_ResetButton" parent="UIParent" framestrata="HIGH" inherits="UIPanelButtonTemplate" hidden="true" movable="true" text="AFP_BUTTON_TEXT_RESET">
                <Size>
                        <AbsDimension x="60" y="19"/>
                </Size>
                <Anchors>
                        <Anchor point="LEFT" relativeTo="afp_FlyoutButton" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="3" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                afp_Reset_OnClick();
      </OnClick>
                </Scripts>
        </Button>

        <Button name="afp_FlyoutClear" parent="UIParent" framestrata="HIGH" inherits="UIPanelButtonTemplate" hidden="true" movable="true" text="AFP_BUTTON_TEXT_CLEAR">
                <Size>
                        <AbsDimension x="65" y="19"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="afp_FlyoutFrame" relativePoint="BOTTOMLEFT">
                                <Offset>
                                        <AbsDimension x="0" y="-1"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                afp_FlyoutClear_OnClick();
      </OnClick>
                </Scripts>
        </Button>

        <Button name="afp_FlyoutSave" parent="UIParent" framestrata="HIGH" inherits="UIPanelButtonTemplate" hidden="true" movable="true" text="AFP_BUTTON_TEXT_SAVE">
                <Size>
                        <AbsDimension x="118" y="19"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="afp_FlyoutFrame" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="0" y="-1"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                afp_FlyoutSave_OnClick();
      </OnClick>
                </Scripts>
        </Button>

        <Button name="afp_FlyoutLoad" parent="UIParent" framestrata="HIGH" inherits="UIPanelButtonTemplate" hidden="true" movable="true" text="AFP_BUTTON_TEXT_LOAD">
                <Size>
                        <AbsDimension x="118" y="19"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="afp_FlyoutSave" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                afp_FlyoutLoad_OnClick();
      </OnClick>
                </Scripts>
        </Button>

        <Frame name="afp_FlyoutFrame" parent="UIParent" hidden="true" movable="true">
                <Size>
                        <AbsDimension x="185" y="170"/><!-- NOTE:  Change in LUA -->
                </Size>
                <Anchor point="TOPLEFT" relativeTo="AuctionFrameBrowse" relativePoint="TOPRIGHT">
                        <Offset>
                                <AbsDimension x="1" y="0"/>
                        </Offset>
                </Anchor>
                
                <Backdrop name="afp_FlyoutFrameBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true" framestrata="BACKGROUND">
                        <BackgroundInsets>
                                <AbsInset left="4" right="4" top="4" bottom="4" />
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>

        <Layers>
                        <Layer level="ARTWORK">
                        <FontString name="afp_OptionText_HideUnaffordable" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_UNAFFORD">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_HideUnaffordable" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_HideKnown" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_HIDEKNOWN">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_HideKnown" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_HideNoBuyout" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_NOBUYOUT">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_HideNoBuyout" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_PricePerUnit" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_PERUNIT">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_PricePerUnit" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_StacksOf20" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_STACK20">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_StacksOf20" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_StacksOf10" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_STACK10">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_StacksOf10" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_StacksOf5" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_STACK5">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_StacksOf5" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_ExactName" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_EXACTNAME">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_ExactName" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_ColorKnown" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_COLORKNOWN">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_ColorKnown" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_ShowBestDeals" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_SHOWBESTDEALS">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_ShowBestDeals" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="afp_OptionText_GreyUnbid" inherits="GameFontNormal" text="AFP_TOOLTIP_TITLE_GREYUNBID">
                                        <Anchors>
                                                <Anchor point="LEFT" relativeTo="afp_OptionButton_GreyUnbid" relativePoint="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>

                <Frames>
                        <CheckButton name="afp_OptionButton_HideUnaffordable" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="11" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_HideKnown" inherits="afp_UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_HideUnaffordable" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_HideNoBuyout" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_HideKnown" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_PricePerUnit" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_HideNoBuyout" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton><!-- SKIP LINE HERE -->
                        <CheckButton name="afp_OptionButton_StacksOf20" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_PricePerUnit" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_StacksOf10" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_StacksOf20" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_StacksOf5" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_StacksOf10" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton><!-- SKIP LINE HERE -->
                        <CheckButton name="afp_OptionButton_ExactName" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_StacksOf5" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_ColorKnown" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_ExactName" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_ShowBestDeals" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_ColorKnown" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="afp_OptionButton_GreyUnbid" inherits="afp_UICheckButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="afp_OptionButton_ShowBestDeals" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                </Frames>
                <Scripts>
                        <OnShow>
                                afp_FixParents(); -- Text loaded first, so need to reset its locations
                        </OnShow>
                </Scripts>
        </Frame>

        <GameTooltip name="AFHiddenTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/>

</Ui>

Generated by GNU Enscript 1.6.5.90.