Function pixels_graphics_lib::dialogs::dialog_background

source ·
pub fn dialog_background(
    width: usize,
    height: usize,
    style: &DialogStyle
) -> ShapeCollection
Expand description

Creates a shade and outline for dialogs

Dialog size should be set in style

§Parameters

  • width - Screen width
  • height - Screen height