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"
2 xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
3 <Script file="SW_DefaultMap.lua" />
4 <Script file="SW_Frames.lua" />
5 <Script file="console.lua" />
6 <Script file="SW_TextExport.lua" />
7 <Script file="neutral.lua" />
8 <Script file="localization.DE.lua" />
9 <Script file="localization.FR.lua" />
10 <Script file="localization.zhCN.lua" />
11 <Script file="localization.zhTW.lua" />
12 <Script file="SW_CastTrack.lua" />
13 <Script file="init.lua" />
14 <Script file="SW_Sync.lua" />
15 <Script file="core.lua" />
16 <!-- 1.4 Changed Tooltip to have an owner in OnLoad to make it WoW1.10 ready -->
17 <GameTooltip name="SW_SpellHookTT" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate"
18 parent="UIParent">
19 <Scripts>
20 <OnLoad>this:SetOwner(UIParent, "ANCHOR_NONE");</OnLoad>
21 </Scripts>
22 </GameTooltip>
23 <Frame name="SW_FrameConsole" inherits="SW_Frame" enableMouse="true" movable="true" resizable="true"
24 frameStrata="MEDIUM" frameLevel="200" parent="UIParent">
25 <Scripts>
26 <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1);
27 </OnLoad>
28 </Scripts>
29 <Size>
30 <AbsDimension x="200" y="300" />
31 </Size>
32 <Anchors>
33 <Anchor point="CENTER" />
34 </Anchors>
35 <Frames>
36 <Frame name="$parent_Title" inherits="SW_Frame_Title" parent="SW_FrameConsole">
37 <Scripts>
38 <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1);</OnLoad>
39 </Scripts>
40 </Frame>
41 <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_FrameConsole" />
42 <Frame name="$parent_Text1" inherits="SW_Console_Text" parent="SW_FrameConsole" />
43 <Frame name="$parent_Tab1" inherits="SW_Frame_Tab" parent="SW_FrameConsole">
44 <Scripts>
45 <OnLoad>SW_TabRegister(this, "SW_FrameConsole_Text1", true);</OnLoad>
46 </Scripts>
47 </Frame>
48 <Frame name="SW_FrameConsole_Events" inherits="SW_Console_Inner" parent="SW_FrameConsole"
49 hidden="true">
50 <Scripts>
51 <OnLoad>this.chkPerRow = 2;</OnLoad>
52 </Scripts>
53 <Frames>
54 <CheckButton name="SW_Chk_ShowEvent" inherits="SW_Chk_Template">
55 <Scripts>
56 <OnLoad>
57 this.swoX = 1;
58 this.swoY = -6;
59 SW_ChkRegister(this, "EI_ShowEvent", true);
60 </OnLoad>
61 </Scripts>
62 </CheckButton>
63 <CheckButton name="SW_Chk_ShowOrigStr" inherits="SW_Chk_Template">
64 <Scripts>
65 <OnLoad>SW_ChkRegister(this, "EI_ShowOrigStr", false);</OnLoad>
66 </Scripts>
67 </CheckButton>
68 <CheckButton name="SW_Chk_ShowRegEx" inherits="SW_Chk_Template">
69 <Scripts>
70 <OnLoad>SW_ChkRegister(this, "EI_ShowRegEx", false);</OnLoad>
71 </Scripts>
72 </CheckButton>
73 <CheckButton name="SW_Chk_ShowMatch" inherits="SW_Chk_Template">
74 <Scripts>
75 <OnLoad>SW_ChkRegister(this, "EI_ShowMatch", false);</OnLoad>
76 </Scripts>
77 </CheckButton>
78 <CheckButton name="SW_Chk_ShowSyncInfo" inherits="SW_Chk_Template">
79 <Scripts>
80 <OnLoad>SW_ChkRegister(this, "EI_ShowSync", false);</OnLoad>
81 </Scripts>
82 </CheckButton>
83 <Frame name="SW_FrameConsole_Text2" inherits="SW_Msg_Frame" hidden="false">
84 <Anchors>
85 <Anchor point="TOPLEFT">
86 <Offset>
87 <AbsDimension x="0" y="-60" />
88 </Offset>
89 </Anchor>
90 <Anchor point="BOTTOMRIGHT">
91 <Offset>
92 <AbsDimension x="0" y="0" />
93 </Offset>
94 </Anchor>
95 </Anchors>
96 </Frame>
97 </Frames>
98 </Frame>
99 <Frame name="$parent_Tab2" inherits="SW_Frame_Tab" parent="SW_FrameConsole">
100 <Scripts>
101 <OnLoad>SW_TabRegister(this, "SW_FrameConsole_Events");</OnLoad>
102 </Scripts>
103 </Frame>
104 </Frames>
105 </Frame>
106 <!-- Thanks asmeroth (ui.worldofwar.net) New button is more blizzard style-->
107 <Frame name="SW_IconFrame" enableMouse="true" hidden="false" parent="Minimap" frameStrata="MEDIUM">
108 <Size>
109 <AbsDimension x="33" y="33" />
110 </Size>
111 <Frames>
112 <Button name="$parent_Button">
113 <Size>
114 <AbsDimension x="24" y="24" />
115 </Size>
116 <Anchors>
117 <Anchor point="TOPLEFT"></Anchor>
118 </Anchors>
119 <Scripts>
120 <OnClick>
121 SW_IconMenuInit(); SW_ToggleIconMenu();
122 </OnClick>
123 <OnMouseUp>
124 if arg1 == "RightButton" then
125 SW_ToggleBarFrame();
126 end
127 </OnMouseUp>
128 <OnEnter>
129 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
130 GameTooltip:SetText("SW Stats");
131 </OnEnter>
132 <OnLeave>
133 GameTooltip:Hide();
134 </OnLeave>
135 </Scripts>
136 <Layers>
137 <Layer level="ARTWORK">
138 <Texture name="$parentTexture" file="Interface\Addons\SW_Stats\images\SW_Icon">
139 <Size>
140 <AbsDimension x="22" y="22" />
141 </Size>
142 <Anchors>
143 <Anchor point="TOPLEFT">
144 <Offset>
145 <AbsDimension x="5" y="-4" />
146 </Offset>
147 </Anchor>
148 </Anchors>
149 </Texture>
150 </Layer>
151 <Layer level="OVERLAY">
152 <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
153 <Size>
154 <AbsDimension x="52" y="52" />
155 </Size>
156 <Anchors>
157 <Anchor point="TOPLEFT" />
158 </Anchors>
159 </Texture>
160 </Layer>
161 </Layers>
162 </Button>
163 <Frame name="$parent_Menu" inherits="UIDropDownMenuTemplate" hidden="true">
164 <Size>
165 <AbsDimension x="10" y="10" />
166 </Size>
167 <Anchors>
168 <Anchor point="TOPLEFT">
169 <Offset>
170 <AbsDimension x="0" y="0" />
171 </Offset>
172 </Anchor>
173 </Anchors>
174 </Frame>
175 </Frames>
176 </Frame>
177 <!-- "Invis" Frame for OnUpdateEvent need this for events and all timed calls-->
178 <Frame name="SW_CoreFrame" hidden="false" parent="UIParent">
179 <Size>
180 <AbsDimension x="33" y="33" />
181 </Size>
182 <Anchors>
183 <Anchor point="TOPLEFT" />
184 </Anchors>
185 <Scripts>
186 <OnLoad>SW_Stats_OnLoad();</OnLoad>
187 <OnEvent>SW_Stats_OnEvent();</OnEvent>
188 <OnUpdate>SW_Timed_Calls:OnUpdate(arg1);</OnUpdate>
189 </Scripts>
190 </Frame>
191 </Ui>