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="CT_MovableParty.lua"/> |
||
5 | <Button name="CT_MovableParty_DragTemplate" virtual="true" frameStrata="LOW" hidden="true" movable="true" toplevel="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="80" y="15"/> |
||
8 | </Size> |
||
9 | <TitleRegion setAllPoints="true"/> |
||
10 | <Scripts> |
||
11 | <OnEnter> |
||
12 | GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT"); |
||
13 | GameTooltip:SetText("Left-click to drag"); |
||
14 | </OnEnter> |
||
15 | <OnLeave> |
||
16 | GameTooltip:Hide(); |
||
17 | </OnLeave> |
||
18 | </Scripts> |
||
19 | </Button> |
||
20 | <Frame name="CT_MovableParty" parent="UIParent"> |
||
21 | <Frames> |
||
22 | <Frame setAllPoints="true"> |
||
23 | <Frames> |
||
24 | <Frame setAllPoints="true"> |
||
25 | <Frames> |
||
26 | <Button name="CT_MovableParty1_Drag" inherits="CT_MovableParty_DragTemplate" id="1"> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="50" y="-131"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | <Scripts> |
||
35 | <OnLoad> |
||
36 | CT_LinkFrameDrag(PartyMemberFrame1, this, "TOPLEFT", "TOPLEFT", -40, -7); |
||
37 | </OnLoad> |
||
38 | </Scripts> |
||
39 | </Button> |
||
40 | <Button name="CT_MovableParty2_Drag" inherits="CT_MovableParty_DragTemplate" id="2"> |
||
41 | <Anchors> |
||
42 | <Anchor point="TOPLEFT" relativeTo="CT_MovableParty1_Drag" relativePoint="TOPLEFT"> |
||
43 | <Offset> |
||
44 | <AbsDimension x="0" y="-63"/> |
||
45 | </Offset> |
||
46 | </Anchor> |
||
47 | </Anchors> |
||
48 | <Scripts> |
||
49 | <OnLoad> |
||
50 | CT_LinkFrameDrag(PartyMemberFrame2, this, "TOPLEFT", "TOPLEFT", -40, -7); |
||
51 | </OnLoad> |
||
52 | </Scripts> |
||
53 | </Button> |
||
54 | <Button name="CT_MovableParty3_Drag" inherits="CT_MovableParty_DragTemplate" id="3"> |
||
55 | <Anchors> |
||
56 | <Anchor point="TOPLEFT" relativeTo="CT_MovableParty2_Drag" relativePoint="TOPLEFT"> |
||
57 | <Offset> |
||
58 | <AbsDimension x="0" y="-63"/> |
||
59 | </Offset> |
||
60 | </Anchor> |
||
61 | </Anchors> |
||
62 | <Scripts> |
||
63 | <OnLoad> |
||
64 | CT_LinkFrameDrag(PartyMemberFrame3, this, "TOPLEFT", "TOPLEFT", -40, -3); |
||
65 | </OnLoad> |
||
66 | </Scripts> |
||
67 | </Button> |
||
68 | <Button name="CT_MovableParty4_Drag" inherits="CT_MovableParty_DragTemplate" id="4"> |
||
69 | <Anchors> |
||
70 | <Anchor point="TOPLEFT" relativeTo="CT_MovableParty3_Drag" relativePoint="TOPLEFT"> |
||
71 | <Offset> |
||
72 | <AbsDimension x="0" y="-63"/> |
||
73 | </Offset> |
||
74 | </Anchor> |
||
75 | </Anchors> |
||
76 | <Scripts> |
||
77 | <OnLoad> |
||
78 | CT_LinkFrameDrag(PartyMemberFrame4, this, "TOPLEFT", "TOPLEFT", -40, -3); |
||
79 | </OnLoad> |
||
80 | </Scripts> |
||
81 | </Button> |
||
82 | </Frames> |
||
83 | </Frame> |
||
84 | </Frames> |
||
85 | </Frame> |
||
86 | </Frames> |
||
87 | <Scripts> |
||
88 | <OnLoad> |
||
89 | this:RegisterEvent("PARTY_MEMBERS_CHANGED"); |
||
90 | </OnLoad> |
||
91 | <OnEvent> |
||
92 | CT_MovableParty_UpdateMembers(); |
||
93 | </OnEvent> |
||
94 | <OnUpdate> |
||
95 | CT_MovableParty_OnUpdate(arg1); |
||
96 | </OnUpdate> |
||
97 | </Scripts> |
||
98 | </Frame> |
||
99 | </Ui> |