Commit cd2b86fb authored by fgprodigal's avatar fgprodigal

Update Install

parent 1c338ed2
......@@ -193,130 +193,132 @@ function RayUI:SetupLayout(layout)
E.db["actionbar"]["bar1"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar2"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar3"]["backdrop"] = true
E.db["actionbar"]["bar3"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar3"]["point"] = "TOPLEFT"
E.db["actionbar"]["bar3"]["backdropSpacing"] = 3
E.db["actionbar"]["bar3"]["buttons"] = 10
E.db["actionbar"]["bar3"]["buttonspacing"] = 3
E.db["actionbar"]["bar3"]["buttonsPerRow"] = 12
E.db["actionbar"]["bar3"]["backdropSpacing"] = 3
E.db["actionbar"]["bar3"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar3"]["point"] = "TOPLEFT"
E.db["actionbar"]["bar4"]["widthMult"] = 1
E.db["unitframe"]["units"]["raid"]["width"] = 79
E.db["unitframe"]["smartRaidFilter"] = true
E.db["unitframe"]["units"]["party"]["enable"] = true
E.db["unitframe"]["units"]["raid"]["height"] = 40
E.db["unitframe"]["units"]["raid"]["orientation"] = "LEFT"
E.db["unitframe"]["units"]["raid40"]["width"] = 79
E.db["unitframe"]["units"]["raid"]["width"] = 79
E.db["unitframe"]["units"]["raid40"]["height"] = 40
E.db["unitframe"]["units"]["raid40"]["orientation"] = "LEFT"
E.db["unitframe"]["units"]["raid40"]["width"] = 79
E.db["unitframe"]["units"]["target"]["buffs"]["sortMethod"] = "TIME_REMAINING"
E.db["unitframe"]["smartRaidFilter"] = true
E.db["unitframe"]["units"]["party"]["enable"] = true
E:StaggeredUpdateAll(nil, true)
self:SetMoverPosition("ClassBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 346)
self:SetMoverPosition("ElvAB_1", "BOTTOM", E.UIParent, "BOTTOM", 0, 145)
self:SetMoverPosition("ElvAB_2", "BOTTOM", E.UIParent, "BOTTOM", 0, 184)
self:SetMoverPosition("ElvAB_3", "BOTTOM", E.UIParent, "BOTTOM", 0, 40)
self:SetMoverPosition("ElvAB_4", "RIGHT", E.UIParent, "RIGHT", -5, 0)
self:SetMoverPosition("ElvAB_5", "RIGHT", ElvAB_4, "LEFT", -3, 0)
self:SetMoverPosition("ElvAB_6", "BOTTOM", E.UIParent, "BOTTOM", 0, 19)
self:SetMoverPosition("PetAB", "BOTTOM", E.UIParent, "BOTTOM", 0, 81)
self:SetMoverPosition("ShiftAB", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 273)
self:SetMoverPosition("ClassBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 346)
self:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", -244, 340)
self:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", E.UIParent, "BOTTOM", 244, 340)
self:SetMoverPosition("ElvUF_TargetCastbarMover", "TOP", _G.ElvUF_Target, "BOTTOM", 0, -17)
self:SetMoverPosition("ElvUF_TargetTargetMover", "LEFT", _G.ElvUF_Target, "RIGHT", 2, 0)
self:SetMoverPosition("ElvUF_PetMover", "RIGHT", _G.ElvUF_Player, "LEFT", -2, 0)
self:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 257, 307)
self:SetMoverPosition("ElvUF_PetCastbarMover", "TOP", _G.ElvUF_Pet, "BOTTOM", 0, -2)
self:SetMoverPosition("ElvUF_PetMover", "RIGHT", _G.ElvUF_Player, "LEFT", -2, 0)
self:SetMoverPosition("ElvUF_PlayerCastbarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 122)
self:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 257, 307)
self:SetMoverPosition("ElvUF_RaidMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 307)
self:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", -244, 340)
self:SetMoverPosition("ElvUF_Raid40Mover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 307)
self:SetMoverPosition("ElvUF_RaidMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 307)
self:SetMoverPosition("ElvUF_RaidpetMover", "TOPLEFT", E.UIParent, "BOTTOMLEFT", 4, 162)
self:SetMoverPosition("ElvUF_TargetCastbarMover", "TOP", _G.ElvUF_Target, "BOTTOM", 0, -17)
self:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", E.UIParent, "BOTTOM", 244, 340)
self:SetMoverPosition("ElvUF_TargetTargetMover", "LEFT", _G.ElvUF_Target, "RIGHT", 2, 0)
self:SetMoverPosition("PetAB", "BOTTOM", E.UIParent, "BOTTOM", 0, 81)
self:SetMoverPosition("ShiftAB", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 273)
elseif layout == "healer" then
E.db["actionbar"]["bar1"]["inheritGlobalFade"] = false
E.db["actionbar"]["bar2"]["inheritGlobalFade"] = false
E.db["actionbar"]["bar3"]["backdrop"] = false
E.db["actionbar"]["bar3"]["buttonsize"] = 29
E.db["actionbar"]["bar3"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar3"]["point"] = "TOPLEFT"
E.db["actionbar"]["bar3"]["backdropSpacing"] = 3
E.db["actionbar"]["bar3"]["buttons"] = 12
E.db["actionbar"]["bar3"]["buttonsize"] = 29
E.db["actionbar"]["bar3"]["buttonspacing"] = 4
E.db["actionbar"]["bar3"]["buttonsPerRow"] = 1
E.db["actionbar"]["bar3"]["backdropSpacing"] = 3
E.db["actionbar"]["bar3"]["inheritGlobalFade"] = true
E.db["actionbar"]["bar3"]["point"] = "TOPLEFT"
E.db["actionbar"]["bar4"]["widthMult"] = 2
E.db["unitframe"]["units"]["raid"]["width"] = 83
E.db["unitframe"]["smartRaidFilter"] = false
E.db["unitframe"]["units"]["party"]["enable"] = false
E.db["unitframe"]["units"]["raid"]["height"] = 40
E.db["unitframe"]["units"]["raid"]["orientation"] = "MIDDLE"
E.db["unitframe"]["units"]["raid40"]["width"] = 83
E.db["unitframe"]["units"]["raid"]["width"] = 83
E.db["unitframe"]["units"]["raid40"]["height"] = 30
E.db["unitframe"]["units"]["raid40"]["orientation"] = "MIDDLE"
E.db["unitframe"]["units"]["raid40"]["width"] = 83
E.db["unitframe"]["units"]["target"]["buffs"]["sortMethod"] = "PLAYER"
E.db["unitframe"]["smartRaidFilter"] = false
E.db["unitframe"]["units"]["party"]["enable"] = false
E:StaggeredUpdateAll(nil, true)
self:SetMoverPosition("ClassBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 346)
self:SetMoverPosition("ElvAB_1", "BOTTOM", E.UIParent, "BOTTOM", 0, 41)
self:SetMoverPosition("ElvAB_2", "BOTTOM", E.UIParent, "BOTTOM", 0, 80)
self:SetMoverPosition("ElvAB_3", "RIGHT", E.UIParent, "RIGHT", -42, 0)
self:SetMoverPosition("ElvAB_4", "RIGHT", E.UIParent, "RIGHT", -5, 0)
self:SetMoverPosition("ElvAB_5", "RIGHT", ElvAB_4, "LEFT", -3, 0)
self:SetMoverPosition("ElvAB_6", "BOTTOM", E.UIParent, "BOTTOM", 0, 19)
self:SetMoverPosition("PetAB", "BOTTOMRIGHT", E.UIParent, "BOTTOM", -240, 6)
self:SetMoverPosition("ShiftAB", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 273)
self:SetMoverPosition("ClassBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 346)
self:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", -320, 340)
self:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", E.UIParent, "BOTTOM", 320, 340)
self:SetMoverPosition("ElvUF_TargetCastbarMover", "TOP", _G.ElvUF_Target, "BOTTOM", 0, -17)
self:SetMoverPosition("ElvUF_TargetTargetMover", "LEFT", _G.ElvUF_Target, "RIGHT", 2, 0)
self:SetMoverPosition("ElvUF_PetMover", "RIGHT", _G.ElvUF_Player, "LEFT", -2, 0)
self:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 257, 307)
self:SetMoverPosition("ElvUF_PetCastbarMover", "TOP", _G.ElvUF_Pet, "BOTTOM", 0, -2)
self:SetMoverPosition("ElvUF_PetMover", "RIGHT", _G.ElvUF_Player, "LEFT", -2, 0)
self:SetMoverPosition("ElvUF_PlayerCastbarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 120)
self:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 257, 307)
self:SetMoverPosition("ElvUF_RaidMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 145)
self:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", -320, 340)
self:SetMoverPosition("ElvUF_Raid40Mover", "BOTTOM", E.UIParent, "BOTTOM", 0, 145)
self:SetMoverPosition("ElvUF_RaidMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 145)
self:SetMoverPosition("ElvUF_RaidpetMover", "TOPLEFT", E.UIParent, "BOTTOMLEFT", 4, 162)
self:SetMoverPosition("ElvUF_TargetCastbarMover", "TOP", _G.ElvUF_Target, "BOTTOM", 0, -17)
self:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", E.UIParent, "BOTTOM", 320, 340)
self:SetMoverPosition("ElvUF_TargetTargetMover", "LEFT", _G.ElvUF_Target, "RIGHT", 2, 0)
self:SetMoverPosition("PetAB", "BOTTOMRIGHT", E.UIParent, "BOTTOM", -240, 6)
self:SetMoverPosition("ShiftAB", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 273)
end
self:SetMoverPosition("ElvUF_FocusMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -450, -350)
self:SetMoverPosition("ElvUF_FocusCastbarMover", "TOP", _G.ElvUF_Focus, "BOTTOM", 0, -17)
self:SetMoverPosition("mUI_RaidMarkerBarAnchor", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -277, 178)
self:SetMoverPosition("GMMover", "TOPLEFT", E.UIParent, "TOPLEFT", 229, -20)
self:SetMoverPosition("BuffsMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -221, -18)
self:SetMoverPosition("AlertFrameMover", "TOP", E.UIParent, "TOP", 0, -140)
self:SetMoverPosition("AltPowerBarMover", "TOP", E.UIParent, "TOP", 0, -45)
self:SetMoverPosition("AutoButtonAnchor2Mover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 42)
self:SetMoverPosition("AutoButtonAnchor3Mover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 1)
self:SetMoverPosition("AutoButtonAnchorMover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 83)
self:SetMoverPosition("AzeriteBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 24)
self:SetMoverPosition("BelowMinimapContainerMover", "TOPLEFT", E.UIParent, "TOPLEFT", 45, -211)
self:SetMoverPosition("BNETMover", "TOP", E.UIParent, "TOP", 0, -50)
self:SetMoverPosition("BossButton", "TOPRIGHT", E.UIParent, "TOPRIGHT", -381, -516)
self:SetMoverPosition("LootFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -495, -457)
self:SetMoverPosition("ObjectiveFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -135, -315)
self:SetMoverPosition("mUIMiddleDTPanelMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 6)
self:SetMoverPosition("BuffsMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -221, -18)
self:SetMoverPosition("DebuffsMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -221, -161)
self:SetMoverPosition("DurabilityFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -4, -283)
self:SetMoverPosition("MinimapMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -11, -17)
self:SetMoverPosition("MicrobarMover", "TOPLEFT", E.UIParent, "TOPLEFT", 4, -4)
self:SetMoverPosition("MER_MicroBarMover", "TOP", E.UIParent, "TOP", 0, -19)
self:SetMoverPosition("TimeManagerFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -39, -231)
self:SetMoverPosition("ElvNP_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 360)
self:SetMoverPosition("ElvUF_FocusCastbarMover", "TOP", _G.ElvUF_Focus, "BOTTOM", 0, -17)
self:SetMoverPosition("ElvUF_FocusMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -450, -350)
self:SetMoverPosition("ElvUIBagMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -28, 50)
self:SetMoverPosition("ElvUIBankMover", "BOTTOMLEFT", E.UIParent, "BOTTOMLEFT", 10, 50)
self:SetMoverPosition("SpecializationBarMover", "BOTTOM", E.UIParent, "BOTTOM", 243, 4)
self:SetMoverPosition("ExperienceBarMover", "TOP", _G.LeftChatMover, "BOTTOM", 0, -1)
self:SetMoverPosition("GMMover", "TOPLEFT", E.UIParent, "TOPLEFT", 229, -20)
self:SetMoverPosition("HonorBarMover", "TOP", _G.RightChatPanel, "BOTTOM", 0, -1)
self:SetMoverPosition("ReputationBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 32)
self:SetMoverPosition("AzeriteBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 24)
self:SetMoverPosition("QuestTimerFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -232, -241)
self:SetMoverPosition("TalkingHeadFrameMover", "TOP", E.UIParent, "TOP", 0, -80)
self:SetMoverPosition("MER_SquareMinimapButtonBarMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -10, 198)
self:SetMoverPosition("ElvUIBagMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -28, 50)
self:SetMoverPosition("BNETMover", "TOP", E.UIParent, "TOP", 0, -50)
self:SetMoverPosition("ElvNP_PlayerMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 360)
self:SetMoverPosition("SquareMinimapButtonBarMover", "TOPRIGHT", _G.Minimap, "BOTTOMRIGHT", 1, -1)
self:SetMoverPosition("TooltipMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -10, 280)
self:SetMoverPosition("LootFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -495, -457)
self:SetMoverPosition("MER_LocPanel_Mover", "TOP", E.UIParent, "TOP", 0, 0)
self:SetMoverPosition("MER_MicroBarMover", "TOP", E.UIParent, "TOP", 0, -19)
self:SetMoverPosition("MER_SquareMinimapButtonBarMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -10, 198)
self:SetMoverPosition("MicrobarMover", "TOPLEFT", E.UIParent, "TOPLEFT", 4, -4)
self:SetMoverPosition("MinimapMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -11, -17)
self:SetMoverPosition("mUI_RaidMarkerBarAnchor", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -277, 178)
self:SetMoverPosition("mUIMiddleDTPanelMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 6)
self:SetMoverPosition("ObjectiveFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -135, -315)
self:SetMoverPosition("PlayerPowerBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 250)
self:SetMoverPosition("AlertFrameMover", "TOP", E.UIParent, "TOP", 0, -140)
self:SetMoverPosition("DebuffsMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -221, -161)
self:SetMoverPosition("QuestTimerFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -232, -241)
self:SetMoverPosition("ReputationBarMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 32)
self:SetMoverPosition("SpecializationBarMover", "BOTTOM", E.UIParent, "BOTTOM", 243, 4)
self:SetMoverPosition("SquareMinimapButtonBarMover", "TOPRIGHT", _G.Minimap, "BOTTOMRIGHT", 1, -1)
self:SetMoverPosition("TalkingHeadFrameMover", "TOP", E.UIParent, "TOP", 0, -80)
self:SetMoverPosition("TaxiButtonMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 202)
self:SetMoverPosition("TimeManagerFrameMover", "TOPRIGHT", E.UIParent, "TOPRIGHT", -39, -231)
self:SetMoverPosition("TooltipMover", "BOTTOMRIGHT", E.UIParent, "BOTTOMRIGHT", -10, 280)
self:SetMoverPosition("TopCenterContainerMover", "TOP", E.UIParent, "TOP", 0, -60)
self:SetMoverPosition("AltPowerBarMover", "TOP", E.UIParent, "TOP", 0, -45)
self:SetMoverPosition("AutoButtonAnchor3Mover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 1)
self:SetMoverPosition("AutoButtonAnchor2Mover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 42)
self:SetMoverPosition("AutoButtonAnchorMover", "BOTTOMLEFT", _G.RightChatPanel, "TOPLEFT", 0, 83)
self:SetMoverPosition("VehicleSeatMover", "BOTTOMRIGHT", _G.RightChatPanel, "BOTTOMLEFT", -59, 0)
self:SetMoverPosition("BelowMinimapContainerMover", "TOPLEFT", E.UIParent, "TOPLEFT", 45, -211)
self:SetMoverPosition("ZoneAbbility", "TOPRIGHT", E.UIParent, "TOPRIGHT", -381, -516)
self:SetMoverPosition("OzCooldownsMover", "BOTTOM", E.UIParent, "BOTTOM", 0, 430)
self:SetMoverPosition("iFilger_ItemCooldownsMover", "BOTTOM", E.UIParent, "BOTTOM", 270, 184)
self:SetMoverPosition("iFilger_BuffsMover", "BOTTOM", E.UIParent, "BOTTOM", -135, 470)
......@@ -333,23 +335,26 @@ function RayUI:SetupVariables(colorMode)
--[[----------------------------------
-- GlobalDB
--]]----------------------------------
E.global["general"]["smallerWorldMap"] = false
E.global["general"]["animateConfig"] = false
E.global["general"]["autoScale"] = true
E.global["general"]["showMissingTalentAlert"] = true
E.global["general"]["commandBarSetting"] = "ENABLED_RESIZEPARENT"
if GetLocale() == "zhCN" then
E.global["general"]["numberPrefixStyle"] = "CHINESE"
end
E.global["general"]["commandBarSetting"] = "ENABLED_RESIZEPARENT"
E.global["general"]["showMissingTalentAlert"] = true
E.global["general"]["smallerWorldMap"] = false
--[[----------------------------------
-- PrivateDB
--]]----------------------------------
E.private["general"]["chatBubbleFontSize"] = 13
E.private["general"]["chatBubbleFont"] = E.Libs.LSM.DefaultMedia["font"]
E.private["general"]["chatBubbleFontOutline"] = "OUTLINE"
E.private["general"]["chatBubbleFontSize"] = 13
E.private["general"]["chatBubbleName"] = true
E.private["general"]["normTex"] = E.Libs.LSM.DefaultMedia["statusbar"]
E.private["general"]["dmgfont"] = E.Libs.LSM.DefaultMedia["font"]
E.private["general"]["glossTex"] = E.Libs.LSM.DefaultMedia["statusbar"]
E.private["general"]["namefont"] = E.Libs.LSM.DefaultMedia["font"]
E.private["general"]["normTex"] = E.Libs.LSM.DefaultMedia["statusbar"]
E.private["skins"]["blizzard"]["losscontrol"] = false
E.private["skins"]["parchmentRemover"]["enable"] = false
E.private["theme"] = "default"
......@@ -361,138 +366,134 @@ function RayUI:SetupVariables(colorMode)
E.private["general"]["lootRoll"] = true
end
E.private["general"]["chatBubbleFont"] = E.Libs.LSM.DefaultMedia["font"]
E.private["general"]["namefont"] = E.Libs.LSM.DefaultMedia["font"]
E.private["general"]["dmgfont"] = E.Libs.LSM.DefaultMedia["font"]
--[[----------------------------------
-- ProfileDB - General
--]]----------------------------------
E.db["general"]["totems"]["size"] = 36
E.db["general"]["fontSize"] = 12
E.db["general"]["smoothingAmount"] = 0.25
E.db["general"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["general"]["altPowerBar"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["general"]["minimap"]["locationFont"] = E.Libs.LSM.DefaultMedia["font"]
E.db["general"]["itemLevel"]["itemLevelFont"] = "PT Sans Narrow"
E.db["general"]["interruptAnnounce"] = "RAID"
E.db["general"]["autoRepair"] = "PLAYER"
E.db["general"]["altPowerBar"]["fontSize"] = 12
E.db["general"]["altPowerBar"]["smoothbars"] = true
E.db["general"]["altPowerBar"]["statusBar"] = E.Libs.LSM.DefaultMedia["statusbar"]
E.db["general"]["altPowerBar"]["statusBarColorGradient"] = true
E.db["general"]["altPowerBar"]["textFormat"] = "NAMECURMAXPERC"
E.db["general"]["autoAcceptInvite"] = true
E.db["general"]["minimap"]["locationText"] = "HIDE"
E.db["general"]["autoRepair"] = "PLAYER"
E.db["general"]["autoRoll"] = true
E.db["general"]["backdropcolor"] = { r = 0.17, g = 0.17, b = 0.17 }
E.db["general"]["backdropfadecolor"] = { r = 0.17, g = 0.17, b = 0.17, a = 0.4 }
E.db["general"]["bonusObjectivePosition"] = "AUTO"
E.db["general"]["bordercolor"]["b"] = 0
E.db["general"]["bordercolor"]["g"] = 0
E.db["general"]["bordercolor"]["r"] = 0
E.db["general"]["bottomPanel"] = false
E.db["general"]["decimalLenght"] = 0
E.db["general"]["displayCharacterInfo"] = true
E.db["general"]["displayInspectInfo"] = true
E.db["general"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["general"]["fontSize"] = 12
E.db["general"]["hideErrorFrame"] = false
E.db["general"]["interruptAnnounce"] = "RAID"
E.db["general"]["itemLevel"]["itemLevelFont"] = "PT Sans Narrow"
E.db["general"]["loginmessage"] = false
E.db["general"]["minimap"]["icons"]["mail"]["position"] = "BOTTOMLEFT"
E.db["general"]["minimap"]["icons"]["mail"]["xOffset"] = 0
E.db["general"]["minimap"]["icons"]["mail"]["yOffset"] = -5
E.db["general"]["minimap"]["icons"]["ticket"]["position"] = "TOP"
E.db["general"]["minimap"]["icons"]["ticket"]["scale"] = 0.75
E.db["general"]["minimap"]["locationFont"] = E.Libs.LSM.DefaultMedia["font"]
E.db["general"]["minimap"]["locationFontSize"] = 10
E.db["general"]["minimap"]["locationText"] = "HIDE"
E.db["general"]["minimap"]["resetZoom"]["enable"] = true
E.db["general"]["minimap"]["resetZoom"]["time"] = 5
E.db["general"]["minimap"]["icons"]["ticket"]["scale"] = 0.75
E.db["general"]["minimap"]["icons"]["ticket"]["position"] = "TOP"
E.db["general"]["minimap"]["icons"]["mail"]["xOffset"] = 0
E.db["general"]["minimap"]["icons"]["mail"]["position"] = "BOTTOMLEFT"
E.db["general"]["minimap"]["icons"]["mail"]["yOffset"] = -5
E.db["general"]["minimap"]["size"] = 200
E.db["general"]["resurrectSound"] = true
E.db["general"]["smoothingAmount"] = 0.25
E.db["general"]["talkingHeadFrameBackdrop"] = true
E.db["general"]["bottomPanel"] = false
E.db["general"]["loginmessage"] = false
E.db["general"]["talkingHeadFrameScale"] = 0.9
E.db["general"]["threat"]["enable"] = false
E.db["general"]["threat"]["textOutline"] = "OUTLINE"
E.db["general"]["decimalLenght"] = 0
E.db["general"]["topPanel"] = false
E.db["general"]["bordercolor"]["r"] = 0
E.db["general"]["bordercolor"]["g"] = 0
E.db["general"]["bordercolor"]["b"] = 0
E.db["general"]["autoRoll"] = true
E.db["general"]["hideErrorFrame"] = false
E.db["general"]["displayInspectInfo"] = true
E.db["general"]["bonusObjectivePosition"] = "AUTO"
E.db["general"]["displayCharacterInfo"] = true
E.db["general"]["backdropcolor"] = { r = 0.17, g = 0.17, b = 0.17 }
E.db["general"]["backdropfadecolor"] = { r = 0.17, g = 0.17, b = 0.17, a = 0.4 }
E.db["general"]["totems"]["size"] = 36
E.db["general"]["valuecolor"] = { r = color.r, g = color.g, b = color.b }
E.db["general"]["talkingHeadFrameScale"] = 0.9
E.db["general"]["altPowerBar"]["statusBar"] = E.Libs.LSM.DefaultMedia["statusbar"]
E.db["general"]["altPowerBar"]["statusBarColorGradient"] = true
E.db["general"]["altPowerBar"]["textFormat"] = "NAMECURMAXPERC"
E.db["general"]["altPowerBar"]["smoothbars"] = true
E.db["general"]["altPowerBar"]["fontSize"] = 12
E.db["general"]["vehicleSeatIndicatorSize"] = 76
E.db["general"]["resurrectSound"] = true
--[[----------------------------------
-- ProfileDB - Databars
--]]----------------------------------
E.db["databars"]["reputation"]["height"] = 8
E.db["databars"]["reputation"]["textSize"] = 10
E.db["databars"]["reputation"]["width"] = 355
E.db["databars"]["reputation"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["databars"]["reputation"]["orientation"] = "HORIZONTAL"
E.db["databars"]["honor"]["enable"] = false
E.db["databars"]["honor"]["hideOutsidePvP"] = true
E.db["databars"]["honor"]["height"] = 8
E.db["databars"]["honor"]["width"] = 400
E.db["databars"]["honor"]["orientation"] = "HORIZONTAL"
E.db["databars"]["azerite"]["enable"] = true
E.db["databars"]["azerite"]["height"] = 8
E.db["databars"]["azerite"]["orientation"] = "HORIZONTAL"
E.db["databars"]["azerite"]["width"] = 355
E.db["databars"]["experience"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["databars"]["experience"]["height"] = 8
E.db["databars"]["experience"]["orientation"] = "HORIZONTAL"
E.db["databars"]["experience"]["textSize"] = 10
E.db["databars"]["experience"]["width"] = 400
E.db["databars"]["experience"]["orientation"] = "HORIZONTAL"
E.db["databars"]["azerite"]["enable"] = true
E.db["databars"]["azerite"]["height"] = 8
E.db["databars"]["azerite"]["width"] = 355
E.db["databars"]["azerite"]["orientation"] = "HORIZONTAL"
E.db["databars"]["honor"]["enable"] = false
E.db["databars"]["honor"]["height"] = 8
E.db["databars"]["honor"]["hideOutsidePvP"] = true
E.db["databars"]["honor"]["orientation"] = "HORIZONTAL"
E.db["databars"]["honor"]["width"] = 400
E.db["databars"]["reputation"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["databars"]["reputation"]["height"] = 8
E.db["databars"]["reputation"]["orientation"] = "HORIZONTAL"
E.db["databars"]["reputation"]["textSize"] = 10
E.db["databars"]["reputation"]["width"] = 355
--[[----------------------------------
-- ProfileDB - Auras
--]]----------------------------------
E.db["auras"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["auras"]["fontOutline"] = "OUTLINE"
E.db["auras"]["fadeThreshold"] = 10
E.db["auras"]["buffs"]["wrapAfter"] = 10
E.db["auras"]["buffs"]["horizontalSpacing"] = 5
E.db["auras"]["buffs"]["verticalSpacing"] = 15
E.db["auras"]["buffs"]["durationFontSize"] = 14
E.db["auras"]["buffs"]["countFontsize"] = 14
E.db["auras"]["buffs"]["durationFontSize"] = 14
E.db["auras"]["buffs"]["horizontalSpacing"] = 5
E.db["auras"]["buffs"]["size"] = 40
E.db["auras"]["debuffs"]["horizontalSpacing"] = 5
E.db["auras"]["debuffs"]["durationFontSize"] = 14
E.db["auras"]["debuffs"]["countFontsize"] = 14
E.db["auras"]["debuffs"]["size"] = 42
E.db["auras"]["cooldown"]["override"] = true
E.db["auras"]["cooldown"]["secondsColor"]["b"] = 0
E.db["auras"]["buffs"]["verticalSpacing"] = 15
E.db["auras"]["buffs"]["wrapAfter"] = 10
E.db["auras"]["cooldown"]["checkSeconds"] = true
E.db["auras"]["cooldown"]["daysColor"]["g"] = 0.4
E.db["auras"]["cooldown"]["daysColor"]["r"] = 0.4
E.db["auras"]["cooldown"]["hoursColor"]["r"] = 0.4
E.db["auras"]["cooldown"]["mmssThreshold"] = 90
E.db["auras"]["cooldown"]["override"] = true
E.db["auras"]["cooldown"]["secondsColor"]["b"] = 0
E:CopyTable(E.db["auras"]["cooldown"]["daysIndicator"], E.db["auras"]["cooldown"]["daysColor"])
E:CopyTable(E.db["auras"]["cooldown"]["expireIndicator"], E.db["auras"]["cooldown"]["expiringColor"])
E:CopyTable(E.db["auras"]["cooldown"]["secondsIndicator"], E.db["auras"]["cooldown"]["secondsColor"])
E:CopyTable(E.db["auras"]["cooldown"]["minutesIndicator"], E.db["auras"]["cooldown"]["minutesColor"])
E:CopyTable(E.db["auras"]["cooldown"]["hhmmColor"], E.db["auras"]["cooldown"]["minutesColor"])
E:CopyTable(E.db["auras"]["cooldown"]["hoursIndicator"], E.db["auras"]["cooldown"]["hoursColor"])
E:CopyTable(E.db["auras"]["cooldown"]["daysIndicator"], E.db["auras"]["cooldown"]["daysColor"])
E:CopyTable(E.db["auras"]["cooldown"]["minutesIndicator"], E.db["auras"]["cooldown"]["minutesColor"])
E:CopyTable(E.db["auras"]["cooldown"]["mmssColor"], E.db["auras"]["cooldown"]["secondsColor"])
E:CopyTable(E.db["auras"]["cooldown"]["hhmmColor"], E.db["auras"]["cooldown"]["minutesColor"])
E.db["auras"]["cooldown"]["checkSeconds"] = true
E.db["auras"]["cooldown"]["mmssThreshold"] = 90
E:CopyTable(E.db["auras"]["cooldown"]["secondsIndicator"], E.db["auras"]["cooldown"]["secondsColor"])
E.db["auras"]["debuffs"]["countFontsize"] = 14
E.db["auras"]["debuffs"]["durationFontSize"] = 14
E.db["auras"]["debuffs"]["horizontalSpacing"] = 5
E.db["auras"]["debuffs"]["size"] = 42
E.db["auras"]["fadeThreshold"] = 10
E.db["auras"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["auras"]["fontOutline"] = "OUTLINE"
--[[----------------------------------
-- ProfileDB - Tooltip
--]]----------------------------------
E.db["tooltip"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["tooltip"]["fontSize"] = 13
E.db["tooltip"]["healthBar"]["height"] = 8
E.db["tooltip"]["healthBar"]["statusPosition"] = "TOP"
E.db["tooltip"]["npcID"] = false
E.db["tooltip"]["headerFontSize"] = 13
E.db["tooltip"]["textFontSize"] = 13
E.db["tooltip"]["cursorAnchor"] = true
E.db["tooltip"]["style"] = "inset"
E.db["tooltip"]["cursorAnchorType"] = "ANCHOR_CURSOR_RIGHT"
E.db["tooltip"]["cursorAnchorY"] = 10
E.db["tooltip"]["smallTextFontSize"] = 13
E.db["tooltip"]["alwaysShowRealm"] = true
E.db["tooltip"]["healthBar"]["height"] = 4
E.db["tooltip"]["healthBar"]["fontSize"] = 12
E.db["tooltip"]["healthBar"]["font"] = E.Libs.LSM.DefaultMedia["font"]
if colorMode == "transparent" then
E.db["tooltip"]["colorAlpha"] = 0.4
else
E.db["tooltip"]["colorAlpha"] = 0.8
end
E.db["tooltip"]["cursorAnchor"] = true
E.db["tooltip"]["cursorAnchorType"] = "ANCHOR_CURSOR_RIGHT"
E.db["tooltip"]["cursorAnchorY"] = 10
E.db["tooltip"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["tooltip"]["fontSize"] = 13
E.db["tooltip"]["headerFontSize"] = 13
E.db["tooltip"]["healthBar"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["tooltip"]["healthBar"]["fontSize"] = 12
E.db["tooltip"]["healthBar"]["height"] = 4
E.db["tooltip"]["healthBar"]["height"] = 8
E.db["tooltip"]["healthBar"]["statusPosition"] = "TOP"
E.db["tooltip"]["npcID"] = false
E.db["tooltip"]["smallTextFontSize"] = 13
E.db["tooltip"]["style"] = "inset"
E.db["tooltip"]["textFontSize"] = 13
--[[----------------------------------
-- ProfileDB - UnitFrame
......@@ -500,343 +501,482 @@ function RayUI:SetupVariables(colorMode)
E.db["unitframe"]["font"] = E.Libs.LSM.DefaultMedia["font"]
E.db["unitframe"]["fontSize"] = 12
E.db["unitframe"]["cooldown"]["fonts"]["font"] = "RayUI Roadway"
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["anchorPoint"] = "RIGHT"
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["spacing"] = 4
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["xOffset"] = 3
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["perrow"] = 3
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["yOffset"] = 20
E.db["unitframe"]["units"]["targettarget"]["power"]["height"] = 4
E.db["unitframe"]["units"]["targettarget"]["power"]["position"] = "CENTER"
E.db["unitframe"]["units"]["targettarget"]["customTexts"] = {
["BigName"] = {
["attachTextTo"] = "Frame",
["enable"] = true,
["font"] = E.Libs.LSM.DefaultMedia["font"],
["fontOutline"] = "OUTLINE",
["justifyH"] = "RIGHT",
["size"] = 13,
["text_format"] = nameColorTag .. "[name:veryshort:translit]",
["xOffset"] = -3,
["yOffset"] = 23,
["justifyH"] = "RIGHT",
},
}
E.db["unitframe"]["colors"]["castClassColor"] = not classColor
E.db["unitframe"]["colors"]["classpower_backdrop"]["b"] = 0.11
E.db["unitframe"]["colors"]["classpower_backdrop"]["g"] = 0.11
E.db["unitframe"]["colors"]["classpower_backdrop"]["r"] = 0.11
E.db["unitframe"]["colors"]["colorhealthbyvalue"] = colorMode == "dark"
E.db["unitframe"]["colors"]["health"] = { r = 0, g = 0, b = 0 }
E.db["unitframe"]["colors"]["healthclass"] = classColor
E.db["unitframe"]["colors"]["powerclass"] = not classColor
E.db["unitframe"]["colors"]["useDeadBackdrop"] = true
if colorMode == "transparent" then
E.db["chat"]["panelColor"]["a"] = 0
E.db["chat"]["panelColorConverted"] = true
E.db["unitframe"]["colors"]["classbackdrop"] = true
E.db["unitframe"]["colors"]["colorhealthbyvalue"] = false
E.db["unitframe"]["colors"]["customcastbarbackdrop"] = false
E.db["unitframe"]["colors"]["customhealthbackdrop"] = false
E.db["unitframe"]["colors"]["frameGlow"]["targetGlow"]["class"] = true
E.db["unitframe"]["colors"]["frameGlow"]["targetGlow"]["enable"] = true
E.db["unitframe"]["colors"]["health_backdrop_dead"] = { r = 0.48, g = 0, b = 0 }
E.db["unitframe"]["colors"]["health_backdrop"]= { r = 0.84, g = 0.84, b = 0.84 }
E.db["unitframe"]["colors"]["health"] = { r = 0.2, g = 0.2, b = 0.2 }
E.db["unitframe"]["colors"]["healthMultiplier"] = 0.75
E.db["unitframe"]["colors"]["invertCastbar"] = true
E.db["unitframe"]["colors"]["transparentCastbar"]= true
E.db["unitframe"]["colors"]["transparentHealth"]= true
else
E.db["chat"]["panelColor"]["a"] = 0.45
E.db["chat"]["panelColorConverted"] = true
E.db["unitframe"]["colors"]["classbackdrop"]= false
E.db["unitframe"]["colors"]["customcastbarbackdrop"] = true
E.db["unitframe"]["colors"]["frameGlow"]["targetGlow"]["enable"] = false
E.db["unitframe"]["colors"]["health_backdrop_dead"] = { r = 0.5, g = 0.5, b = 0.5 }
E.db["unitframe"]["colors"]["health_backdrop"]= { r = 0, g = 0, b = 0 }
E.db["unitframe"]["colors"]["health"] = { r = 0, g = 0, b = 0 }
E.db["unitframe"]["colors"]["healthMultiplier"] = 0.2
E.db["unitframe"]["colors"]["invertCastBar"] = false
E.db["unitframe"]["colors"]["transparentCastbar"]= false
E.db["unitframe"]["colors"]["transparentHealth"]= false
end
E.db["unitframe"]["colors"]["auraBarDebuff"]["b"] = 0.2
E.db["unitframe"]["colors"]["auraBarDebuff"]["g"] = 0.2
E.db["unitframe"]["colors"]["auraBarDebuff"]["r"] = 0.78
E.db["unitframe"]["colors"]["castbar_backdrop"]["b"] = 0.04
E.db["unitframe"]["colors"]["castbar_backdrop"]["g"] = 0.04
E.db["unitframe"]["colors"]["castbar_backdrop"]["r"] = 0.04
E.db["unitframe"]["colors"]["castColor"]["b"] = 0.2
E.db["unitframe"]["colors"]["castColor"]["g"] = 0.78
E.db["unitframe"]["colors"]["castColor"]["r"] = 0.2
E.db["unitframe"]["colors"]["castNoInterrupt"]["b"] = 0.2
E.db["unitframe"]["colors"]["castNoInterrupt"]["g"] = 0.2
E.db["unitframe"]["colors"]["castNoInterrupt"]["r"] = 0.78
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][1]["b"] = 0.2
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][1]["g"] = 0.2
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][1]["r"] = 0.78
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][2]["b"] = 0.2
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][2]["g"] = 0.86
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][2]["r"] = 0.86
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][3]["b"] = 0.2
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][3]["g"] = 0.78
E.db["unitframe"]["colors"]["classResources"]["comboPoints"][3]["r"] = 0.2
E.db["unitframe"]["colors"]["classResources"]["WARLOCK"]["b"] = 0.92
E.db["unitframe"]["colors"]["classResources"]["WARLOCK"]["g"] = 0.52
E.db["unitframe"]["colors"]["classResources"]["WARLOCK"]["r"] = 0.52
E.db["unitframe"]["colors"]["debuffHighlight"]["Curse"]["a"] = 1
E.db["unitframe"]["colors"]["debuffHighlight"]["Disease"]["a"] = 1
E.db["unitframe"]["colors"]["debuffHighlight"]["Magic"]["a"] = 1
E.db["unitframe"]["colors"]["debuffHighlight"]["Poison"]["a"] = 1
E.db["unitframe"]["colors"]["frameGlow"]["mainGlow"]["class"] = true
E.db["unitframe"]["colors"]["frameGlow"]["mouseoverGlow"]["color"] = { r = 1, g = 1, b = 1, a = 0.1}
E.db["unitframe"]["colors"]["frameGlow"]["mouseoverGlow"]["enable"] = true
E.db["unitframe"]["colors"]["frameGlow"]["mouseoverGlow"]["texture"] = "ElvUI Blank"
E.db["unitframe"]["colors"]["healPrediction"]["absorbs"] = {r = 0.66, g = 1, b = 1, a = 0.7}
E.db["unitframe"]["colors"]["healPrediction"]["overabsorbs"] = {r = 0.66, g = 1, b = 1, a = 0.7}
E.db["unitframe"]["colors"]["power_backdrop"]["b"] = 0.04
E.db["unitframe"]["colors"]["power_backdrop"]["g"] = 0.04
E.db["unitframe"]["colors"]["power_backdrop"]["r"] = 0.04
E.db["unitframe"]["colors"]["power"]["ENERGY"]["b"] = 0.2
E.db["unitframe"]["colors"]["power"]["ENERGY"]["g"] = 0.86
E.db["unitframe"]["colors"]["power"]["ENERGY"]["r"] = 0.86
E.db["unitframe"][