Constructor
@:value({ id : 0 })new(id:Int = 0)
Variables
@:value(new s.shortcut.signals.KeySignal([]))read onlybuttonHold:KeySignal<MouseButton, (x:Int, y:Int) ‑> Void> = new s.shortcut.signals.KeySignal([])
@:value(new s.shortcut.signals.Signal([]))read onlyclicked:Signal<(button:MouseButton, x:Int, y:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlydoubleClicked:Signal<(button:MouseButton, x:Int, y:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlyexited:Signal<() ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlyhold:Signal<(button:MouseButton, x:Int, y:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(false)locked:Bool = false
@:value(new s.shortcut.signals.Signal([]))read onlymoved:Signal<(x:Int, y:Int, dx:Int, dy:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlypressed:Signal<(button:MouseButton, x:Int, y:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlyreleased:Signal<(button:MouseButton, x:Int, y:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(new s.shortcut.signals.Signal([]))read onlyscrolled:Signal<(delta:Int) ‑> Void> = new s.shortcut.signals.Signal([])
@:value(0)read onlyx:Int = 0
@:value(0)read onlyy:Int = 0
Methods
offMoved(slot:(x:Int, y:Int, dx:Int, dy:Int) ‑> Void):Bool
onMoved(slot:(x:Int, y:Int, dx:Int, dy:Int) ‑> Void):(x:Int, y:Int, dx:Int, dy:Int) ‑> Void
onScrolled(slot:(delta:Int) ‑> Void):(delta:Int) ‑> Void