trying to get new Bsp to work; update docs

This commit is contained in:
🪞👃🪞 2024-12-31 19:21:48 +01:00
parent c9b81edb45
commit 62ce1776c0
11 changed files with 301 additions and 157 deletions

View file

@ -128,16 +128,16 @@ render!(Tui: (self: Groovebox) => {
PhraseSelector::play_phrase(&self.player),
PhraseSelector::next_phrase(&self.player),
)));
let pool = move|x|Bsp::w(
Fixed::x(pool_w, Pull::y(1, Fill::y(Align::e(PoolView(&self.pool))))),
x);
let sampler = move|x|Bsp::e(
Fixed::x(sampler_w, Fill::xy(col!(
Meters(self.sampler.input_meter.as_ref()),
GrooveboxSamples(self)))),
x);
let status = EditStatus(&self.sampler, &self.editor, note_pt, pool(sampler(&self.editor)));
lay!("kyp", "nymka")
let pool = PoolView(&self.pool);
let with_pool = move|x|Bsp::w(Fixed::x(pool_w, Pull::y(1, Fill::y(Align::e(pool)))), x);
with_pool(col!(transport, selector))
//selector
//let sampler = move|x|Bsp::e(
//Fixed::x(sampler_w, Fill::xy(col!(
//Meters(self.sampler.input_meter.as_ref()),
//GrooveboxSamples(self)))),
//x);
//let status = EditStatus(&self.sampler, &self.editor, note_pt, pool(sampler(&self.editor)));
//status
//Fill::xy(lay!(
//&self.size,