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_Heigan.lua"/> |
||
4 | |||
5 | <Frame name="IMBA_Heigan" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH"> |
||
6 | <Size> |
||
7 | <AbsDimension x="200" y="258"/> |
||
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="0" y="-8"/> |
||
29 | </Offset> |
||
30 | </Anchor> |
||
31 | </Anchors> |
||
32 | </Frame> |
||
33 | <StatusBar name="$parent_TimerEruption" inherits="IMBA_BarTimerTemplate"> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM"> |
||
36 | <Offset> |
||
37 | <AbsDimension x="0" y="-4"/> |
||
38 | </Offset> |
||
39 | </Anchor> |
||
40 | </Anchors> |
||
41 | </StatusBar> |
||
42 | |||
43 | <StatusBar name="$parent_TimerPlague" inherits="IMBA_BarTimerTemplate"> |
||
44 | <Anchors> |
||
45 | <Anchor point="TOP" relativeTo="$parent_TimerEruption" relativePoint="BOTTOM"> |
||
46 | <Offset> |
||
47 | <AbsDimension x="0" y="-4"/> |
||
48 | </Offset> |
||
49 | </Anchor> |
||
50 | </Anchors> |
||
51 | </StatusBar> |
||
52 | |||
53 | <Frame name="$parent_Close" enableMouse="true"> |
||
54 | <Size> |
||
55 | <AbsDimension x="24" y="24"/> |
||
56 | </Size> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPRIGHT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="0" y="0"/> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | <Layers> |
||
65 | <Layer level="OVERLAY"> |
||
66 | <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp"> |
||
67 | <Size> |
||
68 | <AbsDimension x="32" y="32"/> |
||
69 | </Size> |
||
70 | <Anchors> |
||
71 | <Anchor point="TOPRIGHT"/> |
||
72 | </Anchors> |
||
73 | </Texture> |
||
74 | </Layer> |
||
75 | </Layers> |
||
76 | <Scripts> |
||
77 | <OnLoad> |
||
78 | this:SetBackdropBorderColor(1, 1, 1, 1); |
||
79 | this:SetBackdropColor(0.0,0.0,0.0,0); |
||
80 | </OnLoad> |
||
81 | <OnMouseDown> |
||
82 | IMBA_Heigan:Hide(); |
||
83 | </OnMouseDown> |
||
84 | </Scripts> |
||
85 | </Frame> |
||
86 | </Frames> |
||
87 | |||
88 | <Layers> |
||
89 | <Layer level="ARTWORK"> |
||
90 | <Texture name="$parent_ImageSafe" file="Interface\AddOns\IMBA\Mods\NaxxPlague\heigan\erupt1.blp"> |
||
91 | <Size> |
||
92 | <AbsDimension x="256" y="256"/> |
||
93 | </Size> |
||
94 | <Anchors> |
||
95 | <Anchor point="TOP"> |
||
96 | <Offset> |
||
97 | <AbsDimension x="0" y="-65"/> |
||
98 | </Offset> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | </Texture> |
||
102 | </Layer> |
||
103 | </Layers> |
||
104 | <Scripts> |
||
105 | <OnLoad> |
||
106 | IMBA_Heigan_OnLoad(); |
||
107 | </OnLoad> |
||
108 | <OnEvent> |
||
109 | IMBA_Heigan_OnEvent(event); |
||
110 | </OnEvent> |
||
111 | <OnMouseUp> |
||
112 | if ( this.isMoving ) then |
||
113 | this:StopMovingOrSizing(); |
||
114 | this.isMoving = false; |
||
115 | end |
||
116 | </OnMouseUp> |
||
117 | <OnMouseDown> |
||
118 | if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
||
119 | this:StartMoving(); |
||
120 | this.isMoving = true; |
||
121 | end |
||
122 | </OnMouseDown> |
||
123 | <OnShow> |
||
124 | IMBA_Heigan_RegisterEvents(); |
||
125 | </OnShow> |
||
126 | <OnHide> |
||
127 | IMBA_Heigan_UnregisterEvents(); |
||
128 | if ( this.isMoving ) then |
||
129 | this:StopMovingOrSizing(); |
||
130 | this.isMoving = false; |
||
131 | end |
||
132 | </OnHide> |
||
133 | </Scripts> |
||
134 | </Frame> |
||
135 | </Ui> |