vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <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/ |
2 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="localization.ge.lua"/> |
||
5 | <Script file="localization.fr.lua"/> |
||
6 | <Script file="CT_ItemBuffs.lua"/> |
||
7 | <Button name="CT_ItemBuffButtonTemplate" virtual="true"> |
||
8 | <Size> |
||
9 | <AbsDimension x="30" y="30"/> |
||
10 | </Size> |
||
11 | <Layers> |
||
12 | <Layer level="ARTWORK"> |
||
13 | <Texture name="$parentIcon"/> |
||
14 | <FontString name="$parentDescribeText" inherits="GameFontNormal" text=""> |
||
15 | <Anchors> |
||
16 | <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"> |
||
17 | <Offset> |
||
18 | <AbsDimension x="40" y="7"/> |
||
19 | </Offset> |
||
20 | </Anchor> |
||
21 | </Anchors> |
||
22 | </FontString> |
||
23 | <FontString name="$parentDurationText" inherits="GameFontNormal" text=""> |
||
24 | <Anchors> |
||
25 | <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"> |
||
26 | <Offset> |
||
27 | <AbsDimension x="40" y="-7"/> |
||
28 | </Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | </FontString> |
||
32 | </Layer> |
||
33 | </Layers> |
||
34 | <Scripts> |
||
35 | <OnLoad> |
||
36 | getglobal(this:GetName() .. "DescribeText"):SetTextColor(1, 1, 0); |
||
37 | getglobal(this:GetName() .. "DurationText"):SetTextColor(1, 1, 0); |
||
38 | this.type = 0; |
||
39 | this.slotid = 0; |
||
40 | this.update = 0; |
||
41 | this:Hide(); |
||
42 | </OnLoad> |
||
43 | <OnEnter> |
||
44 | GameTooltip:SetOwner(this, "ANCHOR_BOTTOMLEFT"); |
||
45 | GameTooltip:SetInventoryItem("player", this:GetID()); |
||
46 | </OnEnter> |
||
47 | <OnLeave> |
||
48 | GameTooltip:Hide(); |
||
49 | </OnLeave> |
||
50 | </Scripts> |
||
51 | </Button> |
||
52 | <Frame name="CT_ItemBuffFrame" parent="UIParent" hidden="false" frameStrata="LOW" toplevel="true" movable="true"> |
||
53 | <Size> |
||
54 | <AbsDimension x="50" y="50"/> |
||
55 | </Size> |
||
56 | <Anchors> |
||
57 | <Anchor point="TOPLEFT" relativeTo="CT_BuffButton0" relativePoint="BOTTOMLEFT"> |
||
58 | <Offset> |
||
59 | <AbsDimension x="0" y="-5"/> |
||
60 | </Offset> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | <Frames> |
||
64 | <Button name="CT_ItemBuffButton1" inherits="CT_ItemBuffButtonTemplate" id="1"> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOPLEFT"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="0" y="0"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | </Button> |
||
73 | <Button name="CT_ItemBuffButton2" inherits="CT_ItemBuffButtonTemplate" id="2"> |
||
74 | <Anchors> |
||
75 | <Anchor point="TOPLEFT" relativeTo="CT_ItemBuffButton1" relativePoint="BOTTOMLEFT"> |
||
76 | <Offset> |
||
77 | <AbsDimension x="0" y="-5"/> |
||
78 | </Offset> |
||
79 | </Anchor> |
||
80 | </Anchors> |
||
81 | </Button> |
||
82 | </Frames> |
||
83 | <Scripts> |
||
84 | <OnLoad> |
||
85 | --CT_ItemBuffFrame_OnLoad(); |
||
86 | this.update = 0; |
||
87 | </OnLoad> |
||
88 | <OnUpdate> |
||
89 | CT_ItemBuffFrame_OnUpdate(arg1); |
||
90 | </OnUpdate> |
||
91 | </Scripts> |
||
92 | </Frame> |
||
93 | <GameTooltip name="CT_IB_TempTooltip" inherits="GameTooltipTemplate" parent="WorldFrame" hidden="true"> |
||
94 | <Scripts> |
||
95 | <OnLoad> |
||
96 | this:SetOwner(WorldFrame, "ANCHOR_NONE"); |
||
97 | </OnLoad> |
||
98 | </Scripts> |
||
99 | </GameTooltip> |
||
100 | </Ui> |