forked from ZMOT7S/Spy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSpy.xml
More file actions
37 lines (34 loc) · 1.1 KB
/
Spy.xml
File metadata and controls
37 lines (34 loc) · 1.1 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
<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">
<Button name="SpySecureActionButtonTemplate" hidden="true" virtual="true" enableMouse="true" inherits="SecureActionButtonTemplate">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<HighlightTexture file="Interface\CharacterFrame\BarFill.blp" alphaMode="ADD" setAllPoints="true" hidden="true"/>
<Scripts>
<OnLoad>
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
this:SetAttribute("type1", "macro");
this:SetAttribute("macrotext", "/targetexact nil");
</OnLoad>
<OnEnter>
Spy:ShowTooltip(true);
</OnEnter>
<OnLeave>
Spy:ShowTooltip(false);
</OnLeave>
<PreClick>
Spy:ButtonClicked();
</PreClick>
</Scripts>
</Button>
<Frame name="Spy_UpdateFrame">
<Scripts>
<OnUpdate>
if Spy.EnabledInZone and GameTooltip:IsOwned(Minimap) and (Spy.db.profile.MinimapTracking or Spy.db.profile.MinimapDetails) then
Spy:TrackHumanoids();
end
</OnUpdate>
</Scripts>
</Frame>
</Ui>