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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1354ef03380fbbb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-11 02:34:20 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: gautier_niouzes@hotmail.com (Gautier) Newsgroups: comp.lang.ada Subject: Re: Ann: TeXCAD 4.0 (-\epsilon) Date: 11 May 2003 02:34:20 -0700 Organization: http://groups.google.com/ Message-ID: <17cd177c.0305110134.9d9ed7@posting.google.com> References: NNTP-Posting-Host: 80.218.95.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1052645660 2646 127.0.0.1 (11 May 2003 09:34:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 May 2003 09:34:20 GMT Xref: archiver1.google.com comp.lang.ada:37175 Date: 2003-05-11T09:34:20+00:00 List-Id: Preben Randhol: > > How much work would it be to port it to GtkAda 2.0? > I guess the major work is porting the drawing widget? Not so much: the drawing is done in the generic package TC.Display, i.e. in the platform-independent part (unlike all TC.GWin.*). All you have to provide is the appropriate placeholders for ClearScreen, SetColor, PutPoint, SetLineStyle, Line, Rectangle, Ellipse, Arc, SetTextJustify, OutTextXY. See TC.GWin.Display for an example. It is straightforward. The real "platform-dependent" challenge is to manage the interactivity: windows, menus, scrolling, mouse's ergonomy. Each system has its own specialities: multi-document windows and registry for MS Windows, on mouse button on the Mac, application owning a menu and windows (rather Mac) or a main window owning a menu inside of it as well as subwindows whose menus overlap the main menu, etc., etc.) ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!