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 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="ShieldLeft.lua"/> |
||
5 | <Frame name="ShieldLeftFrame" parent="UIParent" movable="true" hidden="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="100" y="35"/> |
||
8 | </Size> |
||
9 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
10 | <EdgeSize> |
||
11 | <AbsValue val="16"/> |
||
12 | </EdgeSize> |
||
13 | <TileSize> |
||
14 | <AbsValue val="16"/> |
||
15 | </TileSize> |
||
16 | <BackgroundInsets> |
||
17 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
18 | </BackgroundInsets> |
||
19 | </Backdrop> |
||
20 | <Anchors> |
||
21 | <Anchor point="RIGHT" relativeTo="Minimap" relativePoint="LEFT"> |
||
22 | <Offset> |
||
23 | <AbsDimension x="-14" y="0"/> |
||
24 | </Offset> |
||
25 | </Anchor> |
||
26 | </Anchors> |
||
27 | <Layers> |
||
28 | <Layer level="ARTWORK"> |
||
29 | <FontString name="$parentText" hidden="false" inherits="GameFontNormal" text=""> |
||
30 | <Anchors> |
||
31 | <Anchor point="CENTER"/> |
||
32 | </Anchors> |
||
33 | </FontString> |
||
34 | </Layer> |
||
35 | </Layers> |
||
36 | <Scripts> |
||
37 | <OnLoad> |
||
38 | ShieldLeft_OnLoad(); |
||
39 | </OnLoad> |
||
40 | <OnShow> |
||
41 | this:SetBackdropColor(0, 0, 1, 0.5); |
||
42 | this.recognized = 1; |
||
43 | getglobal(this:GetName() .. "Text"):SetText(SL_MSG_SHIELDLEFT .. SL_ShieldLeft .. "|r"); |
||
44 | this:SetWidth(getglobal(this:GetName() .. "Text"):GetWidth()+10); |
||
45 | this:SetHeight(getglobal(this:GetName() .. "Text"):GetHeight()+15); |
||
46 | </OnShow> |
||
47 | <OnEvent> |
||
48 | ShieldLeft_OnEvent(event); |
||
49 | </OnEvent> |
||
50 | <OnMouseDown> |
||
51 | if ( arg1 == "LeftButton" ) then |
||
52 | this:StartMoving(); |
||
53 | end |
||
54 | </OnMouseDown> |
||
55 | <OnEnter> |
||
56 | ShieldLeft_OnEnter(); |
||
57 | </OnEnter> |
||
58 | <OnLeave> |
||
59 | GameTooltip:Hide(); |
||
60 | </OnLeave> |
||
61 | <OnMouseUp> |
||
62 | if ( arg1 == "LeftButton" ) then |
||
63 | this:StopMovingOrSizing(); |
||
64 | end |
||
65 | </OnMouseUp> |
||
66 | <OnHide> |
||
67 | this:StopMovingOrSizing(); |
||
68 | </OnHide> |
||
69 | </Scripts> |
||
70 | </Frame> |
||
71 | <GameTooltip name="ShieldLeftTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"> |
||
72 | <Scripts> |
||
73 | <OnLoad> |
||
74 | this:SetOwner(UIParent,"ANCHOR_NONE") |
||
75 | </OnLoad> |
||
76 | </Scripts> |
||
77 | </GameTooltip> |
||
78 | |||
79 | </Ui> |