Window

A window to place widgets.

Constructors

this
this(vec2i size, string text, WindowHint hint)

Members

Functions

exec
bool exec(App app)

Updates window. This method must be called by App object.

recalcMatrix
void recalcMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
resetFrame
void resetFrame()

Makes contexts current, And clears color and depth buffer. Warnings: Stencil buffer won't be cleared.

setContent
void setContent(WindowContent content)

Sets contents(widget). This method can be called only once.

Properties

clip
clip [@property getter]

ClipRect utility object.

shaders
shaders [@property getter]

A collection of shader.

Static functions

getClipboard
dstring getClipboard()
Undocumented in source. Be warned that the author may not have intended to support it.
retrieveDisplayConfig
void retrieveDisplayConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
setClipboard
void setClipboard(dstring v)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_aliveWindow
Window _aliveWindow;
Undocumented in source.

Variables

_clip
ClipRect _clip;
Undocumented in source.
_cursorPos
vec2 _cursorPos;
Undocumented in source.
_root
WindowContent _root;
Undocumented in source.
_shaders
Shaders _shaders;
Undocumented in source.

Inherited Members

From Window

retrieveDisplayConfig
void retrieveDisplayConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
_aliveWindow
Window _aliveWindow;
Undocumented in source.
getClipboard
dstring getClipboard()
Undocumented in source. Be warned that the author may not have intended to support it.
setClipboard
void setClipboard(dstring v)
Undocumented in source. Be warned that the author may not have intended to support it.
_shaders
Shaders _shaders;
Undocumented in source.
shaders
shaders [@property getter]

A collection of shader.

_clip
ClipRect _clip;
Undocumented in source.
clip
clip [@property getter]

ClipRect utility object.

_root
WindowContent _root;
Undocumented in source.
_cursorPos
vec2 _cursorPos;
Undocumented in source.
setContent
void setContent(WindowContent content)

Sets contents(widget). This method can be called only once.

recalcMatrix
void recalcMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
resetFrame
void resetFrame()

Makes contexts current, And clears color and depth buffer. Warnings: Stencil buffer won't be cleared.

exec
bool exec(App app)

Updates window. This method must be called by App object.

From Task

exec
bool exec(App )

Returns true to notify to finish the task.

Meta