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 | <Frame name="AtlasButtonFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW"> |
||
4 | <Size> |
||
5 | <AbsDimension x="32" y="32"/> |
||
6 | </Size> |
||
7 | <Anchors> |
||
8 | <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT"> |
||
9 | <Offset> |
||
10 | <AbsDimension x="2" y="0"/> |
||
11 | </Offset> |
||
12 | </Anchor> |
||
13 | </Anchors> |
||
14 | <Frames> |
||
15 | <Button name="AtlasButton"> |
||
16 | <Size> |
||
17 | <AbsDimension x="32" y="32"/> |
||
18 | </Size> |
||
19 | <Anchors> |
||
20 | <Anchor point="TOPLEFT"> |
||
21 | <Offset> |
||
22 | <AbsDimension x="0" y="0"/> |
||
23 | </Offset> |
||
24 | </Anchor> |
||
25 | </Anchors> |
||
26 | <NormalTexture file="Interface\AddOns\Atlas\Images\AtlasButton-Up"/> |
||
27 | <PushedTexture file="Interface\AddOns\Atlas\Images\AtlasButton-Down"/> |
||
28 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
29 | <Scripts> |
||
30 | <OnLoad> |
||
31 | this:RegisterForDrag("RightButton"); |
||
32 | this.dragme = false; |
||
33 | </OnLoad> |
||
34 | <OnDragStart> |
||
35 | this.dragme = true; |
||
36 | </OnDragStart> |
||
37 | <OnDragStop> |
||
38 | this.dragme = false; |
||
39 | </OnDragStop> |
||
40 | <OnUpdate> |
||
41 | if(this.dragme == true) then |
||
42 | AtlasButton_BeingDragged(); |
||
43 | end |
||
44 | </OnUpdate> |
||
45 | <OnClick> |
||
46 | AtlasButton_OnClick(); |
||
47 | </OnClick> |
||
48 | <OnEnter> |
||
49 | AtlasButton_OnEnter(); |
||
50 | </OnEnter> |
||
51 | <OnLeave> |
||
52 | GameTooltip:Hide(); |
||
53 | </OnLeave> |
||
54 | </Scripts> |
||
55 | </Button> |
||
56 | </Frames> |
||
57 | <Scripts> |
||
58 | <OnLoad> |
||
59 | this:RegisterEvent("VARIABLES_LOADED"); |
||
60 | </OnLoad> |
||
61 | <OnEvent> |
||
62 | AtlasButton_Init(); |
||
63 | AtlasButton_UpdatePosition(); |
||
64 | </OnEvent> |
||
65 | </Scripts> |
||
66 | </Frame> |
||
67 | </Ui> |