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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,24884eb7c95d3e83,start X-Google-Attributes: gid103376,public From: dulman@ibm.net Subject: Ann : Visual Ada Developer VAD version 3.2 Leonid Dulman Date: 1999/09/22 Message-ID: <7sb7iu$f7i$1@news.ibm.net.il> X-Deja-AN: 528328988 X-Complaints-To: postmaster@ibm.net X-Trace: news.ibm.net.il!ibm.net 938025375 15602 (none) 139.92.182.192 Organization: Unspecified Organization Reply-To: dulman@ibm.net Newsgroups: comp.lang.ada Date: 1999-09-22T00: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 3.2 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 Csh1.0 package by Mohamed Baccar htt: //members.aol.com/~mbaccar/pub/csh10.zip Xterm button initialize xterminal Snack1.6 multimaedia sound by Kare Sjolander http://www.speech.kth.se/snack/ BLT 2.4i ftp://ftp.tcltk.com/pub/blt Itcl 3.0 QuickTimeTcl multimedia movie Oratcl 2.5 Oracle connection VAD generates and uses *.gui file in text format for abstract widgets descriptions. This file has a simple format and may be corrected manually. 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:\VAD3.2 New project you may write with full path for example : d:\fly\report (usr/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 3.2(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 3.2 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 VAD 3.2 has internal tcl packages support from Packages menu. W A R N I N G !!! You can not use BLT and Itcl together. After loading tcl package can not be unload. If you have instaled Oratcl 2.5 package and loaded it, you may directly work with Oracle server from Oracle menu. I am ready for any form of cooperation and thanks for any help. VAD 3.2 available in http://members.xoom.com/ldulman/vad.htm You may dowload sources vad32scr.zip, vad32hlp.zip, vad32smp.zip and binaries vad32win.zip, vad32tcl.zip (WINDOWS 9x/NT) vad32lin.zip, vad32pkg.zip (OpenLinux 2.2,RedHat 6.0) Regards Leonid Dulman(dulman@ibm.net)