-
Notifications
You must be signed in to change notification settings - Fork 7
/
EnhancedFlightMap.xml
70 lines (66 loc) · 1.91 KB
/
EnhancedFlightMap.xml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<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">
<!-- Scripts -->
<Script file="EnhancedFlightMap.lua"></Script>
<Script file="data.lua"></Script>
<Script file="FlightMaster.lua"></Script>
<Script file="nodeinfo.lua" ></Script>
<Script file="KnownPaths.lua"></Script>
<Script file="Timer.lua"></Script>
<Script file="map.lua"></Script>
<Script file="ConfigScreen.lua"></Script>
<Script file="message.lua"></Script>
<Script file="MapWindow.lua"></Script>
<!-- Template for the map points of interests -->
<Button name="EFM_POI_Template" virtual="true" frameStrata="TOOLTIP">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
<!-- self:SetFrameStrata("TOOLTIP"); -->
<!-- self:SetFrameLevel(self:GetFrameLevel() - 1); -->
</OnLoad>
<OnEnter>
EFM_MAP_POIOnEnter(self);
</OnEnter>
<OnLeave>
EFM_ToolTip:Hide();
</OnLeave>
</Scripts>
<HighlightTexture file="Interface\TaxiFrame\UI-Taxi-Icon-Highlight">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<!-- The scripts that run for the program -->
<Frame name="EnhancedFlightMapFrame">
<Scripts>
<OnLoad>
self:RegisterEvent("ADDON_LOADED");
</OnLoad>
<OnEvent>
EnhancedFlightMap_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
EFM_Timer_EventFrame_OnUpdate(self);
</OnUpdate>
</Scripts>
</Frame>
<!-- Tooltip reference, this is the EFM tooltip used for all EFM tooltip displays -->
<GameToolTip name="EFM_ToolTip" inherits="GameToolTipTemplate"/>
</Ui>