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 ..\FrameXML\UI.xsd">
4 <StatusBar name="SW_BarTemplate" virtual="true" hidden="true">
5 <BarTexture name="$parent_Texture" file="Interface\AddOns\SW_Stats\images\b3" />
6 <Size>
7 <AbsDimension x="128" y="10" />
8 </Size>
9 <Layers>
10 <Layer level="OVERLAY">
11 <FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="LEFT" />
12 <FontString name="$parent_TextVal" inherits="GameFontNormalSmall" justifyH="RIGHT" />
13 </Layer>
14 </Layers>
15 <Scripts>
16 <OnLoad>
17 SW_InitBarFrameBar(this);
18 </OnLoad>
19 </Scripts>
20 </StatusBar>
21 <Frame name="SW_BarFrame_Title" virtual="true" hidden="false">
22 <Scripts>
23 <OnMouseUp>
24 if ( this:GetParent().isMoving ) then
25 this:GetParent():StopMovingOrSizing();
26 this:GetParent().isMoving = false;
27 end
28 </OnMouseUp>
29 <OnMouseDown>
30 if ( ( ( not this:GetParent().isLocked ) or ( this:GetParent().isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
31 this:GetParent():StartMoving();
32 this:GetParent().isMoving = true;
33 end
34 </OnMouseDown>
35 <OnHide>
36 if ( this.isMoving ) then
37 this:GetParent():StopMovingOrSizing();
38 this:GetParent().isMoving = false;
39 end
40 </OnHide>
41 <OnLoad>
42 local scTarget = this:GetName().."_Texture";
43 getglobal(scTarget):SetVertexColor(1,0,0,1);
44 scTarget = this:GetName().."_Text";
45 getglobal(scTarget):SetTextColor(1,1,1,1);
46 table.insert(SW_Registerd_BF_Titles, this:GetName());
47 </OnLoad>
48 </Scripts>
49 <Anchors>
50 <Anchor point="CENTER" relativePoint="TOP">
51 <Offset>
52 <AbsDimension x="0" y="0" />
53 </Offset>
54 </Anchor>
55 </Anchors>
56 <Layers>
57 <Layer level="ARTWORK">
58 <FontString name="$parent_Text" inherits="GameFontNormalSmall" text="SW">
59 <Anchors>
60 <Anchor point="LEFT" />
61 </Anchors>
62 </FontString>
63 </Layer>
64 <Layer level="BACKGROUND">
65 <Texture name="$parent_Texture" file="Interface\AddOns\SW_Stats\images\titleBar">
66 <Color r="1" g="0" b="0" a="1" />
67 <Anchors>
68 <Anchor point="TOPLEFT" />
69 <Anchor point="BOTTOMRIGHT" />
70 </Anchors>
71 </Texture>
72 </Layer>
73 </Layers>
74 <Frames></Frames>
75 </Frame>
76  
77 </Ui>