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="AceGUIDropDown.lua"/>

        <Frame name="AceGUIDropDownMenuTemplate" inherits="AceGUIListBoxTemplate" hidden="true" virtual="true">
                <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
                                <Offset>
                                        <AbsDimension x="-6" y="7"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="$parentRow1"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow2"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow3"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow4"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow5"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow6"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow7"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow8"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow9"  inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow10" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow11" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow12" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow13" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow14" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow15" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow16" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow17" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow18" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow19" inherits="AceGUIListBoxRowTemplate"/>
                        <Button name="$parentRow20" inherits="AceGUIListBoxRowTemplate"/>
                </Frames>
        </Frame>


        <!-- DropDown box template -->
        <Button name="AceGUIDropDownTemplate" virtual="true">
                <Size>
                        <AbsDimension x="160" y="26"/>
                </Size>
                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background"
                                  edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                </Backdrop>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="$parentLabel" inherits="GameFontNormalSmall">
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="1"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentSelection" inherits="GameFontHighlightSmall" justifyH="RIGHT">
                                        <Size>
                                                <AbsDimension x="0" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-26" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                   </Layer>
                </Layers>
                <Frames>
                        <Button name="$parentButton">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-1" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                this:GetParent():ToggleMenu()
                                        </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>
                        <Frame name="$parentMenu" frameStrata="FULLSCREEN_DIALOG" inherits="AceGUIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                this:ToggleMenu()
                        </OnClick>
                        <OnHide>
                                this:CallHandler("OnHide")
                        </OnHide>
                        <OnEnter>
                                this:CallHandler("OnEnter")
                        </OnEnter>
                        <OnLeave>
                                this:CallHandler("OnLeave")
                        </OnLeave>
                </Scripts>
        </Button>
</Ui>

Generated by GNU Enscript 1.6.5.90.