comp.lang.ada
 help / color / mirror / Atom feed
From: Olivier Henley <olivier.henley@gmail.com>
Subject: Re: Ada interacting with Windows 8.1+ GUI
Date: Thu, 25 Oct 2018 10:33:04 -0700 (PDT)
Date: 2018-10-25T10:33:04-07:00	[thread overview]
Message-ID: <5b897611-5e95-4bc8-b5b9-a8df97299cd6@googlegroups.com> (raw)
In-Reply-To: <a35de6bc-deb7-4db4-b536-0486b966d03f@googlegroups.com>

On Thursday, October 25, 2018 at 1:19:29 PM UTC-4, Olivier Henley wrote:
> Hi,
> 
> I am writing an Ada equivalent of GLFW3 and the MS window handling + GL context is actually working. 
> 
> The code is almost the bear minimum to 'natively' handle a MS window (Ada wrapping Microsoft C core functions). I recommend you check my implementation as a starter.
> 
> The lib:
> https://github.com/ohenley/aglw
> 
> A working demo, client using the lib:
> https://github.com/ohenley/aglw-demos
> 
> olivier

The windows type definition comes from Adacore win32ada. In the example dir they have working sample that play with native windows, drawing etc.

Note: Anyhow, I plan on isolating only the type definitions needed to handle the window stuff and drop the rest. For me, to bring the whole win32 interface is overkill. But the needed stuff is all used aglw/main/src/win32/aglw-windows.adb

Another 'slim' reference is the Lumen project: https://github.com/karakalo/lumen 
  

  reply	other threads:[~2018-10-25 17:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-09 14:42 Ada interacting with Windows 8.1+ GUI Donar
2018-10-09 14:56 ` gautier_niouzes
2018-10-10 15:42   ` herbert.glarner
2018-10-10 18:19     ` G. B.
2018-10-25  9:24       ` gautier_niouzes
2018-10-11 14:42     ` gautier_niouzes
2018-10-11 15:26       ` rabbibotton
2018-10-11 18:25         ` rabbibotton
2018-10-11 18:37       ` Björn Lundin
2018-10-13  6:30       ` alby.gamper
2018-10-13 11:50         ` gautier_niouzes
2018-10-13 12:47           ` alby.gamper
2018-10-25 17:19 ` Olivier Henley
2018-10-25 17:33   ` Olivier Henley [this message]
2018-10-25 22:30     ` joakimds
2018-10-26  9:19       ` Simon Wright
2018-10-26  9:39         ` gautier_niouzes
2018-10-26 12:52         ` Bill Findlay
2018-10-26 13:42           ` Simon Wright
2018-10-26 21:19             ` Bill Findlay
2018-10-29 21:09         ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox