From 8bf72d4c824d2af9c8c452d08b2322aa1414cc5c Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 16 Nov 2012 13:15:36 +0400 Subject: [PATCH] My new setup into install --- ElvUI_SLE/modules/install.lua | 170 +++++++++++++++++++++++++---------------- 1 file changed, 104 insertions(+), 66 deletions(-) diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua index 198bcff..69903a5 100644 --- a/ElvUI_SLE/modules/install.lua +++ b/ElvUI_SLE/modules/install.lua @@ -644,12 +644,15 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.general.minimap.locationText = 'SHOW' E.db.general.experience.textFormat = 'CURPERC' E.db.general.experience.textSize = 10 + E.db.general.experience.height = 12 E.db.general.reputation.textFormat = 'CURMAX' - E.db.general.reputation.textSize = 10 + E.db.general.reputation.textSize = 10 + E.db.general.reputation.height = 12 E.db.general.threat.enable = false E.db.general.totems.spacing = 2 E.db.general.totems.growthDirection = "HORIZONTAL" E.db.general.totems.size = 24 + E.db.general.bottomPanel = false --Bags-- E.db.bags.bagSize = 25 @@ -658,7 +661,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.bags.alignToChat = false E.db.bags.bagWidth = 633 E.db.bags.bankWidth = 633 - E.db.bags.yOffset = 225 + E.db.bags.yOffset = 221 E.db.bags.currencyFormat = "ICON" E.db.bags.growthDirection = "HORIZONTAL" @@ -666,7 +669,12 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.nameplate.healthtext = 'CURRENT_PERCENT' E.db.nameplate.lowHealthWarning = 'NONE' E.db.nameplate.lowHealthWarningThreshold = .20 - + E.db.nameplate.width = 112 + E.db.nameplate.fontSize = 8 + E.db.nameplate.fontOutline = "OUTLINE" + E.db.nameplate.font = "ElvUI Font" + E.db.nameplate.height = 8 + --Auras-- E.db.auras.font = "ElvUI Font" E.db.auras.fontOutline = "OUTLINE" @@ -680,7 +688,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to if E.db.lowresolutionset then E.db.chat.panelWidth = 400 else - E.db.chat.panelWidth = 444 + E.db.chat.panelWidth = 446 end --Datatexts-- @@ -701,14 +709,19 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.sle.datatext.bottom.width = E.screenwidth/3 + 52 else E.db.sle.datatext.dp1.enabled = true + E.db.sle.datatext.dp1.width = E.screenwidth/5 + 1 E.db.sle.datatext.dp2.enabled = true E.db.sle.datatext.dp3.enabled = true E.db.sle.datatext.dp4.enabled = true + E.db.sle.datatext.dp4.width = E.screenwidth/5 + 1 E.db.sle.datatext.dp5.enabled = true + E.db.sle.datatext.dp5.width = E.screenwidth/4 - 60 E.db.sle.datatext.dp6.enabled = true - E.db.sle.datatext.chatleft.width = 428 - E.db.sle.datatext.chatright.width = 428 - E.db.sle.datatext.bottom.width = E.screenwidth/10 - 4 + E.db.sle.datatext.dp6.width = E.screenwidth/4 - 60 + E.db.sle.datatext.chatleft.width = 430 + E.db.sle.datatext.chatright.width = 430 + E.db.sle.datatext.bottom.width = E.screenwidth/10 + E.db.sle.datatext.top.width = E.screenwidth/5 + 2 end if E.db.lowresolutionset then @@ -818,7 +831,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.player.portrait.camDistanceScale = 1.5; E.db.unitframe.units.player.debuffs.enable = false; E.db.unitframe.units.player.castbar.format = 'CURRENTMAX'; - E.db.unitframe.units.player.castbar.width = 237 + E.db.unitframe.units.player.castbar.width = 238 E.db.unitframe.units.player.classbar.fill = 'fill' E.db.unitframe.units.player.classbar.height = 8 E.db.unitframe.units.player.aurabar.enable = false @@ -848,7 +861,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.target.debuffs.clickThrough = false E.db.unitframe.units.target.castbar.format = 'CURRENTMAX'; if layout == "healer" then - E.db.unitframe.units.target.castbar.width = 237 + E.db.unitframe.units.target.castbar.width = 238 else E.db.unitframe.units.target.castbar.width = 200 end @@ -916,6 +929,9 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.party.roleIcon.position = "TOPRIGHT" E.db.unitframe.units.party.health.position = "BOTTOMLEFT" end + E.db.unitframe.units.party.xOffset = 1 + E.db.unitframe.units.party.yOffset = -1 + E.db.unitframe.units.party.columnSpacing = 1 E.db.unitframe.units.party.debuffs.sizeOverride = 26 E.db.unitframe.units.party.buffIndicator.colorIcons = false E.db.unitframe.units.party.power.height = 8 @@ -933,24 +949,30 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.raid10.columnAnchorPoint = "LEFT" E.db.unitframe.units.raid10.point = "TOP" end + E.db.unitframe.units.raid10.xOffset = 1 + E.db.unitframe.units.raid10.yOffset = -1 + E.db.unitframe.units.raid10.columnSpacing = 1 E.db.unitframe.units.raid10.name.text_format = "[name:medium]" E.db.unitframe.units.raid10.buffIndicator.colorIcons = false E.db.unitframe.units.raid10.rdebuffs.size = 22 E.db.unitframe.units.raid10.power.height = 8 E.db.unitframe.units.raid10.power.text_format = "" E.db.unitframe.units.raid10.health.position = "BOTTOMLEFT" - E.db.unitframe.units.raid10.health.text_format = "[healthcolor][health:current]" --Raid 25 if layout == "healer" then E.db.unitframe.units.raid25.health.text_format = "[healthcolor][health:deficit]" E.db.unitframe.units.raid25.health.frequentUpdates = true E.db.unitframe.units.raid25.health.orientation = "VERTICAL" E.db.unitframe.units.raid25.health.position = "CENTER" + E.db.unitframe.units.raid25.height = 36 else E.db.unitframe.units.raid25.point = "TOP" E.db.unitframe.units.raid25.columnAnchorPoint = "LEFT" E.db.unitframe.units.raid25.health.text_format = "" end + E.db.unitframe.units.raid25.xOffset = 1 + E.db.unitframe.units.raid25.yOffset = -1 + E.db.unitframe.units.raid25.columnSpacing = 1 E.db.unitframe.units.raid25.buffIndicator.colorIcons = false E.db.unitframe.units.raid25.name.text_format = "[name:medium]" E.db.unitframe.units.raid25.rdebuffs.size = 22 @@ -964,6 +986,10 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to else E.db.unitframe.units.raid40.health.text_format = "" end + E.db.unitframe.units.raid40.height = 26 + E.db.unitframe.units.raid40.xOffset = 1 + E.db.unitframe.units.raid40.yOffset = -1 + E.db.unitframe.units.raid40.columnSpacing = 1 E.db.unitframe.units.raid40.name.text_format = "[name:short]" E.db.unitframe.units.raid40.buffIndicator.colorIcons = false @@ -971,6 +997,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to if layout == "healer" then E.db.unitframe.units.tank.enable = true E.db.unitframe.units.tank.targetsGroup.enable = false + E.db.unitframe.units.tank.height = 24 else E.db.unitframe.units.tank.enable = false end @@ -1025,6 +1052,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.actionbar.bar1.point = "TOPLEFT" E.db.actionbar.bar1.buttonsPerRow = 3 E.db.actionbar.bar1.buttonsize = 26 + E.db.actionbar.bar1.backdrop = true E.db.actionbar.bar2.enabled = true E.db.actionbar.bar2.point = "TOPLEFT" E.db.actionbar.bar2.backdrop = true @@ -1036,8 +1064,14 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.actionbar.bar3.buttonsPerRow = 3 E.db.actionbar.bar3.visibility = "[petbattle] hide; show" E.db.actionbar.bar3.buttonsize = 26 + E.db.actionbar.bar3.backdrop = true E.db.actionbar.bar4.enabled = false - E.db.actionbar.bar5.enabled = false + --E.db.actionbar.bar5.enabled = true + E.db.actionbar.bar5.buttons = 12 + E.db.actionbar.bar5.buttonspacing = 2 + E.db.actionbar.bar5.mouseover = true + E.db.actionbar.bar5.buttonsize = 24 + E.db.actionbar.bar5.backdrop = true E.db.actionbar.microbar.enabled = true E.db.actionbar.microbar.buttonsPerRow = 2 E.db.actionbar.microbar.alpha = 0.2 @@ -1058,12 +1092,14 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.sle.backgrounds.right.enabled = true E.db.sle.backgrounds.right.pethide = false E.db.sle.backgrounds.right.xoffset = 70 + E.db.sle.backgrounds.right.yoffset = -2 E.db.sle.backgrounds.left.enabled = true E.db.sle.backgrounds.left.pethide = false E.db.sle.backgrounds.left.xoffset = -70 + E.db.sle.backgrounds.left.yoffset = -2 --Raid utility-- - E.db.sle.raidutil.ypos = 1050 + E.db.sle.raidutil.ypos = 1052 --Exp/Rep Bars-- E.db.sle.exprep.explong = true @@ -1072,68 +1108,70 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to --Combat icon-- E.db.sle.combatico.pos = 'TOPRIGHT' - --UI buttons-- - E.db.sle.uibuttons.enable = true - E.db.sle.uibuttons.size = 14 - E.db.sle.uibuttons.position = "uib_hor" - --Moving stuff-- if layout == "healer" then - E.db.movers.PetAB = "BOTTOMLEFTUIParentBOTTOMLEFT633141" - E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-754215" - E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-754215" - E.db.movers.ExperienceBarMover = "TOPLEFTUIParentTOPLEFT722-21" - E.db.movers.ElvUF_TargetMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-549249" - E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-754215" - E.db.movers.ElvUF_PetMover = "BOTTOMLEFTUIParentBOTTOMLEFT634212" - E.db.movers.ElvUF_TargetTargetMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-634222" - E.db.movers.ElvUF_PetTargetMover = "BOTTOMLEFTUIParentBOTTOMLEFT634185" - E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMLEFTUIParentBOTTOMLEFT841169" - E.db.movers.ElvUF_TankMover = "BOTTOMLEFTUIParentBOTTOMLEFT428249" - E.db.movers.ElvUF_PlayerMover = "BOTTOMLEFTUIParentBOTTOMLEFT549249" - E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT750251" - E.db.movers.ElvUF_TargetCastbarMover = "BOTTOMLEFTUIParentBOTTOMLEFT841192" - E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT547302" + E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-313245" + E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0177" + E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM313245" + E.db.movers.ElvUF_TargetCastbarMover = "BOTTOMElvUIParentBOTTOM0196" + E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM271220" + E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-270210" + E.db.movers.ElvUF_PetTargetMover = "BOTTOMElvUIParentBOTTOM-270185" + E.db.movers.PetAB = "BOTTOMElvUIParentBOTTOM-275143" + E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT547298" + E.db.movers.TempEnchantMover = "BOTTOMElvUIParentBOTTOM-241298" + E.db.movers.ElvUF_PartyMover = "BOTTOMElvUIParentBOTTOM0251" + E.db.movers.ElvUF_Raid10Mover = "BOTTOMElvUIParentBOTTOM0215" + E.db.movers.ElvUF_Raid25Mover = "BOTTOMElvUIParentBOTTOM0215" + E.db.movers.ElvUF_Raid40Mover = "BOTTOMElvUIParentBOTTOM0215" + E.db.movers.ElvUF_TankMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT428245" + E.db.movers.BossButton = "BOTTOMLEFTElvUIParentBOTTOMLEFT326268" else - E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-841212" - E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTUIParentBOTTOMLEFT4249" - E.db.movers.ElvUF_PetTargetMover = "BOTTOMLEFTUIParentBOTTOMLEFT835169" - E.db.movers.ElvUF_Raid25Mover = "BOTTOMLEFTUIParentBOTTOMLEFT4249" - E.db.movers.ElvUF_TargetMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-634194" - E.db.movers.ElvUF_Raid40Mover = "BOTTOMLEFTUIParentBOTTOMLEFT4249" - E.db.movers.PetAB = "BOTTOMLEFTUIParentBOTTOMLEFT633114" - E.db.movers.ElvUF_TargetCastbarMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-634171" - E.db.movers.ElvUF_PlayerMover = "BOTTOMLEFTUIParentBOTTOMLEFT634194" - E.db.movers.ElvUF_PetMover = "BOTTOMLEFTUIParentBOTTOMLEFT634157" - E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTUIParentBOTTOMLEFT4249" + E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-228192" + E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0194" + E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM228192" + E.db.movers.ElvUF_TargetCastbarMover = "BOTTOMElvUIParentBOTTOM228169" E.db.movers.ElvUF_TargetTargetMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-835169" - E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT632247" + E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-264157" + E.db.movers.ElvUF_PetTargetMover = "BOTTOMLEFTUIParentBOTTOMLEFT835169" + E.db.movers.PetAB = "BOTTOMElvUIParentBOTTOM-275115" + E.db.movers.TotemBarMover = "BOTTOMElvUIParentBOTTOM-275245" + E.db.movers.TempEnchantMover = "BOTTOMElvUIParentBOTTOM-156245" + E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0245" + E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0245" + E.db.movers.ElvUF_Raid25Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0245" + E.db.movers.ElvUF_Raid40Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0245" + E.db.movers.BossButton = "BOTTOMElvUIParentBOTTOM0237" end - E.db.movers.ElvAB_1 = "BOTTOMLEFTUIParentBOTTOMLEFT91321" - E.db.movers.ElvAB_2 = "BOTTOMRIGHTUIParentBOTTOMRIGHT-81821" + E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM019" + E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM8519" + E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM-8519" E.db.movers.ElvAB_4 = "TOPRIGHTUIParentTOPRIGHT-311-319" - E.db.movers.ElvAB_3 = "BOTTOMLEFTUIParentBOTTOMLEFT81821" - E.db.movers.ElvAB_5 = "BOTTOMLEFTUIParentBOTTOMLEFT549479" - E.db.movers.MinimapMover = "TOPRIGHTUIParentTOPRIGHT0-21" - E.db.movers.UIBFrameMover = "BOTTOMLEFTUIParentBOTTOMLEFT63421" + E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-24919" + E.db.movers.MinimapMover = "TOPRIGHTElvUIParentTOPRIGHT2-18" + E.db.movers.UIBFrameMover = "TOPLEFTElvUIParentTOPLEFT0-451" E.db.movers.WatchFrameMover = "TOPRIGHTUIParentTOPRIGHT-237-231" - E.db.movers.BossHeaderMover = "TOPRIGHTUIParentTOPRIGHT0-233" - E.db.movers.ArenaHeaderMover = "TOPRIGHTUIParentTOPRIGHT0-233" - E.db.movers.PetBattleABMover = "BOTTOMLEFTUIParentBOTTOMLEFT76921" - E.db.movers.ShiftAB = "BOTTOMLEFTUIParentBOTTOMLEFT79121" - E.db.movers.ExperienceBarMover = "TOPElvUIParentTOP0-32" - E.db.movers.ReputationBarMover = "TOPElvUIParentTOP0-21" - E.db.movers.MarkMover = "BOTTOMLEFTUIParentBOTTOMLEFT882146" - E.db.movers.MicrobarMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT0248" + E.db.movers.BossHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-1-217" + E.db.movers.ArenaHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-1-217" + E.db.movers.PetBattleABMover = "BOTTOMElvUIParentBOTTOM019" + E.db.movers.ShiftAB = "BOTTOMElvUIParentBOTTOM-14019" + E.db.movers.ExperienceBarMover = "TOPElvUIParentTOP0-19" + E.db.movers.ReputationBarMover = "TOPElvUIParentTOP0-30" + E.db.movers.MarkMover = "BOTTOMElvUIParentBOTTOM0132" + E.db.movers.MicrobarMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT2244" E.db.movers.LootFrameMover = "TOPLEFTUIParentTOPLEFT60-360" - E.db.movers.AurasMover = "TOPRIGHTUIParentTOPRIGHT-214-21" - E.db.movers.BagsMover = "TOPLEFTUIParentTOPLEFT0-21" - E.db.movers.GMMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT0456" - E.db.movers.BossButton = "BOTTOMLEFTUIParentBOTTOMLEFT66846" - E.db.movers.BNETMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT0481" - E.db.movers.ElvUF_FocusMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-636103" - E.db.movers.ElvUF_FocusTargetMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT-63634" - E.db.movers.VehicleSeatMover = "TOPLEFTElvUIParentTOPLEFT187-21" + E.db.movers.AurasMover = "TOPRIGHTElvUIParentTOPRIGHT-208-19" + E.db.movers.BagsMover = "TOPLEFTUIParentTOPLEFT0-19" + E.db.movers.GMMover = "TOPLEFTElvUIParentTOPLEFT402-19" + E.db.movers.BNETMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0479" + E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM239103" + E.db.movers.ElvUF_FocusTargetMover = "BOTTOMElvUIParentBOTTOM23934" + E.db.movers.VehicleSeatMover = "TOPLEFTElvUIParentTOPLEFT185-38" + E.db.movers.DP_5_Mover = "BOTTOMElvUIParentBOTTOM-3050" + E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM3050" + E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT019" + E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT019" + E.db.movers.Dashboard = "TOPLEFTElvUIParentTOPLEFT0-19" E:UpdateAll(true) end -- 1.7.9.5