-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathWIM_Titan.xml
83 lines (83 loc) · 2.25 KB
/
WIM_Titan.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
71
72
73
74
75
76
77
78
79
80
81
82
83
<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">
<Script file="WIM_Titan.lua" />
<Frame parent="UIParent">
<Frames>
<Button name="TitanPanelWIMButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
<Scripts>
<OnLoad>
WIM_TitanButton_OnLoad();
</OnLoad>
<OnClick>
WIM_Icon_ToolTip:Hide();
if(arg1 == "LeftButton") then
WIM_Titan_ToggleDropDown();
else
WIM_ShowNewMessages();
end
</OnClick>
<OnShow>
WIM_TitanButton_OnShow();
</OnShow>
<OnEnter>
if(WIM_Data.showToolTips == true) then
WIM_Icon_ToolTip:Show();
WIM_Icon_ToolTip:ClearAllPoints();
WIM_Icon_ToolTip:SetPoint("TOPLEFT", this, "BOTTOMLEFT", 0 , 0);
end
</OnEnter>
<OnLeave>
WIM_Icon_ToolTip:Hide();
</OnLeave>
</Scripts>
<Frames>
<Frame name="WIM_Titan_NewMessageFlash" hidden="true" frameStrata="TOOLTIP">
<Size>
<AbsDimension x="25" y="25"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="WIM_Titan_DropDown" inherits="UIDropDownMenuTemplate" frameStrata="TOOLTIP" toplevel="true" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WIM_Titan_InitMenu();
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Button>
</Frames>
</Frame>
</Ui>