Commit 864ef5d2 authored by Merathilis's avatar Merathilis

Simple options for the Raid Manager for now.

parent ccca2518
......@@ -265,7 +265,7 @@ function MER:SetupLayout(layout)
E.db["auras"]["fadeThreshold"] = 10
E.db["auras"]["font"] = "Merathilis Gothom Narrow"
E.db["auras"]["fontOutline"] = "OUTLINE"
E.db["auras"]["timeYOffset"] = -4
E.db["auras"]["timeYOffset"] = -5
E.db["auras"]["timeXOffset"] = 0
E.db["auras"]["buffs"]["horizontalSpacing"] = 10
E.db["auras"]["buffs"]["verticalSpacing"] = 15
......
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file="raidmanager.lua"/>
<!-- <Script file="options.lua"/> -->
<Script file="options.lua"/>
</Ui>
local MER, E, L, V, P, G = unpack(select(2, ...))
local module = MER:GetModule("LocPanel")
--Cache global variables
--Lua functions
local tinsert = table.insert
--WoW API / Variables
-- GLOBALS:
local function RaidManagerOptions()
E.Options.args.mui.args.modules.args.raidmanager = {
type = "group",
name = E.NewSign..L["Raid Manager"],
order = 20,
get = function(info) return E.db.mui.raidmanager[ info[#info] ] end,
set = function(info, value) E.db.mui.raidmanager[ info[#info] ] = value; E:StaticPopup_Show("PRIVATE_RL"); end,
args = {
name = {
order = 1,
type = "header",
name = MER:cOption(E.NewSign..L["Raid Manager"]),
},
credits = {
order = 2,
type = "group",
name = MER:cOption(L["Description"]),
guiInline = true,
args = {
tukui = {
order = 1,
type = "description",
fontSize = "medium",
name = (L["This will disable the ElvUI Raid Control and replace it with my own."]),
},
},
},
enable = {
order = 3,
type = "toggle",
name = L["Enable"],
},
},
}
end
tinsert(MER.Config, RaidManagerOptions)
......@@ -12,7 +12,7 @@ local tinsert = table.insert
local function UnitFramesTable()
E.Options.args.mui.args.modules.args.unitframes = {
order = 20,
order = 40,
type = "group",
name = L["UnitFrames"],
childGroups = "tab",
......
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