package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04
doc/sfml.window/SFEvent/index.html
Module SFEvent
Online documentation for the Event class
type t =
| Closed
| MouseMoved of int * int
(*x, y
*)| Resized of int * int
(*width, height
*)| MouseButtonPressed of SFMouse.mouse_button * int * int
(*x, y
*)| MouseButtonReleased of SFMouse.mouse_button * int * int
(*x, y
*)| MouseWheelMoved of int * int * int
(*delta, x, y
*)| MouseWheelScrolled of SFMouse.mouse_wheel * float * int * int
(*wheel, delta, x, y
*)| KeyPressed of SFKey.t * bool * bool * bool * bool
(*alt, control, shift, system
*)| KeyReleased of SFKey.t * bool * bool * bool * bool
(*alt, control, shift, system
*)| TextEntered of int32
| MouseEntered
| MouseLeft
| LostFocus
| GainedFocus
| JoystickMoved of int * SFJoystick.axis * float
(*joystickId, axis, position
*)| JoystickButtonPressed of int * int
(*joystickId, button
*)| JoystickButtonReleased of int * int
(*joystickId, button
*)| JoystickConnected of int
(*joystickId
*)| JoystickDisconnected of int
(*joystickId
*)| TouchBegan of int * int * int
(*finger, x, y
*)| TouchMoved of int * int * int
(*finger, x, y
*)| TouchEnded of int * int * int
(*finger, x, y
*)| SensorChanged of SFSensor.sensor_type * float * float * float
(*type, x, y, z
*)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>