From: "Matthew Bentley" Newsgroups: comp.os.msdos.djgpp Subject: Freeware graphics library for everybody! Date: 11 Mar 1998 11:48:46 GMT Organization: None Lines: 69 Message-ID: <01bd4ce4$04f10240$45fd31ca@matt-s-computer> NNTP-Posting-Host: p5-max2.ham.ihug.co.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi everyone, I've written a free-ware C++ graphics library called EZVGA, which I have recently (I.e. in the past month) ported to DJGPP, and is now on all the SIMTEL.NET mirrors under the v2tk directory if anybody wants to download it. The beauty of the library lies in it's simplicity : there are no project files needed, no external libraries needed - the only thing the programmer has to do to use the functions of the library is to type '#include ' at the start of their' program. Basically the library is geared towards novice programmers or intermediate graphics programmers (Who might want to look at the source code & learn a few tricks) - it is no way near as all-encompassing as something like allegro, but like I said, it's beauty lies in it's simplicity. The library only supports mode 13h, but in this mode is about four times as fast as allegro on mode 13h (Well, at least it was with the stuff I was working with, anyway). For the DJGPP version it uses the near-pointer enabled technique to directly access the screen, a fact of which programmers should be aware of if they intend using it for any particularly weird memory stuff. Here is a list of the functions within the library : box circle cls ellipse getmousepos getpic getpix line loadbld loadpcx loadraw mousebuttons mousecursor mouseinit putpic putsprite putpix savebld savepcx saveraw setallpals setborders setpal vgaexit vgainit The library itself is only 27k (ezvgadj.h), and has only one bug as far as I know thus far (This is that PCX files -saved from- EZVGA can be read by EZVGA, but not by only programs - I can't figure this one out). If you're interested, download it from one of the Simtel.NET mirrors under v2tk E.g. ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/ezvga14.zip - about 350k zipped, pkunzip into your DJGPP directory using the -d option to recurse the sub-directories - this includes the demo for the library, which is kinda cute :) A list of some Simtel.net mirrors is on DJ Delorie's site at http://www.delorie.com/djgpp/getting.html Cheers, Matthew Bentley -- "We are like the clouds - forever changing but remaining of the same essence"