From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca6af6d5436984a6,start X-Google-Attributes: gid103376,public From: dulman@ibm.net Subject: ANNOUNCE Visual Ada Developer VAD 2.1 Leonid Dulman Date: 1999/06/10 Message-ID: <7jospp$m3q$1@news.ibm.net.il>#1/1 X-Deja-AN: 487985777 X-Complaints-To: postmaster@ibm.net X-Trace: news.ibm.net.il!ibm.net 929035897 22650 (none) 139.92.88.235 Organization: Unspecified Organization Reply-To: dulman@ibm.net Newsgroups: comp.lang.ada Date: 1999-06-10T00:00:00+00:00 List-Id: V I S U A L A D A D E V E L O P E R (VAD) Vad is free software; you can redistribute it and/or modify it without restriction. VAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. VAD 2.1 Common description. 1. VAD ( Visual Ada Developer ) is a tcl/tk oriented Ada-95 GUI builder which portable to difference platforms, such as Windows NT/9x,Unix(Linux), Mac and OS/2. 2. used software GNAT 3.11 Ada-95 compiler ftp://cs.nyu.edu/pub/gnat TCL/TK 8.0.5 http://www.scriptics.com/software TASH 8.02 by Terry J. Westley http://tash.calspan.com/ IMG1.2 package ftp://ftp.neosoft.com/pub/tcl/sorted/packages-8.0/graphics/Img/1.2/img12b1.exe by Jan Nijtmans . TkPaint a simple Image Editor http://www.netanya.ac.il/~samy/tkpaint.html RAPID-1 By Martin Carlisle BWIDGETS 1.2 tk extension http://www.unifix-online.com/BWidget McListbox,mcombobox by Bryan Oakley http://purl.oclc.org/net/oakley/tcl/mclistbox/index.html FTP_library by Stefen Traeger http://home.t-online.de/home/Steffen.Traeger VAD generates and uses *.gui file in text format for abstract widgets descriptions. This file has a simple format and may be corrected manually. Program Adabuild generates Ada sources and tcl test script from it. Command format is : adabuild [.gui] VAD (Adabuild) generates next files : .adb - main ada program init.ads - initialized gui package init.adb event.ads - Event handlers package event.adb ( empty functions for events). .tcl - TCL script for quick check. VAD need system variable VAD_HOME for example : SET VAD_HOME=C:\VAD2.1 New project you may write with full path for example : d:\fly\report TCL/TK is a script language and it has many difference forms to describe widget. For widget placing I use disp (layout) property with follow means: ---- noplace (defaults) place grid pack and manager property for tcl script building ------- For example for placing widget .w.b in pack layout need to write disp :pack manager:.w.b -side top If you want to pack several widgets in one pack (for example 3) look at packbuton.gui sample. In addcreate property you may write all addition information for widget creation. I tried to write online help for many of used properties and simple samples. More complex sample is FTP ( 70 widgets). Unfortunately , if script has mistakes system generates EXCEPTION and abnormal ended, but VAD tries to create ABEND.GUI file with all entering widgets ( without last) and exception information in vad.prn You may save building project part and continue work in VAD. Some changing in widgets you may see immediately (I recommend to save information before property/event switching by click Add Widget/Correct Widget button) , but global changing you may see only after REDRAW ( menu TEST) execution. HELP menu allows by internal HTML viewer ( I use HTML_LIBRARY package from sun) This is a version 2.1(beta) and it contains some bugs, but I hope it will useful for Ada programmers and easy in work. This is an effective way to build gui oriented system independent applications in pure ADA-95. VAD 2.1 supports many of image formats such as BMP, XBM, XPM, GIF (with transparency), PNG, JPEG, TIFF and postscript. I use Img1.2 package For formats difference from xbm and gif you may used jpeg image type. A simple free Image editor TKpaint (with little changing ) by Samy Zafrany An Adasource from image generator from RAPID by Martin C. Carlisle and Patrick Maes. Widget Table 1. Base TCL/TK widgets toplevel frame button radiobutton checkbutton menubutton label entry listbox canvas message menu item scrollbox scale text 2. BWidgets Button Label Entry ListBox ArrowButton ProgressBar MainFrame LabelFrame LabelEntry TitleFrame Dialog ScrolledWindow PanedWindow ButtonBox NoteBook (Page) SpinBox Tree MessageDlg ProgressDlg ScrollableFrame ScrollView PagesManager PasswdDlg 3. Widgets from Bryan Oakley combobox mclistBox 4. Direct executable Tcl script TclScript You may free download VAD 2.1 from http://ada95.freeservers.com/index.html VAD211.zip VAD212.zip VAD213.zip VAD214.zip VAD215.zip VAD216.zip I am ready for any form of cooperation and thanks for any help. Regards Leonid Dulman(dulman@ibm.net)