Thread: gradient
View Single Post
05-24-10, 12:03 AM   #1
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
gradient

having problems adding a gradient.
here is my code
Code:
llmodel:SetAlpha(1)
	llmodel:SetPoint("TOPLEFT", 15, -30)
	llmodel:SetPoint("TOPRIGHT", -15, -30)
	llmodel:SetHeight(12)
	llmodel:SetBackdrop({
				bgFile = "Interface\\AddOns\\!media\\bg", tile = true, tileSize = 46})
	llmodel:SetBackdropColor(0.2, 0.2, 0.2, 0.68)
and here is what im trying to do
Code:
llmodel:SetAlpha(1)
	llmodel:SetPoint("TOPLEFT", 15, -30)
	llmodel:SetPoint("TOPRIGHT", -15, -30)
	llmodel:SetHeight(12)
	llmodel:SetBackdrop({
				bgFile = "Interface\\AddOns\\!media\\bg", tile = true, tileSize = 46})
	llmodel:SetBackdropColor(0.2, 0.2, 0.2, 0.68)
        llmodel:SetGradientAlpha("VERTICAL",0,0,0,0,0,0,0,.6)
	llmodel:SetBlendMode("BLEND")
when i put the gradient inside, it messes everything up.


am i missing something i dont see?
  Reply With Quote