ui/box

Values

pub fn draw_box(
  x: Int,
  y: Int,
  width: Int,
  height: Int,
  style: box_style.BoxStyle,
) -> Nil
pub fn draw_box_with_title(
  x: Int,
  y: Int,
  width: Int,
  height: Int,
  style: box_style.BoxStyle,
  title: String,
) -> Nil
pub fn draw_menu_box(
  x: Int,
  y: Int,
  width: Int,
  title: String,
  options: List(String),
  selected: Int,
  style: box_style.BoxStyle,
) -> Nil
pub fn draw_progress_box(
  x: Int,
  y: Int,
  width: Int,
  title: String,
  current: Int,
  total: Int,
  style: box_style.BoxStyle,
) -> Nil
pub fn draw_text_in_box(
  x: Int,
  y: Int,
  width: Int,
  height: Int,
  style: box_style.BoxStyle,
  title: String,
  content: List(String),
  alignment: alignment.Alignment,
) -> Nil
pub fn fill_box(
  x: Int,
  y: Int,
  width: Int,
  height: Int,
  fill_char: String,
) -> Nil
Search Document