Message-Id: <3.0.1.16.19970421132302.0ab7d81a@hal.nt.tuwien.ac.at> Date: Mon, 21 Apr 1997 13:23:02 To: djgpp AT delorie DOT com From: Anton Helm Subject: Porting from GRX1 to GRX2 Cc: csaba AT vuse DOT vanderbilt DOT edu Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk I have some programs written by our students using DJGPP v1 and GRX v1 and I would like to compile them with DJGPP v2 and GRX v2. The first program needed only to comment out opt.txo_xmag = 1; opt.txo_ymag = 1; where opt is of type GrTextOption to run with GRX v2. The second seems to be more complicated as it uses functions to draw in user coordinates, which have prototypes in the header file but the functions are not included in the library (at least not in the library I have). The functions are: GrSetUserWindow GrGetUserCoord GrUsrFilledBox GrUsrFilledCircle GrUsrDrawString GrUsrLine Q1) Is there a newer version of libgrx that supports these functions ? Where can I get it ? Q2) How can I replace these functions with other GRX functions ? As I stated above, I have not written the programs myself, therefore it will take plenty of time to find out in which context the functions where used. It might be easier to rewrite the whole program. I have searched the library itself and it doesn't contain any of the above functions. When I heard that there is a patched version used in SWORD, I got it from there but these functions are still missing. Tony ************************************************************************* Dipl.-Ing. Anton HELM * mailto:tony AT nt DOT tuwien DOT ac DOT at Institut fuer Nachrichtentechnik * http://dictator.nt.tuwien.ac.at/~tony/ und Hochfrequenztechnik * http://www.tuwien.ac.at/nthft/ Guszhausstr. 25/389 * phoneto:+43-1-58801-3520 A-1040 Wien, AUSTRIA * faxto:+43-1-5870583 *************************************************************************