-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAccountantButton.xml
48 lines (48 loc) · 1.45 KB
/
AccountantButton.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
$Id: AccountantButton.xml 69 2012-09-26 09:54:33Z arith $
-->
<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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="AccountantButton.lua"/>
<Frame name="AccountantButtonFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="AccountantButton">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<NormalTexture file="Interface\AddOns\Accountant_Classic\Images\AccountantButton-Up"/>
<PushedTexture file="Interface\AddOns\Accountant_Classic\Images\AccountantButton-Down"/>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
<Scripts>
<OnEnter>
AccountantButton_OnEnter(self);
</OnEnter>
<OnClick>
AccountantButton_OnClick();
</OnClick>
<OnMouseUp>
if (button == "RightButton") then
AccountantOptions_Toggle();
end
</OnMouseUp>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>