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="CT_Tickmod.lua"/> |
||
5 | <Frame name="CT_TicksFrame" movable="true" hidden="false" parent="UIParent"> |
||
6 | <Size> |
||
7 | <AbsDimension x="100" y="40"/> |
||
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="67"/> |
||
24 | </Offset> |
||
25 | </Anchor> |
||
26 | </Anchors> |
||
27 | <Layers> |
||
28 | <Layer level="ARTWORK"> |
||
29 | <FontString name="CT_TicksHealth" hidden="false" inherits="GameFontNormal" text=""> |
||
30 | <Anchors> |
||
31 | <Anchor point="TOP"> |
||
32 | <Offset> |
||
33 | <AbsDimension x="0" y="-5"/> |
||
34 | </Offset> |
||
35 | </Anchor> |
||
36 | </Anchors> |
||
37 | </FontString> |
||
38 | <FontString name="CT_TicksMana" hidden="false" inherits="GameFontNormal" text=""> |
||
39 | <Anchors> |
||
40 | <Anchor point="TOP"> |
||
41 | <Offset> |
||
42 | <AbsDimension x="0" y="-20"/> |
||
43 | </Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </FontString> |
||
47 | </Layer> |
||
48 | </Layers> |
||
49 | <Scripts> |
||
50 | <OnUpdate> |
||
51 | CT_TickMod_Fade(arg1); |
||
52 | </OnUpdate> |
||
53 | <OnLoad> |
||
54 | this.update = 0; |
||
55 | this.alphamana = 1; |
||
56 | this.alphahealth = 1; |
||
57 | this:RegisterEvent("UNIT_HEALTH"); |
||
58 | this:RegisterEvent("UNIT_MAXHEALTH"); |
||
59 | this:RegisterEvent("UNIT_MANA"); |
||
60 | this:RegisterEvent("UNIT_MAXMANA"); |
||
61 | this:RegisterEvent("VARIABLES_LOADED"); |
||
62 | </OnLoad> |
||
63 | <OnEvent> |
||
64 | CT_TickMod_OnEvent(event); |
||
65 | </OnEvent> |
||
66 | <OnMouseDown> |
||
67 | if ( arg1 == "LeftButton" and ( not CT_RegisterMod or CT_MF_ShowFrames ) ) then |
||
68 | this:StartMoving(); |
||
69 | end |
||
70 | </OnMouseDown> |
||
71 | <OnEnter> |
||
72 | CT_TickMod_OnEnter(); |
||
73 | </OnEnter> |
||
74 | <OnLeave> |
||
75 | GameTooltip:Hide(); |
||
76 | </OnLeave> |
||
77 | <OnMouseUp> |
||
78 | if ( arg1 == "LeftButton" ) then |
||
79 | this:StopMovingOrSizing(); |
||
80 | end |
||
81 | </OnMouseUp> |
||
82 | <OnHide> |
||
83 | this:StopMovingOrSizing(); |
||
84 | </OnHide> |
||
85 | </Scripts> |
||
86 | </Frame> |
||
87 | <Frame parent="UIParent"> |
||
88 | <Frames> |
||
89 | <Button name="TitanPanelRegenButton" inherits="TitanPanelTextTemplate" frameStrata="FULLSCREEN" toplevel="true"> |
||
90 | <Scripts> |
||
91 | <OnLoad> |
||
92 | if ( TitanPanelButton_OnLoad ) then |
||
93 | TitanPanelRegenButton_OnLoad(); |
||
94 | TitanPanelButton_OnLoad(); |
||
95 | end |
||
96 | </OnLoad> |
||
97 | </Scripts> |
||
98 | </Button> |
||
99 | </Frames> |
||
100 | </Frame> |
||
101 | </Ui> |