forked from liyunfan1223/unbot-addon
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathQuestRewardFrame.xml
More file actions
109 lines (109 loc) · 3.62 KB
/
Copy pathQuestRewardFrame.xml
File metadata and controls
109 lines (109 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<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">
<Frame name="QuestRewardFrame" movable="true" enableMouse="true" toplevel="true" frameStrata="LOW" hidden="true" virtual="true">
<TitleRegion setAllPoints="true"/>
<Size>
<AbsDimension x="180" y="80" />
</Size>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11" />
</BackgroundInsets>
<TileSize>
<AbsValue val="32" />
</TileSize>
<EdgeSize>
<AbsValue val="32" />
</EdgeSize>
</Backdrop>
<Layers>
<Layer>
<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="300" y="48" />
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="18" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
</Texture>
<FontString name="$parentTitleLabel" font="Fonts\FRIZQT__.TTF" text="Select reward">
<Size>
<AbsDimension x="280" y="0" />
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="2" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="18" />
</FontHeight>
<Color r="1" g="0" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.rewardItems = {};
self.rewardBtns = {};
self.showTick = 0;
self.waitTime = 60;
</OnLoad>
<OnUpdate>
UnBotQuestRewardTick(self, GetTime());
</OnUpdate>
</Scripts>
<Frames>
<StatusBar name="$parentTickBar" drawLayer="OVERLAY" minValue="0" maxValue="1" defaultValue="1">
<Size>
<AbsDimension x="235" y="25" />
</Size>
<BarTexture file="interface\questframe\ui-questtitlehighlight" alphaMode="ADD" />
<BarColor r="0.8" g="0.8" b="0" a="0.7" />
</StatusBar>
</Frames>
</Frame>
<Button name="QuestRewardButtonTemplate" virtual="true">
<Size>
<AbsDimension y="32" x="32"/>
</Size>
<Scripts>
<OnShow>
</OnShow>
<OnEnter>
UnBotShowQuestRewardTips(self, self.item);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
UnBotSelectQuestReward(self, self.item);
</OnClick>
</Scripts>
<NormalTexture setAllPoints="true" file="interface\glues\charactercreate\ui-charactercreate-classes">
<TexCoords left="0" right="1" top="0" bottom="1" />
</NormalTexture>
<PushedTexture setAllPoints="true" file="interface\buttons\greengrad64" alphaMode="ADD">
<TexCoords left="0" right="1" top="0" bottom="1" />
</PushedTexture>
<DisabledTexture setAllPoints="true" file="Interface\Buttons\UI-Panel-Button-Disabled" alphaMode="ADD">
<TexCoords left="0" right="1" top="0" bottom="1" />
</DisabledTexture>
<HighlightTexture setAllPoints="true" file="interface\buttons\UI-Common-MouseHilight" alphaMode="ADD">
<TexCoords left="0" right="1" top="0" bottom="1" />
</HighlightTexture>
</Button>
</Ui>