bogue

GUI library for ocaml, with animations, based on SDL2
Library bogue
Module Bogue . Button
Dependency graph
type t
type kind =
| Trigger
| Switch
val create : ?size:int -> ?border_radius:int -> ?border_color:Draw.color -> ?fg:Draw.color -> ?bg_on:Style.background -> ?bg_off:Style.background -> ?bg_over:Style.background -> ?label:Label.t -> ?label_on:Label.t -> ?label_off:Label.t -> ?state:bool -> string -> t
val state : t -> bool
val reset : t -> unit
val is_pressed : t -> bool