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/..\..\FrameXML\UI.xsd">
4  
5 <Script file="spot.lua"/>
6  
7 <!-- A search panel for Bagnon-->
8 <Frame name="BagnonSpot" clampedToScreen="true" enableMouse="true" topLevel="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
9 <Size x="220" y="42"/>
10  
11 <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
12 <BackgroundInsets>
13 <AbsInset left="11" right="12" top="12" bottom="11"/>
14 </BackgroundInsets>
15 <TileSize>
16 <AbsValue val="32"/>
17 </TileSize>
18 <EdgeSize>
19 <AbsValue val="32"/>
20 </EdgeSize>
21 </Backdrop>
22  
23 <Frames>
24 <Button name="$parentClose" inherits="UIPanelCloseButton">
25 <Size x="32" y="32"/>
26  
27 <Anchors>
28 <Anchor point="TOPRIGHT">
29 <Offset x="-6" y="-6"/>
30 </Anchor>
31 </Anchors>
32 </Button>
33  
34 <!-- Search Box -->
35 <EditBox name="$parentSearch" autoFocus="false" hidden="false" letters="255">
36 <Anchors>
37 <Anchor point="TOPLEFT">
38 <Offset x="14" y="-12"/>
39 </Anchor>
40 <Anchor point="BOTTOMRIGHT" relativeTo="$parentClose" relativePoint="BOTTOMLEFT">
41 <Offset x="6" y="7"/>
42 </Anchor>
43 </Anchors>
44  
45 <Scripts>
46 <OnShow>
47 this:SetFocus()
48 </OnShow>
49 <OnHide>
50 this:SetText("");
51 </OnHide>
52 <OnEscapePressed>
53 this:ClearFocus();
54 </OnEscapePressed>
55 <OnEditFocusLost>
56 this:HighlightText();
57 </OnEditFocusLost>
58 <OnTextChanged>
59 BagnonSpotSearch_OnTextChanged();
60 </OnTextChanged>
61 </Scripts>
62 <FontString font="ChatFontNormal"/>
63 </EditBox>
64 </Frames>
65  
66 <Scripts>
67 <OnHide>
68 BagnonSpot_OnHide();
69 </OnHide>
70 </Scripts>
71 </Frame>
72 </Ui>