-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOB3SMF.xml
112 lines (111 loc) · 3.23 KB
/
OB3SMF.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
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="OB3SMF.lua" />
<Frame name="OB3SMF1" hidden="true" parent="UIParent" toplevel="true" movable="true" enableMouse="true">
<Size x="348" y="129" />
<Anchors>
<Anchor point="CENTER" x="15" y="104" />
</Anchors>
<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>
<Layers>
<Layer level="OVERLAY">
<FontString name="SelectedMog" inherits="GameFontNormal" text="No mog selected..." justifyH="LEFT">
<Size x="197" y="20" />
<Anchors>
<Anchor point="TOPLEFT" x="123" y="-58" />
</Anchors>
</FontString>
<FontString inherits="QuestFont_Shadow_Huge" text="OB3S Mog" justifyH="LEFT">
<Size x="215" y="37" />
<Anchors>
<Anchor point="TOPLEFT" x="30" y="-15" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="btnClose" inherits="UIPanelCloseButton" parent="OB3SMF1" text="">
<Size x="30" y="31" />
<Anchors>
<Anchor point="TOPLEFT" x="310" y="-7" />
</Anchors>
<Backdrop />
<HitRectInsets>
<AbsInset left="1" right="1" top="1" bottom="1" />
</HitRectInsets>
</Button>
<Button name="btnSelectMog" inherits="UIPanelButtonTemplate" parent="OB3SMF1" text="Select mog">
<Size x="87" y="23" />
<Anchors>
<Anchor point="TOPLEFT" x="30" y="-57" />
</Anchors>
<Scripts>
<OnClick>
btnSelectMog_OnClick()
</OnClick>
<OnLoad>
</OnLoad>
</Scripts>
</Button>
<Button name="btnImport" inherits="UIPanelButtonTemplate" parent="OB3SMF1" text="Import character mogs">
<Size x="189" y="23" />
<Anchors>
<Anchor point="TOPLEFT" x="30" y="-88" />
</Anchors>
<Scripts>
<OnClick>
btnImport_OnClick()
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
self:RegisterEvent("TRANSMOGRIFY_OPEN");
self:RegisterEvent("TRANSMOGRIFY_CLOSE");
self:RegisterEvent("PLAYER_ENTERING_WORLD");
self:RegisterForDrag("LeftButton");
</OnLoad>
<OnEvent>
if event == "TRANSMOGRIFY_OPEN" then
self:Show();
elseif event == "TRANSMOGRIFY_CLOSE" then
self:Hide();
end
</OnEvent>
<OnDragStart>
self:StartMoving();
</OnDragStart>
<OnDragStop>
self:StopMovingOrSizing();
</OnDragStop>
</Scripts>
</Frame>
<DressUpModel>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</DressUpModel>
<PlayerModel inherits="ModelTemplate" hidden="true">
<Size x="200" y="250" />
<Anchors>
<Anchor point="TOPLEFT" x="718" y="-287" />
</Anchors>
<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 val="32" />
<EdgeSize val="32" />
</Backdrop>
</PlayerModel>
</Ui>