From 079cf585bf875385c170dc0c80ff51fbb1b92aea Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 10 May 2013 23:08:52 +0400 Subject: [PATCH] Layout redone --- ElvUI_SLE/modules/install/install.lua | 127 ++++++++++++++++----------------- 1 file changed, 61 insertions(+), 66 deletions(-) diff --git a/ElvUI_SLE/modules/install/install.lua b/ElvUI_SLE/modules/install/install.lua index 3f6b546..42f2074 100755 --- a/ElvUI_SLE/modules/install/install.lua +++ b/ElvUI_SLE/modules/install/install.lua @@ -771,29 +771,32 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.general.vendorGrays = true E.db.general.fontsize = 10 E.db.general.minimap.locationText = 'HIDE' - E.db.general.experience.textFormat = 'CURPERC' - E.db.general.experience.textSize = 10 - E.db.general.experience.width = 380 - E.db.general.reputation.textFormat = 'CURMAX' - E.db.general.reputation.textSize = 10 - E.db.general.reputation.width = 380 - if layout == 'healer' then - E.db.general.threat.enable = false + E.db.general.experience.orientation = "VERTICAL" + E.db.general.experience.width = 10 + E.db.general.experience.height = 185 + E.db.general.reputation.orientation = "VERTICAL" + E.db.general.reputation.width = 10 + E.db.general.reputation.height = 185 + E.db.general.threat.enable = false + if layout == "healer" then + E.db.general.totems.growthDirection = 'HORIZONTAL' + E.db.general.totems.size = 24 + else + E.db.general.totems.size = 25 end E.db.general.totems.spacing = 2 - E.db.general.totems.size = 25 E.db.general.bottomPanel = false E.db.general.topPanel = false E.db.general.hideErrorFrame = false --Bags-- - E.db.bags.bagSize = 22 - E.db.bags.bankSize = 22 + E.db.bags.bagSize = 24 + E.db.bags.bankSize = 24 E.db.bags.sortInverted = false E.db.bags.alignToChat = false E.db.bags.bagWidth = 425 E.db.bags.bankWidth = 425 - E.db.bags.yOffset = 186 + E.db.bags.yOffset = 178 E.db.bags.currencyFormat = "ICON" --NamePlate-- @@ -809,7 +812,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to --Auras-- E.db.auras.font = "ElvUI Font" E.db.auras.fontOutline = "OUTLINE" - E.db.auras.wrapAfter = 18 + E.db.auras.wrapAfter = 15 E.db.sle.castername = true E.db.auras.fadeThreshold = 3 E.db.auras.consolidatedBuffs.fontSize = 9 @@ -820,12 +823,11 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to --Chat-- E.db.chat.editboxhistory = 10 E.db.chat.emotionIcons = false - E.db.chat.panelHeight = 192 + E.db.chat.panelHeight = 185 E.db.chat.panelWidth = 425 E.db.chat.panelTabBackdrop = false E.db.chat.timeStampFormat = "%H:%M:%S " E.db.chat.whisperSound = "Whisper Alert" - E.db.chat.fade = false E.db.chat.fontOutline = "OUTLINE" E.db.chat.tabFontOutline = "OUTLINE" @@ -863,8 +865,10 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.sle.dt.friends.totals = true E.db.sle.dt.friends.expandBNBroadcast = true + E.db.sle.dt.friends.combat = true E.db.sle.dt.guild.totals = true E.db.sle.dt.guild.hide_guildname = true + E.db.sle.dt.guild.combat = true E.db.datatexts.panels.Top_Center = 'Version'; E.db.datatexts.panels.Bottom_Panel = 'System'; @@ -1239,13 +1243,13 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.arena.width = 200 E.db.unitframe.units.arena.height = 46 E.db.unitframe.units.arena.growthDirection = 'DOWN' - E.db.unitframe.units.arena.power.yOffset = 8 + E.db.unitframe.units.arena.health.position = "RIGHT" + E.db.unitframe.units.arena.power.yOffset = 7 E.db.unitframe.units.arena.power.width = "inset" E.db.unitframe.units.arena.castbar.format = 'CURRENTMAX' E.db.unitframe.units.arena.castbar.width = 200 - E.db.unitframe.units.arena.pvpTrinket.yOffset = -38 - E.db.unitframe.units.arena.pvpTrinket.size = 25 - E.db.unitframe.units.arena.pvpTrinket.position = "LEFT" + E.db.unitframe.units.arena.pvpTrinket.xOffset = 0 + E.db.unitframe.units.arena.name.position = "TOPLEFT" --Boss E.db.unitframe.units.boss.width = 200 @@ -1254,12 +1258,12 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.unitframe.units.boss.portrait.overlay = true E.db.unitframe.units.boss.portrait.camDistanceScale = 4 E.db.unitframe.units.boss.portrait.enable = true + E.db.unitframe.units.boss.health.position = "RIGHT" E.db.unitframe.units.boss.power.width = "inset" - E.db.unitframe.units.boss.power.yOffset = 8 + E.db.unitframe.units.boss.power.yOffset = 7 E.db.unitframe.units.boss.castbar.format = 'CURRENTMAX' E.db.unitframe.units.boss.castbar.width = 200 E.db.unitframe.units.boss.name.position = "TOPLEFT" - --Power text E.db.sle.powtext = true @@ -1305,10 +1309,16 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.actionbar.bar5.buttonspacing = 1 E.db.actionbar.bar5.buttonsize = 23 E.db.actionbar.bar5.visibility = "[petbattle] hide; show" + + E.db.actionbar.bar6.enabled = true + E.db.actionbar.bar6.point = "TOPLEFT" + E.db.actionbar.bar6.buttonspacing = 1 + E.db.actionbar.bar6.mouseover = true + E.db.actionbar.bar6.buttonsize = 20 + E.db.actionbar.bar6.visibility = "show" E.db.actionbar.microbar.enabled = true - E.db.actionbar.microbar.buttonsPerRow = 6 - E.db.actionbar.microbar.mouseover = true + E.db.actionbar.microbar.buttonsPerRow = 2 E.db.actionbar.stanceBar.buttonspacing = 1 E.db.actionbar.stanceBar.buttonsize = 16 @@ -1326,10 +1336,6 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.sle.marks.backdrop = false E.db.sle.marks.size = 16 - --Exp/Rep Bars-- - E.db.sle.exprep.explong = true - E.db.sle.exprep.replong = true - --Combat icon-- E.db.sle.combatico.pos = 'TOPRIGHT' @@ -1339,7 +1345,7 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to --UI Buttons-- E.db.sle.uibuttons.enable = true - E.db.sle.uibuttons.mouse = true + E.db.sle.uibuttons.size = 15 --Farm-- E.db.sle.farm.size = 23 @@ -1379,16 +1385,16 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.movers.ElvUF_TargetTargetMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-446190" E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM308118" E.db.movers.ElvUF_FocusTargetMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-445126" - E.db.movers.ElvUF_PetMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT547147" - E.db.movers.ElvUF_PetTargetMover = "BOTTOMElvUIParentBOTTOM-254147" - E.db.movers.PetAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT547105" - E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT438199" - E.db.movers.TempEnchantMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT474164" + E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-297147" + E.db.movers.ElvUF_PetTargetMover = "BOTTOMElvUIParentBOTTOM-29773" + E.db.movers.PetAB = "BOTTOMElvUIParentBOTTOM-298104" + E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT442203" + E.db.movers.TempEnchantMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT488176" E.db.movers.ElvUF_PartyMover = "BOTTOMElvUIParentBOTTOM0182" E.db.movers.ElvUF_Raid10Mover = "BOTTOMElvUIParentBOTTOM0156" E.db.movers.ElvUF_Raid25Mover = "BOTTOMElvUIParentBOTTOM0156" E.db.movers.ElvUF_Raid40Mover = "BOTTOMElvUIParentBOTTOM0156" - E.db.movers.ElvUF_TankMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT428228" + E.db.movers.ElvUF_TankMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT428231" E.db.movers.BossButton = "BOTTOMElvUIParentBOTTOM2389" E.db.movers.BNETMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-42743" else @@ -1402,11 +1408,11 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.movers.ElvUF_PetTargetMover = "BOTTOMElvUIParentBOTTOM-161129" E.db.movers.PetAB = "BOTTOMElvUIParentBOTTOM-26685" E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT613100" - E.db.movers.TempEnchantMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT540174" - E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0212" - E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0212" - E.db.movers.ElvUF_Raid25Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0212" - E.db.movers.ElvUF_Raid40Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0212" + E.db.movers.TempEnchantMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT557174" + E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0203" + E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0203" + E.db.movers.ElvUF_Raid25Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0203" + E.db.movers.ElvUF_Raid40Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT0203" E.db.movers.BossButton = "BOTTOMElvUIParentBOTTOM0195" E.db.movers.BNETMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-42753" end @@ -1415,36 +1421,25 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM-7320" E.db.movers.ElvAB_4 = "BOTTOMElvUIParentBOTTOM-18220" E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM18220" + E.db.movers.ElvAB_6 = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT0180" E.db.movers.MinimapMover = "TOPRIGHTElvUIParentTOPRIGHT2-19" - if IsAddOnLoaded("iFilger_ConfigUI") then - E.db.movers.UIBFrameMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-42692" - else - E.db.movers.UIBFrameMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-426112" - end - E.db.movers.WatchFrameMover = "TOPRIGHTElvUIParentTOPRIGHT-219-208" - E.db.movers.BossHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-2-210" - E.db.movers.ArenaHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-2-210" + E.db.movers.UIBFrameMover = "TOPRIGHTElvUIParentTOPRIGHT-1-199" + E.db.movers.WatchFrameMover = "TOPRIGHTElvUIParentTOPRIGHT-47-198" + E.db.movers.BossHeaderMover = "TOPLEFTElvUIParentTOPLEFT0-290" + E.db.movers.ArenaHeaderMover = "TOPLEFTElvUIParentTOPLEFT0-290" E.db.movers.PetBattleABMover = "BOTTOMElvUIParentBOTTOM019" E.db.movers.ShiftAB = "BOTTOMElvUIParentBOTTOM-16168" - if UnitLevel('player') == 90 then - E.db.movers.ExperienceBarMover = "TOPElvUIParentTOP0-19" - E.db.movers.ReputationBarMover = "TOPElvUIParentTOP0-19" - E.db.movers.PvPMover = "TOPElvUIParentTOP0-48" - E.db.movers.LocationMover = "TOPElvUIParentTOP0-28" - E.db.movers.LocationLiteMover = "TOPElvUIParentTOP0-28" - else - E.db.movers.ExperienceBarMover = "TOPElvUIParentTOP0-19" - E.db.movers.ReputationBarMover = "TOPElvUIParentTOP0-28" - E.db.movers.LocationMover = "TOPElvUIParentTOP0-37" - E.db.movers.LocationLiteMover = "TOPElvUIParentTOP0-37" - E.db.movers.PvPMover = "TOPElvUIParentTOP0-57" - end + E.db.movers.ExperienceBarMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-42419" + E.db.movers.ReputationBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT47319" + E.db.movers.PvPMover = "TOPElvUIParentTOP0-39" + E.db.movers.LocationMover = "TOPElvUIParentTOP0-28" + E.db.movers.LocationLiteMover = "TOPElvUIParentTOP0-19" E.db.movers.MarkMover = "BOTTOMElvUIParentBOTTOM0115" - E.db.movers.MicrobarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT55620" - E.db.movers.LootFrameMover = "TOPLEFTElvUIParentTOPLEFT238-329" + E.db.movers.MicrobarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT42418" + E.db.movers.LootFrameMover = "BOTTOMElvUIParentBOTTOM-287461" E.db.movers.AurasMover = "TOPRIGHTElvUIParentTOPRIGHT-201-18" - E.db.movers.GMMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT0444" - E.db.movers.VehicleSeatMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT42419" + E.db.movers.GMMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-43319" + E.db.movers.VehicleSeatMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT48219" E.db.movers.DP_1_Mover = "TOPLEFTElvUIParentTOPLEFT00" E.db.movers.DP_2_Mover = "TOPLEFTElvUIParentTOPLEFT3850" E.db.movers.DP_3_Mover = "TOPRIGHTElvUIParentTOPRIGHT-3850" @@ -1455,10 +1450,10 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT019" E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT019" E.db.movers.RaidUtility_Mover = "TOPElvUIParentTOP-305-19" - E.db.movers.AltPowerBarMover = "TOPElvUIParentTOP0-238" + E.db.movers.AltPowerBarMover = "TOPElvUIParentTOP0-39" E.db.movers.FarmSeedMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-300211" E.db.movers.FarmToolMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-175211" - E.db.movers.AlertFrameMover = "TOPElvUIParentTOP0-207" + E.db.movers.AlertFrameMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT303416" end E:UpdateAll(true) -- 1.7.9.5