<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_OpenGLWindow::CL_OpenGLWindow - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>CL_OpenGLWindow::CL_OpenGLWindow</h1> <p> Constructs an opengl window.</p> <pre> CL_OpenGLWindow(); CL_OpenGLWindow( const CL_OpenGLWindow& copy); CL_OpenGLWindow( const std::string& title, int width, int height, bool start_fullscreen = false, bool allow_resize = false, int flipping_buffers = 2); </pre> <p><b>Parameters:</b></p> <dl> <dt><i>title</i></dt><dd>Titlebar text.</dd> <dt><i>width, height</i></dt><dd>Size of window, in pixels.</dd> <dt><i>start_fullscreen</i></dt><dd>If true, window will go full screen.</dd> <dt><i>allow_resize</i></dt><dd>If true, window will have resize grabbers.</dd> <dt><i>flipping_buffer</i></dt><dd>Amount of buffers in flipping system.</dd> </dl> <p><b>See also:</b></p> <p><a href="CL_OpenGL.html">CL_OpenGL</a> | <a href="CL_OpenGLWindow.html">CL_OpenGLWindow</a></p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->