Thread Tools Display Modes
09-22-11, 10:58 AM   #1
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 92
Adding a border to Skada bars

I've found a few UIs with custom skins to Skada. I've managed to tweak the font outline, shadow, etc... but I am unable to get a 1 pixel black border around the individual bars (not the window itself).

I've been picking through file comments, different forums and am unable to find anything that works. The closest I came was an old thread on this website but I wasn't able to successfully change the textures - pretty much the same problem the OP had.

Any ideas/insight/solutions?
  Reply With Quote
09-22-11, 11:46 AM   #2
FaulTier
A Theradrim Guardian
 
FaulTier's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2009
Posts: 61
I'd do it with !BeautyCase I think.

Find the place were the bars are created and paste the Code from !BeautyCase in there. Only problem will be to find the specific spot were the bars are created.

I'll look into it tomorrow - in Germany it's almost 8pm and i need to do some other sutff
__________________
  Reply With Quote
09-22-11, 12:08 PM   #3
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2010
Posts: 86
Try this...
Code:
local frame.border = CreateFrame("Frame", nil, FRAME_NAME)
frame.border:SetPoint("TOPLEFT", FRAME_NAME, "TOPLEFT", -1, 1)
frame.border:SetPoint("BOTTOMRIGHT", FRAME_NAME, "BOTTOMRIGHT", 1, -1)
frame.border:SetBackdrop({
 bgFile = [[Interface\ChatFrame\ChatFrameBackground]], 
edgeFile = [[Interface\ChatFrame\ChatFrameBackground]], 
edgeSize = 1,
})
frame.border:SetFrameLevel(FRAME_NAME:GetFrameLevel())
__________________
Hi!
  Reply With Quote
09-22-11, 05:11 PM   #4
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 92
Which files/where would that go? I tried in the bardisplay and skada.lua files and it broke the mod in both places (my luaFU is weak).
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Adding a border to Skada bars

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off