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 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="IMBA_MinimapMarkers.lua"/> |
||
4 | |||
5 | <Frame name="IMBA_MinimapMarkers" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH"> |
||
6 | <Size> |
||
7 | <AbsDimension x="170" y="120"/> |
||
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="-8" y="-8"/> |
||
29 | </Offset> |
||
30 | </Anchor> |
||
31 | </Anchors> |
||
32 | </Frame> |
||
33 | <Frame name="$parent_RaidMarker1" inherits="IMBA_IconTemplateLarge"> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOP"> |
||
36 | <Offset> |
||
37 | <AbsDimension x="-57" y="-26"/> |
||
38 | </Offset> |
||
39 | </Anchor> |
||
40 | </Anchors> |
||
41 | <Scripts> |
||
42 | <OnMouseDown> |
||
43 | IMBA_SetRaidMarker=true; |
||
44 | IMBA_UseRaidMarker=1; |
||
45 | </OnMouseDown> |
||
46 | </Scripts> |
||
47 | </Frame> |
||
48 | <Frame name="$parent_RaidMarker2" inherits="IMBA_IconTemplateLarge"> |
||
49 | <Anchors> |
||
50 | <Anchor point="TOP"> |
||
51 | <Offset> |
||
52 | <AbsDimension x="-19" y="-26"/> |
||
53 | </Offset> |
||
54 | </Anchor> |
||
55 | </Anchors> |
||
56 | <Scripts> |
||
57 | <OnMouseDown> |
||
58 | IMBA_SetRaidMarker=true; |
||
59 | IMBA_UseRaidMarker=2; |
||
60 | </OnMouseDown> |
||
61 | </Scripts> |
||
62 | </Frame> |
||
63 | <Frame name="$parent_RaidMarker3" inherits="IMBA_IconTemplateLarge"> |
||
64 | <Anchors> |
||
65 | <Anchor point="TOP"> |
||
66 | <Offset> |
||
67 | <AbsDimension x="19" y="-26"/> |
||
68 | </Offset> |
||
69 | </Anchor> |
||
70 | </Anchors> |
||
71 | <Scripts> |
||
72 | <OnMouseDown> |
||
73 | IMBA_SetRaidMarker=true; |
||
74 | IMBA_UseRaidMarker=3; |
||
75 | </OnMouseDown> |
||
76 | </Scripts> |
||
77 | </Frame> |
||
78 | <Frame name="$parent_RaidMarker4" inherits="IMBA_IconTemplateLarge"> |
||
79 | <Anchors> |
||
80 | <Anchor point="TOP"> |
||
81 | <Offset> |
||
82 | <AbsDimension x="57" y="-26"/> |
||
83 | </Offset> |
||
84 | </Anchor> |
||
85 | </Anchors> |
||
86 | <Scripts> |
||
87 | <OnMouseDown> |
||
88 | IMBA_SetRaidMarker=true; |
||
89 | IMBA_UseRaidMarker=4; |
||
90 | </OnMouseDown> |
||
91 | </Scripts> |
||
92 | </Frame> |
||
93 | <Frame name="$parent_RaidMarker5" inherits="IMBA_IconTemplateLarge"> |
||
94 | <Anchors> |
||
95 | <Anchor point="TOP" relativeTo="$parent_RaidMarker1" relativePoint="BOTTOM"> |
||
96 | <Offset> |
||
97 | <AbsDimension x="0" y="-6"/> |
||
98 | </Offset> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | <Scripts> |
||
102 | <OnMouseDown> |
||
103 | IMBA_SetRaidMarker=true; |
||
104 | IMBA_UseRaidMarker=5; |
||
105 | </OnMouseDown> |
||
106 | </Scripts> |
||
107 | </Frame> |
||
108 | <Frame name="$parent_RaidMarker6" inherits="IMBA_IconTemplateLarge"> |
||
109 | <Anchors> |
||
110 | <Anchor point="TOP" relativeTo="$parent_RaidMarker2" relativePoint="BOTTOM"> |
||
111 | <Offset> |
||
112 | <AbsDimension x="0" y="-6"/> |
||
113 | </Offset> |
||
114 | </Anchor> |
||
115 | </Anchors> |
||
116 | <Scripts> |
||
117 | <OnMouseDown> |
||
118 | IMBA_SetRaidMarker=true; |
||
119 | IMBA_UseRaidMarker=6; |
||
120 | </OnMouseDown> |
||
121 | </Scripts> |
||
122 | </Frame> |
||
123 | <Frame name="$parent_RaidMarker7" inherits="IMBA_IconTemplateLarge"> |
||
124 | <Anchors> |
||
125 | <Anchor point="TOP" relativeTo="$parent_RaidMarker3" relativePoint="BOTTOM"> |
||
126 | <Offset> |
||
127 | <AbsDimension x="0" y="-6"/> |
||
128 | </Offset> |
||
129 | </Anchor> |
||
130 | </Anchors> |
||
131 | <Scripts> |
||
132 | <OnMouseDown> |
||
133 | IMBA_SetRaidMarker=true; |
||
134 | IMBA_UseRaidMarker=7; |
||
135 | </OnMouseDown> |
||
136 | </Scripts> |
||
137 | </Frame> |
||
138 | <Frame name="$parent_RaidMarker8" inherits="IMBA_IconTemplateLarge"> |
||
139 | <Anchors> |
||
140 | <Anchor point="TOP" relativeTo="$parent_RaidMarker4" relativePoint="BOTTOM"> |
||
141 | <Offset> |
||
142 | <AbsDimension x="0" y="-6"/> |
||
143 | </Offset> |
||
144 | </Anchor> |
||
145 | </Anchors> |
||
146 | <Scripts> |
||
147 | <OnMouseDown> |
||
148 | IMBA_SetRaidMarker=true; |
||
149 | IMBA_UseRaidMarker=8; |
||
150 | </OnMouseDown> |
||
151 | </Scripts> |
||
152 | </Frame> |
||
153 | <Frame name="$parent_ClearMarkers" inherits="IMBA_TitleTemplate"> |
||
154 | <Anchors> |
||
155 | <Anchor point="BOTTOM"> |
||
156 | <Offset> |
||
157 | <AbsDimension x="0" y="8"/> |
||
158 | </Offset> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | <Scripts> |
||
162 | <OnMouseDown> |
||
163 | IMBA_Minimap_ClearMarkers(); |
||
164 | </OnMouseDown> |
||
165 | </Scripts> |
||
166 | </Frame> |
||
167 | <Frame name="$parent_Close" enableMouse="true"> |
||
168 | <Size> |
||
169 | <AbsDimension x="24" y="24"/> |
||
170 | </Size> |
||
171 | <Anchors> |
||
172 | <Anchor point="TOPRIGHT"> |
||
173 | <Offset> |
||
174 | <AbsDimension x="0" y="0"/> |
||
175 | </Offset> |
||
176 | </Anchor> |
||
177 | </Anchors> |
||
178 | <Layers> |
||
179 | <Layer level="OVERLAY"> |
||
180 | <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp"> |
||
181 | <Size> |
||
182 | <AbsDimension x="32" y="32"/> |
||
183 | </Size> |
||
184 | <Anchors> |
||
185 | <Anchor point="TOPRIGHT"/> |
||
186 | </Anchors> |
||
187 | </Texture> |
||
188 | </Layer> |
||
189 | </Layers> |
||
190 | <Scripts> |
||
191 | <OnLoad> |
||
192 | this:SetBackdropBorderColor(1, 1, 1, 1); |
||
193 | this:SetBackdropColor(0.0,0.0,0.0,0); |
||
194 | </OnLoad> |
||
195 | <OnMouseDown> |
||
196 | IMBA_MinimapMarkers:Hide(); |
||
197 | </OnMouseDown> |
||
198 | </Scripts> |
||
199 | </Frame> |
||
200 | |||
201 | </Frames> |
||
202 | <Scripts> |
||
203 | <OnLoad> |
||
204 | IMBA_MinimapMarkers_OnLoad(); |
||
205 | </OnLoad> |
||
206 | <OnMouseUp> |
||
207 | if ( this.isMoving ) then |
||
208 | this:StopMovingOrSizing(); |
||
209 | this.isMoving = false; |
||
210 | end |
||
211 | </OnMouseUp> |
||
212 | <OnMouseDown> |
||
213 | if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
||
214 | this:StartMoving(); |
||
215 | this.isMoving = true; |
||
216 | end |
||
217 | </OnMouseDown> |
||
218 | <OnHide> |
||
219 | if ( this.isMoving ) then |
||
220 | this:StopMovingOrSizing(); |
||
221 | this.isMoving = false; |
||
222 | end |
||
223 | </OnHide> |
||
224 | </Scripts> |
||
225 | </Frame> |
||
226 | </Ui> |