Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » gradient


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off