Commit 7eb26b53 authored by Simpy's avatar Simpy 🐹

11.33

parents 014653c8 5b2c0801
......@@ -62,8 +62,8 @@ E.version = GetAddOnMetadata('ElvUI', 'Version')
E.wowpatch, E.wowbuild = GetBuildInfo()
E.wowbuild = tonumber(E.wowbuild)
E.IsRetail = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE
E.resolution = ({GetScreenResolutions()})[GetCurrentResolution()] or GetCVar('gxWindowedResolution') --only used for now in our install.lua line 779
E.screenwidth, E.screenheight = GetPhysicalScreenSize()
E.resolution = format('%dx%d', E.screenwidth, E.screenheight)
E.isMacClient = IsMacClient()
E.NewSign = '|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:14:14|t' -- not used by ElvUI yet, but plugins like BenikUI and MerathilisUI use it.
E.TexturePath = 'Interface\\AddOns\\ElvUI\\Media\\Textures\\' -- for plugins?
......
......@@ -81,6 +81,7 @@ end
function E:PixelScaleChanged(event)
if event == 'UI_SCALE_CHANGED' then
E.screenwidth, E.screenheight = GetPhysicalScreenSize()
E.resolution = format('%dx%d', E.screenwidth, E.screenheight)
end
E:UIScale(true) --Repopulate variables
......
......@@ -4,12 +4,11 @@ local Skins = E:GetModule('Skins')
--WoW API / Variables
local CreateFrame = CreateFrame
local GetAddOnInfo = GetAddOnInfo
local GetCurrentResolution = GetCurrentResolution
local GetPhysicalScreenSize = GetPhysicalScreenSize
local GetCVar = GetCVar
local GetLocale = GetLocale
local GetNumAddOns = GetNumAddOns
local GetRealZoneText = GetRealZoneText
local GetScreenResolutions = GetScreenResolutions
local GetSpecialization = GetSpecialization
local GetSpecializationInfo = GetSpecializationInfo
......@@ -99,10 +98,6 @@ local function GetSpecName()
return EnglishSpecName[GetSpecializationInfo(GetSpecialization())]
end
local function GetResolution()
return (({GetScreenResolutions()})[GetCurrentResolution()] or GetCVar('gxWindowedResolution'))
end
function E:CreateStatusFrame()
local function CreateSection(width, height, parent, anchor1, anchorTo, anchor2, yOffset)
local section = CreateFrame('Frame', nil, parent)
......@@ -118,8 +113,8 @@ function E:CreateStatusFrame()
section.Header.Text:Point('BOTTOM')
section.Header.Text:SetJustifyH('CENTER')
section.Header.Text:SetJustifyV('MIDDLE')
local font, height, flags = section.Header.Text:GetFont()
section.Header.Text:FontTemplate(font, height*1.3, flags)
local font, fontHeight, fontFlags = section.Header.Text:GetFont()
section.Header.Text:FontTemplate(font, fontHeight*1.3, fontFlags)
section.Header.LeftDivider = section.Header:CreateTexture(nil, 'ARTWORK')
section.Header.LeftDivider:Height(8)
......@@ -208,7 +203,7 @@ function E:CreateStatusFrame()
StatusFrame.Section2.Content.Line1.Text:SetFormattedText('Version of WoW: |cff4beb2c%s (build %s)|r', E.wowpatch, E.wowbuild)
StatusFrame.Section2.Content.Line2.Text:SetFormattedText('Client Language: |cff4beb2c%s|r', GetLocale())
StatusFrame.Section2.Content.Line3.Text:SetFormattedText('Display Mode: |cff4beb2c%s|r', GetDisplayMode())
StatusFrame.Section2.Content.Line4.Text:SetFormattedText('Resolution: |cff4beb2c%s|r', GetResolution())
StatusFrame.Section2.Content.Line4.Text:SetFormattedText('Resolution: |cff4beb2c%s|r', E.resolution)
StatusFrame.Section2.Content.Line5.Text:SetFormattedText('Using Mac Client: |cff4beb2c%s|r', (E.isMacClient == true and 'Yes' or 'No'))
StatusFrame.Section3.Content.Line1.Text:SetFormattedText('Faction: |cff4beb2c%s|r', E.myfaction)
StatusFrame.Section3.Content.Line2.Text:SetFormattedText('Race: |cff4beb2c%s|r', E.myrace)
......@@ -236,7 +231,7 @@ end
local function UpdateDynamicValues()
E.StatusFrame.Section2.Content.Line3.Text:SetFormattedText('Display Mode: |cff4beb2c%s|r', GetDisplayMode())
E.StatusFrame.Section2.Content.Line4.Text:SetFormattedText('Resolution: |cff4beb2c%s|r', GetResolution())
E.StatusFrame.Section2.Content.Line4.Text:SetFormattedText('Resolution: |cff4beb2c%s|r', E.resolution)
E.StatusFrame.Section3.Content.Line4.Text:SetFormattedText('Specialization: |cff4beb2c%s|r', GetSpecName())
E.StatusFrame.Section3.Content.Line5.Text:SetFormattedText('Level: |cff4beb2c%s|r', E.mylevel)
E.StatusFrame.Section3.Content.Line6.Text:SetFormattedText('Zone: |cff4beb2c%s|r', GetRealZoneText())
......
## Interface: 80300
## Author: Elv
## Version: 11.32
## Version: 11.33
## Title: |cfffe7b2cElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
......
......@@ -102,7 +102,7 @@ local ALTERNATE_POWER_INDEX = Enum.PowerType.Alternate or 10
local function getDisplayPower(unit)
local barInfo = GetUnitPowerBarInfo(unit)
if(barInfo and barInfo.showOnRaid) then
if barInfo then
return ALTERNATE_POWER_INDEX, barInfo.minPower
end
end
......
......@@ -190,6 +190,8 @@ function AB:PositionAndSizeBar(barName)
bar:SetParent(E.UIParent)
end
bar:EnableMouse(not bar.db.clickThrough)
local button, lastButton, lastColumnButton
for i = 1, NUM_ACTIONBAR_BUTTONS do
button = bar.buttons[i]
......@@ -199,6 +201,7 @@ function AB:PositionAndSizeBar(barName)
button:ClearAllPoints()
button:SetAttribute("showgrid", 1)
button:Size(size)
button:EnableMouse(not bar.db.clickThrough)
if i == 1 then
local x, y
......
......@@ -30,7 +30,7 @@ bar:SetFrameStrata("LOW")
function AB:UpdatePet(event, unit)
if(event == "UNIT_AURA" and unit ~= "pet") then return end
for i=1, NUM_PET_ACTION_SLOTS, 1 do
for i = 1, NUM_PET_ACTION_SLOTS, 1 do
local name, texture, isToken, isActive, autoCastAllowed, autoCastEnabled, spellID = GetPetActionInfo(i)
local buttonName = "PetActionButton"..i
local autoCast = _G[buttonName.."AutoCastable"]
......@@ -179,9 +179,11 @@ function AB:PositionAndSizeBarPet()
bar:SetParent(E.UIParent)
end
bar:EnableMouse(not self.db.barPet.clickThrough)
local button, lastButton, lastColumnButton, autoCast
local firstButtonSpacing = (self.db.barPet.backdrop == true and (E.Border + backdropSpacing) or E.Spacing)
for i=1, NUM_PET_ACTION_SLOTS do
for i = 1, NUM_PET_ACTION_SLOTS do
button = _G["PetActionButton"..i]
lastButton = _G["PetActionButton"..i-1]
autoCast = _G["PetActionButton"..i..'AutoCastable']
......@@ -191,7 +193,7 @@ function AB:PositionAndSizeBarPet()
button:ClearAllPoints()
button:SetAttribute("showgrid", 1)
button:Size(size)
button:EnableMouse(not self.db.barPet.clickThrough)
autoCast:SetOutside(button, autoCastSize, autoCastSize)
if i == 1 then
......@@ -250,7 +252,7 @@ function AB:PositionAndSizeBarPet()
end
function AB:UpdatePetCooldownSettings()
for i=1, NUM_PET_ACTION_SLOTS do
for i = 1, NUM_PET_ACTION_SLOTS do
local button = _G["PetActionButton"..i]
if button and button.cooldown then
button.cooldown:SetDrawBling(not self.db.hideCooldownBling)
......@@ -259,7 +261,7 @@ function AB:UpdatePetCooldownSettings()
end
function AB:UpdatePetBindings()
for i=1, NUM_PET_ACTION_SLOTS do
for i = 1, NUM_PET_ACTION_SLOTS do
if self.db.hotkeytext then
local key = GetBindingKey("BONUSACTIONBUTTON"..i)
_G["PetActionButton"..i.."HotKey"]:Show()
......@@ -289,7 +291,7 @@ function AB:CreateBarPet()
]])
bar:SetScript("OnHide", function()
for i=1, NUM_PET_ACTION_SLOTS, 1 do
for i = 1, NUM_PET_ACTION_SLOTS, 1 do
local button = _G["PetActionButton"..i]
if button.spellDataLoadedCancelFunc then
button.spellDataLoadedCancelFunc()
......
......@@ -196,13 +196,16 @@ function AB:PositionAndSizeBarShapeShift()
local useMasque = MasqueGroup and E.private.actionbar.masque.stanceBar
local firstButtonSpacing = (self.db.stanceBar.backdrop == true and (E.Border + backdropSpacing) or E.Spacing)
for i=1, NUM_STANCE_SLOTS do
bar:EnableMouse(not self.db.stanceBar.clickThrough)
for i = 1, NUM_STANCE_SLOTS do
button = _G["ElvUI_StanceBarButton"..i]
lastButton = _G["ElvUI_StanceBarButton"..i-1]
lastColumnButton = _G["ElvUI_StanceBarButton"..i-buttonsPerRow]
button:SetParent(bar)
button:ClearAllPoints()
button:Size(size)
button:EnableMouse(not self.db.stanceBar.clickThrough)
if self.db.stanceBar.mouseover == true then
bar:SetAlpha(0)
......
This diff is collapsed.
......@@ -8,12 +8,12 @@ local unpack = unpack
-- WoW API / Variables
local UnitPlayerControlled = UnitPlayerControlled
local UnitIsTapDenied = UnitIsTapDenied
local UnitThreatSituation = UnitThreatSituation
local UnitIsPlayer = UnitIsPlayer
local UnitClass = UnitClass
local UnitReaction = UnitReaction
local CreateFrame = CreateFrame
local UnitPowerType = UnitPowerType
local ALTERNATE_POWER_INDEX = Enum.PowerType.Alternate or 10
function NP:Power_UpdateColor(event, unit)
if self.unit ~= unit then return end
......@@ -35,7 +35,7 @@ function NP:Power_UpdateColor(event, unit)
--[=[elseif(element.colorThreat and not UnitPlayerControlled(unit) and UnitThreatSituation('player', unit)) then
t = self.colors.threat[UnitThreatSituation('player', unit)]]=]
elseif(element.colorPower) then
if(element.displayType ~= _G.ALTERNATE_POWER_INDEX) then
if(element.displayType ~= ALTERNATE_POWER_INDEX) then
t = NP.db.colors.power[ptoken or ptype]
if(not t) then
if(element.GetAlternativeColor) then
......@@ -49,7 +49,7 @@ function NP:Power_UpdateColor(event, unit)
end
end
else
t = self.colors.power[_G.ALTERNATE_POWER_INDEX]
t = NP.db.colors.power.ALT_POWER
end
if(element.useAtlas and t and t.atlas) then
......
......@@ -3,9 +3,8 @@ local oUF = E.oUF
--Lua functions
local _G = _G
local pairs, tonumber = pairs, tonumber
local strmatch, strfind = strmatch, strfind
local ceil, floor = ceil, floor
local pairs, ceil, floor, tonumber = pairs, ceil, floor, tonumber
local strmatch, strlower, strfind = strmatch, strlower, strfind
--WoW API / Variables
local GetLocale = GetLocale
local GetQuestLogIndexByID = GetQuestLogIndexByID
......@@ -13,7 +12,6 @@ local GetQuestLogSpecialItemInfo = GetQuestLogSpecialItemInfo
local GetQuestLogTitle = GetQuestLogTitle
local IsInInstance = IsInInstance
local UnitIsPlayer = UnitIsPlayer
local C_TaskQuest_GetQuestProgressBarInfo = C_TaskQuest.GetQuestProgressBarInfo
local ThreatTooltip = THREAT_TOOLTIP:gsub('%%d', '%%d-')
local questIconTypes = {"Item", "Loot", "Skull", "Chat"}
......@@ -26,8 +24,8 @@ local QuestTypesLocalized = {
["enUS"] = {
["slain"] = "KILL",
["destroy"] = "KILL",
['eleminate'] = 'KILL',
['repel'] = 'KILL',
["eleminate"] = "KILL",
["repel"] = "KILL",
["kill"] = "KILL",
["defeat"] = "KILL",
["speak"] = "CHAT",
......@@ -108,6 +106,18 @@ local function QUEST_REMOVED(self, event, questID)
end
end
local function CheckTextForQuest(text)
local x, y = strmatch(text, '(%d+)/(%d+)')
if x and y then
return floor(y - x)
elseif not strmatch(text, ThreatTooltip) then
local progress = tonumber(strmatch(text, '([%d%.]+)%%'))
if progress and progress <= 100 then
return ceil(100 - progress), true
end
end
end
local function GetQuests(unitID)
if IsInInstance() then return end
......@@ -124,58 +134,37 @@ local function GetQuests(unitID)
if UnitIsPlayer(text) then
notMyQuest = text ~= E.myname
elseif text and not notMyQuest then
local objCount, QuestType, IsPerc, logIndex, itemTex, _
-- active quest
local QuestID = ActiveQuests[text]
if QuestID then
logIndex = GetQuestLogIndexByID(QuestID)
_, itemTex = GetQuestLogSpecialItemInfo(logIndex)
local progress = C_TaskQuest_GetQuestProgressBarInfo(QuestID)
if progress then
objCount = floor(progress)
IsPerc = true
local count, percent = CheckTextForQuest(text)
if count then
local type, index, texture, _
local activeID = ActiveQuests[text]
if activeID then
index = GetQuestLogIndexByID(activeID)
_, texture = GetQuestLogSpecialItemInfo(index)
end
end
-- text check, only if active quest doesnt find the objective
if not objCount then
local x, y = strmatch(text, '(%d+)/(%d+)')
if x and y then
objCount = floor(y - x)
elseif not strmatch(text, ThreatTooltip) then
local progress = tonumber(strmatch(text, '([%d%.]+)%%')) -- contains % in the text
if progress and progress <= 100 then
objCount = ceil(100 - progress)
if texture then
type = "QUEST_ITEM"
else
local lowerText = strlower(text)
for typeString in pairs(QuestTypes) do
if strfind(lowerText, typeString, nil, true) then
type = QuestTypes[typeString]
break
end
end
end
end
if itemTex then
QuestType = "QUEST_ITEM"
elseif objCount then
QuestType = "LOOT"
local lowerText = text:lower()
for questString in pairs(QuestTypes) do
if strfind(lowerText, questString) then
QuestType = QuestTypes[questString]
break
end
end
end
if QuestType then
if not QuestList then QuestList = {} end
QuestList[#QuestList + 1] = {
isPerc = IsPerc,
itemTexture = itemTex,
objectiveCount = objCount,
questType = QuestType,
isPercent = percent,
itemTexture = texture,
objectiveCount = count,
questType = type or "LOOT",
-- below keys are currently unused
questLogIndex = logIndex,
questID = QuestID
questLogIndex = index,
questID = activeID
}
end
end
......@@ -225,12 +214,12 @@ local function Update(self, event, unit)
local quest = QuestList[i]
local objectiveCount = quest.objectiveCount
local questType = quest.questType
local isPerc = quest.isPerc
local isPercent = quest.isPercent
if objectiveCount and (objectiveCount > 0 or isPerc) then
if isPercent or objectiveCount > 0 then
local icon
if questType == "KILL" or isPerc then
if questType == "KILL" then
icon = element.Skull
elseif questType == "LOOT" then
icon = element.Loot
......@@ -253,7 +242,7 @@ local function Update(self, event, unit)
icon:Point(newPosition, element, newPosition, (strmatch(setPosition, "LEFT") and -offset) or offset, 0)
if questType ~= "CHAT" and icon.Text then
icon.Text:SetText((isPerc and objectiveCount.."%") or objectiveCount)
icon.Text:SetText((isPercent and objectiveCount.."%") or objectiveCount)
end
if questType == "QUEST_ITEM" then
......
......@@ -507,6 +507,9 @@ function S:Blizzard_Collections()
end
end)
_G.WardrobeSetsCollectionVariantSetsButton.Icon:SetTexture(E.Media.Textures.ArrowUp)
_G.WardrobeSetsCollectionVariantSetsButton.Icon:SetRotation(S.ArrowRotation['down'])
-- Transmogrify NPC
local WardrobeFrame = _G.WardrobeFrame
S:HandlePortraitFrame(WardrobeFrame, true)
......
......@@ -42,12 +42,12 @@ function UF:Configure_AltPowerBar(frame)
frame.AlternativePower:Show()
end
local color = db.altPowerColor
frame.AlternativePower:SetStatusBarColor(color.r, color.g, color.b)
frame:Tag(frame.AlternativePower.value, db.altPowerTextFormat)
UF:ToggleTransparentStatusBar(false, frame.AlternativePower, frame.AlternativePower.BG)
local color = db.altPowerColor
frame.AlternativePower:SetStatusBarColor(color.r, color.g, color.b)
E:SetSmoothing(frame.AlternativePower, UF.db.smoothbars)
elseif frame:IsElementEnabled('AlternativePower') then
frame:DisableElement('AlternativePower')
......
......@@ -447,7 +447,7 @@ function UF:AuraFilter(unit, button, name, _, count, debuffType, duration, expir
local allowDuration = noDuration or (duration and (duration > 0) and (db.maxDuration == 0 or duration <= db.maxDuration) and (db.minDuration == 0 or duration >= db.minDuration))
local filterCheck, spellPriority
if db.priority ~= '' then
if db.priority and db.priority ~= '' then
local isUnit = unit and caster and UnitIsUnit(unit, caster)
local canDispell = (self.type == 'buffs' and isStealable) or (self.type == 'debuffs' and debuffType and E:IsDispellableByMe(debuffType))
filterCheck, spellPriority = UF:CheckFilter(name, caster, spellID, isFriend, isPlayer, isUnit, isBossDebuff, allowDuration, noDuration, canDispell, casterIsPlayer, strsplit(',', db.priority))
......
......@@ -213,66 +213,40 @@ function UF:Update_PartyFrames(frame, db)
end
end
--Health
UF:Configure_HealthBar(frame)
UF:Configure_RaidIcon(frame)
--Name
UF:UpdateNameSettings(frame, frame.childType)
UF:Configure_HealthBar(frame)
else
if not InCombatLockdown() then
frame:Size(frame.UNIT_WIDTH, frame.UNIT_HEIGHT)
end
UF:Configure_InfoPanel(frame)
UF:Configure_HealthBar(frame)
UF:UpdateNameSettings(frame)
UF:EnableDisable_Auras(frame)
UF:Configure_Auras(frame, 'Buffs')
UF:Configure_Auras(frame, 'Debuffs')
UF:Configure_HealthBar(frame)
UF:Configure_InfoPanel(frame)
UF:Configure_PhaseIcon(frame)
UF:Configure_Power(frame)
UF:Configure_Portrait(frame)
UF:Configure_Threat(frame)
UF:EnableDisable_Auras(frame)
UF:Configure_Auras(frame, 'Buffs')
UF:Configure_Auras(frame, 'Debuffs')
UF:Configure_RaidDebuffs(frame)
UF:Configure_Castbar(frame)
UF:Configure_RaidIcon(frame)
UF:Configure_ResurrectionIcon(frame)
UF:Configure_SummonIcon(frame)
UF:Configure_DebuffHighlight(frame)
UF:Configure_RoleIcon(frame)
UF:Configure_HealComm(frame)
UF:Configure_RaidRoleIcons(frame)
UF:Configure_AuraWatch(frame)
UF:Configure_ReadyCheckIcon(frame)
UF:Configure_ClassBar(frame)
UF:Configure_AltPowerBar(frame)
UF:Configure_CustomTexts(frame)
end
--Fader
UF:Configure_RaidIcon(frame)
UF:Configure_Fader(frame)
--Cutaway
UF:Configure_Cutaway(frame)
frame:UpdateAllElements("ElvUI_UpdateAllElements")
......
......@@ -27,6 +27,7 @@ function UF:Construct_RaidFrames()
self.PowerPrediction = UF:Construct_PowerPrediction(self)
self.Portrait3D = UF:Construct_Portrait(self, 'model')
self.Portrait2D = UF:Construct_Portrait(self, 'texture')
self.InfoPanel = UF:Construct_InfoPanel(self)
self.Name = UF:Construct_NameText(self)
self.Buffs = UF:Construct_Buffs(self)
self.Debuffs = UF:Construct_Debuffs(self)
......@@ -46,11 +47,12 @@ function UF:Construct_RaidFrames()
self.HealthPrediction = UF:Construct_HealComm(self)
self.Fader = UF:Construct_Fader()
self.Cutaway = UF:Construct_Cutaway(self)
self.AlternativePower = UF:Construct_AltPowerBar(self)
self.ClassBar = 'AlternativePower'
self.customTexts = {}
self.InfoPanel = UF:Construct_InfoPanel(self)
self.unitframeType = "raid"
UF:Update_StatusBars()
UF:Update_FontStrings()
......@@ -137,12 +139,11 @@ function UF:Update_RaidFrames(frame, db)
frame.SHADOW_SPACING = 3
frame.ORIENTATION = db.orientation --allow this value to change when unitframes position changes on screen?
frame.UNIT_WIDTH = db.width
frame.UNIT_HEIGHT = db.infoPanel.enable and (db.height + db.infoPanel.height) or db.height
frame.USE_POWERBAR = db.power.enable
frame.POWERBAR_DETACHED = db.power.detachFromFrame
frame.POWERBAR_DETACHED = false
frame.USE_INSET_POWERBAR = not frame.POWERBAR_DETACHED and db.power.width == 'inset' and frame.USE_POWERBAR
frame.USE_MINI_POWERBAR = (not frame.POWERBAR_DETACHED and db.power.width == 'spaced' and frame.USE_POWERBAR)
frame.USE_POWERBAR_OFFSET = (db.power.width == 'offset' and db.power.offset ~= 0) and frame.USE_POWERBAR and not frame.POWERBAR_DETACHED
......@@ -155,7 +156,16 @@ function UF:Update_RaidFrames(frame, db)
frame.USE_PORTRAIT_OVERLAY = frame.USE_PORTRAIT and (db.portrait.overlay or frame.ORIENTATION == "MIDDLE")
frame.PORTRAIT_WIDTH = (frame.USE_PORTRAIT_OVERLAY or not frame.USE_PORTRAIT) and 0 or db.portrait.width
frame.CLASSBAR_YOFFSET = 0
frame.CAN_HAVE_CLASSBAR = not frame.isChild
frame.MAX_CLASS_BAR = 1
frame.USE_CLASSBAR = db.classbar.enable and frame.CAN_HAVE_CLASSBAR
frame.CLASSBAR_SHOWN = frame.CAN_HAVE_CLASSBAR and frame[frame.ClassBar] and frame[frame.ClassBar]:IsShown()
frame.CLASSBAR_DETACHED = false
frame.USE_MINI_CLASSBAR = db.classbar.fill == "spaced" and frame.USE_CLASSBAR
frame.CLASSBAR_HEIGHT = frame.USE_CLASSBAR and db.classbar.height or 0
frame.CLASSBAR_WIDTH = frame.UNIT_WIDTH - ((frame.BORDER+frame.SPACING)*2) - frame.PORTRAIT_WIDTH -(frame.ORIENTATION == "MIDDLE" and (frame.POWERBAR_OFFSET*2) or frame.POWERBAR_OFFSET)
frame.CLASSBAR_YOFFSET = (not frame.USE_CLASSBAR or not frame.CLASSBAR_SHOWN or frame.CLASSBAR_DETACHED) and 0 or (frame.USE_MINI_CLASSBAR and (frame.SPACING+(frame.CLASSBAR_HEIGHT/2)) or (frame.CLASSBAR_HEIGHT - (frame.BORDER-frame.SPACING)))
frame.USE_INFO_PANEL = not frame.USE_MINI_POWERBAR and not frame.USE_POWERBAR_OFFSET and db.infoPanel.enable
frame.INFO_PANEL_HEIGHT = frame.USE_INFO_PANEL and db.infoPanel.height or 0
......@@ -168,71 +178,32 @@ function UF:Update_RaidFrames(frame, db)
frame:Size(frame.UNIT_WIDTH, frame.UNIT_HEIGHT)
end
UF:UpdateNameSettings(frame)
UF:EnableDisable_Auras(frame)
UF:Configure_Auras(frame, 'Buffs')
UF:Configure_Auras(frame, 'Debuffs')
UF:Configure_InfoPanel(frame)
--Health
UF:Configure_HealthBar(frame)
--Name
UF:UpdateNameSettings(frame)
--Power
UF:Configure_Power(frame)
-- Power Predicition
UF:Configure_PowerPrediction(frame)
--Portrait
UF:Configure_Portrait(frame)
--Threat
UF:Configure_Threat(frame)
--Auras
UF:EnableDisable_Auras(frame)
UF:Configure_Auras(frame, 'Buffs')
UF:Configure_Auras(frame, 'Debuffs')
--RaidDebuffs
UF:Configure_RaidDebuffs(frame)
--Raid Icon
UF:Configure_RaidIcon(frame)
-- Resurrect Icon
UF:Configure_ResurrectionIcon(frame)
-- Summon Icon
UF:Configure_SummonIcon(frame)
--Debuff Highlight
UF:Configure_DebuffHighlight(frame)
--Role Icon
UF:Configure_RoleIcon(frame)
--OverHealing
UF:Configure_HealComm(frame)
--Raid Roles
UF:Configure_RaidRoleIcons(frame)
--Fader
UF:Configure_Fader(frame)
--Buff Indicators
UF:Configure_AuraWatch(frame)
--ReadyCheck
UF:Configure_ReadyCheckIcon(frame)
--CustomTexts
UF:Configure_CustomTexts(frame)
-- PhaseIndicator
UF:Configure_PhaseIcon(frame)
--Cutaway
UF:Configure_Cutaway(frame)
UF:Configure_ClassBar(frame)
UF:Configure_AltPowerBar(frame)
frame:UpdateAllElements("ElvUI_UpdateAllElements")
end
......