Commit 4865788a authored by fgprodigal's avatar fgprodigal

Format code

parent 0057652e
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local IsAddOnLoaded = IsAddOnLoaded
local addon = "AddOnSkins"
local addon = 'AddOnSkins'
if IsAddOnLoaded(addon) ~= true then return end
......@@ -10,56 +10,58 @@ local _G, string = _G, string
function RayUI:LoadAddOnSkinsProfile()
--[[----------------------------------
-- AddOnSkins - Settings
--]]----------------------------------
local AS = unpack(_G.AddOnSkins)
--]] ----------------------------------
local AS = unpack(_G.AddOnSkins)
AS.data:SetProfile('RayUI')
AS.db["EmbedSystemMessage"] = false
AS.db["EmbedOoC"] = true
AS.db["EmbedOoCDelay"] = 10
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"] = true
AS.db["CropIcons"] = true
AS.db["SkinDebug"] = false
AS.db["LoginMsg"] = false
AS.db["Parchment"] = false
AS.db['EmbedSystemMessage'] = false
AS.db['EmbedOoC'] = true
AS.db['EmbedOoCDelay'] = 10
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'] = true
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('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
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),
func = function()
RayUI:LoadAddOnSkinsProfile()
E:StaticPopup_Show('PRIVATE_RL')
-- RayUI:Print(profileString..addon)
end,
disabled = function() return not IsAddOnLoaded(addon) end,
}
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),
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
tinsert(RayUI.Config, ElvUI_ASTable)
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local IsAddOnLoaded = IsAddOnLoaded
local addon = "BigWigs"
local addon = 'BigWigs'
if IsAddOnLoaded("BigWigs") ~= true then return end
if IsAddOnLoaded('BigWigs') ~= true then return end
function RayUI:LoadBWProfile()
LoadAddOn("BigWigs_Options")
LoadAddOn("BigWigs")
LoadAddOn('BigWigs_Options')
LoadAddOn('BigWigs')
BigWigs3DB = {
["namespaces"] = {
["BigWigs_Plugins_Alt Power"] = {
["profiles"] = {
["RayUI"] = {
["posx"] = 976.2828148762928,
["posy"] = 275.0668457574175,
["fontOutline"] = "OUTLINE",
},
},
['namespaces'] = {
['BigWigs_Plugins_Alt Power'] = {
['profiles'] = {['RayUI'] = {['posx'] = 976.2828148762928, ['posy'] = 275.0668457574175, ['fontOutline'] = 'OUTLINE'}}
},
["BigWigs_Plugins_Sounds"] = {
["profiles"] = {
["RayUI"] = {
["media"] = {
["Alert"] = "Arrow Swoosh",
["Warning"] = "BigWigs: Alert",
},
},
},
['BigWigs_Plugins_Sounds'] = {
['profiles'] = {['RayUI'] = {['media'] = {['Alert'] = 'Arrow Swoosh', ['Warning'] = 'BigWigs: Alert'}}}
},
["BigWigs_Plugins_InfoBox"] = {
["profiles"] = {
["RayUI"] = {
["posx"] = 275.750101977832,
["posy"] = 372.5666701537339,
},
},
['BigWigs_Plugins_InfoBox'] = {['profiles'] = {['RayUI'] = {['posx'] = 275.750101977832, ['posy'] = 372.5666701537339}}},
['BigWigs_Plugins_Messages'] = {
['profiles'] = {['RayUI'] = {['BWMessageAnchor_y'] = 348.1665903823596, ['BWMessageAnchor_x'] = 616.4667232393331}}
},
["BigWigs_Plugins_Messages"] = {
["profiles"] = {
["RayUI"] = {
["BWMessageAnchor_y"] = 348.1665903823596,
["BWMessageAnchor_x"] = 616.4667232393331,
},
},
},
["BigWigs_Plugins_AutoReply"] = {
["profiles"] = {
["RayUI"] = {
["exitCombat"] = 4,
["mode"] = 4,
["disabled"] = false,
},
},
},
["BigWigs_Plugins_Bars"] = {
["profiles"] = {
["RayUI"] = {
["outline"] = "OUTLINE",
["BigWigsEmphasizeAnchor_height"] = 22.00000190734863,
["BigWigsAnchor_width"] = 192.9099426269531,
["monochrome"] = false,
["BigWigsEmphasizeAnchor_x"] = 356.8001358492402,
["BigWigsAnchor_height"] = 10.9206714630127,
["BigWigsEmphasizeAnchor_y"] = 528.523199735042,
["nameplateOffsetY"] = 55,
["BigWigsAnchor_x"] = 211.7669002526382,
["BigWigsEmphasizeAnchor_width"] = 249.9999694824219,
["texture"] = "MerathilisUI4",
["emphasizeGrowup"] = true,
["BigWigsAnchor_y"] = 520.9065982301909,
["fill"] = false,
},
},
},
["BigWigs_Plugins_Proximity"] = {
["profiles"] = {
["RayUI"] = {
["height"] = 120.0000076293945,
["posy"] = 381.2671223583893,
["posx"] = 994.0336338337365,
["width"] = 140.0001525878906,
},
},
},
},
["profiles"] = {
["RayUI"] = {
['BigWigs_Plugins_AutoReply'] = {['profiles'] = {['RayUI'] = {['exitCombat'] = 4, ['mode'] = 4, ['disabled'] = false}}},
['BigWigs_Plugins_Bars'] = {
['profiles'] = {
['RayUI'] = {
['outline'] = 'OUTLINE',
['BigWigsEmphasizeAnchor_height'] = 22.00000190734863,
['BigWigsAnchor_width'] = 192.9099426269531,
['monochrome'] = false,
['BigWigsEmphasizeAnchor_x'] = 356.8001358492402,
['BigWigsAnchor_height'] = 10.9206714630127,
['BigWigsEmphasizeAnchor_y'] = 528.523199735042,
['nameplateOffsetY'] = 55,
['BigWigsAnchor_x'] = 211.7669002526382,
['BigWigsEmphasizeAnchor_width'] = 249.9999694824219,
['texture'] = 'MerathilisUI4',
['emphasizeGrowup'] = true,
['BigWigsAnchor_y'] = 520.9065982301909,
['fill'] = false
}
}
},
['BigWigs_Plugins_Proximity'] = {
['profiles'] = {
['RayUI'] = {
['height'] = 120.0000076293945,
['posy'] = 381.2671223583893,
['posx'] = 994.0336338337365,
['width'] = 140.0001525878906
}
}
}
},
['profiles'] = {['RayUI'] = {}}
}
end
local function BWTable()
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),
func = function()
RayUI:LoadBWProfile()
ReloadUI()
end,
disabled = function() return not IsAddOnLoaded("BigWigs") end,
}
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),
func = function()
RayUI:LoadBWProfile()
ReloadUI()
end,
disabled = function()
return not IsAddOnLoaded('BigWigs')
end
}
end
tinsert(RayUI.Config, BWTable)
\ No newline at end of file
tinsert(RayUI.Config, BWTable)
This diff is collapsed.
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local IsAddOnLoaded = IsAddOnLoaded
local addon = "ElvUI_FCT"
local addon = 'ElvUI_FCT'
if IsAddOnLoaded(addon) ~= true then return end
......@@ -9,124 +9,93 @@ local _G, string = _G, string
local FCT = E.Libs.AceAddon:GetAddon(addon)
function RayUI:LoadFCTProfile()
_G.ElvFCT = {
["nameplates"] = {
["frames"] = {
["Player"] = {
["font"] = "PT Sans Narrow",
},
["EnemyNPC"] = {
["fontSize"] = 20,
["advanced"] = {
["radius"] = 120,
["OffsetX"] = 0,
["OffsetY"] = 15,
["anim"] = "vertical",
},
["textShake"] = true,
["iconSize"] = 22,
["font"] = "PT Sans Narrow",
["showDots"] = true,
["numberStyle"] = "BLIZZARD",
["shakeDuration"] = 0.3,
},
["FriendlyPlayer"] = {
["font"] = "PT Sans Narrow",
},
["EnemyPlayer"] = {
["fontSize"] = 20,
["advanced"] = {
["radius"] = 120,
["OffsetX"] = 0,
["OffsetY"] = 15,
["anim"] = "vertical",
},
["iconSize"] = 22,
["font"] = "PT Sans Narrow",
["showDots"] = true,
["numberStyle"] = "BLIZZARD",
["shakeDuration"] = 0.3,
},
["FriendlyNPC"] = {
["font"] = "PT Sans Narrow",
},
},
},
["colors"] = {
["-3"] = {
["g"] = 0.78,
},
["01"] = {
["r"] = 0.78,
},
},
["unitframes"] = {
["frames"] = {
["Target"] = {
["textY"] = 2,
["iconX"] = -3,
["advanced"] = {
["anim"] = "vertical",
},
["showIcon"] = true,
["alternateIcon"] = true,
["showName"] = false,
["numberStyle"] = "BLIZZARD",
["font"] = "PT Sans Narrow",
},
["Pet"] = {
["advanced"] = {
["OffsetY"] = 25,
["anim"] = "vertical",
},
["showIcon"] = true,
["mode"] = "LS",
["alternateIcon"] = true,
["font"] = "PT Sans Narrow",
["numberStyle"] = "BLIZZARD",
},
["Player"] = {
["iconX"] = 0,
["advanced"] = {
["radius"] = 120,
["OffsetX"] = 0,
["OffsetY"] = 30,
["anim"] = "vertical",
},
["showIcon"] = true,
["iconSize"] = 22,
["mode"] = "LS",
["isPlayer"] = false,
["showHots"] = true,
["alternateIcon"] = true,
["spellY"] = 0,
["showName"] = false,
["showDots"] = true,
["numberStyle"] = "BLIZZARD",
["font"] = "PT Sans Narrow",
["fontSize"] = 20,
},
},
},
}
FCT:Initialize()
function RayUI:LoadFCTProfile()
_G.ElvFCT = {
['nameplates'] = {
['frames'] = {
['Player'] = {['font'] = 'PT Sans Narrow'},
['EnemyNPC'] = {
['fontSize'] = 20,
['advanced'] = {['radius'] = 120, ['OffsetX'] = 0, ['OffsetY'] = 15, ['anim'] = 'vertical'},
['textShake'] = true,
['iconSize'] = 22,
['font'] = 'PT Sans Narrow',
['showDots'] = true,
['numberStyle'] = 'BLIZZARD',
['shakeDuration'] = 0.3
},
['FriendlyPlayer'] = {['font'] = 'PT Sans Narrow'},
['EnemyPlayer'] = {
['fontSize'] = 20,
['advanced'] = {['radius'] = 120, ['OffsetX'] = 0, ['OffsetY'] = 15, ['anim'] = 'vertical'},
['iconSize'] = 22,
['font'] = 'PT Sans Narrow',
['showDots'] = true,
['numberStyle'] = 'BLIZZARD',
['shakeDuration'] = 0.3
},
['FriendlyNPC'] = {['font'] = 'PT Sans Narrow'}
}
},
['colors'] = {['-3'] = {['g'] = 0.78}, ['01'] = {['r'] = 0.78}},
['unitframes'] = {
['frames'] = {
['Target'] = {
['textY'] = 2,
['iconX'] = -3,
['advanced'] = {['anim'] = 'vertical'},
['showIcon'] = true,
['alternateIcon'] = true,
['showName'] = false,
['numberStyle'] = 'BLIZZARD',
['font'] = 'PT Sans Narrow'
},
['Pet'] = {
['advanced'] = {['OffsetY'] = 25, ['anim'] = 'vertical'},
['showIcon'] = true,
['mode'] = 'LS',
['alternateIcon'] = true,
['font'] = 'PT Sans Narrow',
['numberStyle'] = 'BLIZZARD'
},
['Player'] = {
['iconX'] = 0,
['advanced'] = {['radius'] = 120, ['OffsetX'] = 0, ['OffsetY'] = 30, ['anim'] = 'vertical'},
['showIcon'] = true,
['iconSize'] = 22,
['mode'] = 'LS',
['isPlayer'] = false,
['showHots'] = true,
['alternateIcon'] = true,
['spellY'] = 0,
['showName'] = false,
['showDots'] = true,
['numberStyle'] = 'BLIZZARD',
['font'] = 'PT Sans Narrow',
['fontSize'] = 20
}
}
}
}
FCT:Initialize()
end
local function ElvUI_FCTTable()
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),
func = function()
RayUI:LoadFCTProfile()
FCT:UpdateUnitFrames()
FCT:UpdateNamePlates()
-- RayUI:Print(profileString..addon)
end,
disabled = function() return not IsAddOnLoaded(addon) end,
}
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),
func = function()
RayUI:LoadFCTProfile()
FCT:UpdateUnitFrames()
FCT:UpdateNamePlates()
-- RayUI:Print(profileString..addon)
end,
disabled = function()
return not IsAddOnLoaded(addon)
end
}
end
tinsert(RayUI.Config, ElvUI_FCTTable)
\ No newline at end of file
tinsert(RayUI.Config, ElvUI_FCTTable)
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local IsAddOnLoaded = IsAddOnLoaded
local addon = "ProjectAzilroka"
local addon = 'ProjectAzilroka'
if IsAddOnLoaded(addon) ~= true then return end
......@@ -10,98 +10,97 @@ local _G, string = _G, string
function RayUI:LoadPAProfile()
--[[----------------------------------
-- ProjectAzilroka - Settings
--]]----------------------------------
local PA = _G.ProjectAzilroka
--]] ----------------------------------
local PA = _G.ProjectAzilroka
PA.data:SetProfile('RayUI')
PA.db["SquareMinimapButtons"]["MoveQueue"] = false
PA.db["SquareMinimapButtons"]["MoveMail"] = false
PA.db["SquareMinimapButtons"]["MoveTracker"] = false
PA.db["SquareMinimapButtons"]["Backdrop"] = false
PA.db["SquareMinimapButtons"]["ButtonSpacing"] = 0
PA.db["SquareMinimapButtons"]["ButtonsPerRow"] = 10
PA.db["AuraReminder"]["Enable"] = false
PA.db["EnhancedShadows"]["Enable"] = false
PA.db["MovableFrames"]["Enable"] = false
PA.db["MouseoverAuras"]["Enable"] = false
PA.db["QuestSounds"]["Enable"] = false
PA.db["BrokerLDB"]["FontFlag"] = "OUTLINE"
PA.db["BrokerLDB"]["Font"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["BigButtons"]["Enable"] = true
PA.db["EnhancedFriendsList"]["App"] = "Flat"
PA.db["EnhancedFriendsList"]["BSAp"] = "Flat"
PA.db["DragonOverlay"]["Enable"] = false
PA.db["OzCooldowns"]["Enable"] = true
PA.db["OzCooldowns"]["StatusBarTexture"] = "MerathilisUI4"
PA.db["OzCooldowns"]["Tooltips"] = false
PA.db["OzCooldowns"]["SuppressDuration"] = 120
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"] = true
PA.db["iFilger"]["Buffs"]["Direction"] = "LEFT"
PA.db["iFilger"]["Buffs"]["Size"] = 40
PA.db["iFilger"]["Buffs"]["FilterByList"] = "Whitelist"
PA.db["iFilger"]["Buffs"]["StackCountFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["Buffs"]["StackCountFontFlag"] = "OUTLINE"
PA.db["iFilger"]["Buffs"]["StackCountFontSize"] = 12
PA.db["iFilger"]["Buffs"]["Whitelist"][275863] = true
PA.db["iFilger"]["Buffs"]["StackCountFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["Buffs"]["StatusBarFont"] = E.Libs.LSM.DefaultMedia["font"]
PA.db["iFilger"]["Buffs"]["StatusBarTexture"] = "MerathilisUI4"
PA.db["iFilger"]["TargetDebuffs"]["Enable"] = false
PA.db["iFilger"]["ItemCooldowns"]["Enable"] = true
PA.db["iFilger"]["ItemCooldowns"]["StatusBarTexture"] = "MerathilisUI4"
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
PA.db["cooldown"]["hideBlizzard"] = true
PA.db["cooldown"]["mmssColor"] = { r = 1, g = 1, b = 0}
PA.db["cooldown"]["mmssColor"] = { r = 1, g = 1, b = 0}
PA.db["cooldown"]["fonts"] = {
["enable"] = true,
["font"] = "RayUI Roadway",
}
PA.db['SquareMinimapButtons']['MoveQueue'] = false
PA.db['SquareMinimapButtons']['MoveMail'] = false
PA.db['SquareMinimapButtons']['MoveTracker'] = false
PA.db['SquareMinimapButtons']['Backdrop'] = false
PA.db['SquareMinimapButtons']['ButtonSpacing'] = 0
PA.db['SquareMinimapButtons']['ButtonsPerRow'] = 10