local A, L = ... L.dragFrames = {} L.addonName = A L.addonColor = "ff1a9fc0" L.addonShortcut = "rbag" L.F = {} ----------------------------- -- rBag Global ----------------------------- rBag = {} rBag.addonName = A local mediapath = rLib.mediapath ----------------------------- -- Configs ----------------------------- local cfg = {} cfg.icon = { size = 36, spacing = 4, columns = 12, } cfg.sort = { enabled = true, sortToBottom = false, } cfg.font = mediapath .. "expressway.ttf" cfg.showQuest = true cfg.flashNew = true cfg.showItemLevel = true cfg.backdrop = { bgFile = "Interface\\Buttons\\WHITE8x8", bgColor = {0.08, 0.08, 0.1, 0.92}, edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", edgeColor = {0.1, 0.1, 0.1, 0.6}, tile = false, tileEdge = false, tileSize = 16, edgeSize = 16, inset = 3, insets = {left = 3, right = 3, top = 3, bottom = 3} } cfg.bag = { point = {"BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -34, 48}, extraHeight = 26, } cfg.bank = { point = {"BOTTOMLEFT", UIParent, "BOTTOMLEFT", 34, 48}, extraHeight = 40, } cfg.button = { --backdrop backdrop = { bgFile = "Interface\\AddOns\\rButtonTemplate_Zork\\media\\backdrop", edgeFile = "Interface\\AddOns\\rButtonTemplate_Zork\\media\\backdropBorder", tile = false, tileSize = 1, edgeSize = 1, insets = {left=0,right=0,top=0,bottom=0}, backgroundColor = {0.1,0.1,0.1,0.8}, borderColor = {0,0,0,1}, points = { {"TOPLEFT",0,0}, {"BOTTOMRIGHT",0,0} }, }, --icon icon = { texCoord = {0.1,0.9,0.1,0.9}, points = { {"TOPLEFT",1,-1}, {"BOTTOMRIGHT",-1,1}, }, }, --border border = { file = _G["ActionButton1Border"]:GetTexture(), blendMode = "ADD", sizeFactor = 1.8, texCoord = {0,1,0,1}, alpha = 0 }, --normalTexture normalTexture = {file=""}, --pushedTexture pushedTexture = {file=""}, --highlightTexture highlightTexture = {file=""}, --checkedTexture checkedTexture = {file=""}, --count count = { font = { cfg.font,11,"OUTLINE"}, points = { {"BOTTOMRIGHT",0,0}, }, } } L.C = cfg