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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fef3ad775ef4b0b7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!l62g2000hse.googlegroups.com!not-for-mail From: Gene Newsgroups: comp.lang.ada Subject: Re: Ada for 1st year students Date: Thu, 9 Oct 2008 17:09:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <76e9544d-9df0-4000-a876-8aa7b65a79ef@l62g2000hse.googlegroups.com> References: <60e0c5f0-1e17-4add-b21e-b1ef622d5233@v13g2000pro.googlegroups.com> NNTP-Posting-Host: 74.44.133.149 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1223597358 424 127.0.0.1 (10 Oct 2008 00:09:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Oct 2008 00:09:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l62g2000hse.googlegroups.com; posting-host=74.44.133.149; posting-account=-BkjswoAAACC3NU8b6V8c50JQ2JBOs04 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8037 Date: 2008-10-09T17:09:18-07:00 List-Id: On Oct 9, 12:06=A0pm, amado.al...@gmail.com wrote: > Dear Fellow Adaists: > > I have been blessed with the oportunity to teach Ada to 1st year > students of a licenciate programme of informatics engineering at > Universidade Lus=F3fona do Porto. > > (4) Graphic or GUI library. (I want to be able to produce graphical > output, not just the same old text output on a teletype-like window.) > Same requirements as above, plus: a simple or small API, eventually at > the cost of possibilities (e.g. may be limited to a single window, of > a single fixed size, limited number of colors). Should have some > support for input, e.g. textboxes, buttons, mouse input. Should use a > simple fragment of Ada, viz. excluding OOP. Should support printing, > or exporting to PDF or some such, or clipboard copying onto a "office" > document, or any combination of the above. Support for a picture > format would be a plus (PNG, JPEG...) We have been using a "Turtle Graphics" implementation that hides the complexity of GtkAda for beginning programmers. It works pretty well. By the end of a semester, nearly all students are able to design and implement a fairly elaborate game, graphical simulation, or similar program. We couldn't get there with bare GtkAda. The TG package runs without modification under Linux, Solaris, and Windows. Only the build command is different. See http://www.eecs.usma.edu/research= / . If you decide to use it, I'd be happy to answer any questions.