CL_DisplayWindow::CL_DisplayWindow - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_DisplayWindow::CL_DisplayWindow

Constructs a window.

    	CL_DisplayWindow();

    	CL_DisplayWindow(
    		const CL_DisplayWindow& copy);

    	CL_DisplayWindow(
    		const std::string& title, int width, int height, bool start_fullscreen = false, bool allow_resize = false, int flipping_buffers = 2);

    	CL_DisplayWindow(
    		const CL_DisplayWindowDescription& description);

    	CL_DisplayWindow(
    		CL_DisplayWindow_Generic* impl);

Parameters:

title
  Titlebar text.
width
  Width in pixels of window.
height
  Height in pixels of window.
start_fullscreen
  If true, window will go fullscreen.
allow_resize
  If true, window will have resize grabbers and can be resized.
flipping_buffers
  Number of flipping buffers in system.Default is that there is a front buffer and a back buffer.
description
  Structure that describes how to create the display window.

See also:

CL_DisplayWindowDescription | CL_Display | CL_DisplayWindow

Questions or comments, write to the ClanLib mailing list.