121 lines
3.9 KiB
XML
121 lines
3.9 KiB
XML
<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="QuestPOI.lua"/>
|
|
|
|
<Button name="QuestPOITemplate" hidden="true" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
<HitRectInsets>
|
|
<AbsInset left="8" right="8" top="8" bottom="8"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\WorldMap\UI-QuestPoi-IconGlow.tga" alphaMode="ADD" hidden="true" parentKey="selectionGlow">
|
|
<Size>
|
|
<AbsDimension x="50" y="50"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentIconNumber" file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" parentKey="number">
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture name="$parentIconTurnin" file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga" parentKey="turnin" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeTo="$parentIconNumber">
|
|
<Offset>
|
|
<AbsDimension x="-1" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.0" right="0.50" top="0.0" bottom="0.50" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.normalTexture:SetDrawLayer("BORDER");
|
|
self.pushedTexture:SetDrawLayer("BORDER");
|
|
</OnLoad>
|
|
<OnMouseDown function="QuestPOIButton_OnMouseDown" />
|
|
<OnMouseUp function="QuestPOIButton_OnMouseUp" />
|
|
</Scripts>
|
|
<NormalTexture file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" parentKey="normalTexture">
|
|
<TexCoords left="0.875" right="1" top="0.875" bottom="1" />
|
|
</NormalTexture>
|
|
<HighlightTexture file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="ADD" parentKey="highlightTexture">
|
|
<TexCoords left="0.625" right=".750" top="0.875" bottom="1" />
|
|
</HighlightTexture>
|
|
<PushedTexture file="Interface\WorldMap\UI-QuestPoi-NumberIcons.tga" alphaMode="BLEND" parentKey="pushedTexture">
|
|
<TexCoords left="0.750" right=".875" top="0.875" bottom="1" />
|
|
</PushedTexture>
|
|
</Button>
|
|
<Button name="QuestPOICompletedTemplate" hidden="true" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
<HitRectInsets>
|
|
<AbsInset left="12" right="12" top="8" bottom="8"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\WorldMap\UI-QuestPoi-IconGlow.tga" alphaMode="ADD" hidden="true" parentKey="selectionGlow">
|
|
<Size>
|
|
<AbsDimension x="50" y="50"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
self.highlightTexture:SetPoint("CENTER", 1, -1);
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
self.highlightTexture:SetPoint("CENTER", 0, 0);
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga" parentKey="normalTexture">
|
|
<TexCoords left="0.0" right="0.5" top="0.0" bottom="0.5" />
|
|
</NormalTexture>
|
|
<HighlightTexture file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga" parentKey="highlightTexture">
|
|
<Size>
|
|
<AbsDimension x="32" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<TexCoords left="0.5" right="1" top="0.0" bottom="0.5" />
|
|
</HighlightTexture>
|
|
<PushedTexture file="Interface\WorldMap\UI-WorldMap-QuestIcon.tga" parentKey="pushedTexture">
|
|
<TexCoords left="0.0" right="0.5" top="0.5" bottom="1.0" />
|
|
</PushedTexture>
|
|
</Button>
|
|
</Ui> |