Go to Page... |
Updated: | 05-12-11 02:49 AM |
Created: | 04-14-11 10:33 AM |
Downloads: | 11,089 |
Favorites: | 74 |
MD5: |
This is a small addon for add fast and efficiently smooth borders to your frames!
You dont need to create a texture for all of your frames annymore. Just this little addon and some code below.
The benefit? The border remains the same, even if the window's size changes. It always looks like it should be.
It's a LUA bases addon. So there are no ingame configurations.
So ok, and how can you use it?
It's quite simple!
!Beautycase has some simple functions.
Create a border
CreateBorder(myFrame, borderSize, R, G, B, uL1, uL2, uR1, uR2, bL1, bL2, bR1, bR2)
myFrameShorter method to add a border with no spacing-> The name of your frame, It must be a frame not a textureborderSize-> The size of the simple square Border. 10-12 looks amazing with the default beautycase textureR, G, B -> The colors of the Border. r = Red, g = Green, b = Blue
uL1, uL2 -> top left x, top left y
uR1, uR2 -> top right x, top right y
bL1, bL2 -> bottom left x, bottom left y
bR1, bR2 -> bottom right x, bottom right y
CreateBorder(myFrame, borderSize, r, g, b)
CreateBorder(myFrame, borderSize, r, g, b, x)
ColorBorder(self, r, g, b, a)
ColorBorderShadow(self, r, g, b, a)
SetBorderTexture(myFrame, texture.tga) SetBorderShadowTexture(myFrame, texture.tga)
local size, texture, r, g, b, alpha = GetBorderInfo(myFrame)
myFrame:CreateBorder(borderSize) myFrame:SetBorderSize(borderSize) myFrame:SetBorderPadding(number or [uL1, uL2, uR1, uR2, bL1, bL2, bR1, bR2]) myFrame:SetBorderTexture(texture) myFrame:SetBorderShadowTexture(texture) myFrame:SetBorderColor(r, g, b) myFrame:SetBorderShadowColor(r, g, b) myFrame:HideBorder() myFrame:ShowBorder() myFrame:GetBorder() - true if has a beautycase border, otherwise false local borderSize, texture, r, g, b, alpha = myFrame:GetBorderInfo()
Loading ... !Beautycase Loading ... aAddon Loading ... bAddon Loading ... cAddon Loading ... myAddon > CreateBorder(aPitbullFrame, ...) > Error. This frame does not exist Loading ... Omen Loading ... Pitbull > CreatePitbullUnitFrames |
/print GetMouseFocus():GetName() |
Comment Options |
05-10-12, 03:52 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 22
Uploads: 0
|
How to skin Pitbull?!
Hello there,
I hope someone can help me out with this. I downloaded Beautycase to add a border to my Pitbull unit frames a bit like Caith UI (http://img819.imageshack.us/img819/7876/77101601.png) However, I cannot figure out how to do it. I made a small addon, with a core.lua file, with the following code: Code:
CreateBorderLight(Pitbull4_Frames_player, 12, 1, 1, 1) --Should skin Pitbull Player I was under the impression, that simply making a small addon which loads after the addons I want to skin would work. However, I seem to find that I will need to edit the lua in every addon I want to skin? Or is this not the case? Because if I have to edit lua in every addon, I won't be using this for two reason: 1) I don't know lua very well at all 2) I don't have the time to edit every addon when it is updated Can anyone please help me? Thanks
Last edited by madindehead : 05-13-12 at 05:45 AM.
|
|
madindehead |
View Public Profile |
Send a private message to madindehead |
Find More Posts by madindehead |
Add madindehead to Your Buddy List |
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
Rammoth |
View Public Profile |
Send a private message to Rammoth |
Visit Rammoth's homepage! |
Find More Posts by Rammoth |
Add Rammoth to Your Buddy List |
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
09-09-12, 09:45 AM | |
A Murloc Raider
Forum posts: 7
File comments: 2
Uploads: 0
|
Hey, probably a couple of really stupid questions but im VERY new to this .lua stuff and how to use some of these add ons. Im not sure where i need to be to create a new frame.
What im looking to do is to use the !beautycase skin with the frames in grid so the name boxes in grid look like everything else, is this possible? I would also like to use the same skin as BobUi uses for my character frame for the party frames that appear on the right hand side when in a 5 man group with or without the 3d image. Hopfully you can point me in the right direction with this, many thanks Brb |
|
brb2mins |
View Public Profile |
Send a private message to brb2mins |
Visit brb2mins's homepage! |
Find More Posts by brb2mins |
Add brb2mins to Your Buddy List |
10-18-12, 11:10 AM | |
|
Skinning Skada!
Hello can someone help me to skin Skada? ive tryed to just put CreateBorder(Skada, 12, r, g, b, 1, 1, 1, 1, 1, 1, 1, 1) in the Notepad and the whole addon got messed upp
|
|
Lvkke |
View Public Profile |
Send a private message to Lvkke |
Visit Lvkke's homepage! |
Find More Posts by Lvkke |
Add Lvkke to Your Buddy List |
12-26-12, 12:00 AM | |
|
This script skins a lot of the buttons (excluding bag) for !Beautycase
Lua Code:
Last edited by 10leej : 12-26-12 at 12:03 AM.
|
|
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
12-26-12, 12:02 AM | |
|
These scripts skin the Raid frames and Actionbars (default UI only)
actionbars
Lua Code:
raid frames Lua Code:
Last edited by 10leej : 12-26-12 at 11:52 PM.
|
|
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
12-26-12, 12:04 AM | ||
|
Re: Skinning Skada!
|
|
|
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
01-16-13, 01:29 AM | |||
A Defias Bandit
Forum posts: 2
File comments: 10
Uploads: 0
|
Hello kamilo, Neal
I'm trying to put a beautycase on my frames in Shadowed Unit Frames and I don't seem to be having any luck. I've followed the instructions on both of these posts, but I haven't had luck with either. Perhaps an update to SUF has made these methods no longer functional? kamilo's method seems like a very clean solution, and I'd like to stick with that if possible. Thanks for any help you guys can provide.. I'm going to keep plugging away here.
|
||
|
Expunge |
View Public Profile |
Send a private message to Expunge |
Visit Expunge's homepage! |
Find More Posts by Expunge |
Add Expunge to Your Buddy List |
01-22-13, 10:30 PM | |
A Defias Bandit
Forum posts: 2
File comments: 10
Uploads: 0
|
Anyone? Still can't manage to make this work.
|
|
Expunge |
View Public Profile |
Send a private message to Expunge |
Visit Expunge's homepage! |
Find More Posts by Expunge |
Add Expunge to Your Buddy List |
02-18-13, 09:58 AM | |
|
I have a few question about !beautycase. I'm not very good with code but I am always experimenting with them. However, This code seem to skin everything by default, correct?
What would I need to do If i wanted to have beautiful borders on everything such as tiptac, minimap and all that except for recount and omen? Been lurking around in the code but can't seem to find any solution, please help. Thank you. |
|
Viryz |
View Public Profile |
Send a private message to Viryz |
Visit Viryz's homepage! |
Find More Posts by Viryz |
Add Viryz to Your Buddy List |
03-03-13, 01:04 AM | ||
|
|
|
|
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |
04-01-13, 02:23 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
Hello somehow to work with Dominos? 3 hours trying and I get tired T_T
I tested 10leej codes for actionbars, raidframes but do not work :S, please help. Thank you Sorry for my bad English. |
|
Sparkaoss |
View Public Profile |
Send a private message to Sparkaoss |
Visit Sparkaoss's homepage! |
Find More Posts by Sparkaoss |
Add Sparkaoss to Your Buddy List |
05-01-13, 11:57 AM | ||
|
you can try using Neal's old button facade plugin, but I can't garauntee it'll work.
Last edited by 10leej : 05-01-13 at 01:38 PM.
|
|
|
10leej |
View Public Profile |
Send a private message to 10leej |
Visit 10leej's homepage! |
Find More Posts by 10leej |
Add 10leej to Your Buddy List |