blob: 62407c9c1c3693aeb88a312ca24759f1d4dd6136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use tui::{backend::Backend, layout::Rect, Frame};
use crate::tuice::{Event, Status, TmpComponent};
pub struct Carousel {}
impl<Message> TmpComponent<Message> for Carousel {
fn draw<B>(&mut self, _area: Rect, _frame: &mut Frame<'_, B>)
where
B: Backend,
{
todo!()
}
fn on_event(&mut self, _area: Rect, _event: Event, _messages: &mut Vec<Message>) -> Status {
Status::Ignored
}
}
|