class GSF::Mouse

Defined in:

gsf/mouse.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32 = 0, y : Int32 = 0) #

[View source]

Instance Method Detail

def any_just_pressed? #

[View source]
def any_pressed? #

[View source]
def just_pressed?(button : Button) #

[View source]
def just_pressed?(buttons : Array(Button)) #

[View source]
def moved(event : SF::Event::MouseMoved) #

[View source]
def pressed(button : Button) #

[View source]
def pressed?(button : Button) #

[View source]
def pressed?(buttons : Array(Button)) #

[View source]
def released(button : Button) #

[View source]
def reset #

[View source]
def to_rotation(other_x, other_y) #

[View source]
def view_coords(view : View) #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]