remove LayoutSplit; merge split and bsp modules

This commit is contained in:
🪞👃🪞 2024-12-30 12:54:19 +01:00
parent 0c9c386a79
commit 35a88cb70f
8 changed files with 117 additions and 154 deletions

View file

@ -9,23 +9,18 @@ pub struct ArrangerCli {
/// Name of JACK client
#[arg(short, long)]
name: Option<String>,
/// Whether to include a transport toolbar (default: true)
#[arg(short, long, default_value_t = true)]
transport: bool,
/// Number of tracks
#[arg(short = 'x', long, default_value_t = 4)]
tracks: usize,
/// Number of scenes
#[arg(short, long, default_value_t = 8)]
scenes: usize,
/// MIDI outs to connect each track to.
#[arg(short='i', long)]
midi_from: Vec<String>,
/// MIDI ins to connect each track to.
#[arg(short='o', long)]
midi_to: Vec<String>,

View file

@ -2,7 +2,7 @@ include!("./lib.rs");
/// Application entrypoint.
pub fn main () -> Usually<()> {
let name = self.name.as_deref().unwrap_or("tek_transport");
let name = "tek_transport";
Tui::run(JackConnection::new(name)?.activate_with(|jack|{
TransportTui::try_from(jack)
})?)?;