OpenFOAM logo
Open Source CFD Toolkit

XGLwindow.H

Go to the documentation of this file.
00001 #ifndef XGLwindow_H
00002 #define XGLwindow_H
00003 
00004 #include <GL/gl.h>
00005 #include <GL/glx.h>
00006 
00007 #include <X11/Xlib.h>
00008 #include <X11/Xutil.h>
00009 
00010 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00011 
00012 namespace Foam
00013 {
00014 
00015 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00016 
00017 GLenum XGLopenWindow
00018 (
00019     Display **xDisplay,
00020     char *title,
00021     const int winX,
00022     const int winY,
00023     const int winWidth,
00024     const int winHeight
00025 );
00026 
00027 void XGLcloseWindow();
00028 
00029 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00030 
00031 } // End namespace Foam
00032 
00033 #endif
00034 
00035 // ************************************************************************* //
For further information go to www.openfoam.org