View Single Post
03-21-13, 09:23 AM   #5
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Well I use a blank texture atm and the border file is created using !Beautycase

then in the .lua file I put borders around the different frames using !Beautycase's CreateBorder command and adjusting the border size with another command generated by !Beautycase

player frame for example, and I have to check for events for the other frames (just for the portrait border due to me using adapt for 3d portraits)

Lua Code:
  1. PlayerPortraitModelModel:CreateBorder(12,1,1,1)
  2. PlayerPortraitModelModel:SetBorderPadding(3)
  3. PlayerFrameHealthBar:CreateBorder(12,1,1,1)
  4. PlayerFrameHealthBar:SetBorderPadding(3)
  5. PlayerFrameManaBar:CreateBorder(12,1,1,1)
  6. PlayerFrameManaBar:SetBorderPadding(3)

Events are shown here (mostly because I don't feel like digging that stuff out)
__________________
Tweets YouTube Website
  Reply With Quote