mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 20:56:43 +01:00
remove edn_ prefix from a couple macros
This commit is contained in:
parent
798de37172
commit
34b35d08be
8 changed files with 25 additions and 25 deletions
|
|
@ -674,9 +674,9 @@ edn_command!(SamplerTuiCommand: |state: SamplerTui| {
|
|||
return None
|
||||
})
|
||||
});
|
||||
edn_provide!(usize: |self: SamplerTui| {});
|
||||
edn_provide!(PathBuf: |self: SamplerTui| {});
|
||||
edn_provide!(Arc<str>: |self: SamplerTui| {});
|
||||
provide!(usize: |self: SamplerTui| {});
|
||||
provide!(PathBuf: |self: SamplerTui| {});
|
||||
provide!(Arc<str>: |self: SamplerTui| {});
|
||||
edn_command!(FileBrowserCommand: |state: SamplerTui| {
|
||||
("begin" [] Self::Begin)
|
||||
("cancel" [] Self::Cancel)
|
||||
|
|
@ -713,10 +713,10 @@ edn_command!(SamplerCommand: |state: Sampler| {
|
|||
("note/off" [p: u7]
|
||||
Self::NoteOff(p.expect("no pitch")))
|
||||
});
|
||||
edn_provide!(u7: |self: Sampler| {});
|
||||
edn_provide!(Option<Arc<RwLock<Sample>>>: |self: Sampler| {});
|
||||
edn_provide!(usize: |self: Sampler| {});
|
||||
edn_provide!(f32: |self: Sampler| {});
|
||||
provide!(u7: |self: Sampler| {});
|
||||
provide!(Option<Arc<RwLock<Sample>>>: |self: Sampler| {});
|
||||
provide!(usize: |self: Sampler| {});
|
||||
provide!(f32: |self: Sampler| {});
|
||||
input_to_command!(FileBrowserCommand: |state:SamplerTui, input: Event|match input { _ => return None });
|
||||
command!(|self: FileBrowserCommand,state:SamplerTui|match self { _ => todo!() });
|
||||
//input_to_command!(SamplerTuiCommand: |state: SamplerTui, input: Event|match state.mode{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue