Reimplement room interactions for new rooms
This commit is contained in:
parent
e81900caac
commit
c36f35747f
6 changed files with 136 additions and 88 deletions
|
|
@ -1,7 +1,25 @@
|
|||
mod users;
|
||||
|
||||
use tui::backend::Backend;
|
||||
use tui::layout::Rect;
|
||||
use tui::Frame;
|
||||
|
||||
use crate::cove::room::CoveRoom;
|
||||
|
||||
pub struct CoveUi {
|
||||
room: CoveRoom,
|
||||
}
|
||||
|
||||
impl CoveUi {
|
||||
pub fn new(room: CoveRoom) -> Self {
|
||||
Self { room }
|
||||
}
|
||||
|
||||
pub async fn render_main<B: Backend>(&mut self, frame: &mut Frame<'_, B>, area: Rect) {
|
||||
// TODO Implement
|
||||
}
|
||||
|
||||
pub async fn render_users<B: Backend>(&mut self, frame: &mut Frame<'_, B>, area: Rect) {
|
||||
// TODO Implement
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue