local addon, ns = ...
local cfg = CreateFrame("Frame")

-- Configuration
cfg.AutoRollGreens = false					-- automatic 'greed' selection 
cfg.AutoAcceptDE = false					-- auctomatic disenchant confirmation for rare+ quality items
cfg.AutoRepair = true						-- auromatic repair at vendors
cfg.AutoDeclineDuel = true					-- automaticly decline duels
cfg.AutoAccceptInvite = true				-- accept invites from guild/friends
cfg.AutoInvite = true						-- automatic invite by whisper
	cfg.InviteWord = "invx"					-- pass phrase for pervious option
cfg.SellGreyJunk = true 					-- sell all the grey junk to the vendor
cfg.HideErrors = true						-- hide blizzard's default error frame; type /error to see last error
cfg.ScreenshotQuality = 7					-- set screenshots quality (1-10)
cfg.ShowSpellID = true						-- toggle spellID display in various tooltips
cfg.StyleDBM = true							-- special DeadlyBossMods stylization
cfg.EnableMountz = true						-- enable/disable universal mount macro function
cfg.MoveScoreFrameAndCaptureBar = true		-- reposition zone score frame and capture bars
	cfg.ScoreFramePosition = {"BOTTOM", "UIParent", "TOPLEFT", 100, -90}
	cfg.CaptureBarPosition = {"TOPLEFT", "UIParent", "TOPLEFT", 35, -75}
cfg.MoveTicketStatus = true					-- reposition GM ticket status frame
	cfg.TicketStatusPosition = {"TOPLEFT"}
cfg.ExperienceBar = true					-- enable experience bar
	cfg.ExpHeight = 22						-- exp. bar height
	cfg.ExpWidth = 700						-- exp. bar width
	cfg.ExpAutoAdjust = true				-- automatically adjust exp. bar width for non-HD screen resolutions
	cfg.ExpClassColor = false				-- color exp. bar text into class colors
	cfg.ExpColor = {r=.9,g=.5,b=0}			-- default color for text values
	cfg.ExpPosition = {"BOTTOM", "UIParent", "BOTTOM", 0, 20}

-- Handover
ns.cfg = cfg