Module Sdl.Window

module Window: sig .. end

type t = Sdlwindow.t 
type window_flags = Sdlwindow.window_flags = 
| FullScreen
| OpenGL
| Shown
| Hidden
| Borderless
| Resizable
| Minimized
| Maximized
| Input_Grabbed
| Input_Focus
| Mouse_Focus
| FullScreen_Desktop
| Foreign
| Allow_HighDPI
type window_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