video_window(VECTOR* pos,VECTOR* size,var style,STRING* title)

Changes the position, size, style or title of the engine window.

Parameters:

pos vector containing the new x and y position in pixels, or NULL for no change
size vector containing the new x and y size in pixels, or NULL for no change
title new title of the window, or NULL for no change
style

0 for no change, or a combination of the following modes:

1 no border
2 thin border
4 thick border that allows resizing the window
16 title bar and border
32 close icon (requires title bar)
64 minimize icon (requires close icon)
128 maximize icon (requires close icon) A7.80
256 hide the window

Remarks:

Speed:

Medium

Example:

// place the window at position (500,300) and remove the border
video_window(vector(500,300,0),vector(800,600,0),1,NULL);

See also:

video_switch, video_set, window_pos

► latest version online