You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
3.2 KiB

<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="dropdown.lua"/>
<Frame name="BetterWardrobeSavedOutfitDropDownMenuTemplate" inherits="BW_UIDropDownMenuTemplate" mixin="BetterWardrobeSavedOutfitDropDownMenuMixin" hidden = "true" virtual = "true" >
<Size x="100" y="22"/>
<Scripts>
<OnLoad method="OnLoad"/>
<OnShow method="OnShow"/>
<OnHide method="OnHide"/>
</Scripts>
</Frame>
<Frame parentKey="SavedOutfitDropDownMenu" name="SavedOutfitDropDownMenu" inherits="BetterWardrobeSavedOutfitDropDownMenuTemplate" hidden="true">
<KeyValues>
<KeyValue key="width" value="163" type="number"/>
<KeyValue key="minMenuStringWidth" value="127" type="number"/>
<KeyValue key="maxMenuStringWidth" value="190" type="number"/>
<KeyValue key="replaceInvalidSources" value="true" type="boolean"/>
</KeyValues>
<Anchors>
<Anchor point="TOP" x="-23" y="-28"/>
</Anchors>
<Frames>
<Frame name="BetterWardrobeSavedOutfitDropdownFrame" frameStrata="DIALOG" hidden="true" enableMouse="true" mixin="BetterWardrobeSavedOutfitDropdownFrameMixin" >
<Size x="224" y="200"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT"/>
</Anchors>
<Frames>
<Frame parentKey="Border" inherits="DialogBorderDarkTemplate"/>
</Frames>
<Scripts>
<OnHide method="OnHide"/>
<OnUpdate method="OnUpdate"/>
<OnLoad method="CreateScrollFrame"/>
</Scripts>
</Frame>
</Frames>
</Frame>
<Button name="BetterWardrobeCharacterOutfitButtonTemplate" parentArray="Buttons" virtual="true" mixin="BetterWardrobeSavedOutfitButtonTemplate">
<Size x="0" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Selection" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" desaturated="true" hidden="true">
<Color r="0.5" g="0.5" b="0.5"/>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture parentKey="Highlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Check" file="Interface\Buttons\UI-CheckBox-Check" hidden="false">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Text" relativePoint="RIGHT" x="4" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.Check:SetPoint("LEFT", self.Text, "RIGHT", 4, 0);
</OnLoad>
<OnClick method="OnClick"/>
<OnEnter>
self.Highlight:Show();
self:GetParent():StopHideCountDown();
</OnEnter>
<OnLeave>
self.Highlight:Hide();
self:GetParent():StartHideCountDown();
</OnLeave>
</Scripts>
<ButtonText parentKey="Text" maxLines="1">
<Size x="0" y="0"/>
<Anchors>
<Anchor point="LEFT" x="29" y="0"/>
</Anchors>
</ButtonText>
<NormalFont style="GameFontHighlightSmallLeft"/>
<HighlightFont style="GameFontHighlightSmallLeft"/>
<DisabledFont style="GameFontDisableSmallLeft"/>
</Button>
</Ui>