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