Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sean Anderson / Shrom
ElvUI
Commits
d33c274c
Commit
d33c274c
authored
Oct 13, 2020
by
Simpy
🐹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cache for stuff
parent
74bbfaf6
Changes
43
Hide whitespace changes
Inline
Side-by-side
Showing
43 changed files
with
66 additions
and
63 deletions
+66
-63
ElvUI/Core/API.lua
ElvUI/Core/API.lua
+0
-1
ElvUI/Core/Commands.lua
ElvUI/Core/Commands.lua
+1
-1
ElvUI/Core/Core.lua
ElvUI/Core/Core.lua
+0
-1
ElvUI/Modules/Auras/Auras.lua
ElvUI/Modules/Auras/Auras.lua
+1
-1
ElvUI/Modules/DataBars/DataBars.lua
ElvUI/Modules/DataBars/DataBars.lua
+1
-0
ElvUI/Modules/Nameplates/Elements/WidgetContainer.lua
ElvUI/Modules/Nameplates/Elements/WidgetContainer.lua
+1
-0
ElvUI/Modules/Nameplates/Nameplates.lua
ElvUI/Modules/Nameplates/Nameplates.lua
+1
-1
ElvUI/Modules/Skins/Blizzard/AnimaDiversion.lua
ElvUI/Modules/Skins/Blizzard/AnimaDiversion.lua
+0
-1
ElvUI/Modules/Skins/Blizzard/Calendar.lua
ElvUI/Modules/Skins/Blizzard/Calendar.lua
+0
-1
ElvUI/Modules/Skins/Blizzard/CovenantPreview.lua
ElvUI/Modules/Skins/Blizzard/CovenantPreview.lua
+0
-3
ElvUI/Modules/Skins/Blizzard/CovenantSanctum.lua
ElvUI/Modules/Skins/Blizzard/CovenantSanctum.lua
+0
-2
ElvUI/Modules/Skins/Blizzard/EncounterJournal.lua
ElvUI/Modules/Skins/Blizzard/EncounterJournal.lua
+16
-14
ElvUI/Modules/Skins/Blizzard/Garrison.lua
ElvUI/Modules/Skins/Blizzard/Garrison.lua
+0
-1
ElvUI/Modules/Skins/Blizzard/Gossip.lua
ElvUI/Modules/Skins/Blizzard/Gossip.lua
+1
-1
ElvUI/Modules/Skins/Blizzard/GuildBank.lua
ElvUI/Modules/Skins/Blizzard/GuildBank.lua
+0
-2
ElvUI/Modules/Skins/Blizzard/Help.lua
ElvUI/Modules/Skins/Blizzard/Help.lua
+0
-2
ElvUI/Modules/Skins/Blizzard/Merchant.lua
ElvUI/Modules/Skins/Blizzard/Merchant.lua
+0
-1
ElvUI/Modules/Skins/Blizzard/Misc.lua
ElvUI/Modules/Skins/Blizzard/Misc.lua
+1
-0
ElvUI/Modules/Skins/Blizzard/Runeforge.lua
ElvUI/Modules/Skins/Blizzard/Runeforge.lua
+4
-4
ElvUI/Modules/Skins/Blizzard/ScrappingMachine.lua
ElvUI/Modules/Skins/Blizzard/ScrappingMachine.lua
+0
-2
ElvUI/Modules/Skins/Blizzard/Trade.lua
ElvUI/Modules/Skins/Blizzard/Trade.lua
+0
-1
ElvUI/Modules/Skins/Blizzard/WeeklyRewards.lua
ElvUI/Modules/Skins/Blizzard/WeeklyRewards.lua
+1
-1
ElvUI/Modules/UnitFrames/Elements/AltPower.lua
ElvUI/Modules/UnitFrames/Elements/AltPower.lua
+1
-0
ElvUI/Modules/UnitFrames/Elements/PhaseIndicator.lua
ElvUI/Modules/UnitFrames/Elements/PhaseIndicator.lua
+1
-2
ElvUI/Modules/UnitFrames/Groups/Arena.lua
ElvUI/Modules/UnitFrames/Groups/Arena.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Assist.lua
ElvUI/Modules/UnitFrames/Groups/Assist.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Boss.lua
ElvUI/Modules/UnitFrames/Groups/Boss.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Party.lua
ElvUI/Modules/UnitFrames/Groups/Party.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Raid.lua
ElvUI/Modules/UnitFrames/Groups/Raid.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Raid40.lua
ElvUI/Modules/UnitFrames/Groups/Raid40.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/RaidPets.lua
ElvUI/Modules/UnitFrames/Groups/RaidPets.lua
+2
-1
ElvUI/Modules/UnitFrames/Groups/Tank.lua
ElvUI/Modules/UnitFrames/Groups/Tank.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/Focus.lua
ElvUI/Modules/UnitFrames/Units/Focus.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/FocusTarget.lua
ElvUI/Modules/UnitFrames/Units/FocusTarget.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/Pet.lua
ElvUI/Modules/UnitFrames/Units/Pet.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/PetTarget.lua
ElvUI/Modules/UnitFrames/Units/PetTarget.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/Player.lua
ElvUI/Modules/UnitFrames/Units/Player.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/Target.lua
ElvUI/Modules/UnitFrames/Units/Target.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/TargetTarget.lua
ElvUI/Modules/UnitFrames/Units/TargetTarget.lua
+2
-1
ElvUI/Modules/UnitFrames/Units/TargetTargetTarget.lua
ElvUI/Modules/UnitFrames/Units/TargetTargetTarget.lua
+2
-1
ElvUI_OptionsUI/DataBars.lua
ElvUI_OptionsUI/DataBars.lua
+2
-0
ElvUI_OptionsUI/DataTexts.lua
ElvUI_OptionsUI/DataTexts.lua
+2
-3
ElvUI_OptionsUI/Skins.lua
ElvUI_OptionsUI/Skins.lua
+0
-1
No files found.
ElvUI/Core/API.lua
View file @
d33c274c
...
...
@@ -30,7 +30,6 @@ local UnitIsMercenary = UnitIsMercenary
local
UnitStat
=
UnitStat
local
C_PetBattles_IsInBattle
=
C_PetBattles
.
IsInBattle
local
C_PvP_IsRatedBattleground
=
C_PvP
.
IsRatedBattleground
local
C_UIWidgetManager_GetStatusBarWidgetVisualizationInfo
=
C_UIWidgetManager
.
GetStatusBarWidgetVisualizationInfo
local
FACTION_HORDE
=
FACTION_HORDE
local
FACTION_ALLIANCE
=
FACTION_ALLIANCE
local
ERR_NOT_IN_COMBAT
=
ERR_NOT_IN_COMBAT
...
...
ElvUI/Core/Commands.lua
View file @
d33c274c
...
...
@@ -19,9 +19,9 @@ local GetNumGuildMembers = GetNumGuildMembers
local
GuildControlGetNumRanks
=
GuildControlGetNumRanks
local
GuildControlGetRankName
=
GuildControlGetRankName
local
GuildUninvite
=
GuildUninvite
local
ReloadUI
=
ReloadUI
local
ResetCPUUsage
=
ResetCPUUsage
local
SendChatMessage
=
SendChatMessage
local
ReloadUI
=
ReloadUI
local
SetCVar
=
SetCVar
local
UpdateAddOnCPUUsage
=
UpdateAddOnCPUUsage
-- GLOBALS: ElvUIGrid, ElvDB
...
...
ElvUI/Core/Core.lua
View file @
d33c274c
...
...
@@ -12,7 +12,6 @@ local rawget, rawset, setmetatable = rawget, rawset, setmetatable
local
CreateFrame
=
CreateFrame
local
GetCVar
=
GetCVar
local
GetCVarBool
=
GetCVarBool
local
GetSpellInfo
=
GetSpellInfo
local
GetNumGroupMembers
=
GetNumGroupMembers
local
GetSpecialization
=
GetSpecialization
local
hooksecurefunc
=
hooksecurefunc
...
...
ElvUI/Modules/Auras/Auras.lua
View file @
d33c274c
...
...
@@ -5,13 +5,13 @@ local LSM = E.Libs.LSM
local
_G
=
_G
local
floor
,
format
,
tinsert
=
floor
,
format
,
tinsert
local
select
,
unpack
,
strmatch
=
select
,
unpack
,
strmatch
local
CreateFrame
=
CreateFrame
local
GetInventoryItemQuality
=
GetInventoryItemQuality
local
GetInventoryItemTexture
=
GetInventoryItemTexture
local
GetItemQualityColor
=
GetItemQualityColor
local
GetWeaponEnchantInfo
=
GetWeaponEnchantInfo
local
RegisterAttributeDriver
=
RegisterAttributeDriver
local
RegisterStateDriver
=
RegisterStateDriver
local
CreateFrame
=
CreateFrame
local
UnitAura
=
UnitAura
local
GetTime
=
GetTime
...
...
ElvUI/Modules/DataBars/DataBars.lua
View file @
d33c274c
...
...
@@ -3,6 +3,7 @@ local DB = E:GetModule('DataBars')
local
LSM
=
E
.
Libs
.
LSM
local
_G
=
_G
local
unpack
=
unpack
local
pairs
,
select
=
pairs
,
select
local
CreateFrame
=
CreateFrame
local
GetInstanceInfo
=
GetInstanceInfo
...
...
ElvUI/Modules/Nameplates/Elements/WidgetContainer.lua
View file @
d33c274c
...
...
@@ -2,6 +2,7 @@ local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateD
local
NP
=
E
:
GetModule
(
'NamePlates'
)
local
ipairs
=
ipairs
local
CreateFrame
=
CreateFrame
local
UIWidgetSetLayoutDirection
=
Enum
.
UIWidgetSetLayoutDirection
local
UIWidgetLayoutDirection
=
Enum
.
UIWidgetLayoutDirection
...
...
ElvUI/Modules/Nameplates/Nameplates.lua
View file @
d33c274c
...
...
@@ -7,7 +7,7 @@ assert(ElvUF, 'ElvUI was unable to locate oUF.')
local
_G
=
_G
local
pairs
,
ipairs
,
wipe
,
tinsert
=
pairs
,
ipairs
,
wipe
,
tinsert
local
format
,
select
,
strsplit
=
format
,
select
,
strsplit
local
format
,
select
,
strsplit
,
tostring
=
format
,
select
,
strsplit
,
tostring
local
CreateFrame
=
CreateFrame
local
GetCVar
=
GetCVar
...
...
ElvUI/Modules/Skins/Blizzard/AnimaDiversion.lua
View file @
d33c274c
...
...
@@ -4,7 +4,6 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
hooksecurefunc
=
hooksecurefunc
-- SHADOWLANDS
function
S
:
Blizzard_AnimaDiversionUI
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
animaDiversion
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/Calendar.lua
View file @
d33c274c
...
...
@@ -6,7 +6,6 @@ local ipairs, select, unpack = ipairs, select, unpack
local
CLASS_SORT_ORDER
=
CLASS_SORT_ORDER
local
CLASS_ICON_TCOORDS
=
CLASS_ICON_TCOORDS
local
CreateFrame
=
CreateFrame
local
hooksecurefunc
=
hooksecurefunc
function
S
:
Blizzard_Calendar
()
...
...
ElvUI/Modules/Skins/Blizzard/CovenantPreview.lua
View file @
d33c274c
...
...
@@ -3,9 +3,6 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
hooksecurefunc
=
hooksecurefunc
local
CreateFrame
=
CreateFrame
-- 9.0 SHADOWLANDS
function
S
:
Blizzard_CovenantPreviewUI
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
covenantPreview
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/CovenantSanctum.lua
View file @
d33c274c
...
...
@@ -5,8 +5,6 @@ local _G = _G
local
gsub
,
ipairs
=
gsub
,
ipairs
local
hooksecurefunc
=
hooksecurefunc
--
9.0
SHADOWLANDS
local
function
HandleIconString
(
self
,
text
)
if
not
text
then
text
=
self
:
GetText
()
end
if
not
text
or
text
==
''
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/EncounterJournal.lua
View file @
d33c274c
...
...
@@ -14,6 +14,8 @@ local GetItemInfo = GetItemInfo
local
GetItemQualityColor
=
GetItemQualityColor
local
hooksecurefunc
=
hooksecurefunc
local
LEGENDARY_COLOR
=
Enum
.
ItemQuality
.
Legendary
or
5
local
function
HandleButton
(
btn
,
...
)
S
:
HandleButton
(
btn
,
...
)
if
btn
:
GetFontString
()
then
...
...
@@ -493,23 +495,23 @@ function S:Blizzard_EncounterJournal()
S
:
HandleScrollBar
(
LootJournal
.
PowersFrame
.
ScrollBar
)
local
IconColor
=
E
.
QualityColors
[
Enum
.
ItemQuality
.
Legendary
or
5
]
-- legendary color
hooksecurefunc
(
LootJournal
.
PowersFrame
,
"RefreshListDisplay"
,
function
(
button
)
if
not
button
.
elements
then
return
end
local
IconColor
=
E
.
QualityColors
[
LEGENDARY_COLOR
]
hooksecurefunc
(
LootJournal
.
PowersFrame
,
"RefreshListDisplay"
,
function
(
button
s
)
if
not
button
s
.
elements
then
return
end
for
i
=
1
,
button
:
GetNumElementFrames
()
do
local
b
utto
n
=
button
.
elements
[
i
]
if
b
utto
n
and
not
b
utto
n
.
IsSkinned
then
b
utto
n
.
Background
:
SetAlpha
(
0
)
b
utto
n
.
CircleMask
:
Hide
()
S
:
HandleIcon
(
b
utto
n
.
Icon
,
true
)
b
utto
n
.
Icon
.
backdrop
:
SetBackdropBorderColor
(
IconColor
.
r
,
IconColor
.
g
,
IconColor
.
b
)
for
i
=
1
,
button
s
:
GetNumElementFrames
()
do
local
b
t
n
=
button
s
.
elements
[
i
]
if
b
t
n
and
not
b
t
n
.
IsSkinned
then
b
t
n
.
Background
:
SetAlpha
(
0
)
b
t
n
.
CircleMask
:
Hide
()
S
:
HandleIcon
(
b
t
n
.
Icon
,
true
)
b
t
n
.
Icon
.
backdrop
:
SetBackdropBorderColor
(
IconColor
.
r
,
IconColor
.
g
,
IconColor
.
b
)
b
utto
n
:
CreateBackdrop
(
'Transparent'
)
b
utto
n
.
backdrop
:
Point
(
'TOPLEFT'
,
3
,
0
)
b
utto
n
.
backdrop
:
Point
(
'BOTTOMRIGHT'
,
-
2
,
1
)
b
t
n
:
CreateBackdrop
(
'Transparent'
)
b
t
n
.
backdrop
:
Point
(
'TOPLEFT'
,
3
,
0
)
b
t
n
.
backdrop
:
Point
(
'BOTTOMRIGHT'
,
-
2
,
1
)
b
utto
n
.
IsSkinned
=
true
b
t
n
.
IsSkinned
=
true
end
end
end
)
...
...
ElvUI/Modules/Skins/Blizzard/Garrison.lua
View file @
d33c274c
...
...
@@ -6,7 +6,6 @@ local unpack, pairs, ipairs, select = unpack, pairs, ipairs, select
local
CreateFrame
=
CreateFrame
local
hooksecurefunc
=
hooksecurefunc
local
IsAddOnLoaded
=
IsAddOnLoaded
local
function
showFollower
(
s
)
S
:
HandleFollowerAbilities
(
s
)
...
...
ElvUI/Modules/Skins/Blizzard/Gossip.lua
View file @
d33c274c
...
...
@@ -2,7 +2,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
local
S
=
E
:
GetModule
(
'Skins'
)
local
_G
=
_G
local
pairs
=
pairs
local
next
,
pairs
,
ipairs
=
next
,
pairs
,
i
pairs
local
hooksecurefunc
=
hooksecurefunc
local
function
handleGossipText
()
...
...
ElvUI/Modules/Skins/Blizzard/GuildBank.lua
View file @
d33c274c
...
...
@@ -3,9 +3,7 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
select
,
unpack
=
select
,
unpack
local
CreateFrame
=
CreateFrame
local
hooksecurefunc
=
hooksecurefunc
function
S
:
Blizzard_GuildBankUI
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
gbank
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/Help.lua
View file @
d33c274c
...
...
@@ -2,8 +2,6 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
local
S
=
E
:
GetModule
(
'Skins'
)
local
_G
=
_G
local
select
,
unpack
=
select
,
unpack
function
S
:
HelpFrame
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
help
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/Merchant.lua
View file @
d33c274c
...
...
@@ -3,7 +3,6 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
unpack
=
unpack
local
hooksecurefunc
=
hooksecurefunc
function
S
:
MerchantFrame
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
merchant
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/Misc.lua
View file @
d33c274c
...
...
@@ -3,6 +3,7 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
pairs
=
pairs
local
ipairs
=
ipairs
local
unpack
=
unpack
local
hooksecurefunc
=
hooksecurefunc
...
...
ElvUI/Modules/Skins/Blizzard/Runeforge.lua
View file @
d33c274c
...
...
@@ -19,11 +19,11 @@ function S:Blizzard_RuneforgeUI()
S
:
HandleNextPrevButton
(
pageControl
.
BackwardButton
)
S
:
HandleNextPrevButton
(
pageControl
.
ForwardButton
)
hooksecurefunc
(
powerFrame
.
PowerList
,
'RefreshListDisplay'
,
function
(
self
)
if
not
self
.
elements
then
return
end
hooksecurefunc
(
powerFrame
.
PowerList
,
'RefreshListDisplay'
,
function
(
list
)
if
not
list
.
elements
then
return
end
for
i
=
1
,
self
:
GetNumElementFrames
()
do
local
button
=
self
.
elements
[
i
]
for
i
=
1
,
list
:
GetNumElementFrames
()
do
local
button
=
list
.
elements
[
i
]
if
button
and
not
button
.
IsSkinned
then
button
.
Border
:
SetAlpha
(
0
)
button
.
CircleMask
:
Hide
()
...
...
ElvUI/Modules/Skins/Blizzard/ScrappingMachine.lua
View file @
d33c274c
...
...
@@ -3,8 +3,6 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
pairs
=
pairs
local
unpack
=
unpack
local
hooksecurefunc
=
hooksecurefunc
function
S
:
Blizzard_ScrappingMachineUI
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
scrapping
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/Trade.lua
View file @
d33c274c
...
...
@@ -4,7 +4,6 @@ local S = E:GetModule('Skins')
local
_G
=
_G
local
unpack
=
unpack
local
CreateFrame
=
CreateFrame
local
hooksecurefunc
=
hooksecurefunc
function
S
:
TradeFrame
()
if
not
(
E
.
private
.
skins
.
blizzard
.
enable
and
E
.
private
.
skins
.
blizzard
.
trade
)
then
return
end
...
...
ElvUI/Modules/Skins/Blizzard/WeeklyRewards.lua
View file @
d33c274c
...
...
@@ -7,7 +7,7 @@ local hooksecurefunc = hooksecurefunc
-- Credits Siweia | AuroraClassic
local
function
UpdateSelection
(
frame
,
state
)
local
function
UpdateSelection
(
frame
)
if
not
frame
.
backdrop
then
return
end
if
frame
.
SelectedTexture
:
IsShown
()
then
...
...
ElvUI/Modules/UnitFrames/Elements/AltPower.lua
View file @
d33c274c
...
...
@@ -2,6 +2,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
CreateFrame
=
CreateFrame
function
UF
:
Construct_AltPowerBar
(
frame
)
local
altpower
=
CreateFrame
(
'StatusBar'
,
'$parent_AlternativePower'
,
frame
)
altpower
:
SetStatusBarTexture
(
E
.
media
.
blankTex
)
...
...
ElvUI/Modules/UnitFrames/Elements/PhaseIndicator.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
;
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
UnitPhaseReason
=
UnitPhaseReason
local
unpack
=
unpack
local
texCoords
=
{
{
1
/
128
,
33
/
128
,
1
/
64
,
33
/
64
},
...
...
ElvUI/Modules/UnitFrames/Groups/Arena.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Assist.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Boss.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Party.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Raid.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Raid40.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/RaidPets.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Groups/Tank.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/Focus.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/FocusTarget.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/Pet.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/PetTarget.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/Player.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/Target.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/TargetTarget.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI/Modules/UnitFrames/Units/TargetTargetTarget.lua
View file @
d33c274c
local
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
));
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
UF
=
E
:
GetModule
(
'UnitFrames'
);
local
UF
=
E
:
GetModule
(
'UnitFrames'
)
local
_
,
ns
=
...
local
ElvUF
=
ns
.
oUF
assert
(
ElvUF
,
'ElvUI was unable to locate oUF.'
)
...
...
ElvUI_OptionsUI/DataBars.lua
View file @
d33c274c
...
...
@@ -3,6 +3,8 @@ local C, L = unpack(select(2, ...))
local
DB
=
E
:
GetModule
(
'DataBars'
)
local
ACH
=
E
.
Libs
.
ACH
local
tonumber
=
tonumber
local
SharedOptions
=
{
enable
=
ACH
:
Toggle
(
L
[
"Enable"
],
nil
,
1
),
textFormat
=
ACH
:
Select
(
L
[
"Text Format"
],
nil
,
2
,
{
NONE
=
L
[
"NONE"
],
CUR
=
L
[
"Current"
],
REM
=
L
[
"Remaining"
],
PERCENT
=
L
[
"Percent"
],
CURMAX
=
L
[
"Current - Max"
],
CURPERC
=
L
[
"Current - Percent"
],
CURREM
=
L
[
"Current - Remaining"
],
CURPERCREM
=
L
[
"Current - Percent (Remaining)"
]
}),
...
...
ElvUI_OptionsUI/DataTexts.lua
View file @
d33c274c
...
...
@@ -7,12 +7,11 @@ local Minimap = E:GetModule('Minimap')
local
ACH
=
E
.
Libs
.
ACH
local
_G
=
_G
local
wipe
=
wipe
local
type
,
pairs
,
ipairs
=
type
,
pairs
,
ipairs
local
gsub
,
next
,
wipe
=
gsub
,
next
,
wipe
local
tonumber
=
tonumber
local
tostring
=
tostring
local
format
=
format
local
pairs
=
pairs
local
type
=
type
--
GLOBALS:
AceGUIWidgetLSMlists
local
currencyList
=
{}
...
...
ElvUI_OptionsUI/Skins.lua
View file @
d33c274c
local
E
,
_
,
V
,
P
,
G
=
unpack
(
ElvUI
);
--Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local
C
,
L
=
unpack
(
select
(
2
,
...
))
local
AB
=
E
:
GetModule
(
'ActionBars'
)
local
B
=
E
:
GetModule
(
'Blizzard'
)
local
ACH
=
E
.
Libs
.
ACH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment