WindowOperations

A template that declares methods related to operating Window.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
enableSideDragging
void enableSideDragging(vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseButton
bool handleMouseButton(MouseButton btn, bool status, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseMove
bool handleMouseMove(vec2 cur)
Undocumented in source. Be warned that the author may not have intended to support it.
limitSize
void limitSize(vec2 min, vec2 max)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(vec2 size)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeWithDragging
void resizeWithDragging(vec2 cur)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

cursor
const(Cursor) cursor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
maxSize
maxSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
minSize
minSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pos
vec2 pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
vec2 size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_draggingSides
uint _draggingSides;
Undocumented in source.
_maxSize
vec2 _maxSize;
Undocumented in source.
_minSize
vec2 _minSize;
Undocumented in source.
_pos
vec2 _pos;
Undocumented in source.
_size
vec2 _size;
Undocumented in source.
onClose
MdiClientCloseHandler onClose;
Undocumented in source.

Meta