forked from aim2kill/FishingBuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FishingBuddyInfoBar.xml
executable file
·43 lines (43 loc) · 1.18 KB
/
FishingBuddyInfoBar.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
<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">
<Script file="FishingBuddyInfoBar.lua"/>
<!-- InfoBar support -->
<Button name="IB_FishingBuddy" inherits="IB_BaseFrame" parent="InfoBarFrame">
<Size>
<AbsDimension x="16" y="16" />
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentIcon" file="Interface\AddOns\FishingBuddy\Icons\Fishing-Icon">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" />
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="FishingBuddyInfoBarMenu" inherits="UIDropDownMenuTemplate">
<Scripts>
<OnLoad>
this:SetFrameLevel(0);
UIDropDownMenu_SetWidth(180);
</OnLoad>
<OnShow>
UIDropDownMenu_Initialize(this, FishingBuddy.InfoBar.Menu_Initialize, "MENU");
</OnShow>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
FishingBuddy.InfoBar.OnLoad();
</OnLoad>
<OnClick>
FishingBuddy.InfoBar.OnClick(arg1);
</OnClick>
</Scripts>
</Button>
</Ui>