Delete OutfitDisplayFrame directory
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,8 +0,0 @@
|
||||
## Interface: 11200
|
||||
## Title: OutfitDisplayFrame
|
||||
## Version: 0.5.9
|
||||
## Notes: A utility frame to display a set of equipable items.
|
||||
## Notes-deDE: Ein Fenster, dass die Ausr\195\188stung anzeigt
|
||||
## Notes-frFR: Un cadre d'utilit\195\169 pour afficher une s\195\169rie d'articles de equipable
|
||||
## Author: Sutorix=AT=hotmail.com
|
||||
OutfitDisplayFrame.xml
|
||||
@@ -1,541 +0,0 @@
|
||||
<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="localization.lua"/>
|
||||
<Script file="OutfitDisplayFrame.lua"/>
|
||||
<Button name="OutfitDisplayItemButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
OutfitDisplayItemButton_OnLoad();
|
||||
</OnLoad>
|
||||
<OnShow>
|
||||
OutfitDisplayItemButton_Draw(this);
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
OutfitDisplayItemButton_OnClick(arg1);
|
||||
</OnClick>
|
||||
<OnEvent>
|
||||
OutfitDisplayItemButton_OnEvent(event);
|
||||
</OnEvent>
|
||||
<OnEnter>
|
||||
OutfitDisplayItemButton_OnEnter();
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip.finished = nil;
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnReceiveDrag>
|
||||
OutfitDisplayItemButton_OnClick("LeftButton", 1);
|
||||
</OnReceiveDrag>
|
||||
</Scripts>
|
||||
</Button>
|
||||
|
||||
<CheckButton name="OutfitDisplayFrameCheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true">
|
||||
<HitRectInsets>
|
||||
<AbsInset left="0" right="0" top="0" bottom="0"/>
|
||||
</HitRectInsets>
|
||||
<Size>
|
||||
<AbsDimension x="25" y="25"/>
|
||||
</Size>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
OutfitDisplayCheckBox_OnLoad();
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
OutfitDisplayCheckBox_OnClick();
|
||||
</OnClick>
|
||||
<OnEnter>
|
||||
OutfitDisplayCheckBox_OnEnter();
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip.finished = nil;
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="OutfitDisplayFrameOverrideBoxTemplate" inherits="UICheckButtonTemplate" virtual="true">
|
||||
<HitRectInsets>
|
||||
<AbsInset left="0" right="0" top="0" bottom="0"/>
|
||||
</HitRectInsets>
|
||||
<Size>
|
||||
<AbsDimension x="25" y="25"/>
|
||||
</Size>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
OutfitDisplayOverrideBox_OnLoad();
|
||||
</OnLoad>
|
||||
<OnEnter>
|
||||
OutfitDisplayOverrideBox_OnEnter();
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip.finished = nil;
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<Frame name="OutfitDisplayFrame" virtual="true">
|
||||
<HitRectInsets>
|
||||
<AbsInset left="0" right="30" top="0" bottom="75"/>
|
||||
</HitRectInsets>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-L1">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-R1">
|
||||
<Size>
|
||||
<AbsDimension x="128" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="256" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomLeft">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-256"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomRight">
|
||||
<Size>
|
||||
<AbsDimension x="128" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="256" y="-256"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Button name="$parentHeadSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="21" y="-74"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentNeckSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentHeadSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentShoulderSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentNeckSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentBackSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentShoulderSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentChestSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentBackSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentShirtSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentChestSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentTabardSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentShirtSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentWristSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentTabardSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentHandsSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="305" y="-74"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentWaistSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentHandsSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentLegsSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentWaistSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentFeetSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentLegsSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentFinger0Slot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentFeetSlot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentFinger1Slot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentFinger0Slot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentTrinket0Slot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentFinger1Slot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentTrinket1Slot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentTrinket0Slot" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentMainHandSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="122" y="127"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentSecondaryHandSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentMainHandSlot" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="5" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentRangedSlot" inherits="OutfitDisplayItemButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentSecondaryHandSlot" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="5" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<CheckButton name="$parentHeadSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentHeadSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentShowHelm" inherits="OutfitDisplayFrameOverrideBoxTemplate" hidden="true">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentHeadSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentNeckSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentNeckSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentShoulderSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentShoulderSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentBackSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentBackSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentShowCloak" inherits="OutfitDisplayFrameOverrideBoxTemplate" hidde="true">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentBackSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentChestSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentChestSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentShirtSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentShirtSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentTabardSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentTabardSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentWristSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentWristSlot"
|
||||
relativePoint="RIGHT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentHandsSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentHandsSlot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentWaistSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentWaistSlot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentLegsSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentLegsSlot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentFeetSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentFeetSlot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentFinger0SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentFinger0Slot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentFinger1SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentFinger1Slot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentTrinket0SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentTrinket0Slot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentTrinket1SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="$parentTrinket1Slot"
|
||||
relativePoint="LEFT" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentMainHandSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOM" relativeTo="$parentMainHandSlot"
|
||||
relativePoint="TOP" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentSecondaryHandSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOM" relativeTo="$parentSecondaryHandSlot"
|
||||
relativePoint="TOP" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<CheckButton name="$parentRangedSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOM" relativeTo="$parentRangedSlot"
|
||||
relativePoint="TOP" />
|
||||
</Anchors>
|
||||
</CheckButton>
|
||||
<DressUpModel name="$parentModel" scale="1.0">
|
||||
<Size>
|
||||
<AbsDimension x="183" y="300"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="90" y="-88"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
Model_OnLoad();
|
||||
this:RegisterEvent("DISPLAY_SIZE_CHANGED");
|
||||
this:RegisterEvent("UNIT_MODEL_CHANGED");
|
||||
this:RegisterEvent("PLAYER_ENTERING_WORLD");
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
if ( event == "PLAYER_ENTERING_WORLD" ) then
|
||||
this:SetUnit("player");
|
||||
return;
|
||||
end
|
||||
if ( this:IsVisible() ) then
|
||||
OutfitDisplayFrame_UpdateModel(this);
|
||||
end
|
||||
</OnEvent>
|
||||
<OnShow>
|
||||
OutfitDisplayFrame_UpdateModel(this);
|
||||
</OnShow>
|
||||
<OnUpdate>
|
||||
Model_OnUpdate(arg1, this);
|
||||
</OnUpdate>
|
||||
</Scripts>
|
||||
<Frames>
|
||||
<Button name="$parentRotateLeftButton">
|
||||
<Size>
|
||||
<AbsDimension x="35" y="35"/>
|
||||
</Size>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
this:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
|
||||
local parent = this:GetParent():GetParent():GetName();
|
||||
this:ClearAllPoints();
|
||||
this:SetPoint("TOPLEFT", parent.."HeadSlotCheckBox", "TOPRIGHT", 12, 0);
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Model_RotateLeft(this:GetParent());
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/>
|
||||
<PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/>
|
||||
<HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/>
|
||||
</Button>
|
||||
<Button name="$parentRotateRightButton">
|
||||
<Size>
|
||||
<AbsDimension x="35" y="35"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentRotateLeftButton" relativePoint="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
this:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
Model_RotateRight(this:GetParent());
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Buttons\UI-RotationRight-Button-Up"/>
|
||||
<PushedTexture file="Interface\Buttons\UI-RotationRight-Button-Down"/>
|
||||
<HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/>
|
||||
</Button>
|
||||
</Frames>
|
||||
</DressUpModel>
|
||||
<SimpleHTML name="$parentMessage">
|
||||
<Size>
|
||||
<AbsDimension x="183" y="64"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER"/>
|
||||
</Anchors>
|
||||
<FontString name="$parentFontString" inherits="GameFontNormal">
|
||||
<Size>
|
||||
<AbsDimension x="183" y="0"/>
|
||||
</Size>
|
||||
</FontString>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
this:SetFrameLevel(this:GetFrameLevel()+1);
|
||||
</OnLoad>
|
||||
</Scripts>
|
||||
</SimpleHTML>
|
||||
<Frame name="$parentMessageUpdateFrame" hidden="true">
|
||||
<Scripts>
|
||||
<OnUpdate>
|
||||
OutfitDisplayFrame_MessageUpdate(arg1);
|
||||
</OnUpdate>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
</Frames>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
OutfitDisplayFrame_OnLoad();
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
OutfitDisplayFrame_OnEvent(event, arg1);
|
||||
</OnEvent>
|
||||
<OnMouseWheel>
|
||||
return;
|
||||
</OnMouseWheel>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
|
||||
</Ui>
|
||||
@@ -1,55 +0,0 @@
|
||||
Version 0.5.9
|
||||
- Add a way for clients to add their own tooltip information
|
||||
- Update 'for' loops to be compatible with Lua 5.1
|
||||
|
||||
Version 0.5.8
|
||||
- Update toc for patch 1.12
|
||||
|
||||
Version 0.5.7
|
||||
- Optimize event handling (lots if ITEM_LOCK_CHANGED events during
|
||||
world transitions)
|
||||
- Empty outfits have a message
|
||||
|
||||
Version 0.5.6
|
||||
- Fix nil error when you have fewer than five bags
|
||||
|
||||
Version 0.5.5
|
||||
- Fix "no space" error when swapping empty space for empty space
|
||||
|
||||
Version 0.5.4
|
||||
- Attempt to fix soul bag issues (as well as ammo pouches and quivers)
|
||||
|
||||
Version 0.5.3
|
||||
- Better French translation, thanks to Corwin Whitehorn
|
||||
|
||||
Version 0.5.2
|
||||
- Add the information about alt-clicking to clear the outfit item
|
||||
to all tooltips
|
||||
|
||||
Version 0.5.1
|
||||
- Fix a bug where dual-wield of the same item would fail to switch
|
||||
correctly
|
||||
|
||||
Version 0.5
|
||||
- Add an option to override the values of "Show Helm" and "Show Cloak"
|
||||
when switching outfits
|
||||
- Make forced entries disabled
|
||||
|
||||
Version 0.4
|
||||
- Add outfit preview using the new 'dressing room' stuff
|
||||
- Fix two hand weapon to only off hand bug (missed from WeaponQuickSwap)
|
||||
- Count locked items as still swapping outfits
|
||||
- Use GetItemInfo to find Two-hand items, instead of parsing tooltips.
|
||||
This should mean that OutfitDisplayFrame will now switch for all
|
||||
languages, even those without explicit translations.
|
||||
|
||||
Version 0.3.1
|
||||
- Fix a typo in the item clearing code
|
||||
|
||||
Version 0.3
|
||||
- Handle outfits with banked items
|
||||
- Code cleanup
|
||||
|
||||
Version 0.2
|
||||
- Allow 'empty' items in outfits
|
||||
- More robust switching code
|
||||
@@ -1,40 +0,0 @@
|
||||
-- Magic strings
|
||||
|
||||
-- English
|
||||
OUTFITDISPLAYFRAME_NOTENOUGHFREESPACE = "Not enough free space in bags.";
|
||||
OUTFITDISPLAYFRAME_ITEMSNOTFOUND = "Outfit contains missing items.";
|
||||
OUTFITDISPLAYFRAME_INVALIDOUTFIT = "Invalid outfit format.";
|
||||
OUTFITDISPLAYFRAME_EMPTYOUTFIT = "Empty outfit.";
|
||||
OUTFITDISPLAYFRAME_ITEMSINBANK = "Outfit contains banked items.";
|
||||
OUTFITDISPLAYFRAME_TOOFASTMSG = "Can't switch outfits that quickly.";
|
||||
OUTFITDISPLAYFRAME_ALTCLICK = "Alt-click will reset to an empty slot.";
|
||||
|
||||
OUTFITDISPLAYFRAME_USECHECKBOX = "When checked, this slot is forced empty on switch.";
|
||||
OUTFITDISPLAYFRAME_OVERRIDEHELM = "When checked, override the value of \"Show Helm\" when this outfit is worn.";
|
||||
OUTFITDISPLAYFRAME_OVERRIDECLOAK = "When checked, override the value of \"Show Cloak\" when this outfit is worn.";
|
||||
|
||||
-- German
|
||||
if ( GetLocale() == "deDE" ) then
|
||||
OUTFITDISPLAYFRAME_NOTENOUGHFREESPACE = "Nicht genug Platz in den Taschen";
|
||||
OUTFITDISPLAYFRAME_ITEMSNOTFOUND = "Ausr\195\188stung enth\195\164lt fehlende Gegenst\195\164nde";
|
||||
OUTFITDISPLAYFRAME_INVALIDOUTFIT = "Ung\195\188ltiges Ausr\195\188stungsformat";
|
||||
OUTFITDISPLAYFRAME_ITEMSINBANK = "Ausstattung enth\195\164lt Gegenst\195\164nde, die auf der Bank sind.";
|
||||
OUTFITDISPLAYFRAME_TOOFASTMSG = "Sie k\195\182nnen nicht Ausstattungen schalten, die schnell.";
|
||||
|
||||
OUTFITDISPLAYFRAME_USECHECKBOX = "Wenn H\195\164ckchen gesetzt, wird der Taschenplatz wird bim Ausr\195\188stungswechsel geleert.";
|
||||
end
|
||||
|
||||
if ( GetLocale() == "frFR" ) then
|
||||
-- OUTFITDISPLAYFRAME_TWOHANDED = "Deux-mains";
|
||||
OUTFITDISPLAYFRAME_NOTENOUGHFREESPACE = "Pas assez d'espace libre dans les sacs";
|
||||
OUTFITDISPLAYFRAME_ITEMSNOTFOUND = "Articles manquants pour l'\195\169quipement choisi.";
|
||||
OUTFITDISPLAYFRAME_INVALIDOUTFIT = "Format d'\195\169quipement incorrect.";
|
||||
OUTFITDISPLAYFRAME_ITEMSINBANK = "L'\195\169quipement contient les articles en banque.";
|
||||
OUTFITDISPLAYFRAME_TOOFASTMSG = "On ne peut pas commuter les \195\169quipements aussi rapidement.";
|
||||
|
||||
OUTFITDISPLAYFRAME_ALTCLICK = "Alt-click annulera l'equipement";
|
||||
|
||||
OUTFITDISPLAYFRAME_USECHECKBOX = "Si coch\195\169, ce slot est vid\195\169 lors de la commutation.";
|
||||
OUTFITDISPLAYFRAME_OVERRIDEHELM = "Si coch\195\169, force le \"Afficher le casque\" quand cette tenue est port\195\169e.";
|
||||
OUTFITDISPLAYFRAME_OVERRIDECLOAK = "Si coch\195\169, force le \"Afficher la cape\" quand cette tenue est port\195\169e.";
|
||||
end
|
||||
@@ -1,14 +0,0 @@
|
||||
OutfitDisplayFrame
|
||||
------------------
|
||||
|
||||
This is a utility frame for handling 'outfits' -- collections of wearable
|
||||
items that you can swap with what you are currently wearing.
|
||||
|
||||
It's in its early stages, so don't expect perfection -- but it does a pretty
|
||||
good job of hanlding the basics. Plus, it handles having part of your outfits
|
||||
in the bank!
|
||||
|
||||
This would not have been possible without the incredible example of
|
||||
WeaponQuickSwap by CapnBry.
|
||||
|
||||
Feel free to send comments to Sutorix on the Windrunner server.
|
||||
Reference in New Issue
Block a user