A SERVICE OF

logo

Creating Your Own Window
143
Creating Your Own Window
Instead of using the window provided by Cosmo 3D, csWindow, you can create your
own window using X11 or WIN32 window code. In this case your application controls
the csContext, events, and window, as shown in Figure 12-2.
Figure 12-2 Creating Your Own Window
Sample Window Code
For sample code that shows you how to create your own window, see the demonstration
programs, cubex.cxx and cubew32.cxx.
Application
csContext
GLXContext
csEvent
X Windows
Window