Mail Archives: djgpp/1997/04/21/07:35:08
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
*************************************************************************
- Raw text -