View Single Post
06-14-10, 04:30 AM   #3
Autonomy
A Murloc Raider
Join Date: Jun 2010
Posts: 7
Originally Posted by nin View Post
Im on phone so cant give you exact codes.

If you Open beautycase.lua There is a section that explains the function.

Something like "createborder(framename,size,r,g,b,adjustment)

Example for icon. Createborder(icon,3,1,1,1) last 8 digits is Rip adjust the texture

You Can change the border textures in the mediafolder.

Hope that makes sense
I really like the border textures that came with
I went into the LUA file and saw the
CreateBorder(myFrameName, 12, R, G, B, 1, 1, 1, 1, 1, 1, 1, 1)
etc
The part I don't understand is what to do from there, with that section, to put in the DXE code (if that is even how I do it)
Would it look something like
Code:
	local icon = CreateFrame("Frame",nil,self)
        CreateBorder(icon,3,1,1,1)
	self.icon = icon
That's the part I'm having trouble with :/ Just how to apply the code to DXE.

EDIT: I tried using what I have above and the border did indeed show up around the icon - thank you very much. May not be the proper way to do it but glad it's progress


So I've got the border on the bars and icons working great, but now I can't figure out how to get the pane to have a matching border.. I assume it's in the Core.lua file.

Result so far:

Last edited by Autonomy : 06-14-10 at 04:47 AM.
  Reply With Quote