module

GSDL::Mouse

Constants

ButtonLeft = 1_u8

TODO: make enum

ButtonMiddle = 2_u8
ButtonRight = 3_u8

Class methods

clear
Source
clicked_in?(x : Num, y : Num, width : Num, height : Num, button : UInt8 = ButtonLeft)
Source
cursor=(cursor : Cursor)
Source
double_tap?(button : UInt8) : Bool
Source
drag_offset_x(button : UInt8 = ButtonLeft)
Source
drag_offset_y(button : UInt8 = ButtonLeft)
Source
dragging?(button : UInt8 = ButtonLeft)
Source
handle_mouse_button_down(event : Event)
Source
handle_mouse_button_up(event : Event)
Source
handle_mouse_motion(event : Event)
Source
handle_mouse_wheel(event : Event)
Source
hide
Source
in?(x : Num, y : Num, width : Num, height : Num)
Source
just_pressed?(button : UInt8)
Source
just_pressed?(buttons : Array(UInt8))
Source
just_released?(button : UInt8)
Source
just_released?(buttons : Array(UInt8))
Source
moved?
Source
multi_tap?(button : UInt8, count : Int32) : Bool
Source
multi_tap_tracker
Source
position
Source
pressed?(button : UInt8)
Source
pressed?(buttons : Array(UInt8))
Source
set_cursor(cursor : Cursor)
Source
show
Source
tap_count(button : UInt8) : Int32
Source
update
Source
visible=(value : Bool)
Source
visible?
Source
wheel_x
Source
wheel_y
Source

Nested types