Added in profiles.

This commit is contained in:
Relintai 2016-05-06 15:36:07 +02:00
parent a5fd1840c7
commit 1729952a98
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
local adbo = LibStub("AceDBOptions-3.0") local aceDBOptions = LibStub("AceDBOptions-3.0")
function Vect:GetVectOptions() function Vect:GetVectOptions()
local db = self.db.profile; local db = self.db.profile;
@ -22,11 +22,11 @@ function Vect:GetVectOptions()
end end
}, },
targetandfocus = { targetandfocus = {
type = "group", name = "T. and F. CDs", desc = "Cooldown frame's settings.", childGroups = "tab", order = 2, type = "group", name = "CDs", desc = "Cooldown frame's settings.", childGroups = "tab", order = 2,
args = Vect:getTargetandFocusOptions(); args = Vect:getTargetandFocusOptions();
}, },
droptions = { droptions = {
type = "group", name = "T. and F. DRs", desc = "DR frame's settings.", childGroups = "tab",order = 3, type = "group", name = "DRs", desc = "DR frame's settings.", childGroups = "tab",order = 3,
args = Vect:getDROptions(); args = Vect:getDROptions();
}, },
selfdr = { selfdr = {
@ -34,9 +34,10 @@ function Vect:GetVectOptions()
args = Vect:getSelfDROptions() args = Vect:getSelfDROptions()
}, },
debugoptions = { debugoptions = {
type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab",order = 5, type = "group", name = "Debug", desc = "Debug settings.", childGroups = "tab", order = 5,
args = Vect:getDebugOptions(); args = Vect:getDebugOptions();
} },
profileoptions = aceDBOptions:GetOptionsTable(self.db)
} }
} }
return options; return options;

View File

@ -1,3 +1,4 @@
Vect.spells = { Vect.spells = {
--Trinkets --Trinkets
[42292] = {120, nil}, --PvP Trinket [42292] = {120, nil}, --PvP Trinket