Thread overview
X Windows Headers
Oct 01, 2005
Trevor Parscal
Oct 01, 2005
John Reimer
Oct 02, 2005
Ben Hinkle
Oct 02, 2005
Wolfgang Draxinger
Oct 02, 2005
Trevor Parscal
October 01, 2005
I am working on a Linux Port for Terra, and was hoping to find some D headers for X Windows.

I am planning on using X because I want the most low level / native interface to the OS as possible, since I need allot of speed and nothing more than a basic resizable OpenGL window, mouse, and keyboard.

Any ideas where I could find these kinds of headers?

Thanks,
Trevor Parscal
October 01, 2005
Trevor Parscal wrote:
> I am working on a Linux Port for Terra, and was hoping to find some D headers
> for X Windows.
> 
> I am planning on using X because I want the most low level / native interface to
> the OS as possible, since I need allot of speed and nothing more than a basic
> resizable OpenGL window, mouse, and keyboard.
> 
> Any ideas where I could find these kinds of headers?
> 
> Thanks,
> Trevor Parscal

Have a look at Ben Hinkles MinWin project.  The link should be available on dsource.org in the forum of the same name... I can't remember the link of hand.  He has a minimal X Windows header for D available within the project.  I started adding to them for another project, but didn't get too much further.  His perhaps is enough for your purposes.

-JJR
October 02, 2005
Trevor Parscal wrote:

> I am working on a Linux Port for Terra, and was hoping to find some D headers for X Windows.
> 
> I am planning on using X because I want the most low level / native interface to the OS as possible, since I need allot of speed and nothing more than a basic resizable OpenGL window, mouse, and keyboard.

Why not use SDL? It's cross plattform, fast and widely used, also in a few commercial game engines. The most prominent is probably the Unreal Engine.

-- 
Wolfgang Draxinger

October 02, 2005
In article <dhn888$1qhq$1@digitaldaemon.com>, Wolfgang Draxinger says...
>
>Trevor Parscal wrote:
>
>> I am working on a Linux Port for Terra, and was hoping to find some D headers for X Windows.
>> 
>> I am planning on using X because I want the most low level / native interface to the OS as possible, since I need allot of speed and nothing more than a basic resizable OpenGL window, mouse, and keyboard.
>
>Why not use SDL? It's cross plattform, fast and widely used, also in a few commercial game engines. The most prominent is probably the Unreal Engine.
>
>-- 
>Wolfgang Draxinger
>

Because I need to use the headers for my D project, which one might use INSTEAD of SDL...

See what I mean... http://www.sequenceartworks.com/labs/terra

And here...
http://www.dsource.org/projects/terra

Thanks for the suggestion nonetheless, hope that answers the question. :)

Thanks,
Trevor Parscal
October 02, 2005
"John Reimer" <terminal.node@gmail.com> wrote in message news:dhn4d0$1mme$1@digitaldaemon.com...
> Trevor Parscal wrote:
>> I am working on a Linux Port for Terra, and was hoping to find some D
>> headers
>> for X Windows.
>>
>> I am planning on using X because I want the most low level / native
>> interface to
>> the OS as possible, since I need allot of speed and nothing more than a
>> basic
>> resizable OpenGL window, mouse, and keyboard.
>>
>> Any ideas where I could find these kinds of headers?
>>
>> Thanks,
>> Trevor Parscal
>
> Have a look at Ben Hinkles MinWin project.  The link should be available on dsource.org in the forum of the same name... I can't remember the link of hand.  He has a minimal X Windows header for D available within the project.  I started adding to them for another project, but didn't get too much further.  His perhaps is enough for your purposes.
>
> -JJR

http://home.comcast.net/~benhinkle/minwin/
There's enough of X11/Xt/Motif in there to get basic graphical apps like
empire running. It should get you started.