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/ ..\FrameXML\UI.xsd"> |
2 | |||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="simpleMinimap.lua"/> |
||
5 | |||
6 | <Frame name="simpleMinimap" parent="Minimap" topLevel="true"> |
||
7 | <Scripts> |
||
8 | <OnLoad>smm_onLoad()</OnLoad> |
||
9 | <OnEvent>smm_onEvent()</OnEvent> |
||
10 | <OnMouseWheel>smm_minimapZoom(arg1)</OnMouseWheel> |
||
11 | </Scripts> |
||
12 | <Size> |
||
13 | <AbsDimension x="112" y="112"/> |
||
14 | </Size> |
||
15 | <Anchors> |
||
16 | <Anchor point="CENTER"/> |
||
17 | </Anchors> |
||
18 | </Frame> |
||
19 | |||
20 | <Frame name="smm_moverTemplate" parent="UIParent" topLevel="true" enableMouse="true" virtual="true"> |
||
21 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background"/> |
||
22 | <Scripts> |
||
23 | <OnDragStart>smm_frameDrag(true,this.smmName)</OnDragStart> |
||
24 | <OnDragStop>smm_frameDrag(false,this.smmName)</OnDragStop> |
||
25 | <OnEnter> |
||
26 | GameTooltip:SetOwner(this,"ANCHOR_CURSOR") |
||
27 | GameTooltip:SetText("|cFFF5B800left-click to drag |cFFFFFF99"..this.smmMover.."\n|cFFFFCC66/smm lock |cFFF5B800to hide") |
||
28 | </OnEnter> |
||
29 | <OnLeave>GameTooltip:Hide()</OnLeave> |
||
30 | </Scripts> |
||
31 | </Frame> |
||
32 | |||
33 | <Frame name="smm_questMover" inherits="smm_moverTemplate"> |
||
34 | <Size> |
||
35 | <AbsDimension x="280" y="80"/> |
||
36 | </Size> |
||
37 | <Anchors> |
||
38 | <Anchor point="CENTER" relativeTo="QuestWatchFrame" relativePoint="CENTER"/> |
||
39 | </Anchors> |
||
40 | <Scripts> |
||
41 | <OnLoad> |
||
42 | this.smmMover="QuestWatchFrame" |
||
43 | this.smmName="quest" |
||
44 | QuestWatchFrame:SetMovable(true) |
||
45 | this:RegisterForDrag("LeftButton") |
||
46 | this:SetAlpha(0.4) |
||
47 | </OnLoad> |
||
48 | </Scripts> |
||
49 | </Frame> |
||
50 | |||
51 | <Frame name="smm_dollMover" inherits="smm_moverTemplate"> |
||
52 | <Size> |
||
53 | <AbsDimension x="60" y="65"/> |
||
54 | </Size> |
||
55 | <Anchors> |
||
56 | <Anchor point="CENTER" relativeTo="DurabilityFrame" relativePoint="CENTER"/> |
||
57 | </Anchors> |
||
58 | <Scripts> |
||
59 | <OnLoad> |
||
60 | this.smmMover="DurabilityFrame" |
||
61 | this.smmName="doll" |
||
62 | DurabilityFrame:SetMovable(true) |
||
63 | this:RegisterForDrag("LeftButton") |
||
64 | this:SetAlpha(0.4) |
||
65 | </OnLoad> |
||
66 | </Scripts> |
||
67 | </Frame> |
||
68 | |||
69 | <Frame name="smm_timerMover" inherits="smm_moverTemplate"> |
||
70 | <Size> |
||
71 | <AbsDimension x="160" y="72"/> |
||
72 | </Size> |
||
73 | <Anchors> |
||
74 | <Anchor point="CENTER" relativeTo="QuestTimerFrame" relativePoint="CENTER"/> |
||
75 | </Anchors> |
||
76 | <Scripts> |
||
77 | <OnLoad> |
||
78 | this.smmMover="QuestTimerFrame" |
||
79 | this.smmName="timer" |
||
80 | QuestTimerFrame:SetMovable(true) |
||
81 | this:RegisterForDrag("LeftButton") |
||
82 | this:SetAlpha(0.4) |
||
83 | </OnLoad> |
||
84 | </Scripts> |
||
85 | </Frame> |
||
86 | |||
87 | </Ui> |