convert to workspace, add suil bindings crate

This commit is contained in:
🪞👃🪞 2024-07-24 13:21:11 +03:00
parent bd6f8ff9bf
commit dacce119c4
52 changed files with 1994 additions and 116 deletions

View file

@ -1,20 +0,0 @@
//! Rendering of application to display.
use crate::{render, App, core::*, devices::chain::ChainView, model::MODAL};
submod! { border split theme }
render!(App |self, buf, area| {
Split::down([
&self.transport,
&self.arranger,
&If(self.arranger.selected.is_clip(), &Split::right([
&ChainView::vertical(&self),
&self.sequencer,
]))
]).render(buf, area)?;
if let Some(ref modal) = *MODAL.lock().unwrap() {
modal.render(buf, area)?;
}
Ok(area)
});