mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-09-19 13:16:43 +02:00
fix warnings, cleanup
This commit is contained in:
parent
406aabde6e
commit
da2099c52e
10 changed files with 379 additions and 450 deletions
|
|
@ -1,4 +1,3 @@
|
|||
use crate::*;
|
||||
use super::*;
|
||||
|
||||
/// A scene consists of a set of clips to play together.
|
||||
|
|
@ -85,13 +84,13 @@ pub trait SceneController: HasScene
|
|||
+ Namespace<ItemTheme>
|
||||
{
|
||||
#[command(SetSize = "scene/size")]
|
||||
fn scene_set_size (&mut self, size: usize) -> Perhaps<SceneCommand>
|
||||
fn scene_set_size (&mut self, _size: usize) -> Perhaps<SceneCommand>
|
||||
where Self: Namespace<usize>
|
||||
{
|
||||
todo!()
|
||||
}
|
||||
#[command(SetZoom = "scene/zoom")]
|
||||
fn scene_set_zoom (&mut self, size: usize) -> Perhaps<SceneCommand>
|
||||
fn scene_set_zoom (&mut self, _size: usize) -> Perhaps<SceneCommand>
|
||||
where Self: Namespace<usize>
|
||||
{
|
||||
todo!()
|
||||
|
|
|
|||
|
|
@ -104,19 +104,19 @@ pub trait TrackController: HasTrack
|
|||
Ok(None)
|
||||
}
|
||||
#[command(SetMute = "track/mute")]
|
||||
fn track_set_mute (&mut self, mute: Option<bool>) -> Perhaps<TrackCommand> {
|
||||
fn track_set_mute (&mut self, _mute: Option<bool>) -> Perhaps<TrackCommand> {
|
||||
todo!()
|
||||
}
|
||||
#[command(SetSolo = "track/solo")]
|
||||
fn track_set_solo (&mut self, solo: Option<bool>) -> Perhaps<TrackCommand> {
|
||||
fn track_set_solo (&mut self, _solo: Option<bool>) -> Perhaps<TrackCommand> {
|
||||
todo!()
|
||||
}
|
||||
#[command(SetSize = "track/size")]
|
||||
fn track_set_size (&mut self, size: usize) -> Perhaps<TrackCommand> {
|
||||
fn track_set_size (&mut self, _size: usize) -> Perhaps<TrackCommand> {
|
||||
todo!()
|
||||
}
|
||||
#[command(SetZoom = "track/zoom")]
|
||||
fn track_set_zoom (&mut self, zoom: usize) -> Perhaps<TrackCommand> {
|
||||
fn track_set_zoom (&mut self, _zoom: usize) -> Perhaps<TrackCommand> {
|
||||
todo!()
|
||||
}
|
||||
#[command(SetName = "track/name")]
|
||||
|
|
@ -313,7 +313,7 @@ pub trait TracksController: HasTracks
|
|||
fn tracks_add (&mut self) -> Perhaps<TracksCommand>
|
||||
where Self: HasScenes + HasJack<'static>
|
||||
{
|
||||
let (index, _) = self.tracks_add_one(None, None, [].into(), [].into())?;
|
||||
let (_index, _) = self.tracks_add_one(None, None, [].into(), [].into())?;
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue