vanilla-wow-addons – Rev 1
?pathlinks?
<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="AceGUIDropDownMenuButtonTemplate" virtual="true">
<Size>
<AbsDimension x="128" y="16"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight"
alphaMode="ADD" setAllPoints="true" hidden="true"/>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentColorSwatch" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-6" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentSwatchBg">
<Size>
<AbsDimension x="14" y="14"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="1.0" b="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
CloseMenus()
UIDropDownMenuButton_OpenColorPicker(this:GetParent())
</OnClick>
<OnEnter>
--CloseDropDownMenus(this:GetParent():GetParent():GetID() + 1)
getglobal(this:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r,
NORMAL_FONT_COLOR.g,
NORMAL_FONT_COLOR.b
)
--UIDropDownMenu_StopCounting(this:GetParent():GetParent())
</OnEnter>
<OnLeave>
getglobal(this:GetName().."SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r,
HIGHLIGHT_FONT_COLOR.g,
HIGHLIGHT_FONT_COLOR.b
)
--UIDropDownMenu_StartCounting(this:GetParent():GetParent())
</OnLeave>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
</Button>
<Button name="$parentExpandArrow" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-6" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
--ToggleDropDownMenu(this:GetParent():GetParent():GetID() + 1, this:GetParent().value)
</OnClick>
<OnEnter>
--ToggleDropDownMenu(this:GetParent():GetParent():GetID() + 1, this:GetParent().value)
--UIDropDownMenu_StopCounting(this:GetParent():GetParent())
</OnEnter>
<OnLeave>
--UIDropDownMenu_StartCounting(this:GetParent():GetParent())
</OnLeave>
</Scripts>
<NormalTexture file="Interface\ChatFrame\ChatFrameExpandArrow"/>
</Button>
</Frames>
<Scripts>
<OnClick>
this.dialog:DropDownButtonClick(this:GetParent():GetParent(), this)
</OnClick>
<OnEnter>
getglobal(this:GetName().."Highlight"):Show()
--UIDropDownMenu_StopCounting(this:GetParent())
</OnEnter>
<OnLeave>
getglobal(this:GetName().."Highlight"):Hide()
--UIDropDownMenu_StartCounting(this:GetParent())
</OnLeave>
</Scripts>
<NormalText name="$parentNormalText" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentCheck" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
<HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentCheck" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightText>
<DisabledText name="$parentDisabledText" inherits="GameFontDisableSmall" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentCheck" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</DisabledText>
</Button>
<Frame name="AceGUIDropDownMenuTemplate" enableMouse="true" hidden="true" virtual="true">
<Size>
<AbsDimension x="40" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="-6" y="7"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentNormalBackdrop" setAllPoints="true">
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background"
edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="10" top="10" bottom="10"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="28"/>
</TileSize>
<EdgeSize>
<AbsValue val="28"/>
</EdgeSize>
</Backdrop>
</Frame>
<Frame name="$parentSmallBackdrop" setAllPoints="true" hidden="true">
<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>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r,
TOOLTIP_DEFAULT_COLOR.g,
TOOLTIP_DEFAULT_COLOR.b
)
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r,
TOOLTIP_DEFAULT_BACKGROUND_COLOR.g,
TOOLTIP_DEFAULT_BACKGROUND_COLOR.b
)
</OnLoad>
</Scripts>
</Frame>
<ScrollFrame name="$parentScrollBox" inherits="FauxScrollFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-31" y="-9"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
this.dialog:ScrollDropDownMenu(this:GetParent():GetParent())
</OnVerticalScroll>
<OnMouseWheel>
ScrollFrameTemplate_OnMouseWheel(arg1)
</OnMouseWheel>
</Scripts>
</ScrollFrame>
<Button name="$parentButton1" inherits="AceGUIDropDownMenuButtonTemplate" id="1"/>
<Button name="$parentButton2" inherits="AceGUIDropDownMenuButtonTemplate" id="2"/>
<Button name="$parentButton3" inherits="AceGUIDropDownMenuButtonTemplate" id="3"/>
<Button name="$parentButton4" inherits="AceGUIDropDownMenuButtonTemplate" id="4"/>
<Button name="$parentButton5" inherits="AceGUIDropDownMenuButtonTemplate" id="5"/>
<Button name="$parentButton6" inherits="AceGUIDropDownMenuButtonTemplate" id="6"/>
<Button name="$parentButton7" inherits="AceGUIDropDownMenuButtonTemplate" id="7"/>
<Button name="$parentButton8" inherits="AceGUIDropDownMenuButtonTemplate" id="8"/>
<Button name="$parentButton9" inherits="AceGUIDropDownMenuButtonTemplate" id="9"/>
<Button name="$parentButton10" inherits="AceGUIDropDownMenuButtonTemplate" id="10"/>
<Button name="$parentButton11" inherits="AceGUIDropDownMenuButtonTemplate" id="11"/>
<Button name="$parentButton12" inherits="AceGUIDropDownMenuButtonTemplate" id="12"/>
<Button name="$parentButton13" inherits="AceGUIDropDownMenuButtonTemplate" id="13"/>
<Button name="$parentButton14" inherits="AceGUIDropDownMenuButtonTemplate" id="14"/>
<Button name="$parentButton15" inherits="AceGUIDropDownMenuButtonTemplate" id="15"/>
<Button name="$parentButton16" inherits="AceGUIDropDownMenuButtonTemplate" id="16"/>
<Button name="$parentButton17" inherits="AceGUIDropDownMenuButtonTemplate" id="17"/>
<Button name="$parentButton18" inherits="AceGUIDropDownMenuButtonTemplate" id="18"/>
<Button name="$parentButton19" inherits="AceGUIDropDownMenuButtonTemplate" id="19"/>
<Button name="$parentButton20" inherits="AceGUIDropDownMenuButtonTemplate" id="20"/>
</Frames>
<Scripts>
<OnClick>
this:Hide()
</OnClick>
<OnEnter>
--UIDropDownMenu_StopCounting(this)
</OnEnter>
<OnLeave>
--UIDropDownMenu_StartCounting(this)
</OnLeave>
<OnUpdate>
--UIDropDownMenu_OnUpdate(arg1)
</OnUpdate>
<OnHide>
this.dialog:CloseDropDownMenu(this)
</OnHide>
</Scripts>
</Frame>
<!-- DropDown box template -->
<Frame 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().dialog:ToggleDropDownMenu(this:GetParent())
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>
<Frame name="$parentMenu" frameStrata="FULLSCREEN_DIALOG" inherits="AceGUIDropDownMenuTemplate"/>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.1, 0.1, 0.1)
</OnLoad>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.