From b3ad0671b9d435ba0862602834251d13a28ec898 Mon Sep 17 00:00:00 2001 From: Repooc Date: Mon, 18 Feb 2013 20:50:58 -0500 Subject: [PATCH] Update to affinitii setup. Signed-off-by: Repooc --- ElvUI_SLE/modules/install.lua | 108 ++++++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua index 9aec7bb..27ff064 100644 --- a/ElvUI_SLE/modules/install.lua +++ b/ElvUI_SLE/modules/install.lua @@ -1631,21 +1631,17 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.general.autoAcceptInvite = true E.db.general.autoRepair = "GUILD" E.db.general.bottomPanel = false + E.db.general.topPanel = false E.db.general.backdropfadecolor = { - ["r"] = 0.06, - ["g"] = 0.06, - ["b"] = 0.06, + ["r"] = 0.054, + ["g"] = 0.054, + ["b"] = 0.054, } E.db.general.valuecolor = { ["r"] = 0.09, ["g"] = 0.513, ["b"] = 0.819, } - E.db.general.bordercolor = { - ["r"] = 0.31, - ["g"] = 0.31, - ["b"] = 0.31, - } E.db.general.health = { } E.db.general.BUFFS = { @@ -1662,7 +1658,21 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t --Unitframes E.db.unitframe.fontOutline = "OUTLINE" E.db.unitframe.statusbar = "Polished Wood" - + E.db.unitframe.colors.auraBarBuff = { + ["r"] = 0.3098039215686275, + ["g"] = 0.07843137254901961, + ["b"] = 0.09411764705882353, + } + E.db.unitframe.colors.castColor = { + ["r"] = 0.1, + ["g"] = 0.1, + ["b"] = 0.1, + } + E.db.unitframe.colors.health = { + ["r"] = 0.2352941176470588, + ["g"] = 0.2352941176470588, + ["b"] = 0.2352941176470588, + } E.db.unitframe.units.tank.enable = false E.db.unitframe.units.assist.enable = false @@ -1698,6 +1708,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.target.power.offset = 11 E.db.unitframe.units.party.columnAnchorPoint = "BOTTOM" + E.db.unitframe.units.party.buffIndicator.size = 10 E.db.unitframe.units.party.point = "RIGHT" E.db.unitframe.units.party.xOffset = -1 E.db.unitframe.units.party.yOffset = 1 @@ -1705,7 +1716,6 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.party.power.text_format = "" E.db.unitframe.units.party.buffIndicator.size = 10 E.db.unitframe.units.party.roleIcon.enable = false - E.db.unitframe.units.party.roleIcon.position = "BOTTOMRIGHT" E.db.unitframe.units.party.GPSArrow.size = 40 E.db.unitframe.units.party.positionOverride = "BOTTOMRIGHT" E.db.unitframe.units.party.healPrediction = true @@ -1718,7 +1728,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.party.name.position = "TOP" E.db.unitframe.units.party.debuffs.xOffset = -4 E.db.unitframe.units.party.debuffs.yOffset = -7 - E.db.unitframe.units.party.debuffs.anchorPoint = "TOPRIGHT" + E.db.unitframe.units.party.debuffs.anchorPoint = "TOPLEFT" E.db.unitframe.units.party.debuffs.sizeOverride = 16 E.db.unitframe.units.party.buffs.noConsolidated = false E.db.unitframe.units.party.buffs.enable = true @@ -1737,12 +1747,14 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.party.raidicon.xOffset = 9 E.db.unitframe.units.party.raidicon.size = 13 E.db.unitframe.units.party.raidicon.yOffset = 0 + E.db.unitframe.units.party.targetsGroup.anchorPoint = "BOTTOM" E.db.unitframe.units.raid10.columnAnchorPoint = "BOTTOM" + E.db.unitframe.units.raid10.height = 45 E.db.unitframe.units.raid10.point = "RIGHT" E.db.unitframe.units.raid10.rdebuffs.enable = false E.db.unitframe.units.raid10.yOffset = 4 - E.db.unitframe.units.raid10.xOffset = -1 + E.db.unitframe.units.raid10.xOffset = -1 -- yOffset is 1 as dps layout E.db.unitframe.units.raid10.roleIcon.enable = false E.db.unitframe.units.raid10.power.offset = 5 E.db.unitframe.units.raid10.positionOverride = "BOTTOMRIGHT" @@ -1816,6 +1828,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.raid40.raidicon.xOffset = 9 E.db.unitframe.units.raid40.raidicon.yOffset = 0 E.db.unitframe.units.raid40.raidicon.size = 13 + E.db.unitframe.units.raid40.raidicon.attachTo = "LEFT" E.db.unitframe.units.raid40.rdebuffs.size = 26 E.db.unitframe.units.raid40.name.position = "TOP" E.db.unitframe.units.raid40.buffIndicator.fontSize = 11 @@ -1830,6 +1843,8 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.unitframe.units.raid40.debuffs.clickThrough = true E.db.unitframe.units.raid40.debuffs.xOffset = -4 E.db.unitframe.units.raid40.debuffs.yOffset = -9 + E.db.unitframe.units.raid40.debuffs.useBlacklist = false + E.db.unitframe.units.raid40.debuffs.useFilter = "Blacklist" E.db.unitframe.units.raid40.buffs.xOffset = 21 E.db.unitframe.units.raid40.buffs.yOffset = 25 E.db.unitframe.units.raid40.buffs.anchorPoint = "BOTTOMLEFT" @@ -1901,24 +1916,14 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.sle.datatext.dp6.width = 410 E.db.sle.datatext.bottom.width = 104 E.db.sle.datatext.top.width = 104 - --E.db.sle.datatext.chatleft.width = 417 - --E.db.sle.datatext.chatright.width = 417 + if GetScreenWidth() < 1920 then + E.db.sle.datatext.chatleft.width = 364 + E.db.sle.datatext.chatright.width = 364 + else + E.db.sle.datatext.chatleft.width = 412 + E.db.sle.datatext.chatright.width = 412 + end - E.db.datatexts.panels['DP_1']['left'] = "" - E.db.datatexts.panels['DP_1']['middle'] = "" - E.db.datatexts.panels['DP_1']['righ'] = "" - E.db.datatexts.panels['DP_2']['left'] = "" - E.db.datatexts.panels['DP_2']['middle'] = "" - E.db.datatexts.panels['DP_2']['right'] = "" - E.db.datatexts.panels['DP_3']['left'] = "" - E.db.datatexts.panels['DP_3']['middle'] = "" - E.db.datatexts.panels['DP_3']['right'] = "" - E.db.datatexts.panels['DP_4']['left'] = "" - E.db.datatexts.panels['DP_4']['middle'] = "" - E.db.datatexts.panels['DP_4']['right'] = "" - E.db.datatexts.panels['DP_5']['left'] = "" - E.db.datatexts.panels['DP_5']['middle'] = "" - E.db.datatexts.panels['DP_5']['right'] = "" E.db.datatexts.panels['DP_6']['left'] = "System" E.db.datatexts.panels['DP_6']['middle'] = "Time" E.db.datatexts.panels['DP_6']['right'] = "Gold" @@ -1953,29 +1958,30 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t end end do - E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278200" --check - E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0100" --check - E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278200" --check - E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0190" --check - E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432" --check - E.db.movers.ElvUF_PartyMover = "BOTTOMElvUIParentBOTTOM"..xOffset.."450" --Need to change offset - E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450" --Need to change offset - E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450" --Need to change offset - E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450" --Need to change offset - E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0230" --check - E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM062" --check - E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM028" --check - E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26028" --check xoffset for this - E.db.movers.ElvAB_4 = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-206200" -- check this pls - E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26028" --check xoffset for this - E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM04" --check - E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604" --check - E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604" --check - E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" --check - E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" --check - E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT41825" --check - E.db.movers.PetAB = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT0200" + E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278200" --check + E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0100" --check + E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278200" --check + E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0190" --check + E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432" --check + E.db.movers.ElvUF_PartyMover = "BOTTOMRIGHTElvUIParentCENTER-213-90" --Need to change offset + E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" --Need to change offset + E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" --Need to change offset + E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" --Need to change offset + E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0230" --check + E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM062" --check + E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM028" --check + E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26028" --check xoffset for this + E.db.movers.ElvAB_4 = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-206200" -- check this pls + E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26028" --check xoffset for this + E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM04" --check + E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604" --check + E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604" --check + E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" --check + E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" --check + E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT41825" --check + E.db.movers.PetAB = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT0200" end + E:UpdateAll(true) end function E:HudSimple() -- 1.7.9.5