View Single Post
08-31-11, 07:55 AM   #7
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 86
Code:
frame.border = CreateFrame("Frame", nil, MyStatusBar)
frame.border:SetPoint("TOPLEFT", MyStatusBar, "TOPLEFT", -2, 2)
frame.border:SetPoint("BOTTOMRIGHT", MyStatusBar, "BOTTOMRIGHT", 2, -2)
frame.border:SetBackdrop({
bgFile = YOUR_TEXTURE, 
edgeFile = YOUR_TEXTURE, 
tile = false, tileSize = 0, edgeSize = 1, 
insets = { left = -1, right = -1, top = -1, bottom = -1}
})
frame.border:SetFrameLevel(MyStatusBar:GetFrameLevel())
__________________
Hi!
  Reply With Quote