RGB help
Author |
Message |
nate
![](http://www.e-lacrosse.com/2004/nll/rock.gif)
|
Posted: Thu Apr 17, 2003 8:42 pm Post subject: RGB help |
|
|
HOw WOULD YOU MAKE A BOX (drawfillbox)
go from a darkcolor - a light color in center - darkcolor at other end.
-nate |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: Fri Apr 18, 2003 1:02 am Post subject: (No subject) |
|
|
you're talking about a gradient
simplest way is Draw.Line
code: | for i : 1..250
Draw.Line (i,50,i,100,i)
end for |
|
|
|
|
|
![](images/spacer.gif) |
jamez
|
Posted: Fri Apr 18, 2003 11:44 am Post subject: (No subject) |
|
|
code: | for i : 1 .. maxcolor
RGB.SetColor (i, 40, i, 0)
Draw.Line (i, 0, i, maxcolor, i)
end for |
|
|
|
|
|
![](images/spacer.gif) |
|
|