Windowing system for engine

Get technical support about the C++ source code and about Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
Post Reply
shiv
Posts:3
Joined:2008-03-05, 23:49
Windowing system for engine

Post by shiv » 2008-07-31, 13:21

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
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: Windowing system for engine

Post by Carsten » 2008-07-31, 19:06

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).
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests