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"> |
2 | <Script file="WIM_Titan.lua" /> |
||
3 | <Frame parent="UIParent"> |
||
4 | <Frames> |
||
5 | <Button name="TitanPanelWIMButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true"> |
||
6 | <Scripts> |
||
7 | <OnLoad> |
||
8 | WIM_TitanButton_OnLoad(); |
||
9 | </OnLoad> |
||
10 | <OnClick> |
||
11 | WIM_Icon_ToolTip:Hide(); |
||
12 | if(arg1 == "LeftButton") then |
||
13 | WIM_Titan_ToggleDropDown(); |
||
14 | else |
||
15 | WIM_ShowNewMessages(); |
||
16 | end |
||
17 | </OnClick> |
||
18 | <OnShow> |
||
19 | WIM_TitanButton_OnShow(); |
||
20 | </OnShow> |
||
21 | <OnEnter> |
||
22 | if(WIM_Data.showToolTips == true) then |
||
23 | WIM_Icon_ToolTip:Show(); |
||
24 | WIM_Icon_ToolTip:ClearAllPoints(); |
||
25 | WIM_Icon_ToolTip:SetPoint("TOPLEFT", this, "BOTTOMLEFT", 0 , 0); |
||
26 | end |
||
27 | </OnEnter> |
||
28 | <OnLeave> |
||
29 | WIM_Icon_ToolTip:Hide(); |
||
30 | </OnLeave> |
||
31 | </Scripts> |
||
32 | <Frames> |
||
33 | <Frame name="WIM_Titan_NewMessageFlash" hidden="true" frameStrata="TOOLTIP"> |
||
34 | <Size> |
||
35 | <AbsDimension x="25" y="25"/> |
||
36 | </Size> |
||
37 | <Anchors> |
||
38 | <Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPLEFT"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="0" y="0"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | <Layers> |
||
45 | <Layer level="BACKGROUND"> |
||
46 | <Texture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"> |
||
47 | <Size> |
||
48 | <AbsDimension x="20" y="20"/> |
||
49 | </Size> |
||
50 | <Anchors> |
||
51 | <Anchor point="TOPLEFT"> |
||
52 | <Offset> |
||
53 | <AbsDimension x="0" y="0"/> |
||
54 | </Offset> |
||
55 | </Anchor> |
||
56 | </Anchors> |
||
57 | </Texture> |
||
58 | </Layer> |
||
59 | </Layers> |
||
60 | </Frame> |
||
61 | <Frame name="WIM_Titan_DropDown" inherits="UIDropDownMenuTemplate" frameStrata="TOOLTIP" toplevel="true" hidden="true"> |
||
62 | <Size> |
||
63 | <AbsDimension x="10" y="10"/> |
||
64 | </Size> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOPLEFT"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="0" y="0"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | <Scripts> |
||
73 | <OnLoad> |
||
74 | WIM_Titan_InitMenu(); |
||
75 | </OnLoad> |
||
76 | </Scripts> |
||
77 | </Frame> |
||
78 | </Frames> |
||
79 | </Button> |
||
80 | </Frames> |
||
81 | </Frame> |
||
82 | </Ui> |