Page 1 of 1

Windowing system for engine

Posted: 2008-07-31, 13:21
by shiv
Dear Carsten,

May be I should not ask this because answer can be found in code. For GUI Editor you use wxWidgets but what windowing system does Ca3DE use for full screen game mode.

Best regards,
Shiv

Re: Windowing system for engine

Posted: 2008-07-31, 19:06
by Carsten
Hi Shiv,
shiv wrote:May be I should not ask this because answer can be found in code.
No problem at all - this forum is about questions regarding the code after all. ;)
For GUI Editor you use wxWidgets but what windowing system does Ca3DE use for full screen game mode.
Ca3DE itself uses code that is native to the platform. That is, for Windows it uses the "normal" Win32 API in order to open the window, setup the screen, get a rendering context for OpenGL, etc. Under Linux, it does the same using the Xlib API.

You can find this code in Libs/OpenGL/OpenGLWindow.hpp and .cpp (ignore the two other files that end with OO.hpp and OO.cpp - they're old and not used).