mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
split ins/outs
This commit is contained in:
parent
af958b275d
commit
b2e4b01bfe
2 changed files with 5 additions and 4 deletions
|
|
@ -69,6 +69,7 @@ provide_num!(u16: |self: Tek| {
|
|||
":sample-h" => if self.is_editing() { 0 } else { 5 },
|
||||
":samples-w" => if self.is_editing() { 4 } else { 11 },
|
||||
":samples-y" => if self.is_editing() { 1 } else { 0 },
|
||||
":outs-y" => self.size.h().saturating_sub(self.midi_outs.len() + 7) as u16,
|
||||
});
|
||||
macro_rules! per_track {
|
||||
($area:expr;|$self:ident,$track:ident,$index:ident|$content:expr) => {{
|
||||
|
|
@ -172,7 +173,7 @@ impl Tek {
|
|||
}
|
||||
fn view_play_pause (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
let playing = self.clock.is_rolling();
|
||||
let compact = self.is_editing();
|
||||
let compact = true;//self.is_editing();
|
||||
Tui::bg(
|
||||
if playing{Rgb(0,128,0)}else{Rgb(128,64,0)},
|
||||
Either::new(compact,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
(bsp/a (fill/xy (align/n (max/y 1 :toolbar)))
|
||||
(fill/x (align/c (bsp/a (fill/xy (align/e (fixed/x :sidebar-w :pool)))
|
||||
(bsp/a
|
||||
(fill/xy (align/s (bsp/s :scene-add (bsp/s :tracks (bsp/n :inputs :outputs)))))
|
||||
(fill/xy :scenes))))))
|
||||
(bsp/a (fill/xy (align/n (bsp/s :tracks :inputs)))
|
||||
(bsp/a (fill/x (fixed/y :outs-y (align/s :outputs)))
|
||||
(bsp/s (fill/xy :scenes) :scene-add)))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue