#![allow(clippy::too_many_arguments)]
use ncursesw::WideChar;
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub struct BoxDrawing {
pub upper_left_corner: WideChar,
pub lower_left_corner: WideChar,
pub upper_right_corner: WideChar,
pub lower_right_corner: WideChar,
pub right_tee: WideChar,
pub left_tee: WideChar,
pub lower_tee: WideChar,
pub upper_tee: WideChar,
pub horizontal_line: WideChar,
pub upper_horizontal_line: WideChar,
pub lower_horizontal_line: WideChar,
pub vertical_line: WideChar,
pub left_vertical_line: WideChar,
pub right_vertical_line: WideChar,
pub plus: WideChar
}
impl BoxDrawing {
pub fn new(
upper_left_corner: WideChar,
lower_left_corner: WideChar,
upper_right_corner: WideChar,
lower_right_corner: WideChar,
right_tee: WideChar,
left_tee: WideChar,
lower_tee: WideChar,
upper_tee: WideChar,
horizontal_line: WideChar,
upper_horizontal_line: WideChar,
lower_horizontal_line: WideChar,
vertical_line: WideChar,
left_vertical_line: WideChar,
right_vertical_line: WideChar,
plus: WideChar
) -> Self {
Self {
upper_left_corner,
lower_left_corner,
upper_right_corner,
lower_right_corner,
right_tee,
left_tee,
lower_tee,
upper_tee,
horizontal_line,
upper_horizontal_line,
lower_horizontal_line,
vertical_line,
left_vertical_line,
right_vertical_line,
plus
}
}
}