Quantcast
local A, L = ...

L.dragFrames        = {}
L.addonName         = A
L.addonColor        = "ffff7d0a"
L.addonShortcut     = "rcp"

-----------------------------
-- rChatPlus Global
-----------------------------

rChatPlus = CreateFrame("frame")
rChatPlus.addonName = A
rChatPlus.TabStyles = {
	NONE	= '%s',
	ARROW	= '%s>|r%s%s<|r',
	ARROW1	= '%s>|r %s %s<|r',
	ARROW2	= '%s<|r%s%s>|r',
	ARROW3	= '%s<|r %s %s>|r',
	BOX		= '%s[|r%s%s]|r',
	BOX1	= '%s[|r %s %s]|r',
	CURLY	= '%s{|r%s%s}|r',
	CURLY1	= '%s{|r %s %s}|r',
	CURVE	= '%s(|r%s%s)|r',
	CURVE1	= '%s(|r %s %s)|r',
}

-----------------------------
-- Configs
-----------------------------

L.C = {
    mediapath = "interface\\addons\\"..A.."\\medias\\",
    backdrop = rLib.CopyTable(oUF_SimpleConfig.backdrop),
	panelSnapping = true,
	fade = true,
	inactivityTimer = 100,
	fontOutline = 'NONE',
	sticky = true,
	maxLines = 100,
	tabSelector = 'NONE',
	tabSelectedTextEnabled = true,
	tabSelectedTextColor = { r = 1, g = 1, b = 1 },
	tabSelectorColor = { r = .3, g = 1, b = .3 },
	separateSizes = false,
	panelWidth = 400,
	panelHeight = 180,
	panelWidthRight = 412,
	panelHeightRight = 180,
	panelBackdrop = 'SHOWBOTH',
	editBoxPosition = 'ABOVE_CHAT_INSIDE',
	fadeUndockedTabs = false,
	fadeTabsNoBackdrop = true,
	hideCopyButton = false,
	useAltKey = false,
	panelColor = {r = .06, g = .06, b = .06, a = .2},
	pinVoiceButtons = true,
	hideVoiceButtons = false,
	desaturateVoiceIcons = true,
}

L.C.backdrop.edgeSize = 2
L.C.backdrop.inset = 2
L.C.backdrop.insets = {left=2,right=2,top=2,bottom=2}

L.C.emote = {}
L.C.emote.enable = true
L.C.emote.iconsize = 15 -- 聊天文字中的表情大小,你可以根据聊天字号调整
L.C.emote.listsize = 20 -- 表情选择器的图标大小