Module Bimage_display.Window
val create :
?callback:( 'c t -> unit ) ->
?width:int ->
?height:int ->
string ->
( 'a, 'b, [< `Rgb | `Rgba ] ) Bimage.Image.t ->
'c ->
'c tval window : 'a t -> GLFW.windowval update : 'a t -> unitval set_data : 'a t -> 'a -> unitval set_callback : 'a t -> ( 'a t -> unit ) option -> unitval replace_image :
'x t ->
( 'a, 'b, [< `Rgb | `Rgba ] ) Bimage.Image.t ->
unitval mouse_position : 'a t -> float -> float -> float * floatval on_mouse_move : ( 'a t -> float -> float -> unit ) -> 'a t -> unitval on_key :
( 'a t -> GLFW.key -> int -> GLFW.key_action -> GLFW.key_mod list -> unit ) ->
'a t ->
unitval get_mouse_position : 'a t -> float * floatval get_key : 'a t -> GLFW.key -> bool