package sfml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Bindings to the SFML multimedia library
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351
doc/sfml.graphics/SFRenderWindow/index.html
Module SFRenderWindow
Online documentation for the RenderWindow class
val create :
mode:SFVideoMode.t ->
title:string ->
style:SFStyle.t list ->
settings:SFContextSettings.t ->
tval createFromHandle : handle:nativeint -> settings:SFContextSettings.t -> tval make :
?style:SFStyle.t list ->
?bpp:int ->
?settings:SFContextSettings.t ->
(int * int) ->
string ->
tval isOpen : t -> boolval close : t -> unitval display : t -> unitval destroy : t -> unitval blank : t -> unitval getSettings : t -> SFContextSettings.tval getSize : t -> int * intval getWidth : t -> intval getHeight : t -> intval setSize : t -> size:(int * int) -> unitval setSize2 : t -> width:int -> height:int -> unitval setMouseCursorVisible : t -> show:bool -> unitval setMouseCursorGrabbed : t -> grabbed:bool -> unitval setMouseCursor : t -> cursor:SFCursor.t -> unitval setVisible : t -> visible:bool -> unitval setKeyRepeatEnabled : t -> enabled:bool -> unitval setActive : t -> active:bool -> unitval drawSprite :
t ->
sprite:SFSprite.t ->
?states:SFRenderStates.t ->
unit ->
unitval drawText : t -> text:SFText.t -> ?states:SFRenderStates.t -> unit -> unitval drawShape :
t ->
shape:SFShape.t ->
?states:SFRenderStates.t ->
unit ->
unitval drawCircleShape :
t ->
circle:SFCircleShape.t ->
?states:SFRenderStates.t ->
unit ->
unitval setPosition : t -> pos:(int * int) -> unitval setPosition2 : t -> left:int -> top:int -> unitval setFramerateLimit : t -> limit:int -> unitval setVerticalSyncEnabled : t -> enabled:bool -> unitval setJoystickThreshold : t -> threshold:float -> unitval setTitle : t -> title:string -> unitval pushGLStates : t -> unitval popGLStates : t -> unitval resetGLStates : t -> unitval getMousePosition : relativeTo:t -> int * intval setMousePosition : relativeTo:t -> (int * int) -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>