Quantcast
local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
local M = E:GetModule('Misc')

--Options for Exp/Rep text
E.Options.args.sle.args.exprep = {
	type = "group",
    name = L["Xp-Rep Text"],
    order = 3,
	guiInline = true,
   	args = {
		explong = {
		order = 1,
		type = "toggle",
		name = L["Full value on Exp Bar"],
		desc = L["Changes the way text is shown on exp bar."],
		get = function(info) return E.db.sle.exprep.explong end,
		set = function(info, value) E.db.sle.exprep.explong = value; M:UpdateExperience() end
		},
		replong = {
		order = 2,
		type = "toggle",
		name = L["Full value on Rep Bar"],
		desc = L["Changes the way text is shown on rep bar."],
		get = function(info) return E.db.sle.exprep.replong end,
		set = function(info, value) E.db.sle.exprep.replong = value; M:UpdateReputation() end
		},
	},
}