Page 1 of 1

PostPosted: Mon Dec 13, 2004 3:02 am
by New_coder
Just trying to get it to work in colour mode non native format....I want to use 320 x 320 graphics.

Working on Zire 71 this is the function I call.


drawnative(0); //do I use this to make it go into 320x320
clearg();
while(temp<159){
oldx=temp;
oldy=temp1;
temp=random(160);
temp1=random(160);
colour=random(255);
setfgi(colour); //this changes pen colour
line(1, temp, temp1, oldx, oldy);
}

thanks

PostPosted: Tue Dec 14, 2004 5:15 pm
by New_coder
To go into 320 x 320 graphics you call

DO NOT USE graph_on(); This will make the screen do funny things


pushdraw();
drawnative(true);


//to go back to standard

drawnative(false);
popdraw(); //

Thanks