module Sdlwindow:sig..end
Create and manage windows
API Doc: Video category
type 
type | | | FullScreen | 
| | | OpenGL | 
| | | Shown | 
| | | Hidden | 
| | | Borderless | 
| | | Resizable | 
| | | Minimized | 
| | | Maximized | 
| | | Input_Grabbed | 
| | | Input_Focus | 
| | | Mouse_Focus | 
| | | FullScreen_Desktop | 
| | | Foreign | 
| | | Allow_HighDPI | 
typewindow_pos =[ `centered | `pos of int | `undefined ]
val create : title:string ->
       pos:window_pos * window_pos ->
       dims:int * int -> flags:window_flags list -> t
val create2 : title:string ->
       x:window_pos ->
       y:window_pos ->
       width:int -> height:int -> flags:window_flags list -> t
val set_title : window:t -> title:string -> unit
val show : t -> unit
val hide : t -> unit
val raise_win : t -> unit
val maximize : t -> unit
val minimize : t -> unit
val restore : t -> unit
val get_surface : t -> Sdlsurface.t
val update_surface : t -> unit
val set_brightness : t -> brightness:float -> unit
val get_brightness : t -> float
val destroy : t -> unit
val get_size : t -> int * int