From 340d0865a0aed0bca7fe36edce8817b557632cb6 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 20 Apr 2015 01:11:46 +0400 Subject: [PATCH] Moar options for The Options God! --- ElvUI_SLE/options/unitframes_c.lua | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/options/unitframes_c.lua b/ElvUI_SLE/options/unitframes_c.lua index 4ef3156..4438b99 100644 --- a/ElvUI_SLE/options/unitframes_c.lua +++ b/ElvUI_SLE/options/unitframes_c.lua @@ -39,13 +39,13 @@ local function configTable() func = function() E:GetModule('SLE'):Reset("unitframes") end, }, indicators = { - order = 5, + order = 4, type = "group", name = L["Player Frame Indicators"], guiInline = true, args = { combaticopos = { - order = 6, + order = 1, type = "select", name = L["Combat Position"], desc = L["Set the point to show combat icon"], @@ -53,6 +53,20 @@ local function configTable() set = function(info, value) E.db.sle.combatico.pos = value; UF:Update_CombatIndicator() end, values = positionValues }, + roleicons = { + order = 2, + type = "select", + name = L["LFG Icons"], + desc = L["Choose what icon set will unitframes and chat use."], + get = function(info) return E.db.sle.roleicons end, + set = function(info, value) E.db.sle.roleicons = value; E:GetModule('Chat'):CheckLFGRoles(); UF:UpdateAllHeaders() end, + values = { + ["ElvUI"] = "ElvUI", + ["SupervillainUI"] = "Supervillain UI", + ["Blizzard"] = "Blizzard", + ["MiirGui"] = "MiirGui", + }, + }, }, }, }, -- 1.7.9.5