vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 <Script file="XPerl.lua"/>
3  
4 <GameTooltip name="XPerlBuffStatusTooltip" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent" inherits="GameTooltipTemplate"/>
5  
6 <Button name="XPerl_MinimapButton_Frame" toplevel="true" frameStrata="MEDIUM" parent="Minimap" enableMouse="true" movable="true">
7 <Size>
8 <AbsDimension x="33" y="33"/>
9 </Size>
10 <Anchors>
11 <Anchor point="CENTER" relativeTo="Minimap" relativePoint="RIGHT"/>
12 </Anchors>
13 <Layers>
14 <Layer level="BACKGROUND">
15 <Texture name="XPerl_MinitmapButton_Icon" file="Interface\Icons\INV_Misc_Gem_Pearl_02">
16 <Size>
17 <AbsDimension x="21" y="21"/>
18 </Size>
19 <Anchors>
20 <Anchor point="TOPLEFT">
21 <Offset>
22 <AbsDimension x="7" y="-6"/>
23 </Offset>
24 </Anchor>
25 </Anchors>
26 <TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925"/>
27 </Texture>
28 </Layer>
29 <Layer level="BORDER">
30 <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
31 <Size>
32 <AbsDimension x="56" y="56"/>
33 </Size>
34 <Anchors>
35 <Anchor point="TOPLEFT"/>
36 </Anchors>
37 </Texture>
38 </Layer>
39 </Layers>
40 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
41 <Scripts>
42 <OnLoad>
43 this:RegisterEvent("VARIABLES_LOADED")
44 this:RegisterForClicks("LeftButtonUp","RightButtonUp")
45 this:RegisterForDrag("RightButton")
46 </OnLoad>
47 <OnEvent>
48 XPerl_MinimapButton_Init()
49 XPerl_MinimapButton_UpdatePosition()
50 </OnEvent>
51 <OnEnter>
52 XPerl_MinimapButton_OnEnter()
53 </OnEnter>
54 <OnMouseDown>
55 XPerl_MinitmapButton_Icon:SetTexCoord(0,1,0,1)
56 </OnMouseDown>
57 <OnMouseUp>
58 XPerl_MinitmapButton_Icon:SetTexCoord(.075,.925,.075,.925)
59 </OnMouseUp>
60 <OnLeave>
61 GameTooltip:Hide()
62 </OnLeave>
63 <OnDragStart>
64 this:SetScript("OnUpdate", XPerl_MinimapButton_Dragging)
65 </OnDragStart>
66 <OnDragStop>
67 this:SetScript("OnUpdate", nil)
68 </OnDragStop>
69 <OnClick>
70 XPerl_Toggle()
71 XPerl_MinitmapButton_Icon:SetTexCoord(.075,.925,.075,.925)
72 </OnClick>
73 </Scripts>
74 </Button>
75 </Ui>