View Single Post
06-02-10, 05:18 PM   #5
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Originally Posted by Politig View Post
Many thanks, Unkh. One question I have though; I haven't really delved into LitePanels as much as other addons, but what are the possible options you could set for Border and Border_Color? just "SOLID" and "CLASS"?

Thanks!
If you find a border texture you like you can use that. Something like the following.

Code:
{ name = "Button2",  
	anchor_to = "CENTER", y_off = 0, x_off = 0,
	width = "10%", height = "10%", strata = "LOW", bg_color = {0,0,0},
	bg_alpha = .45, border = "Interface\\Addons\\FerousMedia\\Borders\\fer13.tga", 
	border_size = 4, border_color = "CLASS", border_alpha = 0.75,
        OnClick = function(self, button)
		if button == "LeftButton" then
			if LP_Talents:IsShown() then
				LP_Talents:Hide()
				LP_Stats:Hide()
				LP_ClearBox13:Hide()
			else
				LP_Talents:Show()
				LP_Stats:Show()
				LP_ClearBox13:Show()
			end
		print("Talents + Stats :: Toggled.")
		
		elseif button == "RightButton" then
				ToggleCharacter'PaperDollFrame'
		end
	end,
},
Red text being the code for the border on this panel. Just make sure you have the path right and your g2g.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote