digitalmars.D - X window systems
- freeagle (7/7) May 04 2006 Hello
- Lucas Goss (14/21) May 04 2006 Everything I've found needs Xlib as well. I don't remember exactly but I...
- freeagle (10/35) May 04 2006 yes, i dloaded the x11.d from terra too, but when i searched for som X
- Lucas Goss (5/14) May 04 2006 I see. That's what I wanted as well, which is why I translated those
- freeagle (5/21) May 05 2006 cool, thanks :) only think i found some probs with the glu.d and opengl
- Lucas Goss (3/7) May 05 2006 Ah, I haven't really used it for awhile... so I'll see if I can find
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. thanks
May 04 2006
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
May 04 2006
Lucas Goss wrote:freeagle wrote: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 :PHello 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
May 04 2006
freeagle wrote: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 :PI see. That's what I wanted as well, which is why I translated those headers. And if that's all you want then those files that I linked to should provide all you need. Lucas
May 04 2006
Lucas Goss wrote:freeagle wrote:cool, thanks :) only think i found some probs with the glu.d and opengl lesson. in glu.d, you declared two functions it think at line 280 or something with arguments (void), which dmd didnt accept. plus some missing casts in glu.d and lesson. Other than that, it worked well :)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 :PI see. That's what I wanted as well, which is why I translated those headers. And if that's all you want then those files that I linked to should provide all you need. Lucas
May 05 2006
freeagle wrote:cool, thanks :) only think i found some probs with the glu.d and opengl lesson. in glu.d, you declared two functions it think at line 280 or something with arguments (void), which dmd didnt accept. plus some missing casts in glu.d and lesson. Other than that, it worked well :)Ah, I haven't really used it for awhile... so I'll see if I can find those problems. Glad it worked for you though :)
May 05 2006