Commit 983a2f67 authored by Elv's avatar Elv
Browse files

Various profile changes during the install process.

parent 1349c548
......@@ -190,6 +190,7 @@ function E:SetupTheme(theme, noDisplayMsg)
E.db.unitframe.colors.auraBarBuff = E:GetColor(.31, .31, .31)
E.db.unitframe.colors.castColor = E:GetColor(.31, .31, .31)
E.db.unitframe.colors.castClassColor = false
E.db.chat.tabSelectorColor = {r=0.09, g=0.51, b=0.82}
elseif theme == 'class' then
classColor = E:ClassColor(E.myclass, true)
......@@ -200,6 +201,7 @@ function E:SetupTheme(theme, noDisplayMsg)
E.db.unitframe.colors.auraBarBuff = E:GetColor(classColor.r, classColor.g, classColor.b)
E.db.unitframe.colors.healthclass = true
E.db.unitframe.colors.castClassColor = true
E.db.chat.tabSelectorColor = E:GetColor(classColor.r, classColor.g, classColor.b)
else
E.db.general.bordercolor = (E.PixelMode and E:GetColor(0, 0, 0) or E:GetColor(.1, .1, .1))
E.db.general.backdropcolor = E:GetColor(.1, .1, .1)
......@@ -210,6 +212,7 @@ function E:SetupTheme(theme, noDisplayMsg)
E.db.unitframe.colors.health = E:GetColor(.1, .1, .1)
E.db.unitframe.colors.castColor = E:GetColor(.1, .1, .1)
E.db.unitframe.colors.castClassColor = false
E.db.chat.tabSelectorColor = {r=0.09, g=0.51, b=0.82}
end
--Value Color
......@@ -272,14 +275,26 @@ function E:SetupLayout(layout, noDataReset, noDisplayMsg)
E.db.bags.bankWidth = 474
E.db.bags.itemLevelCustomColorEnable = true
E.db.bags.scrapIcon = true
E.db.bags.split.bag1 = true
E.db.bags.split.bag2 = true
E.db.bags.split.bag3 = true
E.db.bags.split.bag4 = true
E.db.bags.split.bagSpacing = 7
E.db.bags.split.player = true
--Chat
E.db.chat.fontSize = 10
E.db.chat.separateSizes = false
E.db.chat.panelHeight = 236
E.db.chat.panelWidth = 472
E.db.chat.tabFontSize = 10
E.db.chat.tabFontSize = 12
E.db.chat.copyChatLines = true
--DataTexts
E.db.datatexts.panels.LeftChatDataPanel[3] = 'QuickJoin'
--DataBars
E.db.databars.threat.height = 24
E.db.databars.threat.width = 472
E.db.databars.azerite.enable = false
E.db.databars.reputation.enable = true
--General
E.db.general.bonusObjectivePosition = 'AUTO'
E.db.general.minimap.size = 220
......@@ -288,7 +303,8 @@ function E:SetupLayout(layout, noDataReset, noDisplayMsg)
E.db.general.totems.growthDirection = 'HORIZONTAL'
E.db.general.totems.size = 50
E.db.general.totems.spacing = 8
E.db.general.autoTrackReputation = true
E.db.general.bonusObjectivePosition = "AUTO"
--Movers
for mover, position in pairs(E.LayoutMoverPositions.ALL) do
E.db.movers[mover] = position
......@@ -297,6 +313,30 @@ function E:SetupLayout(layout, noDataReset, noDisplayMsg)
--Tooltip
E.db.tooltip.healthBar.fontOutline = 'MONOCHROMEOUTLINE'
E.db.tooltip.healthBar.height = 12
E.db.movers.TooltipMover = nil --ensure that this mover gets completely reset.. yes E:ResetMover call above doesn't work.
E.db.tooltip.healthBar.font = "PT Sans Narrow"
E.db.tooltip.healthBar.fontOutline = "NONE"
E.db.tooltip.healthBar.fontSize = 12
--Nameplates
E.db.nameplates.colors.castColor = {r = 0.85, g=0.76, b=0.36}
E.db.nameplates.colors.castNoInterruptColor = {r = 0.78, g=0.25, b=0.25}
E.db.nameplates.colors.reactions.good = {r = 0.30, g=0.67, b=0.29}
E.db.nameplates.colors.reactions.neutral = {r = 0.85, g=0.76, b=0.36}
E.db.nameplates.colors.selection[0] = {r = 0.78, g=0.25, b=0.25}
E.db.nameplates.colors.selection[2] = {r = 0.85, g=0.76, b=0.36}
E.db.nameplates.colors.selection[3] = {r = 0.29, g=0.67, b=0.30}
E.db.nameplates.colors.threat.badColor = {r = 0.78, g=0.25, b=0.25}
E.db.nameplates.colors.threat.goodColor = {r = 0.29, g=0.67, b=0.30}
E.db.nameplates.colors.threat.goodTransition = {r = 0.85, g=0.76, b=0.36}
E.db.nameplates.units.ENEMY_NPC.health.text.format = ""
E.db.nameplates.units.ENEMY_PLAYER.health.text.format = ""
E.db.nameplates.units.ENEMY_PLAYER.portrait.classicon = false
E.db.nameplates.units.ENEMY_PLAYER.portrait.enable = true
E.db.nameplates.units.ENEMY_PLAYER.portrait.position = "LEFT"
E.db.nameplates.units.ENEMY_PLAYER.portrait.xOffset = 0
E.db.nameplates.units.ENEMY_PLAYER.portrait.yOffset = 0
--UnitFrames
E.db.unitframe.smoothbars = true
E.db.unitframe.thinBorders = true
......@@ -353,7 +393,6 @@ function E:SetupLayout(layout, noDataReset, noDisplayMsg)
--Pet
E.db.unitframe.units.pet.castbar.iconSize = 32
E.db.unitframe.units.pet.castbar.width = 270
E.db.unitframe.units.pet.debuffs.anchorPoint = 'TOPRIGHT'
E.db.unitframe.units.pet.debuffs.enable = true
E.db.unitframe.units.pet.disableTargetGlow = false
E.db.unitframe.units.pet.infoPanel.height = 14
......
......@@ -2369,17 +2369,25 @@ E.LayoutMoverPositions = {
ObjectiveFrameMover = 'TOPRIGHT,ElvUIParent,TOPRIGHT,-163,-325',
SocialMenuMover = 'TOPLEFT,ElvUIParent,TOPLEFT,4,-187',
VehicleSeatMover = 'TOPLEFT,ElvUIParent,TOPLEFT,4,-4',
DurabilityFrameMover = "TOPLEFT,ElvUIParent,TOPLEFT,141,-4",
ThreatBarMover = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-4,4",
PetAB = "RIGHT,ElvUIParent,RIGHT,-4,0",
ShiftAB = "BOTTOM,ElvUIParent,BOTTOM,0,58",
ElvUF_Raid40Mover = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,269",
ElvUF_RaidMover = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,269",
ElvUF_PartyMover = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,269",
HonorBarMover = "TOPRIGHT,ElvUIParent,TOPRIGHT,-2,-251",
ReputationBarMover = "TOPRIGHT,ElvUIParent,TOPRIGHT,-2,-243"
},
dpsCaster = {
ElvUF_PlayerCastbarMover = 'BOTTOM,ElvUIParent,BOTTOM,0,243',
ElvUF_TargetCastbarMover = 'BOTTOM,ElvUIParent,BOTTOM,0,97'
ElvUF_TargetCastbarMover = 'BOTTOM,ElvUIParent,BOTTOM,0,97',
},
healer = {
ElvUF_PlayerCastbarMover = 'BOTTOM,ElvUIParent,BOTTOM,0,243',
ElvUF_TargetCastbarMover = 'BOTTOM,ElvUIParent,BOTTOM,0,97',
ElvUF_RaidMover = 'BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,202,373',
LootFrameMover = 'TOPLEFT,ElvUIParent,TOPLEFT,250,-104',
ShiftAB = 'TOPLEFT,ElvUIParent,BOTTOMLEFT,4,273',
VOICECHAT = 'TOPLEFT,ElvUIParent,TOPLEFT,250,-82'
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment