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/
2 ..\FrameXML\UI.xsd">
3 <Script file="IMBA_OptionsButton.lua"/>
4  
5 <Frame name="IMBA_OptionsButton" parent="Minimap" frameStrata="MEDIUM" enableMouse="true" hidden="false">
6 <Size>
7 <AbsDimension x="29" y="32"/>
8 </Size>
9 <Anchors>
10 <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
11 <Offset>
12 <AbsDimension x="2" y="0"/>
13 </Offset>
14 </Anchor>
15 </Anchors>
16 <Frames>
17 <Button name="IMBA_OptionButton">
18 <Size>
19 <AbsDimension x="32" y="32"/>
20 </Size>
21 <Anchors>
22 <Anchor point="TOPLEFT">
23 <Offset>
24 <AbsDimension x="-15" y="5"/>
25 </Offset>
26 </Anchor>
27 </Anchors>
28 <Scripts>
29 <OnLoad>
30 this:SetFrameLevel(5);
31 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
32 </OnLoad>
33 <OnClick>
34 IMBA_OptionButton_OnClick(arg1);
35 </OnClick>
36 <OnEnter>
37 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
38 if ( IMBA_SavedVariables.LockedWindows ) then
39 GameTooltip:SetText("IMBA Mod Options\nRight-click to unlock frames");
40 else
41 GameTooltip:SetText("IMBA Mod Options\nRight-click to lock frames");
42 end
43 </OnEnter>
44 <OnLeave>
45 GameTooltip:Hide();
46 </OnLeave>
47 </Scripts>
48 <Layers>
49 <Layer level="ARTWORK">
50 <Texture name="$parentTexture" file="Interface\AddOns\IMBA\textures\icon"/>
51 </Layer>
52 </Layers>
53 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
54 </Button>
55 </Frames>
56 </Frame>
57 </Ui>