OpenBGI library |
AboutFeaturesDownloadDocumentationHelp is welcome!AboutThis library is intended to replace the old DOS library that was included Borland C (called BGI, which stands for Borland Graphics Interface). which provides functions for DOS graphics mode. It was extremely slow and it's API wasn't perfect (from modern point of view) but it was very simple to use, so it very well suits for teaching programming basis, where graphics output is needed. Although all it's lacks, it is used even now, because of it's simplicity for teaching purpose.
So, OpenBGI library is intended to replace that old library, by implementing just the same interface but implementing on Microsoft Windows system for use with Visual Studio (6.0, .NET, 2003, 2005, 2008) or MinGW compiler. It has practically the same API as <graphics.h> (that was included in Borland C for DOS) with some extensions (described in Features). That is, it let's simply to switch from old legacy Borland C to modern compilers/IDEs ( Visual Studio 2005 Express Edition, for example) practically without code changing. There is also some other Windows implementation of that old library (Winbgi, for example), but OpenBGI implementation differs from them in good debug mode support Features
DownloadLibrary's source can be downloaded from sourceforge's site : download link. Binaries are not officially provided, but there is Makefile in library directory that will build it for MinGW. For Visual Studio you have to manually create project and compile it. Please, see readme.txt bundled with sources before using. Incompatibilities with old DOS version described there! DocumentationSorry, there is no documentation for now. See Help is welcome Help is welcome!As for now, there is no documentation or commented samples for this library, so when you use it you have to stick with Borland C with it's documentation. Everybody is welcome to help the project by adding documentation (you can just comment several functions from graphics.h (comments must be in doxygen format) or write small, well-commented sample to demostrate several functions from graphics.h). Send it to daniil_guit@users.sourceforge.net The project is not at an early stage, so it is practically useful (most annoying bugs are, imho, cleaned up). But if you have found out that some function works improperly, you are welcomed to submit bugs. |