use view::View; use super::Size; use ncurses; /// Simple stack of views. /// Only the top-most view is active and can receive input. pub struct StackView { layers: Vec>, } impl StackView { /// Creates a new empty StackView pub fn new() -> Self { StackView { layers: Vec::new(), } } } impl View for StackView { fn draw(&self, win: ncurses::WINDOW, size: Size) { } }