-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDcr_LiveList.xml
221 lines (197 loc) · 8.06 KB
/
Dcr_LiveList.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<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/
http://wowprogramming.com/FrameXML/UI.xsd">
<!--
This file is part of Decursive.
Decursive (v @project-version@) add-on for World of Warcraft UI
Copyright (C) 2006-2025 John Wellesz (Decursive AT 2072productions.com) ( http://www.2072productions.com/to/decursive.php )
Decursive is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Decursive is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Decursive. If not, see <https://www.gnu.org/licenses/>.
Decursive is inspired from the original "Decursive v1.9.4" by Patrick Bohnet (Quu).
The original "Decursive 1.9.4" is in public domain ( www.quutar.com )
Decursive is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.
This file was last updated on @file-date-iso@
-->
<Script>
local T = DecursiveRootTable or {};
-- big ugly scary fatal error message display function {{{
if not T._FatalError then
-- the beautiful error popup : {{{ -
StaticPopupDialogs["DECURSIVE_ERROR_FRAME"] = {
text = "|cFFFF0000Decursive Error:|r\n%s",
button1 = "OK",
OnAccept = function()
return false;
end,
timeout = 0,
whileDead = 1,
hideOnEscape = 1,
showAlert = 1,
}; -- }}}
T._FatalError = function (TheError) StaticPopup_Show ("DECURSIVE_ERROR_FRAME", TheError); end
end
-- }}}
if not T._LoadedFiles or not T._LoadedFiles["Dcr_LiveList.lua"] then
if not DecursiveInstallCorrupted then T._FatalError("Decursive installation is corrupted! (Dcr_LiveList.lua not loaded)"); end;
DecursiveInstallCorrupted = true;
return;
end
T._LoadedFiles["Dcr_LiveList.xml"] = false;
</Script>
<Frame name="DcrLiveList" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="false" parent="UIParent"> <!-- {{{ -->
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="DecursiveMainBar">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame> <!-- }}} -->
<Button name="DcrLVItemTemplate" virtual="true" hidden="true"> <!-- {{{ -->
<Size>
<AbsDimension x="180" y="32"/>
</Size>
<Scripts>
<OnClick>
DecursiveRootTable.Dcr.LiveList:Onclick();
</OnClick>
<OnEnter>
DecursiveRootTable.Dcr.LiveList:DebuffTemplate_OnEnter(self);
</OnEnter>
<OnLeave>
DcrDisplay_Tooltip:Hide();
</OnLeave>
</Scripts>
</Button> <!-- }}} -->
<Texture name="DcrLVBackgroundTemplate" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" />
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" />
</Anchors>
<Color r="0" g="0" b="0" a="0.75" />
</Texture> <!-- }}} -->
<Texture name="DcrLVIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="32" y="32" />
</Size>
</Texture> <!-- }}} -->
<Texture name="DcrLVRaidIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent">
<Offset>
<AbsDimension x="-1" y="1"/>
</Offset>
</Anchor>
<!--
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentType">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
-->
</Anchors>
<Size>
<AbsDimension x="20" y="20" />
</Size>
</Texture> <!-- }}} -->
<FontString name="DcrLLAfflictionCountFont" inherits="NumberFont_Shadow_Small" maxLines="1" text="1" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIcon">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="0.1" b="0.2"/>
<Shadow>
<offset>
<AbsDimension x="1" y="1" />
</offset>
<color r="0" g="0" b="0" />
</Shadow>
</FontString> <!-- }}} -->
<FontString name="DcrLLUnitNameFont" inherits="GameFontNormalSmall" justifyH="LEFT" maxLines="1" text="Unit Name" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="73" y="0" />
</Size>
<Color r="1.0" g="0.1" b="0.2"/>
</FontString> <!-- }}} -->
<FontString name="DcrLLUnitIDFont" inherits="GameFontNormalSmall" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" maxLines="1" text="Unit Name" virtual="true"> <!-- {{{ -->
<FontHeight>
<AbsValue val="7.5"/>
</FontHeight>
<Anchors>
<Anchor point="TOP" relativeTo="$parentUnitName" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIcon">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="65" y="0" />
</Size>
<Color r=".6" g=".6" b=".6"/>
</FontString> <!-- }}} -->
<FontString name="DcrLLDebuffTypeFont" inherits="GameFontNormalSmall" justifyH="RIGHT" maxLines="1" text="Debuff Type" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" relativeTo="$parent">
<Offset>
<AbsDimension x="-1" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="73" y="0" />
</Size>
<Color r="1.0" g="0.1" b="1.0"/>
</FontString> <!-- }}} -->
<FontString name="DcrLLDebuffNameFont" inherits="GameFontNormalSmall" justifyH="LEFT" maxLines="1" text="Name of the afflication" virtual="true"> <!-- {{{ -->
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentIcon">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentUnitID">
<Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="147" y="0" />
</Size>
<Color r="0.1" g="0.5" b="0.4"/>
</FontString> <!-- }}} -->
<Script>
local T = DecursiveRootTable or {};
T._LoadedFiles["Dcr_LiveList.xml"] = "@project-version@";
</Script>
</Ui>