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 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="localization.lua"/>
4 <Script file="localization.ge.lua"/>
5 <Script file="localization.fr.lua"/>
6 <Script file="CT_PlayerNotes.lua"/>
7 <Button name="CT_PlayerNotesTemplate" virtual="true" hidden="false">
8 <Size>
9 <AbsDimension x="16" y="16"/>
10 </Size>
11 <Anchors>
12 <Anchor point="RIGHT" relativePoint="LEFT">
13 <Offset>
14 <AbsDimension x="295" y="0"/>
15 </Offset>
16 </Anchor>
17 </Anchors>
18 <Scripts>
19 <OnClick>
20 CT_PlayerNotesEditFrame.note = this.note;
21 CT_PlayerNotesEditFrame.id = this:GetID();
22 CT_PlayerNotesEditFrame.name = this.name;
23 CT_PlayerNotesEditFrame.type = this.type;
24 CT_PlayerNotesEditFrame:Show();
25 </OnClick>
26 <OnEnter>
27 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
28 GameTooltip:ClearLines();
29 GameTooltip:AddLine(CT_PLAYERNOTES_CLICKEDIT, 1, 0.7, 0);
30 GameTooltip:AddLine(this.note, 0.6, 0.6, 0.6);
31 GameTooltip:Show();
32 </OnEnter>
33 <OnLeave>
34 GameTooltip:Hide();
35 </OnLeave>
36 <OnLoad>
37 this.note = "";
38 </OnLoad>
39 </Scripts>
40 <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-GuildButton-PublicNote-Up"/>
41 <DisabledTexture file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled"/>
42 <HighlightTexture file="Interface\Buttons\UI-GuildButton-PublicNote-Up" alphaMode="ADD"/>
43 </Button>
44 <Button name="CT_FriendNotesButton1" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton1" id="1" hidden="false"/>
45 <Button name="CT_FriendNotesButton2" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton2" id="2" hidden="false"/>
46 <Button name="CT_FriendNotesButton3" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton3" id="3" hidden="false"/>
47 <Button name="CT_FriendNotesButton4" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton4" id="4" hidden="false"/>
48 <Button name="CT_FriendNotesButton5" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton5" id="5" hidden="false"/>
49 <Button name="CT_FriendNotesButton6" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton6" id="6" hidden="false"/>
50 <Button name="CT_FriendNotesButton7" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton7" id="7" hidden="false"/>
51 <Button name="CT_FriendNotesButton8" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton8" id="8" hidden="false"/>
52 <Button name="CT_FriendNotesButton9" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton9" id="9" hidden="false"/>
53 <Button name="CT_FriendNotesButton10" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton10" id="10" hidden="false"/>
54  
55 <Button name="CT_IgnoreNotesButton1" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton1" id="1" hidden="false"/>
56 <Button name="CT_IgnoreNotesButton2" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton2" id="2" hidden="false"/>
57 <Button name="CT_IgnoreNotesButton3" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton3" id="3" hidden="false"/>
58 <Button name="CT_IgnoreNotesButton4" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton4" id="4" hidden="false"/>
59 <Button name="CT_IgnoreNotesButton5" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton5" id="5" hidden="false"/>
60 <Button name="CT_IgnoreNotesButton6" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton6" id="6" hidden="false"/>
61 <Button name="CT_IgnoreNotesButton7" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton7" id="7" hidden="false"/>
62 <Button name="CT_IgnoreNotesButton8" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton8" id="8" hidden="false"/>
63 <Button name="CT_IgnoreNotesButton9" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton9" id="9" hidden="false"/>
64 <Button name="CT_IgnoreNotesButton10" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton10" id="10" hidden="false"/>
65 <Button name="CT_IgnoreNotesButton11" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton11" id="11" hidden="false"/>
66 <Button name="CT_IgnoreNotesButton12" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton12" id="12" hidden="false"/>
67 <Button name="CT_IgnoreNotesButton13" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton13" id="13" hidden="false"/>
68 <Button name="CT_IgnoreNotesButton14" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton14" id="14" hidden="false"/>
69 <Button name="CT_IgnoreNotesButton15" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton15" id="15" hidden="false"/>
70 <Button name="CT_IgnoreNotesButton16" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton16" id="16" hidden="false"/>
71 <Button name="CT_IgnoreNotesButton17" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton17" id="17" hidden="false"/>
72 <Button name="CT_IgnoreNotesButton18" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton18" id="18" hidden="false"/>
73 <Button name="CT_IgnoreNotesButton19" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton19" id="19" hidden="false"/>
74 <Button name="CT_IgnoreNotesButton20" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton20" id="20" hidden="false"/>
75  
76 <Button name="CT_GuildNotesButton1" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="1" hidden="false"/>
77 <Button name="CT_GuildNotesButton2" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="2" hidden="false"/>
78 <Button name="CT_GuildNotesButton3" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="3" hidden="false"/>
79 <Button name="CT_GuildNotesButton4" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="4" hidden="false"/>
80 <Button name="CT_GuildNotesButton5" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="5" hidden="false"/>
81 <Button name="CT_GuildNotesButton6" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="6" hidden="false"/>
82 <Button name="CT_GuildNotesButton7" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="7" hidden="false"/>
83 <Button name="CT_GuildNotesButton8" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="8" hidden="false"/>
84 <Button name="CT_GuildNotesButton9" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="9" hidden="false"/>
85 <Button name="CT_GuildNotesButton10" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="10" hidden="false"/>
86 <Button name="CT_GuildNotesButton11" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="11" hidden="false"/>
87 <Button name="CT_GuildNotesButton12" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="12" hidden="false"/>
88 <Button name="CT_GuildNotesButton13" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="13" hidden="false"/>
89 <!-- Frame that sets note -->
90  
91 <Frame name="CT_PlayerNotesEditFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
92 <Size>
93 <AbsDimension x="350" y="130"/>
94 </Size>
95 <Anchors>
96 <Anchor point="CENTER"/>
97 </Anchors>
98 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
99 <BackgroundInsets>
100 <AbsInset left="11" right="12" top="12" bottom="11"/>
101 </BackgroundInsets>
102 <TileSize>
103 <AbsValue val="32"/>
104 </TileSize>
105 <EdgeSize>
106 <AbsValue val="32"/>
107 </EdgeSize>
108 </Backdrop>
109 <Layers>
110 <Layer level="ARTWORK">
111 <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
112 <Size>
113 <AbsDimension x="256" y="64"/>
114 </Size>
115 <Anchors>
116 <Anchor point="TOP">
117 <Offset>
118 <AbsDimension x="0" y="12"/>
119 </Offset>
120 </Anchor>
121 </Anchors>
122 </Texture>
123 <FontString inherits="GameFontNormal" text="CT_PLAYERNOTES_EDITNOTE">
124 <Anchors>
125 <Anchor point="TOP" relativeTo="$parentHeaderTexture">
126 <Offset>
127 <AbsDimension x="0" y="-14"/>
128 </Offset>
129 </Anchor>
130 </Anchors>
131 </FontString>
132 <FontString name="$parentEditing" inherits="GameFontNormal" text="">
133 <Anchors>
134 <Anchor point="CENTER">
135 <Offset>
136 <AbsDimension x="0" y="23"/>
137 </Offset>
138 </Anchor>
139 </Anchors>
140 </FontString>
141 </Layer>
142 </Layers>
143 <Frames>
144 <EditBox name="$parentNoteEB" historyLines="0" letters="250">
145 <Size>
146 <AbsDimension x="250" y="32"/>
147 </Size>
148 <Anchors>
149 <Anchor point="CENTER" relativePoint="CENTER"/>
150 </Anchors>
151 <Layers>
152 <Layer level="BACKGROUND">
153 <Texture name="$parentLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
154 <Size>
155 <AbsDimension x="65" y="32"/>
156 </Size>
157 <Anchors>
158 <Anchor point="LEFT">
159 <Offset>
160 <AbsDimension x="-10" y="0"/>
161 </Offset>
162 </Anchor>
163 </Anchors>
164 <TexCoords left="0" right="0.2539" top="0" bottom="1.0"/>
165 </Texture>
166 <Texture name="$parentRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
167 <Size>
168 <AbsDimension x="25" y="32"/>
169 </Size>
170 <Anchors>
171 <Anchor point="RIGHT">
172 <Offset>
173 <AbsDimension x="10" y="0"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 <TexCoords left="0.9" right="1.0" top="0" bottom="1.0"/>
178 </Texture>
179 <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
180 <Size>
181 <AbsDimension x="5" y="32"/>
182 </Size>
183 <Anchors>
184 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
185 <Offset>
186 <AbsDimension x="0" y="0"/>
187 </Offset>
188 </Anchor>
189 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT">
190 <Offset>
191 <AbsDimension x="0" y="0"/>
192 </Offset>
193 </Anchor>
194 </Anchors>
195 <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
196 </Texture>
197 </Layer>
198 </Layers>
199 <Scripts>
200 <OnShow>
201 this:SetFocus();
202 </OnShow>
203 <OnEnterPressed>
204 CT_Notes_Save(this:GetParent());
205 </OnEnterPressed>
206 <OnEscapePressed>
207 this:SetText("");
208 this:GetParent():Hide();
209 </OnEscapePressed>
210 </Scripts>
211 <FontString inherits="ChatFontNormal"/>
212 </EditBox>
213 <Button name="$parentSetButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_PLAYERNOTES_UPDATE">
214 <Size>
215 <AbsDimension x="70" y="21"/>
216 </Size>
217 <Anchors>
218 <Anchor point="BOTTOM" relativePoint="BOTTOM">
219 <Offset>
220 <AbsDimension x="-42" y="12"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 <Scripts>
225 <OnClick>
226 CT_Notes_Save(this:GetParent());
227 </OnClick>
228 </Scripts>
229 </Button>
230 <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_PLAYERNOTES_CANCEL">
231 <Size>
232 <AbsDimension x="70" y="21"/>
233 </Size>
234 <Anchors>
235 <Anchor point="BOTTOM" relativePoint="BOTTOM">
236 <Offset>
237 <AbsDimension x="42" y="12"/>
238 </Offset>
239 </Anchor>
240 </Anchors>
241 <Scripts>
242 <OnClick>
243 getglobal(this:GetParent():GetName() .. "NoteEB"):SetText("");
244 this:GetParent():Hide();
245 </OnClick>
246 </Scripts>
247 </Button>
248 </Frames>
249 <Scripts>
250 <OnShow>
251 CT_PlayerNotes_EditingFrame_OnShow();
252 </OnShow>
253 <OnHide>
254 PlaySound("UChatScrollButton");
255 </OnHide>
256 </Scripts>
257 </Frame>
258 </Ui>