package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351
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)"
>