-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOnyfansLoot-Import.xml
164 lines (164 loc) · 4.99 KB
/
OnyfansLoot-Import.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<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/ ..\FrameXML\UI.xsd">
<Frame name="ImportFrame" hidden="true" toplevel="true" parent="UIParent" movable="true" enableMouse="true">
<Size>
<AbsDimension x="420" y="400"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="240" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="15"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="Mode" name="$parentHeaderString">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Frames>
<ScrollFrame name="ImportFrameScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="372" y="335"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="ImportFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-25"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
ImportFrameScrollFrame:SetVerticalScroll(arg1)
OnyFansLoot.util:OnVerticalScroll(this);
</OnVerticalScroll>
<OnShow>
OnyFansLoot.util:OnVerticalScroll(this);
</OnShow>
<OnLoad>
this.scrollBarHideable = 1
</OnLoad>
</Scripts>
<ScrollChild>
<EditBox name="ImportFrameText" multiLine="true" nonspacewrap="true" spacing="1" autoFocus="false">
<Size>
<AbsDimension x="375" y="335"/>
</Size>
<Scripts>
<OnLoad>
this.GetCursorPosition = function(this)
return 0
end
this.cursorOffset = 0
this.cursorHeight = 0
</OnLoad>
<OnEscapePressed>
this:ClearFocus();
</OnEscapePressed>
<OnTextChanged>
this:GetParent():UpdateScrollChildRect()
</OnTextChanged>
<OnCursorChanged>
this.cursorOffset = arg2
this.cursorHeight = arg4
</OnCursorChanged>
<OnUpdate>
ScrollingEdit_OnUpdate()
</OnUpdate>
</Scripts>
<FontString inherits="GameFontNormal"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
<Button name="$parentCloseButton" inherits="UIPanelCloseButton" text="">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:GetParent():Hide()
</OnClick>
</Scripts>
</Button>
<Button name="$parentSaveButton" inherits="GameMenuButtonTemplate" text="Save">
<Size>
<AbsDimension x="100" y="30"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent">
<Offset>
<AbsDimension x="-10" y="12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
OnyFansLoot.util:ParseCsv(ImportFrameText:GetText(), this:GetParent())
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton")
</OnLoad>
<OnHide>
this:StopMovingOrSizing()
</OnHide>
<OnDragStart>
if arg1 == "LeftButton" then
this:SetMovable(true)
this:StartMoving()
end
</OnDragStart>
<OnDragStop>
this:StopMovingOrSizing()
</OnDragStop>
<OnMouseUp>
if arg1 == "LeftButton" and this:IsVisible() then
this:StopMovingOrSizing()
this:SetMovable(false)
end
</OnMouseUp>
</Scripts>
</Frame>
</Ui>