Module Gui

val button : ?enabled:bool -> Playground.computer -> at:(Playground.number * Playground.number) -> string -> bool
val checkbox : Playground.computer -> at:(Playground.number * Playground.number) -> string -> bool -> bool
val rocker : Playground.computer -> at:(Playground.number * Playground.number) -> bool -> bool
val selector : Playground.computer -> at:(Playground.number * Playground.number) -> string list -> int -> int
val field : ?enabled:bool -> Playground.computer -> at:(Playground.number * Playground.number) -> string -> string
val menu : Playground.computer -> at:(Playground.number * Playground.number) -> string list -> int -> int
val label : Playground.computer -> at:(Playground.number * Playground.number) -> string -> unit
val button_in : ?enabled:bool -> Playground.computer -> Widget.box -> string -> bool
val checkbox_in : Playground.computer -> Widget.box -> string -> bool -> bool
val rocker_in : Playground.computer -> Widget.box -> bool -> bool
val selector_in : Playground.computer -> Widget.box -> string list -> int -> int
val label_in : Playground.computer -> Widget.box -> string -> unit
val field_in : ?enabled:bool -> Playground.computer -> Widget.box -> string -> string
val progress_in : Playground.computer -> Widget.box -> Playground.number -> unit
val menu_in : Playground.computer -> Widget.box -> string list -> int -> int
val list_in : Playground.computer -> Widget.box -> string list -> int option -> int option
val button_size : string -> Playground.number * Playground.number
val checkbox_size : string -> Playground.number * Playground.number
val slider_size : unit -> Playground.number * Playground.number
val knob_size : unit -> Playground.number * Playground.number
val rocker_size : unit -> Playground.number * Playground.number
val selector_size : string list -> Playground.number * Playground.number
val label_size : string -> Playground.number * Playground.number
val field_size : unit -> Playground.number * Playground.number
val text_area_size : unit -> Playground.number * Playground.number
val progress_size : unit -> Playground.number * Playground.number
val menu_size : string list -> Playground.number * Playground.number
val list_size : unit -> Playground.number * Playground.number
val modal : unit -> bool
val draw : unit -> Playground.shape list
val shapes : Widget.paint list -> Playground.shape list
val theme : unit -> Theme.t
val set_theme : Theme.t -> unit