2025-06-16 02:37:01 +08:00
|
|
|
<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">
|
2025-06-09 14:33:51 +08:00
|
|
|
|
2025-06-16 02:37:01 +08:00
|
|
|
<Button name="SM_CollectionSystemWardrobeSlotButtonTemplate" parentArray="Buttons"
|
|
|
|
|
virtual="true">
|
2025-06-09 14:33:51 +08:00
|
|
|
<KeyValues>
|
2025-06-16 02:37:01 +08:00
|
|
|
<KeyValue key="transmogType" value="LE_TRANSMOG_TYPE_ILLUSION" type="global" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</KeyValues>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="25" y="25" />
|
|
|
|
|
<NormalTexture parentKey="NormalTexture"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-nav-slot-enchant" useAtlasSize="true">
|
|
|
|
|
<Size x="29" y="29" />
|
|
|
|
|
<TexCoords left="0.4140625" right="0.470703125" top="0.248046875" bottom="0.3046875" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</NormalTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture parentKey="Highlight"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\ContainerFrame\Bags"
|
|
|
|
|
atlas="bags-roundhighlight" alphaMode="ADD" hidden="true">
|
|
|
|
|
<Size x="21" y="21" />
|
|
|
|
|
<TexCoords left="0.1640625" right="0.3046875" top="0.6875" bottom="0.828125" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" x="0" y="2" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="SelectedTexture"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-nav-slot-selected-small" useAtlasSize="true" hidden="true">
|
|
|
|
|
<Size x="37" y="37" />
|
|
|
|
|
<TexCoords left="0.734375" right="0.802734375" top="0.171875"
|
|
|
|
|
bottom="0.244140625" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
</Button>
|
|
|
|
|
|
2025-06-16 02:37:01 +08:00
|
|
|
<DressUpModel name="SM_CollectionSystemWardrobeItemsModelTemplate"
|
|
|
|
|
mixin="WardrobeItemsModelMixin" virtual="true">
|
|
|
|
|
<Size x="78" y="104" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Layers>
|
|
|
|
|
<Layer level="BACKGROUND">
|
|
|
|
|
<Texture parentKey="SolidBackground" setAllPoints="true">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Color r="0" g="0" b="0" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Texture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="StoreUnderlay"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\SubscriptionOverlay"
|
|
|
|
|
hidden="true">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="82" y="108" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.32421875" right="0.64453125" top="0" bottom="0.84375" />
|
|
|
|
|
</Texture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="SubscriptionUnderlay"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\SubscriptionOverlay"
|
|
|
|
|
hidden="true">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="82" y="108" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.3203125" right="0" top="0" bottom="0.84375" />
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
<Layer level="OVERLAY" textureSubLevel="-1">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="Border"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-wardrobe-border-collected" useAtlasSize="true">
|
|
|
|
|
<Size x="96" y="122" />
|
|
|
|
|
<TexCoords left="0.001953125" right="0.189453125" top="0.255859375"
|
|
|
|
|
bottom="0.494140625" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" x="0" y="-3" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="TransmogStateTexture"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-wardrobe-border-selected" useAtlasSize="true" alphaMode="ADD"
|
|
|
|
|
hidden="true">
|
|
|
|
|
<Size x="102" y="128" />
|
|
|
|
|
<TexCoords left="0.001953125" right="0.201171875" top="0.001953125"
|
|
|
|
|
bottom="0.251953125" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
<Layer level="OVERLAY" textureSubLevel="1">
|
2025-06-16 02:37:01 +08:00
|
|
|
<FontString name="$parentNewString" parentKey="NewString"
|
|
|
|
|
inherits="GameFontHighlight" maxLines="1" justifyH="CENTER" text="NEW_CAPS"
|
|
|
|
|
hidden="true">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Shadow>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Color r="0.32" g="0.5" b="1.0" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Shadow>
|
|
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="TOP" x="0" y="8" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</FontString>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="NewGlow"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Collections\Collections"
|
|
|
|
|
atlas="collections-newglow" hidden="true">
|
|
|
|
|
<Size x="59" y="37" />
|
|
|
|
|
<TexCoords left="0.51171875" right="0.626953125" top="0.013671875"
|
|
|
|
|
bottom="0.0859375" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="TOPLEFT" relativeTo="$parentNewString" x="-20" y="10" />
|
|
|
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parentNewString" x="20" y="-10" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
<Layer level="HIGHLIGHT">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-wardrobe-border-highlighted" alphaMode="ADD" useAtlasSize="true">
|
|
|
|
|
<Size x="84" y="110" />
|
|
|
|
|
<TexCoords left="0.205078125" right="0.369140625" top="0.439453125"
|
|
|
|
|
bottom="0.654296875" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="CENTER" x="0" y="0" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
</Texture>
|
2025-06-09 14:33:51 +08:00
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
<Frames>
|
|
|
|
|
<Frame parentKey="Favorite" setAllPoints="true">
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="ARTWORK">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="Icon"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Collections\Collections"
|
|
|
|
|
atlas="collections-icon-favorites" useAtlasSize="true" hidden="true">
|
|
|
|
|
<Size x="31" y="33" />
|
|
|
|
|
<TexCoords left="0.181640625" right="0.2421875" top="0.013671875"
|
|
|
|
|
bottom="0.078125" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="TOPLEFT" x="-12" y="13" relativePoint="TOPLEFT" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Frame parentKey="HideVisual" setAllPoints="true">
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="ARTWORK">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture parentKey="Icon"
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Interface\Transmogrify\Transmogrify"
|
|
|
|
|
atlas="transmog-icon-hidden" useAtlasSize="true" hidden="true">
|
|
|
|
|
<Size x="35" y="30" />
|
|
|
|
|
<TexCoords left="0.806640625" right="0.875" top="0.171875"
|
|
|
|
|
bottom="0.23046875" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Anchor point="TOPLEFT" x="-12" y="13" relativePoint="TOPLEFT" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Anchors>
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Button parentKey="ClaimQuest" hidden="true">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="21" y="21" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-12" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture file="Interface\AddOns\SM_CollectionSystem\Textures\ClaimQuest"
|
|
|
|
|
alphaMode="ADD">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="106" y="46" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-6" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.4140625" top="0.46875" bottom="0.828125" />
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
<NormalTexture file="Interface\AddOns\SM_CollectionSystem\Textures\ClaimQuest">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.234375" top="0" bottom="0.46875" />
|
|
|
|
|
</NormalTexture>
|
|
|
|
|
<PushedTexture file="Interface\AddOns\SM_CollectionSystem\Textures\ClaimQuest">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.234375" right="0.46875" top="0" bottom="0.46875" />
|
|
|
|
|
</PushedTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture file="Interface\AddOns\SM_CollectionSystem\Textures\ClaimQuest"
|
|
|
|
|
alphaMode="ADD" alpha="0.75">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.46875" right="0.703125" top="0" bottom="0.46875" />
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnClick>
|
|
|
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
|
|
|
|
ezCollections:BeginClaimQuest(self:GetParent().visualInfo.visualID);
|
|
|
|
|
</OnClick>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
2025-06-16 02:37:01 +08:00
|
|
|
GameTooltip:SetText(ezCollections.L["ClaimQuest.Tooltip.Header"],
|
|
|
|
|
NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
|
|
|
|
|
GameTooltip:AddLine(ezCollections.L["ClaimQuest.Tooltip.Text"],
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
|
|
|
|
|
1);
|
2025-06-09 14:33:51 +08:00
|
|
|
GameTooltip:Show();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button parentKey="StoreButton" hidden="true">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="21" y="21" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-12" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="106" y="46" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-6" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.4140625" top="0.234375" bottom="0.4140625" />
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
<NormalTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.234375" top="0" bottom="0.234375" />
|
|
|
|
|
</NormalTexture>
|
|
|
|
|
<PushedTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.234375" right="0.46875" top="0" bottom="0.234375" />
|
|
|
|
|
</PushedTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD" alpha="0.75">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.46875" right="0.703125" top="0" bottom="0.234375" />
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnClick>
|
|
|
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
2025-06-16 02:37:01 +08:00
|
|
|
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil,
|
|
|
|
|
format(ezCollections.StoreURLSkinFormat,
|
|
|
|
|
self:GetParent().visualInfo.visualID));
|
2025-06-09 14:33:51 +08:00
|
|
|
</OnClick>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
|
|
|
|
GameTooltip:SetText(ezCollections.L["Tooltip.Store.Header"], 0, 0.75, 1, 1);
|
2025-06-16 02:37:01 +08:00
|
|
|
GameTooltip:AddLine(ezCollections.L["Tooltip.Store.Text"],
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
|
|
|
|
|
1);
|
2025-06-09 14:33:51 +08:00
|
|
|
GameTooltip:Show();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button parentKey="SubscriptionButton" hidden="true">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="21" y="21" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-12" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="106" y="46" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-6" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.4140625" top="0.234375" bottom="0.4140625" />
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
<NormalTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.234375" top="0.5" bottom="0.734375" />
|
|
|
|
|
</NormalTexture>
|
|
|
|
|
<PushedTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.234375" right="0.46875" top="0.5" bottom="0.734375" />
|
|
|
|
|
</PushedTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD" alpha="0.75">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.46875" right="0.703125" top="0" bottom="0.234375" />
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnClick>
|
|
|
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
2025-06-16 02:37:01 +08:00
|
|
|
local subscription =
|
|
|
|
|
ezCollections:GetSubscriptionForSkin(self:GetParent().visualInfo.visualID);
|
|
|
|
|
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil, subscription and
|
|
|
|
|
subscription.URL or "");
|
2025-06-09 14:33:51 +08:00
|
|
|
</OnClick>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
2025-06-16 02:37:01 +08:00
|
|
|
local subscription =
|
|
|
|
|
ezCollections:GetSubscriptionForSkin(self:GetParent().visualInfo.visualID);
|
2025-06-09 14:33:51 +08:00
|
|
|
if subscription then
|
2025-06-16 02:37:01 +08:00
|
|
|
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"], 0, 0.75,
|
|
|
|
|
1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
|
|
|
|
|
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Description, HIGHLIGHT_FONT_COLOR.r,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(" ", HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(ezCollections.L["Tooltip.Subscription.Text"],
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
|
|
|
|
|
1);
|
2025-06-09 14:33:51 +08:00
|
|
|
end
|
|
|
|
|
GameTooltip:Show();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button parentKey="StoreSubscriptionButton" hidden="true">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="21" y="21" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-12" x="-16" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<NormalTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.234375" top="0" bottom="0.234375" />
|
|
|
|
|
</NormalTexture>
|
|
|
|
|
<PushedTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
|
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.234375" right="0.46875" top="0" bottom="0.234375" />
|
|
|
|
|
</PushedTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD" alpha="0.75">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.46875" right="0.703125" top="0" bottom="0.234375" />
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnClick>
|
|
|
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
2025-06-16 02:37:01 +08:00
|
|
|
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil,
|
|
|
|
|
format(ezCollections.StoreURLSkinFormat,
|
|
|
|
|
self:GetParent().visualInfo.visualID));
|
2025-06-09 14:33:51 +08:00
|
|
|
</OnClick>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
|
|
|
|
GameTooltip:SetText(ezCollections.L["Tooltip.Store.Header"], 0, 0.75, 1, 1);
|
2025-06-16 02:37:01 +08:00
|
|
|
GameTooltip:AddLine(ezCollections.L["Tooltip.Store.Text"],
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
|
|
|
|
|
1);
|
2025-06-09 14:33:51 +08:00
|
|
|
GameTooltip:Show();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
<Frames>
|
|
|
|
|
<Button>
|
2025-06-16 02:37:01 +08:00
|
|
|
<Size x="21" y="21" />
|
2025-06-09 14:33:51 +08:00
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" x="32" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="OVERLAY">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="106" y="46" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="BOTTOM" y="-6" x="-16" />
|
|
|
|
|
</Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<TexCoords left="0" right="0.4140625" top="0.734375"
|
|
|
|
|
bottom="0.9140625" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
2025-06-16 02:37:01 +08:00
|
|
|
<NormalTexture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0" right="0.234375" top="0.5" bottom="0.734375" />
|
|
|
|
|
</NormalTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<PushedTexture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.234375" right="0.46875" top="0.5" bottom="0.734375" />
|
|
|
|
|
</PushedTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\StoreOverlay"
|
|
|
|
|
alphaMode="ADD" alpha="0.75">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="30" y="30" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="0.46875" right="0.703125" top="0" bottom="0.234375" />
|
|
|
|
|
</HighlightTexture>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnClick>
|
|
|
|
|
PlaySound("igMainMenuOptionCheckBoxOn");
|
2025-06-16 02:37:01 +08:00
|
|
|
local subscription =
|
|
|
|
|
ezCollections:GetSubscriptionForSkin(self:GetParent():GetParent().visualInfo.visualID);
|
|
|
|
|
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil, subscription
|
|
|
|
|
and subscription.URL or "");
|
2025-06-09 14:33:51 +08:00
|
|
|
</OnClick>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
2025-06-16 02:37:01 +08:00
|
|
|
local subscription =
|
|
|
|
|
ezCollections:GetSubscriptionForSkin(self:GetParent():GetParent().visualInfo.visualID);
|
2025-06-09 14:33:51 +08:00
|
|
|
if subscription then
|
2025-06-16 02:37:01 +08:00
|
|
|
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"],
|
|
|
|
|
0, 0.75, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
|
|
|
|
|
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Description,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(" ", HIGHLIGHT_FONT_COLOR.r,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(ezCollections.L["Tooltip.Subscription.Text"],
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
2025-06-09 14:33:51 +08:00
|
|
|
end
|
|
|
|
|
GameTooltip:Show();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
</Button>
|
|
|
|
|
</Frames>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button parentKey="SubscriptionOverlay" hidden="true">
|
|
|
|
|
<Size x="16" y="16" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="TOPRIGHT" x="10" y="10" />
|
|
|
|
|
</Anchors>
|
2025-06-16 02:37:01 +08:00
|
|
|
<NormalTexture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\SubscriptionOverlay"
|
|
|
|
|
setAllPoints="true">
|
|
|
|
|
<TexCoords left="0.00390625" right="0.06640625" top="0.8515625"
|
|
|
|
|
bottom="0.9765625" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</NormalTexture>
|
2025-06-16 02:37:01 +08:00
|
|
|
<HighlightTexture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\SubscriptionOverlay"
|
|
|
|
|
setAllPoints="true" alphaMode="ADD" alpha="0.4">
|
|
|
|
|
<TexCoords left="0.07421875" right="0.13671875" top="0.8515625"
|
|
|
|
|
bottom="0.9765625" />
|
2025-06-09 14:33:51 +08:00
|
|
|
</HighlightTexture>
|
|
|
|
|
<Layers>
|
|
|
|
|
<Layer level="BACKGROUND">
|
2025-06-16 02:37:01 +08:00
|
|
|
<Texture
|
|
|
|
|
file="Interface\AddOns\SM_CollectionSystem\Textures\SubscriptionOverlay"
|
|
|
|
|
alphaMode="ADD">
|
2025-06-09 14:33:51 +08:00
|
|
|
<Size x="90" y="90" />
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="TOPRIGHT" x="10" y="10" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
<TexCoords left="1" right="0.6484375" top="0" bottom="0.703125" />
|
|
|
|
|
</Texture>
|
|
|
|
|
</Layer>
|
|
|
|
|
</Layers>
|
|
|
|
|
<Scripts>
|
|
|
|
|
<OnLoad>
|
|
|
|
|
function self:UpdateTooltip()
|
2025-06-16 02:37:01 +08:00
|
|
|
local subscription =
|
|
|
|
|
ezCollections:GetActiveSubscriptionForSkin(self:GetParent().visualInfo.visualID);
|
|
|
|
|
if subscription then
|
|
|
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
|
|
|
|
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"], 0, 0.75,
|
|
|
|
|
1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
|
|
|
|
|
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
|
|
|
|
|
GameTooltip:AddLine(subscription.Description, HIGHLIGHT_FONT_COLOR.r,
|
|
|
|
|
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
|
|
|
|
|
local remaining = ezCollections:FormatRemainingTime(subscription.EndTime -
|
|
|
|
|
time());
|
|
|
|
|
if remaining then
|
|
|
|
|
GameTooltip:AddLine(remaining, GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g,
|
|
|
|
|
GRAY_FONT_COLOR.b, 1, 1);
|
|
|
|
|
end
|
|
|
|
|
GameTooltip:Show();
|
|
|
|
|
end
|
2025-06-09 14:33:51 +08:00
|
|
|
end
|
|
|
|
|
</OnLoad>
|
|
|
|
|
<OnEnter>
|
|
|
|
|
self:UpdateTooltip();
|
|
|
|
|
</OnEnter>
|
|
|
|
|
<OnLeave function="GameTooltip_Hide" />
|
|
|
|
|
</Scripts>
|
|
|
|
|
</Button>
|
|
|
|
|
<Frame parentKey="Loading" inherits="LoadingSpinnerTemplate" hidden="true">
|
|
|
|
|
<Anchors>
|
|
|
|
|
<Anchor point="CENTER" />
|
|
|
|
|
</Anchors>
|
|
|
|
|
</Frame>
|
|
|
|
|
</Frames>
|
2025-06-16 02:37:01 +08:00
|
|
|
|
2025-06-09 14:33:51 +08:00
|
|
|
</DressUpModel>
|
|
|
|
|
|
2025-06-16 02:37:01 +08:00
|
|
|
</Ui>
|