mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
add widget dynamic helper and Split::up
This commit is contained in:
parent
038451e2f4
commit
97af45b576
4 changed files with 47 additions and 17 deletions
|
|
@ -12,8 +12,6 @@ pub struct Arranger<E: Engine> {
|
|||
pub phrases: Arc<RwLock<PhrasePool<E>>>,
|
||||
/// Phrase editor view
|
||||
pub editor: PhraseEditor<E>,
|
||||
/// This allows the sequencer view to be moved or hidden.
|
||||
pub show_sequencer: Option<tek_core::Direction>,
|
||||
/// Status bar
|
||||
pub status: ArrangerStatusBar,
|
||||
/// Height of arrangement
|
||||
|
|
@ -36,7 +34,10 @@ pub enum ArrangerFocus {
|
|||
/// Status bar for arranger ap
|
||||
pub enum ArrangerStatusBar {
|
||||
Transport,
|
||||
Arrangement,
|
||||
ArrangementMix,
|
||||
ArrangementTrack,
|
||||
ArrangementScene,
|
||||
ArrangementClip,
|
||||
PhrasePool,
|
||||
PhraseEditor,
|
||||
}
|
||||
|
|
@ -116,7 +117,6 @@ impl<E: Engine> Arranger<E> {
|
|||
) -> Self {
|
||||
let mut app = Self {
|
||||
focus_cursor: (0, 1),
|
||||
show_sequencer: Some(tek_core::Direction::Down),
|
||||
editor: PhraseEditor::new(),
|
||||
status: ArrangerStatusBar::Transport,
|
||||
transport,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue