delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/19/23:29:00

Date: Sun, 19 Oct 1997 20:25:18 -0700 (PDT)
Message-Id: <199710200325.UAA20887@adit.ap.net>
Mime-Version: 1.0
To: "BORET S." <boret AT club-internet DOT fr>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Graphics with RHIDE and DJGPP

At 09:30  10/19/1997 GMT, BORET S. wrote:
>
>	Hello !
>
>I have to write a C program for my studie. Then I must write it with
>Borland C and with DJGPP too (at home) but how can I do to use graphics
>just as if I was using Borland environnement ???
>For instance, with Borland C, I think it is possible to write #include
><graphics.h> in order to draw a pixel with the "putpixel()" function. But
>RHIDE explains to me that graphics.h doesn't exists and it produces an
>error. (that is the same thing with putpixel ...)
There is a library called BCC2GRX which acts as a shim between Borland's BGI
graphics and the LIBGRX graphics package for DJGPP. (both in v2tk) With
that, and a few #ifdef's, you can program all your graphics like BGI. Also,
I think you can use LIBGRX from Borland C also, but its API is IMHO
extremely complicated.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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