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,3e94d378267a2887 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-03 14:06:17 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail Message-ID: <40465508.43CF901A@me.org> From: Me Reply-To: me@me.org X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GlutMainLoop in Ada References: <40453B04.BC4E18C@mchsi.com> <40464051.A5E2004@fakeaddress.nil> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 03 Mar 2004 15:58:32 -0600 NNTP-Posting-Host: 199.46.172.133 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.ray.com 1078351073 199.46.172.133 (Wed, 03 Mar 2004 15:57:53 CST) NNTP-Posting-Date: Wed, 03 Mar 2004 15:57:53 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:6040 Date: 2004-03-03T15:58:32-06:00 List-Id: Not completely what I was looking for, but that package is opening some possibilities. I was needing a keyboard callback, and apparently this one has one. I will see if I can duplicate these handlers into my Ada program and see what happens. Sorry if I wasn't clear enough before. What I was actually looking for is an Ada implementation of the entire "glutMainLoop" routine - coded in Ada - that I can just include directly into my Ada program in place of a call to glutMainLoop, and control the looping myself instead of Glut controlling it. I have a C++ implementation, but it is calling C stuff for which I do not see Ada bindings. I will run with this example and see if I can overcome my problems with that code. Thank you, Bruce Gautier Write-only wrote: > Bruce: > > > Does anyone have or know where I can obtain an Ada implementation > > of the GLUT procedure GlutMainLoop? > > Here, for instance: http://homepage.sunrise.ch/mysunrise/gdm/g3d.htm > > See Dem_GL_1, the call GLUT.MainLoop; > > HTH > ________________________________________________________ > Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm > > NB: For a direct answer, e-mail address on the Web site!