vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 ..\FrameXML\UI.xsd">
3 <Script file="IMBA_FriendlyNeighbor.lua"/>
4  
5 <Frame name="IMBA_FriendlyNeighbor" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
6 <Size>
7 <AbsDimension x="200" y="152"/>
8 </Size>
9 <Anchors>
10 <Anchor point="CENTER"/>
11 </Anchors>
12 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
13 <EdgeSize>
14 <AbsValue val="16"/>
15 </EdgeSize>
16 <TileSize>
17 <AbsValue val="16"/>
18 </TileSize>
19 <BackgroundInsets>
20 <AbsInset left="5" right="5" top="5" bottom="5"/>
21 </BackgroundInsets>
22 </Backdrop>
23 <Frames>
24 <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
25 <Anchors>
26 <Anchor point="TOP">
27 <Offset>
28 <AbsDimension x="0" y="-8"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </Frame>
33 <StatusBar name="$parent_Player1" inherits="IMBA_UnitHealthTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
36 <Offset>
37 <AbsDimension x="0" y="-4"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 </StatusBar>
42 <StatusBar name="$parent_Player2" inherits="IMBA_UnitHealthTemplate">
43 <Anchors>
44 <Anchor point="TOP" relativeTo="$parent_Player1" relativePoint="BOTTOM">
45 <Offset>
46 <AbsDimension x="0" y="-4"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </StatusBar>
51 <StatusBar name="$parent_Player3" inherits="IMBA_UnitHealthTemplate">
52 <Anchors>
53 <Anchor point="TOP" relativeTo="$parent_Player2" relativePoint="BOTTOM">
54 <Offset>
55 <AbsDimension x="0" y="-4"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </StatusBar>
60 <StatusBar name="$parent_Player4" inherits="IMBA_UnitHealthTemplate">
61 <Anchors>
62 <Anchor point="TOP" relativeTo="$parent_Player3" relativePoint="BOTTOM">
63 <Offset>
64 <AbsDimension x="0" y="-4"/>
65 </Offset>
66 </Anchor>
67 </Anchors>
68 </StatusBar>
69 <StatusBar name="$parent_Player5" inherits="IMBA_UnitHealthTemplate">
70 <Anchors>
71 <Anchor point="TOP" relativeTo="$parent_Player4" relativePoint="BOTTOM">
72 <Offset>
73 <AbsDimension x="0" y="-4"/>
74 </Offset>
75 </Anchor>
76 </Anchors>
77 </StatusBar>
78 <Frame name="$parent_Close" enableMouse="true">
79 <Size>
80 <AbsDimension x="24" y="24"/>
81 </Size>
82 <Anchors>
83 <Anchor point="TOPRIGHT">
84 <Offset>
85 <AbsDimension x="0" y="0"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 <Layers>
90 <Layer level="OVERLAY">
91 <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
92 <Size>
93 <AbsDimension x="32" y="32"/>
94 </Size>
95 <Anchors>
96 <Anchor point="TOPRIGHT"/>
97 </Anchors>
98 </Texture>
99 </Layer>
100 </Layers>
101 <Scripts>
102 <OnLoad>
103 this:SetBackdropBorderColor(1, 1, 1, 1);
104 this:SetBackdropColor(0.0,0.0,0.0,0);
105 </OnLoad>
106 <OnMouseDown>
107 IMBA_FriendlyNeighbor:Hide();
108 </OnMouseDown>
109 </Scripts>
110 </Frame>
111 </Frames>
112 <Scripts>
113 <OnLoad>
114 IMBA_FriendlyNeighbor_OnLoad();
115 </OnLoad>
116 <OnMouseUp>
117 if ( this.isMoving ) then
118 this:StopMovingOrSizing();
119 this.isMoving = false;
120 end
121 </OnMouseUp>
122 <OnMouseDown>
123 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
124 this:StartMoving();
125 this.isMoving = true;
126 end
127 </OnMouseDown>
128 <OnHide>
129 if ( this.isMoving ) then
130 this:StopMovingOrSizing();
131 this.isMoving = false;
132 end
133 </OnHide>
134 <OnUpdate>
135 IMBA_FriendlyNeighbor_OnUpdate();
136 </OnUpdate>
137 </Scripts>
138 </Frame>
139 </Ui>