vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1  
2 <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/">
3 <Script file="menu.lua"/>
4  
5 <CheckButton name="DYCheckTemplate" hidden="false" virtual="true">
6 <Size>
7 <AbsDimension x="32" y="32"/>
8 </Size>
9 <Layers>
10 <Layer level="ARTWORK">
11 <FontString name="$parentText" inherits="GameFontNormalSmall" text="">
12 <Anchors>
13 <Anchor point="LEFT" relativePoint="RIGHT">
14 <Offset>
15 <AbsDimension x="0" y="0"/>
16 </Offset>
17 </Anchor>
18 </Anchors>
19 </FontString>
20 </Layer>
21 </Layers>
22 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
23 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
24 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
25 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
26 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
27 <Scripts>
28 <OnShow>
29 DYMenu_Show();
30 </OnShow>
31 <OnClick>
32 DYMenu_Click();
33 </OnClick>
34 <OnEnter>
35 DYMenu_Enter();
36 </OnEnter>
37 <OnLeave>
38 GameTooltip:Hide();
39 </OnLeave>
40 </Scripts>
41 </CheckButton>
42  
43 <Frame name="DividerTemplate" hidden="false" virtual="true">
44 <Size>
45 <AbsDimension x="200" y="19" />
46 </Size>
47 <Layers>
48 <Layer level="BACKGROUND">
49 <Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider">
50 <Size>
51 <AbsDimension x="134" y="20" />
52 </Size>
53 <Anchors>
54 <Anchor point="TOPLEFT" />
55 </Anchors>
56 <TexCoords left="0" right="1.0" top="0" bottom="0.3125" />
57 </Texture>
58 <Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider">
59 <Size>
60 <AbsDimension x="55" y="20" />
61 </Size>
62 <Anchors>
63 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
64 <Offset>
65 <AbsDimension x="0" y="1" />
66 </Offset>
67 </Anchor>
68 </Anchors>
69 <TexCoords left="0" right="1.0" top="0.3125" bottom="0.625" />
70 </Texture>
71 <Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameDivider">
72 <Size>
73 <AbsDimension x="101" y="20" />
74 </Size>
75 <Anchors>
76 <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
77 </Anchors>
78 <TexCoords left="0" right="0.25390625" top="0.625" bottom="0.9375" />
79 </Texture>
80 </Layer>
81 </Layers>
82 </Frame>
83  
84 <Frame name="DYmenu" frameStrata="DIALOG" parent="UIParent" hidden="true" toplevel="true" movable="true" enableMouse="true">
85 <Size>
86 <AbsDimension x="300" y="360" />
87 </Size>
88 <Anchors>
89 <Anchor point="CENTER" />
90 </Anchors>
91 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border"
92 tile="true">
93 <BackgroundInsets>
94 <AbsInset left="11" right="12" top="12" bottom="11" />
95 <Size>
96 <AbsDimension x="128" y="17" />
97 </Size>
98 </BackgroundInsets>
99 <TileSize>
100 <AbsValue val="32" />
101 </TileSize>
102 <EdgeSize>
103 <AbsValue val="32" />
104 </EdgeSize>
105 </Backdrop>
106  
107 <Layers>
108 <Layer level="ARTWORK">
109 <Texture name="DYFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
110 <Size>
111 <AbsDimension x="276" y="64" />
112 </Size>
113 <Anchors>
114 <Anchor point="TOP">
115 <Offset>
116 <AbsDimension x="0" y="12" />
117 </Offset>
118 </Anchor>
119 </Anchors>
120 </Texture>
121 <FontString name="DYFrameTitleText" inherits="GameFontNormal" text="Defend Yourself!">
122 <Anchors>
123 <Anchor point="TOP" relativeTo="DYmenu">
124 <Offset>
125 <AbsDimension x="0" y="-3" />
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </FontString>
130 </Layer>
131 </Layers>
132 <Frames>
133  
134 <CheckButton name="DYToggle" inherits="DYCheckTemplate" id="1"><Anchors><Anchor point="LEFT" relativeTo="DYFrameTitle" relativePoint="LEFT"><Offset><AbsDimension x="30" y="-30" /></Offset></Anchor></Anchors></CheckButton>
135 <CheckButton name="DYYellow" inherits="DYCheckTemplate" id="2"><Anchors><Anchor point="LEFT" relativeTo="DYToggle" relativePoint="LEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors></CheckButton>
136 <CheckButton name="DYFaction" inherits="DYCheckTemplate" id="3"><Anchors><Anchor point="LEFT" relativeTo="DYYellow" relativePoint="LEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors></CheckButton>
137 <CheckButton name="DYDebuff" inherits="DYCheckTemplate" id="4"><Anchors><Anchor point="LEFT" relativeTo="DYFaction" relativePoint="LEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors></CheckButton>
138 <CheckButton name="DYBloodlust" inherits="DYCheckTemplate" id="5"><Anchors><Anchor point="LEFT" relativeTo="DYDebuff" relativePoint="LEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors></CheckButton>
139 <CheckButton name="DYAssist" inherits="DYCheckTemplate" id="6"><Anchors><Anchor point="LEFT" relativeTo="DYBloodlust" relativePoint="LEFT"><Offset><AbsDimension x="0" y="-30" /></Offset></Anchor></Anchors></CheckButton>
140  
141  
142 <Button name="DYClose" inherits="GameMenuButtonTemplate" text="Close">
143 <Anchors>
144 <Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="DYmenu">
145 <Offset>
146 <AbsDimension x="0" y="30" />
147 </Offset>
148 </Anchor>
149 </Anchors>
150 <Scripts>
151 <OnClick>
152 DYmenu:Hide();
153 </OnClick>
154 </Scripts>
155 </Button>
156 </Frames>
157 </Frame>
158 </Ui>