[comp.lang.c] Turbo C graphics help

glosser@scl.cwru.edu (Greg Glosser) (03/29/90)

	Does anybody know how to save a graphics screen so that the program can
go to text mode and then come back to the same gaphics screen and add to it??
Thanks.

-----------------------------------
Greg Glosser, CWRU
glosser@scl.cwru.edu

sinclair@chaos.cs.brandeis.edu (David A Sinclair) (03/30/90)

In article <1990Mar29.023050.2930@usenet.ins.cwru.edu> glosser@scl.cwru.edu (Greg Glosser) writes:
>
>	Does anybody know how to save a graphics screen so that the program can
>go to text mode and then come back to the same gaphics screen and add to it??
>Thanks.

Greg,
	One fairly easy way might be to save the screen into a memory
buffer with an attendant pointer to the memory region; then, when you
are done with your text mode tasks, switch back to graphics mode and
getimage() the thing back from the buffer. That should work just fine.

=:^}

David



-- 

-----------------------------------------------------------------
David A. Sinclair - "Chester"		       +--\___/--+
<sinclair@chaos.cs.brandeis.edu>		| o   o	|