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_MMInbox.lua"/> |
||
4 | <Frame name="CT_MMInboxFrame" parent="UIParent"> |
||
5 | <Scripts> |
||
6 | <OnLoad> |
||
7 | CT_MMInbox_OnLoad(); |
||
8 | </OnLoad> |
||
9 | <OnUpdate> |
||
10 | CT_MMInbox_OnUpdate(arg1); |
||
11 | </OnUpdate> |
||
12 | <OnEvent> |
||
13 | CT_MMInbox_OnEvent(event); |
||
14 | </OnEvent> |
||
15 | </Scripts> |
||
16 | </Frame> |
||
17 | <CheckButton name="CT_MailBoxItemCBTemplate" hidden="true" virtual="true" inherits="OptionsCheckButtonTemplate"> |
||
18 | <HitRectInsets> |
||
19 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
20 | </HitRectInsets> |
||
21 | <Size> |
||
22 | <AbsDimension x="24" y="24"/> |
||
23 | </Size> |
||
24 | <Anchors> |
||
25 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
26 | <Offset> |
||
27 | <AbsDimension x="1" y="0"/> |
||
28 | </Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | <Scripts> |
||
32 | <OnClick> |
||
33 | CT_MMInbox_SetSelected(); |
||
34 | </OnClick> |
||
35 | </Scripts> |
||
36 | </CheckButton> |
||
37 | <CheckButton name="CT_MailBoxItem1CB" id="1" hidden="false" parent="MailItem1" inherits="CT_MailBoxItemCBTemplate"/> |
||
38 | <CheckButton name="CT_MailBoxItem2CB" id="2" hidden="false" parent="MailItem2" inherits="CT_MailBoxItemCBTemplate"/> |
||
39 | <CheckButton name="CT_MailBoxItem3CB" id="3" hidden="false" parent="MailItem3" inherits="CT_MailBoxItemCBTemplate"/> |
||
40 | <CheckButton name="CT_MailBoxItem4CB" id="4" hidden="false" parent="MailItem4" inherits="CT_MailBoxItemCBTemplate"/> |
||
41 | <CheckButton name="CT_MailBoxItem5CB" id="5" hidden="false" parent="MailItem5" inherits="CT_MailBoxItemCBTemplate"/> |
||
42 | <CheckButton name="CT_MailBoxItem6CB" id="6" hidden="false" parent="MailItem6" inherits="CT_MailBoxItemCBTemplate"/> |
||
43 | <CheckButton name="CT_MailBoxItem7CB" id="7" hidden="false" parent="MailItem7" inherits="CT_MailBoxItemCBTemplate"/> |
||
44 | <Button name="CT_MMInboxOpenSelected" parent="InboxFrame" inherits="UIPanelButtonTemplate" text="CT_MMINBOX_OPENSELECTED"> |
||
45 | <Size> |
||
46 | <AbsDimension x="120" y="25"/> |
||
47 | </Size> |
||
48 | <Anchors> |
||
49 | <Anchor relativePoint="TOP" point="RIGHT"> |
||
50 | <Offset> |
||
51 | <AbsDimension x="5" y="-53"/> |
||
52 | </Offset> |
||
53 | </Anchor> |
||
54 | </Anchors> |
||
55 | <Scripts> |
||
56 | <OnClick> |
||
57 | CT_MMInbox_OpenSelected(); |
||
58 | </OnClick> |
||
59 | </Scripts> |
||
60 | </Button> |
||
61 | <Button name="CT_MMInboxOpenAll" parent="InboxFrame" inherits="UIPanelButtonTemplate" text="CT_MMINBOX_OPENALL"> |
||
62 | <Size> |
||
63 | <AbsDimension x="120" y="25"/> |
||
64 | </Size> |
||
65 | <Anchors> |
||
66 | <Anchor relativePoint="TOP" point="LEFT"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="10" y="-53"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | <Scripts> |
||
73 | <OnClick> |
||
74 | ShowUIPanel(CT_MMInbox_OpenAll); |
||
75 | </OnClick> |
||
76 | </Scripts> |
||
77 | </Button> |
||
78 | <CheckButton name="CT_MMInboxDisplayMessagesCB" hidden="false" parent="InboxFrame" inherits="OptionsCheckButtonTemplate"> |
||
79 | <HitRectInsets> |
||
80 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
81 | </HitRectInsets> |
||
82 | <Size> |
||
83 | <AbsDimension x="24" y="24"/> |
||
84 | </Size> |
||
85 | <Anchors> |
||
86 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="CT_MMInboxOpenAll"> |
||
87 | <Offset> |
||
88 | <AbsDimension x="1" y="0"/> |
||
89 | </Offset> |
||
90 | </Anchor> |
||
91 | </Anchors> |
||
92 | <Scripts> |
||
93 | <OnEnter> |
||
94 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
95 | GameTooltip:SetText(CT_MMINBOX_DISPLAYPROCESSMESSAGES); |
||
96 | </OnEnter> |
||
97 | <OnLeave> |
||
98 | GameTooltip:Hide(); |
||
99 | </OnLeave> |
||
100 | <OnClick> |
||
101 | CT_MMInbox_DisplayMessages = this:GetChecked(); |
||
102 | </OnClick> |
||
103 | </Scripts> |
||
104 | </CheckButton> |
||
105 | <Frame name="CT_MMInbox_OpenAll" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="MailFrame"> |
||
106 | <Size> |
||
107 | <AbsDimension x="400" y="100"/> |
||
108 | </Size> |
||
109 | <Anchors> |
||
110 | <Anchor point="CENTER" relativeTo="UIParent"/> |
||
111 | </Anchors> |
||
112 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
113 | <BackgroundInsets> |
||
114 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
115 | </BackgroundInsets> |
||
116 | <TileSize> |
||
117 | <AbsValue val="32"/> |
||
118 | </TileSize> |
||
119 | <EdgeSize> |
||
120 | <AbsValue val="32"/> |
||
121 | </EdgeSize> |
||
122 | </Backdrop> |
||
123 | <Layers> |
||
124 | <Layer level="ARTWORK"> |
||
125 | <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
126 | <Size> |
||
127 | <AbsDimension x="256" y="64"/> |
||
128 | </Size> |
||
129 | <Anchors> |
||
130 | <Anchor point="TOP"> |
||
131 | <Offset> |
||
132 | <AbsDimension x="0" y="12"/> |
||
133 | </Offset> |
||
134 | </Anchor> |
||
135 | </Anchors> |
||
136 | </Texture> |
||
137 | <FontString inherits="GameFontNormal" text="CT_MMINBOX_OPENALLTITLE"> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOP" relativeTo="$parentHeaderTexture"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="0" y="-14"/> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | </FontString> |
||
146 | <FontString name="$parentInfo" justifyV="top" inherits="GameFontNormal" text="CT_MMINBOX_OPENALLCONFIRMATION"> |
||
147 | <Size> |
||
148 | <AbsDimension x="350" y="32"/> |
||
149 | </Size> |
||
150 | <Anchors> |
||
151 | <Anchor point="CENTER"> |
||
152 | <Offset> |
||
153 | <AbsDimension x="0" y="4"/> |
||
154 | </Offset> |
||
155 | </Anchor> |
||
156 | </Anchors> |
||
157 | </FontString> |
||
158 | </Layer> |
||
159 | </Layers> |
||
160 | <Frames> |
||
161 | <Button name="$parentOpenButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_MMINBOX_OPENALL"> |
||
162 | <Size> |
||
163 | <AbsDimension x="125" y="32"/> |
||
164 | </Size> |
||
165 | <Anchors> |
||
166 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM"> |
||
167 | <Offset> |
||
168 | <AbsDimension x="-8" y="16"/> |
||
169 | </Offset> |
||
170 | </Anchor> |
||
171 | </Anchors> |
||
172 | <Scripts> |
||
173 | <OnClick> |
||
174 | CT_MMInbox_OpenSelected(1); |
||
175 | HideUIPanel(this:GetParent()); |
||
176 | </OnClick> |
||
177 | </Scripts> |
||
178 | </Button> |
||
179 | <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_MAIL_CANCELBUTTON"> |
||
180 | <Size> |
||
181 | <AbsDimension x="125" y="32"/> |
||
182 | </Size> |
||
183 | <Anchors> |
||
184 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM"> |
||
185 | <Offset> |
||
186 | <AbsDimension x="8" y="16"/> |
||
187 | </Offset> |
||
188 | </Anchor> |
||
189 | </Anchors> |
||
190 | <Scripts> |
||
191 | <OnClick> |
||
192 | HideUIPanel(this:GetParent()); |
||
193 | </OnClick> |
||
194 | </Scripts> |
||
195 | </Button> |
||
196 | </Frames> |
||
197 | <Scripts> |
||
198 | <OnShow> |
||
199 | PlaySound("UChatScrollButton"); |
||
200 | </OnShow> |
||
201 | <OnHide> |
||
202 | PlaySound("UChatScrollButton"); |
||
203 | </OnHide> |
||
204 | </Scripts> |
||
205 | </Frame> |
||
206 | |||
207 | <!-- Mail forwarding --> |
||
208 | <Button name="OpenMailForwardButton" parent="OpenMailFrame" inherits="UIPanelButtonTemplate" text="Forward"> |
||
209 | <Size> |
||
210 | <AbsDimension x="82" y="22"/> |
||
211 | </Size> |
||
212 | <Anchors> |
||
213 | <Anchor point="RIGHT" relativeTo="OpenMailReplyButton" relativePoint="LEFT"> |
||
214 | <Offset> |
||
215 | <AbsDimension x="0" y="0"/> |
||
216 | </Offset> |
||
217 | </Anchor> |
||
218 | </Anchors> |
||
219 | <Scripts> |
||
220 | <OnClick> |
||
221 | CT_MMForward_OpenReply(); |
||
222 | </OnClick> |
||
223 | </Scripts> |
||
224 | </Button> |
||
225 | <Frame name="CT_MMForwardFrame" parent="UIParent"> |
||
226 | <Scripts> |
||
227 | <OnUpdate> |
||
228 | CT_MMForward_OnUpdate(arg1); |
||
229 | </OnUpdate> |
||
230 | <OnLoad> |
||
231 | this.pickItem = { }; |
||
232 | this.process = 0; |
||
233 | this:RegisterEvent("BAG_UPDATE"); |
||
234 | </OnLoad> |
||
235 | <OnEvent> |
||
236 | CT_MMForward_ScanItems(); |
||
237 | </OnEvent> |
||
238 | </Scripts> |
||
239 | </Frame> |
||
240 | </Ui> |