mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
more doc string and reexport fixes
This commit is contained in:
parent
107e38278e
commit
dc1f5f4a17
13 changed files with 37 additions and 48 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use crate::core::*;
|
||||
|
||||
#[derive(PartialEq)]
|
||||
/// Which section of the transport is focused
|
||||
pub enum TransportFocus { BPM, Quant, Sync }
|
||||
|
||||
impl TransportFocus {
|
||||
|
|
@ -20,9 +21,10 @@ impl TransportFocus {
|
|||
}
|
||||
}
|
||||
|
||||
/// Stored and displays time-related state.
|
||||
pub struct TransportToolbar {
|
||||
/// Enable metronome?
|
||||
pub metronome: bool,
|
||||
pub mode: bool,
|
||||
pub focused: bool,
|
||||
pub entered: bool,
|
||||
pub selected: TransportFocus,
|
||||
|
|
@ -48,7 +50,6 @@ impl TransportToolbar {
|
|||
Self {
|
||||
selected: TransportFocus::BPM,
|
||||
metronome: false,
|
||||
mode: false,
|
||||
focused: false,
|
||||
entered: false,
|
||||
playhead: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue