www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/18/11:13:39

Date: Fri, 18 Jun 1993 10:36 EST
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: Re: Save/Restore screen captures with LIBGRX
To: joe AT ziggy DOT larc DOT nasa DOT GOV, djgpp AT sun DOT soe DOT clarkson DOT EDU

>From:	IN%"joe AT ziggy DOT larc DOT nasa DOT GOV"  "Joe Clark" 18-JUN-1993 09:45:43.75
>To:	IN%"djgpp AT sun DOT soe DOT clarkson DOT EDU"
>Subj:	Save/Restore screen captures with LIBGRX
>
>I have an application that currently works under TurboC and 
>have been trying to port it to djgpp.  It's basically (right now)
>for a pulldown menu that will read an initialization
>file to change the items/options without recompiling.  In other
>words, it involves a lot of graphics and mouse input. But I digress...
>
>My question is I need to save the background before drawing a 
>pulldown menu so that I can restore it when the pulldown menu
>goes away.  I used getimage() and putimage() in TurboC and couldn't
>figure out how to do it since the Libgrx documentation is a little
>thin on the subject.  For example, my code looks something like:
> ....

If you are porting a program using Turbo C(BCC) graphics functions to djgpp, 
it is *much* simpler to use BCC2GRX library since it provides very good 
compatibility with TCC graphics functions.  It can be found on omnigate.
(djgpp/pub/bccgrx??.zip)
BCC2GRX needs LIBGRX library.  The current versions are BCC2GRX 1.1 and LIBGRX 
1.02, but BCC2GRX 1.2 and LIBGRX 1.03 are expected fairly soon.  

Regards,

Wonkoo Kim.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019