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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/
4 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
5  
6  
7 <Frame name="LazyRogueAboutFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
8 <Size>
9 <AbsDimension x="500" y="430"/>
10 </Size>
11 <Anchors>
12 <Anchor point="CENTER"/>
13 </Anchors>
14  
15 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground"
16 edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
17 <EdgeSize>
18 <AbsValue val="32"/>
19 </EdgeSize>
20 <TileSize>
21 <AbsValue val="32"/>
22 </TileSize>
23 <BackgroundInsets>
24 <AbsInset left="5" right="5" top="5" bottom="5"/>
25 </BackgroundInsets>
26 </Backdrop>
27  
28 <Layers>
29 <Layer level="ARTWORK">
30  
31 <FontString name="$parentTitle" inherits="GameFontHighlightLarge" justifyH="CENTER" text="">
32 <Size>
33 <AbsDimension x="400" y="15"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
37 <Offset>
38 <AbsDimension x="25" y="-20"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </FontString>
43  
44 </Layer>
45 </Layers>
46  
47 <Frames>
48  
49  
50 <ScrollFrame name="LazyRogueAboutScrollFrame" inherits="UIPanelScrollFrameTemplate">
51 <Size>
52 <AbsDimension x="450" y="316"/>
53 </Size>
54 <Anchors>
55 <Anchor point="TOPLEFT">
56 <Offset>
57 <AbsDimension x="15" y="-70"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61  
62 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground"
63 edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true" alpha="1.0">
64 <EdgeSize>
65 <AbsValue val="8"/>
66 </EdgeSize>
67 <TileSize>
68 <AbsValue val="8"/>
69 </TileSize>
70 <BackgroundInsets>
71 <AbsInset left="0" right="0" top="0" bottom="0"/>
72 </BackgroundInsets>
73 </Backdrop>
74  
75  
76 <ScrollChild>
77 <Frame name="$parentScrollChild">
78 <Size>
79 <AbsDimension x="435" y="305"/>
80 </Size>
81 <Anchors>
82 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
83 <Offset>
84 <AbsDimension x="5" y="-5"/>
85 </Offset>
86 </Anchor>
87 </Anchors>
88 <Frames>
89  
90  
91 <EditBox name="LazyRogueAboutFrameForm" letters="7000" enableMouse="true" autoFocus="true" multiLine="true">
92 <Size>
93 <AbsDimension x="435" y="305"/>
94 </Size>
95 <Anchors>
96 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
97 <Offset>
98 <AbsDimension x="5" y="-5"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102  
103 <Scripts>
104 <OnEscapePressed>
105 HideUIPanel(LazyRogueAboutFrame)
106 </OnEscapePressed>
107 <OnEnterPressed>
108 HideUIPanel(LazyRogueAboutFrame)
109 </OnEnterPressed>
110 <OnClick>
111 this:SetFocus()
112 </OnClick>
113 <OnShow>
114 LAZYROGUEHELP_SCROLLBAR_HACK4 = false
115 </OnShow>
116 <OnMouseUp>
117 LAZYROGUEHELP_SCROLLBAR_HACK4 = true
118 </OnMouseUp>
119 <OnTextChanged>
120 ScrollingEdit_OnTextChanged(LazyRogueAboutScrollFrame)
121 </OnTextChanged>
122 <OnCursorChanged>
123 ScrollingEdit_OnCursorChanged(arg1, arg2-10, arg3, arg4)
124 </OnCursorChanged>
125 <OnUpdate>
126 if (LAZYROGUEHELP_SCROLLBAR_HACK4) then
127 ScrollingEdit_OnUpdate(LazyRogueAboutScrollFrame)
128 end
129 </OnUpdate>
130  
131 </Scripts>
132 <FontString inherits="GameFontHighlight"/>
133 <Color r=".2" g=".2" b=".2" />
134 </EditBox>
135  
136 </Frames>
137 </Frame>
138 </ScrollChild>
139 <Scripts>
140 <OnClick>
141 LazyRogueAboutFrameForm:SetFocus()
142 </OnClick>
143 </Scripts>
144 </ScrollFrame>
145  
146 <Button name="$parentOkayButton" inherits="GameMenuButtonTemplate" text="Okay">
147 <Size>
148 <AbsDimension x="100" y="25"/>
149 </Size>
150 <Anchors>
151 <Anchor point="BOTTOMRIGHT">
152 <Offset>
153 <AbsDimension x="-10" y="10"/>
154 </Offset>
155 </Anchor>
156 </Anchors>
157 <Scripts>
158 <OnClick>
159 HideUIPanel(LazyRogueAboutFrame)
160 </OnClick>
161 </Scripts>
162 </Button>
163  
164 </Frames>
165  
166 <Scripts>
167 <OnShow>
168 lazyr.about.OnShow()
169 </OnShow>
170 <OnHide>
171 lazyr.about.OnHide()
172 </OnHide>
173 <OnLoad>
174 this:RegisterForDrag("LeftButton")
175 </OnLoad>
176 <OnDragStart>
177 this:StartMoving()
178 </OnDragStart>
179 <OnDragStop>
180 this:StopMovingOrSizing()
181 </OnDragStop>
182 <OnMouseUp>
183 this:StopMovingOrSizing()
184 </OnMouseUp>
185 </Scripts>
186  
187 </Frame>
188  
189 </Ui>