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/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
||
4 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
5 | |||
6 | <Script file="LazyRogueMinimap.lua"/> |
||
7 | |||
8 | <Frame name="LazyRogueMinimapFrame" parent="Minimap" enableMouse="false" frameStrata="MEDIUM" hidden="true"> |
||
9 | <Size> |
||
10 | <AbsDimension x="33" y="33"/> |
||
11 | </Size> |
||
12 | <Anchors> |
||
13 | <Anchor point="CENTER" relativeTo="Minimap" relativePoint="CENTER"/> |
||
14 | </Anchors> |
||
15 | <Frames> |
||
16 | <Button name="LazyRogueMinimapButton"> |
||
17 | <Size> |
||
18 | <AbsDimension x="33" y="33"/> |
||
19 | </Size> |
||
20 | <Anchors> |
||
21 | <Anchor point="CENTER"/> |
||
22 | </Anchors> |
||
23 | <Layers> |
||
24 | <Layer level="ARTWORK"> |
||
25 | <Texture name="LazyRogueMinimapIcon" file="Interface\AddOns\LazyRogue\img\lr"> |
||
26 | <Size> |
||
27 | <AbsDimension x="18" y="18"/> |
||
28 | </Size> |
||
29 | <Anchors> |
||
30 | <Anchor point="TOPLEFT"> |
||
31 | <Offset> |
||
32 | <AbsDimension x="7" y="-6"/> |
||
33 | </Offset> |
||
34 | </Anchor> |
||
35 | </Anchors> |
||
36 | </Texture> |
||
37 | </Layer> |
||
38 | <Layer level="OVERLAY"> |
||
39 | <Texture file="Interface\Minimap\MiniMap-TrackingBorder"> |
||
40 | <Size> |
||
41 | <AbsDimension x="52" y="52"/> |
||
42 | </Size> |
||
43 | <Anchors> |
||
44 | <Anchor point="TOPLEFT"/> |
||
45 | </Anchors> |
||
46 | </Texture> |
||
47 | </Layer> |
||
48 | </Layers> |
||
49 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
50 | <Scripts> |
||
51 | <OnLoad> |
||
52 | lrmm.OnLoad() |
||
53 | this:RegisterForDrag("RightButton") |
||
54 | this.dragme = false |
||
55 | </OnLoad> |
||
56 | <OnDragStart> |
||
57 | this.dragme = true |
||
58 | </OnDragStart> |
||
59 | <OnDragStop> |
||
60 | this.dragme = false |
||
61 | </OnDragStop> |
||
62 | <OnUpdate> |
||
63 | if (this.dragme == true) then |
||
64 | lrmm.Button_BeingDragged() |
||
65 | end |
||
66 | </OnUpdate> |
||
67 | <OnEnter> |
||
68 | lrmm.OnEnter() |
||
69 | </OnEnter> |
||
70 | <OnLeave> |
||
71 | GameTooltip:Hide() |
||
72 | </OnLeave> |
||
73 | <OnClick> |
||
74 | lrmm.OnClick(arg1) |
||
75 | </OnClick> |
||
76 | <OnEvent> |
||
77 | lrmm.OnEvent() |
||
78 | </OnEvent> |
||
79 | </Scripts> |
||
80 | </Button> |
||
81 | </Frames> |
||
82 | </Frame> |
||
83 | |||
84 | <Frame name="LazyRogueMinimapMenu" inherits="UIDropDownMenuTemplate" id="1" hidden="false"> |
||
85 | <Size> |
||
86 | <AbsDimension x="0" y="0"/> |
||
87 | </Size> |
||
88 | <Anchors> |
||
89 | <Anchor point="TOPLEFT" relativeTo="LazyRogueMinimapButton" relativePoint="CENTER"> |
||
90 | <Offset> |
||
91 | <AbsDimension x="300" y="0"/> |
||
92 | </Offset> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | <Scripts> |
||
96 | <OnLoad> |
||
97 | this:SetFrameLevel(0) |
||
98 | UIDropDownMenu_SetWidth(180) |
||
99 | </OnLoad> |
||
100 | <OnShow> |
||
101 | UIDropDownMenu_Initialize(this, lrmm.Menu_Initialize, "MENU") |
||
102 | </OnShow> |
||
103 | </Scripts> |
||
104 | </Frame> |
||
105 | |||
106 | </Ui> |