vanilla-wow-addons – Blame information for rev 1
?pathlinks?
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 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | |||
4 | <Frame name="EQL3_OrganizeFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true"> |
||
5 | <Size> |
||
6 | <AbsDimension x="256" y="128"/> |
||
7 | </Size> |
||
8 | <Anchors> |
||
9 | <Anchor point="CENTER"> |
||
10 | <Offset> |
||
11 | <AbsDimension x="0" y="0"/> |
||
12 | </Offset> |
||
13 | </Anchor> |
||
14 | </Anchors> |
||
15 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
16 | <BackgroundInsets> |
||
17 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
18 | </BackgroundInsets> |
||
19 | <TileSize> |
||
20 | <AbsValue val="32"/> |
||
21 | </TileSize> |
||
22 | <EdgeSize> |
||
23 | <AbsValue val="32"/> |
||
24 | </EdgeSize> |
||
25 | </Backdrop> |
||
26 | |||
27 | <Layers> |
||
28 | <Layer level="ARTWORK"> |
||
29 | |||
30 | <Texture name="EQL3_OrganizeFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
31 | <Size> |
||
32 | <AbsDimension x="256" y="64"/> |
||
33 | </Size> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOP"> |
||
36 | <Offset> |
||
37 | <AbsDimension x="0" y="12"/> |
||
38 | </Offset> |
||
39 | </Anchor> |
||
40 | </Anchors> |
||
41 | </Texture> |
||
42 | |||
43 | <FontString inherits="GameFontNormal" text="EQL3_ORGANIZE_TITLE"> |
||
44 | <Anchors> |
||
45 | <Anchor point="TOP" relativeTo="EQL3_OrganizeFrameHeader"> |
||
46 | <Offset> |
||
47 | <AbsDimension x="0" y="-14"/> |
||
48 | </Offset> |
||
49 | </Anchor> |
||
50 | </Anchors> |
||
51 | </FontString> |
||
52 | |||
53 | |||
54 | <FontString inherits="GameFontNormal" text="EQL3_ORGANIZE_TEXT"> |
||
55 | <Anchors> |
||
56 | <Anchor point="TOP" relativeTo="EQL3_OrganizeFrame" relativePoint="TOP"> |
||
57 | <Offset> |
||
58 | <AbsDimension x="0" y="-28"/> |
||
59 | </Offset> |
||
60 | </Anchor> |
||
61 | </Anchors> |
||
62 | </FontString> |
||
63 | </Layer> |
||
64 | </Layers> |
||
65 | |||
66 | <Frames> |
||
67 | <EditBox name="EQL3_OrganizeFrame_Text" autoFocus="false" inherits="InputBoxTemplate"> |
||
68 | <Size> |
||
69 | <AbsDimension x="216" y="16"/> |
||
70 | </Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT" relativeTo="EQL3_OrganizeFrame" relativePoint="TOPLEFT"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="22" y="-68"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | <Scripts> |
||
79 | <OnTabPressed> |
||
80 | -- Hmm.. remove later? |
||
81 | </OnTabPressed> |
||
82 | <OnEnterPressed> |
||
83 | if ( this:GetText() ~= "!!!reset" and this:GetText() ~= "!!!resetall" and string.len(EQL3_OrganizeFrame_Text:GetText()) > 0 ) then |
||
84 | this:ClearFocus(); |
||
85 | |||
86 | --Remove all commas |
||
87 | this:SetText(string.gsub(this:GetText(),"[,]*", "")); |
||
88 | |||
89 | EQL3_OrganizeFunctions(this:GetText()); |
||
90 | EQL3_OrganizeFrame:Hide(); |
||
91 | end |
||
92 | </OnEnterPressed> |
||
93 | <OnEscapePressed> |
||
94 | this:ClearFocus(); |
||
95 | EQL3_OrganizeFrame:Hide(); |
||
96 | </OnEscapePressed> |
||
97 | <OnTextChanged> |
||
98 | this:SetText(string.gsub(this:GetText(),"[,]*", "")); |
||
99 | </OnTextChanged> |
||
100 | </Scripts> |
||
101 | <FontString inherits="ChatFontNormal" bytes="64"/> |
||
102 | </EditBox> |
||
103 | |||
104 | |||
105 | |||
106 | <Button name="EQL3_OrganizeFrame_Okay" inherits="UIPanelButtonTemplate" text="EQL3_OKAY"> |
||
107 | <Size> |
||
108 | <AbsDimension x="80" y="22"/> |
||
109 | </Size> |
||
110 | <Anchors> |
||
111 | <Anchor point="BOTTOMRIGHT" relativeTo="EQL3_OrganizeFrame" relativePoint="BOTTOMRIGHT"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="-16" y="16"/> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | <Scripts> |
||
118 | <OnClick> |
||
119 | if ( EQL3_OrganizeFrame_Text:GetText() ~= "!!!reset" and EQL3_OrganizeFrame_Text:GetText() ~= "!!!resetall" and string.len(EQL3_OrganizeFrame_Text:GetText()) > 0) then |
||
120 | EQL3_OrganizeFrame_Text:ClearFocus(); |
||
121 | |||
122 | --Remove all commas |
||
123 | EQL3_OrganizeFrame_Text:SetText(string.gsub(EQL3_OrganizeFrame_Text:GetText(),"[,]*", "")); |
||
124 | |||
125 | EQL3_OrganizeFunctions(EQL3_OrganizeFrame_Text:GetText()); |
||
126 | EQL3_OrganizeFrame:Hide(); |
||
127 | end |
||
128 | </OnClick> |
||
129 | </Scripts> |
||
130 | </Button> |
||
131 | |||
132 | <Button name="EQL3_OrganizeFrame_Cancel" inherits="UIPanelButtonTemplate" text="EQL3_POPUP_CANCEL"> |
||
133 | <Size> |
||
134 | <AbsDimension x="80" y="22"/> |
||
135 | </Size> |
||
136 | <Anchors> |
||
137 | <Anchor point="BOTTOMLEFT" relativeTo="EQL3_OrganizeFrame" relativePoint="BOTTOMLEFT"> |
||
138 | <Offset> |
||
139 | <AbsDimension x="16" y="16"/> |
||
140 | </Offset> |
||
141 | </Anchor> |
||
142 | </Anchors> |
||
143 | <Scripts> |
||
144 | <OnClick> |
||
145 | EQL3_OrganizeFrame_Text:ClearFocus(); |
||
146 | EQL3_OrganizeFrame:Hide(); |
||
147 | </OnClick> |
||
148 | </Scripts> |
||
149 | </Button> |
||
150 | </Frames> |
||
151 | |||
152 | |||
153 | </Frame> |
||
154 | |||
155 | </Ui> |