package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04

doc/sfml.window/SFMouse/index.html

Module SFMouse

Online documentation for the Mouse class

type mouse_button =
  1. | ButtonLeft
  2. | ButtonRight
  3. | ButtonMiddle
  4. | ButtonX1
  5. | ButtonX2
type mouse_wheel =
  1. | VerticalWheel
  2. | HorizontalWheel
val getButtonCount : unit -> int
val isButtonPressed : button:mouse_button -> bool
val getPosition : unit -> int * int
val setPosition : pos:(int * int) -> unit
val string_of_button : mouse_button -> string
val button_of_string : string -> mouse_button
val string_of_wheel : mouse_wheel -> string
val wheel_of_string : string -> mouse_wheel
OCaml

Innovation. Community. Security.