AdaPower Logged in as Guest
Ada Tools and Resources

Ada 95 Reference Manual
Ada Source Code Treasury
Bindings and Packages
Ada FAQ


Join >
Articles >
Ada FAQ >
Getting Started >
Home >
Books & Tutorials >
Source Treasury >
Packages for Reuse >
Latest Additions >
Ada Projects >
Press Releases >
Ada Audio / Video >
Home Pages >
Links >
Contact >
About >
Login >
Back
Ada Libraries - AdaGraph X
Libraries of Ada Code

Enclosed you find the adagraph body for simple X11 graphics ver 0.2 This version is far from beeing finished, it was made only to demonstrate simple X11 graphics with Ada95 (Gnat3.12p) on Linux. My primary intention was to get running examples of the book "Ada 95 Problem Solving and Program Design, 3rd edition", by Michael B. Feldman and Elliot B. Koffman, published 1999 by Addison-Wesley. Prerequisites: Gnat Ada95 Compiler (www.gnuada.org) X11 Bindings (www.gnuada.org) enclosed body adagraph.adb Tested configuration : RedHat Linux 6.1: ----------------- Gnat 3.12p - RPMS x11ada 3.12p-1.30 - RPMS (to make on Linux: gnatmake -I/usr/lib/ada/X11 adapaint -largs -lX11Ada) A Makefile for Linux is provided: simply type "make all" to compile and link the demos, "make clean" to clean up Irix 6.5.6: ----------- Gnat 3.11b-SGI libX11bind (to make on IRIX: gnatmake -n32 -O2 -I/usr/adainclude/X11 drunken_spider -largs -lX11bind -largs -lX11 works fine for me) programs known to run with the X11 ver 0.2: all examples given by Michael B. Feldman and Elliot B. Koffman : drunken_spider.adb sine_wave.adb spiral.adb polygons.adb snowflakes.adb polystars.adb based on library: spider_hires.adb demo provided by Jerry van Dijk: demo.adb AdaPaint by J-P. Rosen todo: -add error/exception handling (most important) Please send bug reports as well as suggestions for improvements to Gerald.Kasner@Physik.Uni-Magdeburg.de THIS SOFTWARE IS PROVIDED `AS IS'' AND WITHOUT ANY EXPRESS OR-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Download


(c) 1998-2004 All Rights Reserved David Botton