Nicola Girardi wrote:
the thing is that i've done it for DOS & BGI just because i didn't know how to deal with graphics under Linux and *possibly* the X Window System.
as a beginner, i'd like to get something that can compile the program under linux wrapping BGI calls to Svgalib calls or something similar. and i heard of BGI2GRX, but it's not clear for me what it really does.
BGI2GRX is exactly what you are looking for: A BGI wrapper to a portable graphics library, GRX, that can work on top of SVGAlib or X11 (or plain VGA or (in development) the Win32 API). Please install BGI2GRX and GRX, and just proceed.
my aim is to deal with graphics first outside X, then i'd like to use X and Gtk (wrapping C functions with appropriate definitions)
We do not currently have a ready-to-use interface to Gtk, but such a thing is straightforward to write (while certainly some work). If you do so, please let us know ...
Greetings,
Peter