Re: compact library for creating window + OpenGL context + input handling?

2012-01-10 Thread Denis Shelomovskij
09.01.2012 17:22, Trass3r пишет: I don't think you are looking for such solution, so it is here just for information. But if someone need this, I will release sources. Please do so, could be helpful. IIRC it was the last working version before I decided to create a bigger library (the one

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Denis Shelomovskij
09.01.2012 6:05, Trass3r пишет: (other than SDL) Basically something like the SFML Window module, but written in D and working on Windoze/Linux. I have written a Windows OpenGL context creation for given HWND (initially for DGUI but it isn't a restriction, one just have to write his own

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Trass3r
Basically something like the SFML Window module, but written in D and working on Windoze/Linux. GLFW, if all you need is OpenGL (heck, even GLUT maybe). Isn't GLUT more or less dead and/or usage discouraged? Hmm GLFW seems to be no better than SDL. Is there any reason, though? SDL is not

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread David
Am 09.01.2012 04:05, schrieb Trass3r: (other than SDL) Basically something like the SFML Window module, but written in D and working on Windoze/Linux. Thought about the same, well similiar: Porting pyglet, nice API, written in Python and works cross platform http://www.pyglet.org/

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Mike Parker
On 1/9/2012 10:13 PM, Trass3r wrote: Basically something like the SFML Window module, but written in D and working on Windoze/Linux. GLFW, if all you need is OpenGL (heck, even GLUT maybe). Isn't GLUT more or less dead and/or usage discouraged? Hmm GLFW seems to be no better than SDL. GLFW

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Trass3r
I have written a Windows OpenGL context creation for given HWND (initially for DGUI but it isn't a restriction, one just have to write his own control class) because of complicated context creation in this OS (~800 lines of D code for only context creation with desired parameters) and lack

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Denis Shelomovskij
09.01.2012 17:22, Trass3r пишет: I have written a Windows OpenGL context creation for given HWND (initially for DGUI but it isn't a restriction, one just have to write his own control class) because of complicated context creation in this OS (~800 lines of D code for only context creation with

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Mike Wey
On 01/09/2012 04:05 AM, Trass3r wrote: (other than SDL) Basically something like the SFML Window module, but written in D and working on Windoze/Linux. This one might be useful: https://github.com/AndrejMitrovic/DNeonHelium/blob/master/Samples/win32/lesson01.d -- Mike Wey

Re: compact library for creating window + OpenGL context + input handling?

2012-01-09 Thread Gor Gyolchanyan
Another problem is that all these APIs don't allow obtaining native handles to windows, so that OS-specific stuff can be done. For example, both Win32 API and Xlib allow you to create alpha-blended and shaped windows, but in a vastly different manner. I personally need an alpha-blended shaped

compact library for creating window + OpenGL context + input handling?

2012-01-08 Thread Trass3r
(other than SDL) Basically something like the SFML Window module, but written in D and working on Windoze/Linux.

Re: compact library for creating window + OpenGL context + input handling?

2012-01-08 Thread Kiith-Sa
Trass3r wrote: (other than SDL) Basically something like the SFML Window module, but written in D and working on Windoze/Linux. GLFW, if all you need is OpenGL (heck, even GLUT maybe). Is there any reason, though? SDL is not dead anymore, and its API is being rewritten with 1.3 (aka