Mouse

A template that declares methods related to Mouse.

Members

Functions

handleMouseButton
bool handleMouseButton(MouseButton btn, bool status, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseEnter
bool handleMouseEnter(bool entered, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseMove
bool handleMouseMove(vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseScroll
bool handleMouseScroll(vec2 amount, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
handleTracked
void handleTracked(bool a)
Undocumented in source. Be warned that the author may not have intended to support it.
refuseTrack
void refuseTrack()
Undocumented in source. Be warned that the author may not have intended to support it.
setHovered
void setHovered(Widget child, vec2 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
track
void track()
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.
isTracked
isTracked [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
trackable
bool trackable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_hovered
Widget _hovered;
Undocumented in source.

Meta