openWindow
Script::openWindow
Opens a new window.
Declaration
WindowID openWindow(int width, int height, const std::string& title);
Parameters
Name |
Type |
Description |
---|---|---|
width |
int |
The width of the window to open. |
height |
int |
The height of the window to open. |
title |
const std::string& |
The title of the window to open. |
Returns
A unique WindowID.