Class Window
A native window.
					
				
			Constructors
| Name | Description | 
|---|---|
| this(title, width, height, initiallyFocused) | Initialize a new Window. | 
| this(title, clearColor, width, height, initiallyFocused) | Initialize a new Window. | 
Fields
| Name | Type | Description | 
|---|---|---|
| clearColor | const(Color) | Color this Window's framebuffer should be cleared to when rendered. | 
| defaultClearColor | Color | |
| dontCare | const(Size) | Value used to disable minimum or maximum size limits of a Window. | 
| id | const(int) | Window identifier. | 
| onUnhandledInput | Event!(const(teraflop.input.event.InputEvent)) | Fired when this window receives an unhandled InputEvent. | 
Properties
| Name | Type | Description | 
|---|---|---|
| framebufferSize[get] | const(Size) | Size of this Window, in pixels. | 
| maximumSize[get, set] | const(Size) | Maximum size of this Window's content area, in screen coordinates. | 
| minimized[get] | bool | Whether this window is minimized. | 
| minimumSize[get, set] | const(Size) | Minimum size of this Window's content area, in screen coordinates. | 
| size[get] | const(Size) | Size of this Window's content area, in screen coordinates. | 
| surfaceSize[get] | const(Size) | Size of this Window's Surface, in pixels. | 
| title[get] | string | Title of this Window. | 
| valid[get] | bool | Whether the native window handle is valid. | 
| visible[get] | bool | Whether this Window is currently visible. | 
Methods
| Name | Description | 
|---|---|
| hide() | Makes this Window visible if it was previously hidden. | 
| show() | Hides this Window if it was previously visible. | 
| actionInput(event) | |
| unhandledInput(event) |