www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - X Windows Headers

reply Trevor Parscal <Trevor_member pathlink.com> writes:
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
Oct 01 2005
next sibling parent reply John Reimer <terminal.node gmail.com> writes:
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
Oct 01 2005
parent "Ben Hinkle" <ben.hinkle gmail.com> writes:
"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.
Oct 02 2005
prev sibling parent reply Wolfgang Draxinger <wdraxinger darkstargames.de> writes:
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
Oct 01 2005
parent Trevor Parscal <Trevor_member pathlink.com> writes:
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
Oct 01 2005