use Cursive; use Printer; use With; use align::*; use direction::Direction; use event::*; use std::any::Any; use std::cell::Cell; use std::cmp::max; use theme::ColorStyle; use unicode_width::UnicodeWidthStr; use vec::{Vec2, Vec4}; use view::{AnyView, Selector, View}; use views::{Button, DummyView, SizedView, TextView}; #[derive(PartialEq)] enum Focus { Content, Button(usize), } struct ChildButton { button: SizedView