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 ..\FrameXML\UI.xsd">
3 <Script file="localization.lua"/>
4 <Script file="Confab.lua"/>
5  
6 <EditBox name="ConfabEditBoxTemplate" ignoreArrows="true" frameStrata="DIALOG" toplevel="true" historyLines="32" letters="255" hidden="true" virtual="true">
7 <Layers>
8 <Layer level="BACKGROUND">
9 <Texture name="$parentLeft" file="Interface\AddOns\Confab\Textures\default.tga">
10 <Size>
11 <AbsDimension x="16" y="32"/>
12 </Size>
13 <Anchors>
14 <Anchor point="LEFT"/>
15 </Anchors>
16 <TexCoords left="0" right="0.0625" top="0" bottom="1.0"/>
17 </Texture>
18 <Texture name="$parentRight" file="Interface\AddOns\Confab\Textures\default.tga">
19 <Size>
20 <AbsDimension x="16" y="32"/>
21 </Size>
22 <Anchors>
23 <Anchor point="RIGHT"/>
24 </Anchors>
25 <TexCoords left="0.9375" right="1.0" top="0" bottom="1.0"/>
26 </Texture>
27 <Texture name="$parentMiddle" file="Interface\AddOns\Confab\Textures\default.tga">
28 <Size>
29 <AbsDimension x="1" y="32"/>
30 </Size>
31 <Anchors>
32 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
33 <Offset>
34 <AbsDimension x="0" y="0"/>
35 </Offset>
36 </Anchor>
37 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT">
38 <Offset>
39 <AbsDimension x="0" y="0"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 <TexCoords left="0.0625" right="0.9375" top="0" bottom="1.0"/>
44 </Texture>
45 </Layer>
46 <Layer level="ARTWORK">
47 <FontString name="$parentHeader" inherits="ChatFontNormal">
48 <Anchors>
49 <Anchor point="LEFT">
50 <Offset>
51 <AbsDimension x="13" y="0"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 </FontString>
56 </Layer>
57 </Layers>
58 <Frames>
59 <Button name="$parentLanguage" hidden="true">
60 <Size>
61 <AbsDimension x="32" y="32"/>
62 </Size>
63 <Anchors>
64 <Anchor point="LEFT" relativePoint="RIGHT">
65 <Offset>
66 <AbsDimension x="-8" y="0"/>
67 </Offset>
68 </Anchor>
69 </Anchors>
70 <Scripts>
71 <OnClick>
72 this:GetParent():ToggleInputLanguage();
73 </OnClick>
74 </Scripts>
75 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
76 <NormalText inherits="DialogButtonNormalText"/>
77 </Button>
78 </Frames>
79 <Scripts>
80 <OnLoad>
81 ChatEdit_OnLoad();
82 </OnLoad>
83 <OnShow>
84 ChatEdit_OnShow();
85 </OnShow>
86 <OnUpdate>
87 ChatEdit_OnUpdate(arg1);
88 </OnUpdate>
89 <OnEnterPressed>
90 ChatEdit_OnEnterPressed();
91 </OnEnterPressed>
92 <OnEscapePressed>
93 ChatEdit_OnEscapePressed(this);
94 </OnEscapePressed>
95 <OnSpacePressed>
96 ChatEdit_OnSpacePressed();
97 </OnSpacePressed>
98 <OnTabPressed>
99 ChatEdit_OnTabPressed();
100 </OnTabPressed>
101 <OnTextChanged>
102 ChatEdit_OnTextChanged();
103 </OnTextChanged>
104 <OnTextSet>
105 ChatEdit_OnTextSet();
106 </OnTextSet>
107 <OnInputLanguageChanged>
108 ChatEdit_OnInputLanguageChanged();
109 </OnInputLanguageChanged>
110 </Scripts>
111 <FontString inherits="ChatFontNormal" bytes="256"/>
112 </EditBox>
113  
114 <Frame name="Confab" parent="UIParent" hidden="false">
115 <Scripts>
116 <OnLoad>
117 Confab_OnLoad();
118 </OnLoad>
119 <OnEvent>
120 Confab_OnEvent(event);
121 </OnEvent>
122 <OnUpdate>
123 Confab_OnUpdate(arg1);
124 </OnUpdate>
125 </Scripts>
126 </Frame>
127  
128 <EditBox name="ConfabEditBoxArrowsEnabled" inherits="ConfabEditBoxTemplate" ignoreArrows="false" parent="UIParent">
129 <Size>
130 <AbsDimension x="300" y="32"/>
131 </Size>
132 <Anchors>
133 <Anchor point="TOPLEFT" relativeTo="ChatFrame1" relativePoint="BOTTOMLEFT">
134 <Offset>
135 <AbsDimension x="-5" y="-2"/>
136 </Offset>
137 </Anchor>
138 <Anchor point="TOPRIGHT" relativeTo="ChatFrame1" relativePoint="BOTTOMRIGHT">
139 <Offset>
140 <AbsDimension x="5" y="-2"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 <Scripts>
145 <OnLoad>
146 this.chatFrame = DEFAULT_CHAT_FRAME;
147 this:SetMinResize(256,32);
148 this:SetMaxResize(1024,32);
149 ChatEdit_OnLoad();
150 this:RegisterForDrag("LeftButton");
151 </OnLoad>
152 <OnShow>
153 Confab_OnShow();
154 </OnShow>
155 <OnMouseDown>
156 ConfabMoveOrResize();
157 </OnMouseDown>
158 <OnMouseUp>
159 this:StopMovingOrSizing();
160 ConfabSavePosition();
161 </OnMouseUp>
162 </Scripts>
163 </EditBox>
164  
165 <EditBox name="ConfabEditBoxArrowsDisabled" inherits="ConfabEditBoxTemplate" ignoreArrows="true" parent="UIParent">
166 <Size>
167 <AbsDimension x="300" y="32"/>
168 </Size>
169 <Anchors>
170 <Anchor point="TOPLEFT" relativeTo="ChatFrame1" relativePoint="BOTTOMLEFT">
171 <Offset>
172 <AbsDimension x="-5" y="-2"/>
173 </Offset>
174 </Anchor>
175 <Anchor point="TOPRIGHT" relativeTo="ChatFrame1" relativePoint="BOTTOMRIGHT">
176 <Offset>
177 <AbsDimension x="5" y="-2"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 <Scripts>
182 <OnLoad>
183 this.chatFrame = DEFAULT_CHAT_FRAME;
184 this:SetMinResize(256,32);
185 this:SetMaxResize(1024,32);
186 ChatEdit_OnLoad();
187 this:RegisterForDrag("LeftButton");
188 </OnLoad>
189 <OnShow>
190 Confab_OnShow();
191 </OnShow>
192 <OnMouseDown>
193 ConfabMoveOrResize();
194 </OnMouseDown>
195 <OnMouseUp>
196 this:StopMovingOrSizing();
197 ConfabSavePosition();
198 </OnMouseUp>
199 </Scripts>
200 </EditBox>
201 </Ui>