local A, L = ...
local options = L.C
local chatPanel = CreateFrame('Frame', 'LeftChatPanel', UIParent)
chatPanel:SetFrameStrata('BACKGROUND')
chatPanel:SetFrameLevel(300)
chatPanel:SetSize(options.panelWidth, options.panelHeight)
chatPanel:SetPoint('BOTTOMLEFT', UIParent, 4, 4)
chatPanel.backdrop = L.CreateBackdrop(chatPanel)
--Left Chat Tab
local chatTab = CreateFrame('Frame', 'LeftChatTab', chatPanel, 'BackdropTemplate')
rChatPlus:Initialize()
--create drag frame
rLib:CreateDragFrame(chatPanel, L.dragFrames, -2, true)
--create slash commands
rLib:CreateSlashCmd(L.addonName, L.addonShortcut, L.dragFrames, L.addonColor)