Thread Tools Display Modes
05-09-10, 06:29 AM   #1
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
DXE and the 1-pixel border.

Hello.

For ages I've been trying to tweak DXE so that it has a crisp black 1-pixel border on its bars, around its icons, and around the boss health/timer frame. I've never had any luck; either the border was 2-pixel, or there was a 'gap' between the border and the bars that I couldn't fix no matter what.

I've seen it done properly in some UIs (which haven't been uploaded). Can anyone share how they do this?

Thank you.
  Reply With Quote
05-09-10, 03:08 PM   #2
Diagnostics
Medic!
 
Diagnostics's Avatar
Premium Member
Join Date: Jul 2009
Posts: 71
Try browsing around the TukUI forums @ tukui.org
__________________
  Reply With Quote
05-09-10, 03:10 PM   #3
nin
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 213
Originally Posted by Haleth View Post
Hello.

For ages I've been trying to tweak DXE so that it has a crisp black 1-pixel border on its bars, around its icons, and around the boss health/timer frame. I've never had any luck; either the border was 2-pixel, or there was a 'gap' between the border and the bars that I couldn't fix no matter what.

I've seen it done properly in some UIs (which haven't been uploaded). Can anyone share how they do this?

Thank you.
how did you try it before? are several ways.. depends on how lazy you want too be :P you could add code in the lua or use a addon that adds borders/panels for you..i use beautycase for example and it works...

if you use addon for it look in alerts.lua for the frames you need too hook the texture too.

icon frame

Code:
local icon = CreateFrame("Frame",nil,self)
for the bar there are three frames that works.. don't think anyone is better than the other :P

Code:
local self = CreateFrame("Frame","DXEAlertBar"..BarCount,UIParent)
Code:
local statusbar = CreateFrame("StatusBar",nil,self)
Code:
local border = CreateFrame("Frame",nil,self)

Last edited by nin : 05-09-10 at 03:14 PM.
  Reply With Quote
05-09-10, 03:44 PM   #4
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
Originally Posted by nin View Post
how did you try it before? are several ways.. depends on how lazy you want too be :P you could add code in the lua or use a addon that adds borders/panels for you..i use beautycase for example and it works...

if you use addon for it look in alerts.lua for the frames you need too hook the texture too.

icon frame

Code:
local icon = CreateFrame("Frame",nil,self)
for the bar there are three frames that works.. don't think anyone is better than the other :P

Code:
local self = CreateFrame("Frame","DXEAlertBar"..BarCount,UIParent)
Code:
local statusbar = CreateFrame("StatusBar",nil,self)
Code:
local border = CreateFrame("Frame",nil,self)
did you ever think of writing tutorials for wow customization?
  Reply With Quote
05-13-10, 05:02 AM   #5
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Thanks a lot nin, that worked.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » DXE and the 1-pixel border.

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