note.brr
Mouse.Cursor
Mouse cursors.
To be used with Brr.El.Style.cursor.
Brr.El.Style.cursor
note
type t = Jstr.t
The type for specifying cusrors.
val url : ?x:int -> ?y:int -> Jstr.t -> t
url ~x ~y u is an image cursor using URL u for the image with x,y identifiying the position of the hotspot in the image relative to the top-left corner (defaults to 0,0).
url ~x ~y u
u
x,y
0,0
val auto : t
auto
val default : t
default
val none : t
none
val context_menu : t
context-menu
val help : t
help
val pointer : t
pointer
val progress : t
progress
val wait : t
wait
val cell : t
cell
val crosshair : t
crosshair
val text : t
text
val vertical_text : t
vertical-text
val alias : t
alias
val copy : t
copy
val move : t
move
val no_drop : t
no-drop
val not_allowed : t
not-allowed
val grab : t
grab
val grabbing : t
grabbing
val e_resize : t
e-resize
val n_resize : t
n-resize
val ne_resize : t
ne-resize
val nw_resize : t
nw-resize
val s_resize : t
s-resize
val se_resize : t
se-resize
val sw_resize : t
sw-resize
val w_resize : t
w-resize
val ew_resize : t
ew-resize
val ns_resize : t
ns-resize
val nesw_resize : t
nesw-resize
val nwse_resize : t
nwse-resize
val col_resize : t
col-resize
val row_resize : t
row-resize
val all_scroll : t
all-scroll
val zoom_in : t
zoom-in
val zoom_out : t
zoom-out