From dfba5fcacaf729a15f66e02e3906ee821cf76fd6 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 17 Aug 2016 09:00:21 +0300 Subject: [PATCH] woops --- ElvUI_SLE/options/skins_c.lua | 171 +---------------------------------------- 1 file changed, 1 insertion(+), 170 deletions(-) diff --git a/ElvUI_SLE/options/skins_c.lua b/ElvUI_SLE/options/skins_c.lua index a0a9a54..6ceb205 100644 --- a/ElvUI_SLE/options/skins_c.lua +++ b/ElvUI_SLE/options/skins_c.lua @@ -1,5 +1,5 @@ local SLE, T, E, L, V, P, G = unpack(select(2, ...)) -local Sk, QK = SLE:GetModules("Skins", "QuestKingSkinner") +local Sk = SLE:GetModule("Skins") local function configTable() if not SLE.initialized then return end @@ -154,175 +154,6 @@ local function configTable() get = function(info) return E.db.sle.skins.objectiveTracker[ info[#info] ] end, set = function(info, value) E.db.sle.skins.objectiveTracker[ info[#info] ] = value; E:UpdateBlizzardFonts() end, }, - -- QuestKing = { - -- order = 50, - -- type = "group", - -- name = "QuestKing", - -- guiInline = true, - -- hidden = function() return not SLE._Compatibility["QuestKing"] end, - -- disabled = function() return not E.private.sle.skins.QuestKing.enable end, - -- get = function(info) return E.private.sle.skins.QuestKing[ info[#info] ] end, - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; _G["QuestKing"]:UpdateTrackerQuests() end, - -- args = { - -- info = { - -- order = 1, - -- type = "description", - -- name = L["SLE_SKINS_QUESTKING_DESC"], - -- }, - -- GoToOF = { - -- order = 2, - -- type = "execute", - -- name = L["ElvUI Objective Tracker"], - -- disabled = false, - -- func = function() SLE.ACD:SelectGroup("ElvUI", "general", "objectiveFrame") end, - -- }, - -- enable = { - -- order = 2, - -- type = "toggle", - -- name = L["Enable"], - -- disabled = false, - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; E:StaticPopup_Show("PRIVATE_RL") end, - -- }, - -- tooltipAnchor = { - -- order = 3, - -- type = "select", - -- name = L["Tooltip Anchor"], - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; end, - -- values = { - -- ["ANCHOR_BOTTOMLEFT"] = "ANCHOR_BOTTOMLEFT", - -- ["ANCHOR_BOTTOMRIGHT"] = "ANCHOR_BOTTOMRIGHT", - -- ["ANCHOR_CURSOR"] = "ANCHOR_CURSOR", - -- ["ANCHOR_LEFT"] = "ANCHOR_LEFT", - -- ["ANCHOR_NONE"] = "ANCHOR_NONE", - -- ["ANCHOR_PRESERVE"] = "ANCHOR_PRESERVE", - -- ["ANCHOR_RIGHT"] = "ANCHOR_RIGHT", - -- ["ANCHOR_TOPLEFT"] = "ANCHOR_TOPLEFT", - -- ["ANCHOR_TOPRIGHT"] = "ANCHOR_TOPRIGHT", - -- }, - -- }, - -- tooltipScale = { - -- order = 4, - -- type = 'range', - -- name = L["Tooltip Scale"], - -- min = 0.3, max = 5, step = 0.01, - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; end, - -- }, - -- trackerSize = { - -- order = 5, - -- type = 'range', - -- name = L["Tracking Icon Size"], - -- min = 8, max = 40, step = 1, - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; end, - -- }, - -- trackerIcon = { - -- order = 6, type = "select", - -- name = L["Tracking Icon"], - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; end, - -- values = { - -- ["DEFAULT"] = DEFAULT..[[ |TInterface\Scenarios\ScenarioIcon-Combat:14:14:-1:0|t]], - -- ["Skull"] = RAID_TARGET_8..[[ |TInterface\AddOns\ElvUI_SLE\media\textures\Skull:14:14:-1:0|t]], - -- ["LFG"] = LFG_TITLE..[[ |TInterface\LFGFRAME\BattlenetWorking0:14:14:-1:0|t]], - -- ["CUSTOM"] = L["Custom"], - -- }, - -- }, - -- trackerIconCustom = { - -- order = 7, - -- type = 'input', - -- width = 'full', - -- name = L["Custom Texture"], - -- set = function(info, value) E.private.sle.skins.QuestKing[ info[#info] ] = value; end, - -- }, - -- QuestTypes = { - -- order = 30, - -- type = "group", - -- name = L["Quest Type Indications"], - -- guiInline = true, - -- get = function(info, value) return E.private.sle.skins.QuestKing.questTypes[ info[#info] ] end, - -- set = function(info, value) E.private.sle.skins.QuestKing.questTypes[ info[#info] ] = value; _G["QuestKing"]:UpdateTrackerQuests() end, - -- args = { - -- daily = { - -- order = 1, type = "select", - -- name = DAILY, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- ["ICON"] = L["Icon"].." |T"..QK.Icons["Daily"]..":14|t", - -- }, - -- }, - -- weekly = { - -- order = 2, type = "select", - -- name = WEEKLY, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- ["ICON"] = L["Icon"].." |T"..QK.Icons["Weekly"]..":14|t", - -- }, - -- }, - -- group = { - -- order = 3, type = "select", - -- name = GROUP, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- raid = { - -- order = 4, type = "select", - -- name = RAID, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- dungeon = { - -- order = 5, type = "select", - -- name = TRACKER_HEADER_DUNGEON, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- heroic = { - -- order = 6, type = "select", - -- name = PLAYER_DIFFICULTY2, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- legend = { - -- order = 7, type = "select", - -- name = ITEM_QUALITY5_DESC, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- scenario = { - -- order = 8, type = "select", - -- name = TRACKER_HEADER_SCENARIO, - -- values = { - -- ["DEFAULT"] = DEFAULT, - -- ["FULL"] = L["Full"], - -- }, - -- }, - -- }, - -- }, - -- clickTemplate = { - -- order = 50, - -- type = "select", - -- name = L["Clicks Registration"], - -- desc = L["SLE_SKINS_QUESTKING_TEMPLATE_DESC"], - -- set = function(info, value) - -- E.private.sle.skins.QuestKing[ info[#info] ] = value; - -- end, - -- values = { - -- ["QuestKing"] = "Quest King", - -- ["Blizzlike"] = "Blizzlike", - -- }, - -- }, - -- }, - -- }, }, }, merchant = { -- 1.7.9.5