mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
wip: ArrangerStandalone
This commit is contained in:
parent
1104093395
commit
3cbb2d2e0b
19 changed files with 165 additions and 231 deletions
|
|
@ -97,19 +97,19 @@ impl App {
|
|||
}
|
||||
|
||||
render!(App |self, buf, area| {
|
||||
Split::down([
|
||||
&self.transport,
|
||||
&self.arranger,
|
||||
&If(self.arranger.selected.is_clip(), &Split::right([
|
||||
&tek_mixer::TrackView {
|
||||
Split::down()
|
||||
.add_ref(&self.transport)
|
||||
.add_ref(&self.arranger)
|
||||
.add(If(self.arranger.selected.is_clip(), &Split::right()
|
||||
.add(tek_mixer::TrackView {
|
||||
direction: Direction::Down,
|
||||
entered: self.entered,
|
||||
focused: self.section == AppFocus::Chain,
|
||||
chain: self.mixer.track()
|
||||
},
|
||||
&self.arranger.sequencer(),
|
||||
]))
|
||||
]).render(buf, area)?;
|
||||
})
|
||||
.add_ref(&self.arranger.sequencer())
|
||||
))
|
||||
.render(buf, area)?;
|
||||
if let Some(ref modal) = *MODAL.lock().unwrap() {
|
||||
modal.render(buf, area)?;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ use crate::*;
|
|||
use std::path::{Path, PathBuf};
|
||||
use std::fs::{File, create_dir_all};
|
||||
|
||||
const CONFIG_FILE_NAME: &'static str = "tek.toml";
|
||||
const PROJECT_FILE_NAME: &'static str = "project.toml";
|
||||
const CONFIG_FILE_NAME: &str = "tek.toml";
|
||||
const PROJECT_FILE_NAME: &str = "project.toml";
|
||||
|
||||
/// Filesystem locations of things.
|
||||
pub struct AppPaths {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue