mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
change Device from trait to enum
This commit is contained in:
parent
866d88c8ec
commit
1cc3a58826
8 changed files with 150 additions and 92 deletions
|
|
@ -1,5 +1,11 @@
|
|||
use crate::*;
|
||||
|
||||
impl Sampler {
|
||||
pub fn view_grid (&self) -> impl Content<TuiOut> {
|
||||
"sampler grid view"
|
||||
}
|
||||
}
|
||||
|
||||
content!(TuiOut: |self: Sampler| {
|
||||
let keys_width = 5;
|
||||
let keys = move||"";//SamplerKeys(self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue