Window

Canvas for drawing

Constructors

this
this(string name, uint width, uint height)

Constructs a new window with the specified dimensions and name.

Destructor

~this
~this()

Closes the window

Members

Functions

clear
void clear()

Clear window buffer contents

close
void close()

Closes the window if it is open, deallocating it's resources.

isOpen
bool isOpen()

Tells wether the window is currently open

print
void print()

Prints current buffer contents into screen

Meta