mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-08-28 21:06:56 +02:00
restruct: 25e
This commit is contained in:
parent
c737c7d839
commit
3bbe52093e
11 changed files with 454 additions and 432 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{*, clock::*, sequence::*, sample::*};
|
||||
use crate::{*, clock::*, sequence::*, sampler::*};
|
||||
|
||||
def_command!(FileBrowserCommand: |sampler: Sampler|{
|
||||
//("begin" [] Some(Self::Begin))
|
||||
|
|
@ -261,6 +261,7 @@ impl<'a> PoolView<'a> {
|
|||
}))))
|
||||
}
|
||||
}
|
||||
|
||||
impl ClipLength {
|
||||
fn tui (&self) -> impl Draw<Tui> {
|
||||
use ClipLengthFocus::*;
|
||||
|
|
@ -311,6 +312,7 @@ impl Browse {
|
|||
fn _todo_stub_usize (&self) -> usize { todo!() }
|
||||
fn _todo_stub_arc_str (&self) -> Arc<str> { todo!() }
|
||||
}
|
||||
|
||||
impl Browse {
|
||||
fn tui (&self) -> impl Draw<Tui> {
|
||||
let item = |entry, _index|w_full(origin_w(entry));
|
||||
|
|
@ -324,6 +326,7 @@ impl Browse {
|
|||
iter_south_fixed(1, iterate, item)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Iterator for EntriesIterator<'a, Tui> {
|
||||
type Item = impl Draw<Tui>;
|
||||
fn next (&mut self) -> Option<Self::Item> {
|
||||
|
|
@ -341,6 +344,7 @@ impl<'a> Iterator for EntriesIterator<'a, Tui> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialEq for BrowseTarget {
|
||||
fn eq (&self, other: &Self) -> bool {
|
||||
match self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue