View Single Post
02-08-13, 08:09 AM   #3
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
Thanks for the reply as usual Phanx;

The oUF layout is my own, and I've not created ANY border for the auras, they inherently have a 1px by 1px border around them. As a reference, here is the code I use to produce my buffs and debuffs.

Lua Code:
  1. lib.generate_Buffs = function(f)
  2.     b = CreateFrame("Frame", nil, f)
  3.     b.size = 19
  4.     b.num = 40
  5.     b.spacing = 1
  6.     b.onlyShowPlayer = false
  7.     b:SetHeight((b.size+b.spacing)*4)
  8.     b:SetWidth(f.width / 2)
  9.     b:SetPoint("BOTTOMLEFT", f, "TOPLEFT", 0, 1)
  10.     b.initialAnchor = "BOTTOMLEFT"
  11.     b["growth-x"] = "RIGHT"
  12.     b["growth-y"] = "UP"
  13.     b.showType = true
  14.        
  15.     f.Buffs = b
  16. end

There are no hooks or callbacks, so the border is definitely inherent; that being said, I want to set the vertex color of said border, but I am not sure how to reference it.
  Reply With Quote