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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
2 <Script file="ParchmentChapter.lua"/>
3 <Frame name="ParchmentAddChapterFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="ParchmentFrame">
4 <Size>
5 <AbsDimension x="400" y="200"/>
6 </Size>
7 <Anchors>
8 <Anchor point="CENTER" relativeTo="ParchmentFrame">
9 <Offset>
10 <AbsDimension x="-8" y="0"/>
11 </Offset>
12 </Anchor>
13 </Anchors>
14 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
15 <BackgroundInsets>
16 <AbsInset left="11" right="12" top="12" bottom="11"/>
17 </BackgroundInsets>
18 <TileSize>
19 <AbsValue val="32"/>
20 </TileSize>
21 <EdgeSize>
22 <AbsValue val="32"/>
23 </EdgeSize>
24 </Backdrop>
25 <Layers>
26 <Layer level="ARTWORK">
27 <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
28 <Size>
29 <AbsDimension x="256" y="64"/>
30 </Size>
31 <Anchors>
32 <Anchor point="TOP">
33 <Offset>
34 <AbsDimension x="0" y="12"/>
35 </Offset>
36 </Anchor>
37 </Anchors>
38 </Texture>
39 <FontString name="$parentTitle" inherits="GameFontNormal" text="">
40 <Anchors>
41 <Anchor point="TOP" relativeTo="$parentHeaderTexture">
42 <Offset>
43 <AbsDimension x="0" y="-14"/>
44 </Offset>
45 </Anchor>
46 </Anchors>
47 </FontString>
48 <FontString name="$parentInfo" justifyV="top" inherits="GameFontNormal" text="">
49 <Size>
50 <AbsDimension x="350" y="100"/>
51 </Size>
52 <Anchors>
53 <Anchor point="TOP">
54 <Offset>
55 <AbsDimension x="0" y="-35"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </FontString>
60 </Layer>
61 </Layers>
62 <Frames>
63 <EditBox name="$parent_NewChapter" letters="50" historyLines="0" autoFocus="false">
64 <Size>
65 <AbsDimension x="150" y="20"/>
66 </Size>
67 <Anchors>
68 <Anchor point="TOPLEFT" relativeTo="$parentInfo" relativePoint="BOTTOMLEFT">
69 <Offset>
70 <AbsDimension x="0" y="20"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74 <TextInsets>
75 <AbsInset left="0" right="5" />
76 </TextInsets>
77 <Layers>
78 <Layer level="BACKGROUND">
79 <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
80 <Size>
81 <AbsDimension x="8" y="26"/>
82 </Size>
83 <Anchors>
84 <Anchor point="TOPLEFT">
85 <Offset>
86 <AbsDimension x="-5" y="0"/>
87 </Offset>
88 </Anchor>
89 </Anchors>
90 <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
91 </Texture>
92 <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
93 <Size>
94 <AbsDimension x="8" y="26"/>
95 </Size>
96 <Anchors>
97 <Anchor point="RIGHT">
98 <Offset>
99 <AbsDimension x="0" y="0"/>
100 </Offset>
101 </Anchor>
102 </Anchors>
103 <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
104 </Texture>
105 <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
106 <Size>
107 <AbsDimension x="10" y="26"/>
108 </Size>
109 <Anchors>
110 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
111 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
112 </Anchors>
113 <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
114 </Texture>
115 </Layer>
116 </Layers>
117  
118 <FontString inherits="GameFontHighlight"/>
119 <Scripts>
120 <OnEscapePressed>
121 this:ClearFocus()
122 </OnEscapePressed>
123 <OnEnterPressed>
124 this:ClearFocus()
125 </OnEnterPressed>
126 </Scripts>
127 </EditBox>
128  
129 <CheckButton name="$parent_AllRealms" inherits="UICheckButtonTemplate" id="1">
130 <Anchors>
131 <Anchor point="TOPLEFT" relativeTo="$parent_NewChapter" relativePoint="TOPRIGHT">
132 <Offset>
133 <AbsDimension x="20" y="2"/>
134 </Offset>
135 </Anchor>
136 </Anchors>
137 <HitRectInsets>
138 <AbsInset left="0" right="-100" top="0" bottom="0"/>
139 </HitRectInsets>
140 <Scripts>
141 <OnClick>
142 ParchmentAddChapterOption_OnClick();
143 </OnClick>
144 <OnEnter>
145 GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT");
146 GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
147 </OnEnter>
148 <OnLeave>
149 GameTooltip:Hide();
150 </OnLeave>
151 </Scripts>
152 </CheckButton>
153 <CheckButton name="$parent_ThisRealm" inherits="UICheckButtonTemplate" id="2">
154 <Anchors>
155 <Anchor point="TOPLEFT" relativeTo="$parent_AllRealms" relativePoint="TOPLEFT">
156 <Offset>
157 <AbsDimension x="100" y="0"/>
158 </Offset>
159 </Anchor>
160 </Anchors>
161 <HitRectInsets>
162 <AbsInset left="0" right="-100" top="0" bottom="0"/>
163 </HitRectInsets>
164 <Scripts>
165 <OnClick>
166 ParchmentAddChapterOption_OnClick();
167 </OnClick>
168 <OnEnter>
169 GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT");
170 GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
171 </OnEnter>
172 <OnLeave>
173 GameTooltip:Hide();
174 </OnLeave>
175 </Scripts>
176 </CheckButton>
177 <Button name="$parentSubmitButton" hidden="false" inherits="GameMenuButtonTemplate" text="Add Chapter">
178 <Size>
179 <AbsDimension x="120" y="21"/>
180 </Size>
181 <Anchors>
182 <Anchor point="BOTTOM" relativePoint="BOTTOM">
183 <Offset>
184 <AbsDimension x="-32" y="15"/>
185 </Offset>
186 </Anchor>
187 </Anchors>
188 <Scripts>
189 <OnClick>
190 ParchmentAddChapter();
191 ParchmentAddChapterFrame:Hide();
192 </OnClick>
193 </Scripts>
194 </Button>
195 <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="Cancel">
196 <Size>
197 <AbsDimension x="60" y="21"/>
198 </Size>
199 <Anchors>
200 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSubmitButton">
201 <Offset>
202 <AbsDimension x="30" y="0"/>
203 </Offset>
204 </Anchor>
205 </Anchors>
206 <Scripts>
207 <OnClick>
208 ParchmentAddChapterFrame:Hide();
209 </OnClick>
210 </Scripts>
211 </Button>
212 </Frames>
213 <Scripts>
214 <OnShow>
215 ParchmentAddChapterFrame_OnShow();
216 PlaySound("UChatScrollButton");
217 </OnShow>
218 <OnHide>
219 PlaySound("UChatScrollButton");
220 </OnHide>
221 </Scripts>
222 </Frame>
223 </Ui>