Commit f90780d7 authored by fgprodigal's avatar fgprodigal

More profile

parent 8323f6bc
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local IsAddOnLoaded = IsAddOnLoaded
local addon = "AddOnSkins"
if IsAddOnLoaded(addon) ~= true then return end
local _G, string = _G, string
function RayUI:LoadAddOnSkinsProfile()
--[[----------------------------------
-- AddOnSkins - Settings
--]]----------------------------------
local AS = unpack(_G.AddOnSkins)
AS.data:SetProfile('RayUI')
AS.db["EmbedSystemMessage"] = false
AS.db["EmbedOoC"] = true
AS.db["EmbedOoCDelay"] = 15
AS.db["EmbedBelowTop"] = false
AS.db["SkinTemplate"] = "MerathilisUI"
AS.db["DBMFont"] = E.Libs.LSM.DefaultMedia["font"]
AS.db["DBMFontSize"] = 12
AS.db["DBMFontFlag"] = "OUTLINE"
AS.db["DBMRadarTrans"] = false
AS.db["EmbedBackdrop"] = false
AS.db["CropIcons"] = true
AS.db["SkinDebug"] = false
AS.db["LoginMsg"] = false
AS.db["Parchment"] = false
-- embeded settings
if IsAddOnLoaded("Details") then
AS.db["EmbedSystem"] = true
AS.db["EmbedSystemDual"] = false
AS.db["EmbedMain"] = "Details"
AS.db["EmbedLeft"] = ""
AS.db["EmbedRight"] = ""
end
if IsAddOnLoaded("Skada") then
AS.db["EmbedSystem"] = true
AS.db["EmbedSystemDual"] = false
AS.db["EmbedMain"] = "Skada"
AS.db["EmbedLeft"] = ""
AS.db["EmbedRight"] = ""
end
end
local function ElvUI_ASTable()
E.Options.args.rayui.args.addons.args[addon] = {
order = 1,
type = "execute",
name = addon,
desc = string.format(L["This will create and apply profile for %s"], addon),
buttonElvUI = true,
func = function()
RayUI:LoadAddOnSkinsProfile()
E:StaticPopup_Show('PRIVATE_RL')
-- RayUI:Print(profileString..addon)
end,
disabled = function() return not IsAddOnLoaded(addon) end,
}
end
tinsert(RayUI.Config, ElvUI_ASTable)
\ No newline at end of file
......@@ -15,6 +15,9 @@ if IsAddOnLoaded("DBM-Core") ~= true then return end
local _G, string = _G, string
function RayUI:LoadDBMProfile()
--[[----------------------------------
-- DeadlyBossMods - Settings
--]]----------------------------------
_G.DBM:CreateProfile("RayUI")
_G.DBM_AllSavedOptions = {
......
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<script file="AddOnSkins.lua"/>
<script file="DeadlyBossMods.lua"/>
<script file="ElvUI_FCT.lua"/>
<script file="ProjectAzilroka.lua"/>
......
......@@ -32,7 +32,7 @@ function RayUI:LoadPAProfile()
PA.db["QuestSounds"]["Enable"] = false
PA.db["BrokerLDB"]["FontFlag"] = "OUTLINE"
PA.db["BrokerLDB"]["Font"] = "PT Sans Narrow"
PA.db["BrokerLDB"]["Font"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["BigButtons"]["Enable"] = true
......@@ -41,11 +41,32 @@ function RayUI:LoadPAProfile()
PA.db["DragonOverlay"]["Enable"] = false
PA.db["OzCooldowns"]["Enable"] = false
PA.db["OzCooldowns"]["Enable"] = true
PA.db["OzCooldowns"]["StatusBarTexture"] = "Kringel"
PA.db["OzCooldowns"]["Tooltips"] = false
PA.db["OzCooldowns"]["SuppressDuration"] = 120
PA.db["OzCooldowns"]["StackFont"] = "PT Sans Narrow"
PA.db["OzCooldowns"]["StackFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["Enable"] = true
PA.db["iFilger"]["Enhancements"]["Enable"] = false
PA.db["iFilger"]["FocusDebuffs"]["Enable"] = false
PA.db["iFilger"]["RaidDebuffs"]["Enable"] = false
PA.db["iFilger"]["FocusBuffs"]["Enable"] = false
PA.db["iFilger"]["Procs"]["Enable"] = false
PA.db["iFilger"]["Cooldowns"]["Enable"] = false
PA.db["iFilger"]["Buffs"]["Enable"] = false
PA.db["iFilger"]["TargetDebuffs"]["Enable"] = false
PA.db["iFilger"]["ItemCooldowns"]["Enable"] = true
PA.db["iFilger"]["ItemCooldowns"]["StatusBarTexture"] = "Kringel"
PA.db["iFilger"]["ItemCooldowns"]["StatusBarDirection"] = "DOWN"
PA.db["iFilger"]["ItemCooldowns"]["StackCountFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["ItemCooldowns"]["StatusBarFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["ItemCooldowns"]["Size"] = 32
PA.db["iFilger"]["ItemCooldowns"]["StatusBar"] = true
PA.db["iFilger"]["ItemCooldowns"]["StatusBarFontFlag"] = "OUTLINE"
PA.db["iFilger"]["ItemCooldowns"]["StatusBarFontSize"] = 12
PA.db["iFilger"]["ItemCooldowns"]["StackCountFontFlag"] = "OUTLINE"
PA.db["iFilger"]["ItemCooldowns"]["StackCountFontSize"] = 12
PA.db["ReputationReward"]["ShowAll"] = false
......
......@@ -1735,6 +1735,12 @@ RayUI.isInstallerRunning = false
function RayUI:SetupAddOns()
RayUI.isInstallerRunning = true -- don't print when applying profile that doesn't exist
-- AddOnSkins
if RayUI:IsAddOnEnabled("AddOnSkins") then
RayUI:LoadAddOnSkinsProfile()
tinsert(addonNames, "AddOnSkins")
end
--ElvUI_FCT
if RayUI:IsAddOnEnabled("ElvUI_FCT") then
RayUI:LoadFCTProfile()
......
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