My brain is turning circles! Please help T.T
Posted: Fri Jun 25, 2010 9:07 am
Dude I'm so confused at this! I am adding onto my Iw, (Into window) function, now you can add patterns, such as lines or squares to the window, okay? Problem is, I couldnt seem to set the darn transparency of the lines / patterns, nor could I set the color using setpen, so I removed setpen all together and O.O! It still apears as black and dark NOTHING I do can change it T.T
Any ideas as to why this would happen?
Current code: (Dont say anything about using case instead, I already know lol)
Previous Code:
The reason it is .99 is because I was testing it out, I even tried making it 189, 0, 0 but its still Black T.T
Any ideas as to why this would happen?
Current code: (Dont say anything about using case instead, I already know lol)
- Code: Select all
setpen(189, 0, 0, .99, 1);
if (Pattern == 0)
{
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
if (Pattern == 1)
{
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
}
if (Pattern == 2)
{
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
Previous Code:
- Code: Select all
if (Pattern == 0)
{
setpen(189, 0, 0, .99, 1);
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
if (Pattern == 1)
{
setpen(189, 0, 0, .99, 1);
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
}
if (Pattern == 2)
{
setpen(189, 0, 0, .99, 1);
for (i2=4;i2<width-4;i2+=3)
{
moveto(i2, 3);
lineto(i2, height-4);
}
setpen(189, 0, 0, .99, 1);
for (i=3;i<height-3;i+=3)
{
moveto(3, i);
lineto(width-4, i);
}
}
The reason it is .99 is because I was testing it out, I even tried making it 189, 0, 0 but its still Black T.T