This commit is contained in:
Crum
2018-10-09 19:16:17 -05:00
parent d7f77ec694
commit 4044259cc9
7 changed files with 362 additions and 69 deletions
+15 -21
View File
@@ -81,21 +81,15 @@ E.Options.args.general = {
name = L["Accept Invites"],
desc = L["Automatically accept invites from guild/friends."]
},
vendorGrays = {
order = 6,
type = "toggle",
name = L["Vendor Grays"],
desc = L["Automatically vendor gray items when visiting a vendor."]
},
autoRoll = {
order = 7,
order = 6,
type = "toggle",
name = L["Auto Greed/DE"],
desc = L["Automatically select greed or disenchant (when available) on green quality items. This will only work if you are the max level."],
disabled = function() return not E.private.general.lootRoll; end
},
loot = {
order = 8,
order = 7,
type = "toggle",
name = L["Loot"],
desc = L["Enable/Disable the loot frame."],
@@ -103,7 +97,7 @@ E.Options.args.general = {
set = function(info, value) E.private.general.loot = value; E:StaticPopup_Show("PRIVATE_RL"); end
},
lootRoll = {
order = 9,
order = 8,
type = "toggle",
name = L["Loot Roll"],
desc = L["Enable/Disable the loot roll frame."],
@@ -111,7 +105,7 @@ E.Options.args.general = {
set = function(info, value) E.private.general.lootRoll = value; E:StaticPopup_Show("PRIVATE_RL"); end
},
lootUnderMouse = {
order = 10,
order = 9,
type = "toggle",
name = L["Loot Under Mouse"],
desc = L["Enable/Disable loot frame under the mouse cursor."],
@@ -120,7 +114,7 @@ E.Options.args.general = {
disabled = function() return not E.private.general.loot; end
},
eyefinity = {
order = 11,
order = 10,
name = L["Multi-Monitor Support"],
desc = L["Attempt to support eyefinity/nvidia surround."],
type = "toggle",
@@ -128,13 +122,13 @@ E.Options.args.general = {
set = function(info, value) E.global.general[ info[getn(info)] ] = value; E:StaticPopup_Show("GLOBAL_RL"); end
},
hideErrorFrame = {
order = 12,
order = 11,
type = "toggle",
name = L["Hide Error Text"],
desc = L["Hides the red error text at the top of the screen while in combat."]
},
bottomPanel = {
order = 13,
order = 12,
type = "toggle",
name = L["Bottom Panel"],
desc = L["Display a panel across the bottom of the screen. This is for cosmetic only."],
@@ -142,7 +136,7 @@ E.Options.args.general = {
set = function(info, value) E.db.general.bottomPanel = value; E:GetModule("Layout"):BottomPanelVisibility(); end
},
topPanel = {
order = 14,
order = 13,
type = "toggle",
name = L["Top Panel"],
desc = L["Display a panel across the top of the screen. This is for cosmetic only."],
@@ -150,7 +144,7 @@ E.Options.args.general = {
set = function(info, value) E.db.general.topPanel = value; E:GetModule("Layout"):TopPanelVisibility(); end
},
afk = {
order = 15,
order = 14,
type = "toggle",
name = L["AFK Mode"],
desc = L["When you go AFK display the AFK screen."],
@@ -158,13 +152,13 @@ E.Options.args.general = {
set = function(info, value) E.db.general.afk = value; E:GetModule("AFK"):Toggle(); end
},
enhancedPvpMessages = {
order = 16,
order = 15,
type = "toggle",
name = L["Enhanced PVP Messages"],
desc = L["Display battleground messages in the middle of the screen."],
},
raidUtility = {
order = 17,
order = 16,
type = "toggle",
name = RAID_CONTROL,
desc = L["Enables the ElvUI Raid Control panel."],
@@ -172,7 +166,7 @@ E.Options.args.general = {
set = function(info, value) E.private.general.raidUtility = value; E:StaticPopup_Show("PRIVATE_RL") end
},
autoScale = {
order = 18,
order = 17,
name = L["Auto Scale"],
desc = L["Automatically scale the User Interface based on your screen resolution"],
type = "toggle",
@@ -180,7 +174,7 @@ E.Options.args.general = {
set = function(info, value) E.global.general[ info[getn(info)] ] = value; E:StaticPopup_Show("GLOBAL_RL") end
},
minUiScale = {
order = 19,
order = 18,
type = "range",
name = L["Lowest Allowed UI Scale"],
min = 0.32, max = 0.64, step = 0.01,
@@ -188,7 +182,7 @@ E.Options.args.general = {
set = function(info, value) E.global.general.minUiScale = value; E:StaticPopup_Show("GLOBAL_RL"); end
},
numberPrefixStyle = {
order = 20,
order = 19,
type = "select",
name = L["Number Prefix"],
get = function(info) return E.db.general.numberPrefixStyle; end,
@@ -202,7 +196,7 @@ E.Options.args.general = {
}
},
decimalLength = {
order = 21,
order = 20,
type = "range",
name = L["Decimal Length"],
desc = L["Controls the amount of decimals used in values displayed on elements like NamePlates and UnitFrames."],