Beispiel #1
0
/**
 * %Window constructor. It automatically adds the window to the window stack.
 * @param wtype %Window type Type of window.
 * @param wnumber Number of the window within the \a wtype.
 */
Window::Window(WindowTypes wtype, WindowNumber wnumber) : rect(0, 0, 0, 0), wtype(wtype), wnumber(wnumber)
{
	this->timeout = 0;
	this->higher = nullptr;
	this->lower  = nullptr;
	this->flags  = 0;

	_window_manager.AddToStack(this); // Add to window stack.
}