Commit 549fcc9c authored by Darth Predator's avatar Darth Predator
Browse files

Moar cleanups

parent f6549a45
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local function configTable()
--Main options group
E.Options.args.sle.args.options.args.general.args.pvpautorelease = {
type = "group",
name = L["PvP Auto Release"],
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local BG = E:GetModule('SLE_BackGrounds')
local function configTable()
local drop = {
......
......@@ -122,7 +122,6 @@ local function configTable()
font = {
type = "select", dialogControl = 'LSM30_Font',
order = 1,
--name = L["Fonts"],
name = L["Font"],
desc = L["The font that the item level will use."],
values = AceGUIWidgetLSMlists.font,
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local CH = E:GetModule("Chat")
local E, L, V, P, G, _ = unpack(ElvUI);
local function configTable()
E.Options.args.sle.args.options.args.general.args.chat = {
......
local E, L, V, P, G = unpack(ElvUI); --Inport: Engine, Locales, ProfileDB, GlobalDB
local E, L, V, P, G = unpack(ElvUI);
local SLE = E:GetModule('SLE')
local function configTable()
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local DTP = E:GetModule('SLE_DTPanels')
local DT = E:GetModule('DataTexts')
......@@ -123,7 +123,6 @@ E.Options.args.sle.args.datatext.args.panels.args[v[1]] = {
name = L['Panel Transparency'],
type = 'toggle',
disabled = function() return not E.db.sle.datatext[v[1]].enabled or E.private.sle.datatext[v[1].."hide"] end,
--get = function(info) return E.db.sle.datatext[v[1]]."transparent"] end,
set = function(info, value) E.db.sle.datatext[v[1]].transparent = value; DTP:ExtraDataBarSetup() end,
},
pethide = {
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local EM = E:GetModule('SLE_EquipManager')
local BI = E:GetModule('SLE_BagInfo')
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local M = E:GetModule('Misc')
local function configTable()
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local E, L, V, P, G, _ = unpack(ElvUI);
local F = E:GetModule('SLE_Farm')
local function configTable()
......
local E, L, V, P, G = unpack(ElvUI); --Inport: Engine, Locales, ProfileDB, GlobalDB
local E, L, V, P, G = unpack(ElvUI);
local SLE = E:GetModule('SLE')
local function configTable()
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local function configTable()
--Main options group
E.Options.args.sle.args.options.args.loot = {
order = 9,
type = "group",
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local RM = E:GetModule('SLE_RaidMarks')
local RF = E:GetModule('SLE_RaidFlares')
local function configTable()
--Main options group
E.Options.args.sle.args.options.args.marks = {
order = 4,
type = "group",
......@@ -78,7 +77,7 @@ E.Options.args.sle.args.options.args.marks = {
desc = L["Show on mouse over."],
disabled = function() return not E.private.sle.marks.marks end,
get = function(info) return E.db.sle.marks.mouseover end,
set = function(info, value) E.db.sle.marks.mouseover = value; RM:UpdateVisibility() end --RM:Mouseover() end
set = function(info, value) E.db.sle.marks.mouseover = value; RM:UpdateVisibility() end
},
size = {
order = 9,
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local function configTable()
E.Options.args.sle.args.options.args.minimap = {
......@@ -57,15 +57,6 @@ local function configTable()
['CENTER'] = L['Bottom Center'],
},
},
--[[middle = {
order = 3,
type = "toggle",
name = L["Coords in the middle"],
desc = L['If enabled will show coordinates in the center of minimaps lower border. Otherwise in the lower corners.'],
disabled = function() return not E.db.sle.minimap.enable end,
get = function(info) return E.db.sle.minimap.middle end,
set = function(info, value) E.db.sle.minimap.middle = value; E:GetModule('Minimap'):UpdateSettings() end,
},]]
},
},
mapiconsenable = {
......
......@@ -12,7 +12,7 @@ local function configTable()
header = {
order = 1,
type = "header",
name = L["NAMEPLATE_DESC"], --L["Nameplate Options"],
name = L["NAMEPLATE_DESC"],
},
targetcount = {
type = "toggle",
......
local E, L, V, P, G = unpack(ElvUI);
local function configTable()
--if not E.Options.args.sle.args.tooltip then E.Options.args.sle.args.tooltip = {} end
E.Options.args.sle.args.options.args.general.args.tooltip = {
order = 95,
type = "group",
......@@ -49,15 +48,6 @@ local function configTable()
min = -200, max = 200, step = 1,
set = function(info, value) E.db.tooltip[ info[#info] ] = value end,
},
--overrideCombat = {
--order = 33,
--type = 'toggle',
--name = 'Override Combat Hide',
--desc = 'When enabled, Combat Hide will get overridden when Shift is pressed. Note: You have to mouseover the unit again for the tooltip to show.',
--set = function(info, value)
--E.db.tooltip[ info[#info] ] = value
--end,
--},
},
},
},
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local UB = E:GetModule('SLE_UIButtons')
local function configTable()
--UI Buttons
E.Options.args.sle.args.options.args.general.args.uibuttons = {
type = "group",
name = L["UI Buttons"],
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local UF = E:GetModule('UnitFrames')
local CAN_HAVE_CLASSBAR = (E.myclass == "PALADIN" or E.myclass == "DRUID" or E.myclass == "DEATHKNIGHT" or E.myclass == "WARLOCK" or E.myclass == "PRIEST" or E.myclass == "MONK" or E.myclass == 'MAGE')
local function configTable()
......
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local E, L, V, P, G, _ = unpack(ElvUI);
local function configTable()
E.Options.args.sle.args.options.args.general.args.vehicle = {
......
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