groovebox: reenable sample list

This commit is contained in:
🪞👃🪞 2025-04-26 14:50:42 +03:00
parent 7af98b7008
commit d88f4e33eb
6 changed files with 94 additions and 78 deletions

View file

@ -1,29 +1,5 @@
use crate::*;
view!(TuiOut: |self: Tek| self.size.of(View(self, self.view)); {
":nil" =>
Box::new("nil"),
":transport" =>
self.view_transport().boxed(),
":arranger" =>
ArrangerView::new(self).boxed(),
":editor" =>
self.editor.as_ref()
.map(|e|Bsp::s(Bsp::e(e.clip_status(), e.edit_status()), e))
.boxed(),
":sample" =>
().boxed(),//self.view_sample(self.is_editing()).boxed(),
":sampler" =>
().boxed(),//self.view_sampler(self.is_editing(), &self.editor).boxed(),
":samples-grid" =>
self.tracks[0].sampler(0).map(|s|s.view_grid()).boxed(),
":status" =>
self.view_status().boxed(),
":pool" => self.pool.as_ref()
.map(|pool|Fixed::x(self.w_sidebar(), PoolView(self.is_editing(), pool)))
.boxed(),
});
expose!([self: Tek] {
[bool] => {}
[u16] => {