IWindow

Window interaction interface. It does not provide its creation, it is created by a separate function within the interface implementation, in particular the initialize function.

Members

Functions

destroy
void destroy()

Destroys the window and its associated data (not the structure itself, all values are reset to zero).

hide
void hide()

Hide a window in the plane of the desktop. (Can be tracked in the task manager.)

move
void move(int xposition, int yposition)

Changes the position of the window in the plane of the desktop.

resize
void resize(uint w, uint h)

Window resizing function.

show
void show()

Shows a window in the plane of the desktop.

swapBuffers
void swapBuffers()

Swap two buffers.

Properties

alwaysOnTop
bool alwaysOnTop [@property setter]

Whether the window is always on top of the others.

alwaysOnTop
bool alwaysOnTop [@property getter]

Whether the window is always on top of the others.

border
bool border [@property setter]

Frames around the window.

border
bool border [@property getter]

Frames around the window.

context
IContext context [@property setter]

Grahphics context

context
IContext context [@property getter]

Grahphics context

fullscreen
bool fullscreen [@property setter]

Window mode, namely whether windowed or full screen

fullscreen
bool fullscreen [@property getter]

Window mode, namely whether windowed or full screen

height
uint height [@property getter]

Window height

icon
Image icon [@property setter]

Dynamic window icon.

resizable
bool resizable [@property setter]

Whether the window can be resized by the user.

resizable
bool resizable [@property getter]

Whether the window can be resized by the user.

title
string title [@property setter]

Window title.

title
string title [@property getter]

Window title.

width
uint width [@property getter]

Window width

x
int x [@property getter]

The position of the window in the plane of the desktop.

y
int y [@property getter]

The position of the window in the plane of the desktop.

Meta