X window systems

freeagle freeagle at inmail.sk
Thu May 4 17:08:10 PDT 2006


Lucas Goss wrote:
> freeagle wrote:
>> Hello
>>
>> i was trying to look into a X programming in linux, i found a D 
>> translation of pure X, but no Xlib. Could anyone point me to any if it 
>> exists? Or to a decent pure X programming tutorial? all the tutorials 
>> on the web seems to based at least on Xlib. Id like to look more into 
>> a OpenGl cross-platform GUI library making, and Terra.
> 
> Everything I've found needs Xlib as well. I don't remember exactly but I 
> think Terra actually implements some of the Xlib functionality into the 
> X11.d?
> 
> I actually started translating the X headers, but they're not finished 
> so I hadn't submitted them to d bindings. However I do have X, XLib, 
> XUtil, and Keysym with two simple examples, one example of X by itself 
> and one with OpenGL. Ah... I forgot about the license. I just put a 
> generic license on the files, but I'm sure it's not explicit enough. 
> They are free to change and do whatever you want with and I'll change 
> them some time soon to... um, something like the MIT, BSD, or 
> zlib/libpng... any suggestions?
> 
> Anyways, files are here: http://lgoss007.googlepages.com/dprogramming
> 
> Lucas

yes, i dloaded the x11.d from terra too, but when i searched for som X 
functions included in a small X app written in C, i found out that some 
are missing, namely, i couldnt find XOpenDisplay, and some more. And 
terra is not yet usable for linux and X systems, at least thats what Ive 
read. I wanted this to mess a bit with terra or something small on my 
own. So all I just need is creating a simple window, ability to get 
OpenGL work with it, input and messaging, nothing more. And about those 
licences, i honestly dont know, im kinda new to this opensource/free 
stuff :P



More information about the Digitalmars-d mailing list