class Nya::Input::MouseMotionEvent

Overview

Wrapper for SDL MouseMotionEvent

Defined in:

nya/input/events.cr

Constructors

Instance Method Summary

Instance methods inherited from class Nya::EventWrapper(LibSDL2::MouseMotionEvent)

inner : T inner, inner=(inner : T) inner=

Constructor methods inherited from class Nya::EventWrapper(LibSDL2::MouseMotionEvent)

new(inner : T) new

Instance methods inherited from class Nya::Event

status : Nya::EventStatus status, status=(status : Nya::EventStatus) status=

Class methods inherited from class Nya::Event

send(name, event : Event) send, send_async(name, e : Event) send_async, subscribe(*events, handler)
subscribe(*events, &handler : Event -> )
subscribe
, unsubscribe(handler : EventHandler)
unsubscribe(id : Int64)
unsubscribe

Constructor Detail

def self.new(inner) #

[View source]

Instance Method Detail

def state(*args, **options) #

[View source]
def state(*args, **options, &) #

[View source]
def x(*args, **options) #

[View source]
def x(*args, **options, &) #

[View source]
def xrel(*args, **options) #

[View source]
def xrel(*args, **options, &) #

[View source]
def y(*args, **options) #

[View source]
def y(*args, **options, &) #

[View source]
def yrel(*args, **options) #

[View source]
def yrel(*args, **options, &) #

[View source]